/* Layout */
.rosha-creator-form {
  max-width: 700px;
  margin: 0 auto;
  background: #0a0a0a;
  padding: 40px;
  border: 1px solid #222;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
  font-family: 'Cinzel', serif;
}

.rosha-creator-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rosha-creator-item {
  margin-bottom: 30px;
  color: #d5d3ce;
  font-size: 28px;
  text-align: center;
}

/* Input */
.rosha-creator-input {
  font-family: 'Times New Roman', serif;
  width: 500px;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  padding: 20px;
  background: #111;
  border: 1px solid #333;
  color: #eee;
  border-radius: 6px;
  font-size: 34px;
  text-align: center;
}

/* Tile Groups */
.rosha-creator-tile-group {
  display: flex;
  justify-content: center; /* <-- klucz do wyśrodkowania */
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.rosha-creator-tile {
  background: linear-gradient(to right, #1a1a1a, #0f0f0f);
  border: 1px solid #333;
  border-radius: 8px;
  width: 128px;
  height: 160px;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
  box-shadow: 0 0 10px #000;
}

.rosha-creator-tile.selected {
  border-color: #ff9d00bc;
  background: linear-gradient(to bottom, #222, #111);
  animation: rosha-pulse 3s ease-in-out infinite;
}

@keyframes rosha-pulse {
  0% {
    box-shadow: 0 0 15px #ff5100aa, 0 0 10px #000 inset;
  }
  50% {
    box-shadow: 0 0 25px #ff0800, 0 0 15px #000 inset;
  }
  100% {
    box-shadow: 0 0 15px #bb3636aa, 0 0 10px #000 inset;
  }
}
.rosha-creator-tile:hover {
  border-color: #b8860b;
  box-shadow: 0 0 15px #b8860b;
}

.rosha-creator-tile input {
  display: none;
}

.rosha-creator-tile img {
  width: 128px;
  height: 128px;
  margin-bottom: 10px;
  filter: brightness(0.9);
}

.rosha-creator-tile span {
  display: block;
  font-size: 23px;
  color: #eee;
  margin-top: -10px;
}

/* Hover Light Sweep Effect */
.rosha-creator-tile::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  transform: rotate(45deg);
  transition: all 0.5s ease-in-out;
}

.rosha-creator-tile:hover::before {
  top: -50%;
  left: 100%;
}

/* Submit Button */
.rosha-creator-button {
  width: 100%;
  padding: 20px;
  font-size: 20px;
  background: linear-gradient(to right, #6a0000, #000, #6a0000);
  border: none;
  border-radius: 10px;
  color: #ffd700;
  text-shadow: 0 0 5px #000;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.rosha-creator-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
  transform: skewX(-20deg);
  transition: all 0.5s;
}

.rosha-creator-button:hover::after {
  left: 125%;
}

.rosha-creator-button:hover {
  box-shadow: 0 0 25px #ff0000aa, 0 0 50px #ff0000aa inset;
  color: #fff;
}

.rosha-success-message {
  background: linear-gradient(to right, #1a1a1a, #0d0d0d);
  border: 1px solid #444;
  color: #ffca00;
  padding: 20px 30px;
  font-size: 27px;
  text-align: center;
  margin: 40px auto;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
  font-family: 'Cinzel', serif;
  text-shadow: 0 0 5px #000;
  animation: rosha-success-fade 1s ease-out;
}
@keyframes rosha-success-fade {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


.rosha-download-section {
  margin: 40px auto;
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.rosha-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  justify-content: center;
}

.rosha-download-box {
  background: linear-gradient(to right, #1a1a1a, #0d0d0d);
  border: 1px solid #444;
  border-radius: 10px;
  padding: 25px 20px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
  font-family: 'Cinzel', serif;
  text-shadow: 0 0 5px #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.rosha-download-box:hover {
  transform: scale(1.05);
}

.rosha-download-box img {
  width: 80%;
  margin-bottom: 15px;
  filter: brightness(1.1);
}

.rosha-download-button {
  background: #111;
  border: 1px solid #444;
  color: #f2d675;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 0 0 2px #000;
  box-shadow: inset 0 0 10px #000, 0 0 5px #000;
  transition: all 0.2s ease-in-out;
  font-family: 'Cinzel', serif;
}

.rosha-download-button:hover {
  background: #222;
  border-color: #b8860b;
  color: #fff5c0;
  box-shadow: 0 0 10px #b8860b, inset 0 0 5px #000;
}

.rosha-download-label {
  font-size: 14px;
  color: #ccc;
  margin-top: 5px;
}

.rosha-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.rosha-disabled .rosha-download-button {
  background: #333;
  color: #999;
  box-shadow: none;
  pointer-events: none;
}

.rosha-coming-soon {
  display: block;
  color: #999;
  font-size: 12px;
  margin-top: 4px;
  font-style: italic;
}


.rosha-password-form {
  max-width: 500px;
  margin: 50px auto;
  background: rgba(10, 10, 10, 0.95);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #222;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.1);
  font-family: 'Cinzel', serif;
}

.rosha-password-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rosha-password-item {
  margin-bottom: 25px;
  text-align: center;
}

.rosha-password-label {
  color: #ccc;
  font-size: 16px;
  margin-bottom: 10px;
}
.rosha-password-label-char {
  color: #ccc;
  font-size: 28px;
padding-bottom: 10px;
  display: block;
}

.rosha-password-input {
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  padding: 12px;
  background: #111;
  border: 1px solid #333;
  color: #eee;
  border-radius: 6px;
  font-size: 16px;
  text-align: center;
}

.rosha-password-button {
  background: #111;
  border: 1px solid #444;
  color: #ffd700;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-shadow: 0 0 2px #000;
  box-shadow: inset 0 0 10px #000, 0 0 5px #000;
  transition: all 0.2s ease-in-out;
  font-family: 'Cinzel', serif;
}

.rosha-password-button:hover {
  background: #222;
  border-color: #b8860b;
  color: #fff5c0;
  box-shadow: 0 0 10px #b8860b, inset 0 0 5px #000;
}

.rosha-password-button:active {
  transform: scale(0.97);
  box-shadow: 0 0 5px #222 inset;
}

.rosha-settings-form {
  max-width: 500px;
  margin: 50px auto;
  background: rgba(10, 10, 10, 0.95);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #222;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.1);
  font-family: 'Cinzel', serif;
}

.rosha-settings-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rosha-settings-item {
  margin-bottom: 25px;
  text-align: center;
}

.rosha-settings-label {
  color: #ccc;
  font-size: 16px;
  margin-bottom: 10px;
}

.rosha-settings-input {
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  padding: 12px;
  background: #111;
  border: 1px solid #333;
  color: #eee;
  border-radius: 6px;
  font-size: 16px;
  text-align: center;
}

.rosha-settings-button {
  background: #111;
  border: 1px solid #444;
  color: #ffd700;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-shadow: 0 0 2px #000;
  box-shadow: inset 0 0 10px #000, 0 0 5px #000;
  transition: all 0.2s ease-in-out;
  font-family: 'Cinzel', serif;
}

.rosha-settings-button:hover {
  background: #222;
  border-color: #b8860b;
  color: #fff5c0;
  box-shadow: 0 0 10px #b8860b, inset 0 0 5px #000;
}

.rosha-settings-button:active {
  transform: scale(0.97);
  box-shadow: 0 0 5px #222 inset;
}


.rosha-error-message {
  color: #ccc;
  font-size: 25px;
  text-align: center;
  padding: 30px;
  margin-top: 40px;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.1);
  border: 1px solid #400;
}

.rosha-player-name {
  color: #b8860b; /* ciemno złoty */
  font-weight: bold;
  text-shadow: 0 0 3px #000;
}