.theme-container{
  display: flex;
  flex-direction: column;
  align-items: flex-center;
  padding: 10px 10px 0 10px;
  border-radius: 20px;
}

/* Theme 1 - Classic Gray */
.theme-container1{
  background-color: #ecf0f2;
  border: 3px solid rgb(162, 164, 170);
}

.title-picture1 {
  border-radius: 20px;
  width: 100%;
  max-width: 300px;
  max-height: 400px;
}

.theme1-actions-panel .btn-echo {
  border-color: #3c4045;
  background-color: #81a2e5;
  color: #3c4045;
  font-weight: 600;
}

.theme1-actions-panel .btn-echo:hover {
  background: rgba(255, 255, 255, 0.15);
  background-color: #3c5fde;
  color: #eaecf0;
}


/* Theme 2 - Dark Gradient  */
.theme-container2{
  background: radial-gradient(120% 120% at 50% 0%, rgba(255, 255, 255, .08), transparent 60%),
    radial-gradient(60% 50% at 50% 30%, rgba(159, 211, 201, .18), transparent 70%),
    linear-gradient(#0e3b2f, #0c2f2f 35%, #092626);
  border: 0;
}

.title-picture2 {
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  max-height: 500px;
  margin: 30px;
}

@media (max-width: 768px) {
  .title-picture2 {
    margin: 0;
  }
}

.ribbon2{
  min-width:80%;
  display:inline-block;
  padding:16px 26px 12px;
  background:linear-gradient(#f4efe3, #f4e7cd);
  border:3px solid #cda35f; color:#3b2a14;
  border-radius:18px; box-shadow:  0 10px 24px rgba(0,0,0,.35);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.45), inset 0 0 20px rgba(255, 255, 255, 0.15);
}

.nail2 {
  width:52px; height:52px; opacity:.85;
  border-radius:50%; border:4px solid #caa467; background: radial-gradient(#f2ede0, #e9cf98); box-shadow:var(--shadow)
 }

.banner2 {
  background:linear-gradient(#f4efe3, #f4e7cd);
  border:3px solid #cda35f; color:#3b2a14;
  border-radius: 10px;
  padding: 10px 10px;
  margin-bottom: 10px;
}

.banner2-keys {
  background:linear-gradient(#f5e6c2, #e9d09e);
  border:3px solid #cda35f; color:#3b2a14;
  border-radius: 10px;
  padding: 10px 10px;
  margin-bottom: 10px;
}

.description-rules2 {
  max-height: 400px;
  background:linear-gradient(#f4efe3, #f4e7cd);
  border:3px solid #cda35f; color:#3b2a14;
  box-shadow:  0 10px 24px rgba(0,0,0,.35);
  border-radius: 10px;
  padding: 10px 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.description-rules2 pre {
  max-width: 100%;
  overflow: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
  margin: 0;
}

.theme2-shell {
  position: relative;
  overflow: hidden;
}

.theme2-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 40%),
              radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.15), transparent 45%);
  opacity: 0.4;
  pointer-events: none;
}

.theme2-header {
  position: relative;
  z-index: 1;
}

.theme2-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(200px, 360px) minmax(340px, 1fr);
  gap: 10px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.theme2-image-column {
  background: rgba(4, 23, 22, 0.45);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.theme2-image-column .title-picture2 {
  border-radius: 24px;
  border: 4px solid rgba(205, 163, 95, 0.35);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.6);
  width: 100%;
  height: auto;
  margin: 0;
}

.theme2-info-panel {
  width: 100%;
  padding-right: 20px;
  gap: 22px;
}

.theme2-info-panel-inner {
  width: 100%;
  gap: 18px;
}

.theme2-donations {
  background: rgba(8, 38, 35, 0.85);
  border: 3px solid #cda35f;
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.theme2-donations .banner2 {
  background: transparent;
  border: 0;
  gap: 16px;
  flex-wrap: wrap;
}

.theme2-donations label {
  color: #fef6df;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.theme2-donations span {
  color: #ffe7a4;
  font-size: 1.1rem;
}

.theme-container1 .button-donate,
.theme-container2 .button-donate {
  display: none;
  align-items: flex-end !important;
  justify-content: center;
  background-color: rgba(168, 169, 170, 0.235);
  border: 1px solid rgba(168, 169, 170, 0.5);
  border-radius: 18px;
  padding: 0 10px;
  font-size: 2rem;
  font-family: "Coiny", sans-serif;
  letter-spacing: 0.08em;
  color: gold;
  text-transform: uppercase;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
  max-height: 2.5rem;
  min-width: 180px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}



.theme-container1 .button-donate:hover
.theme-container2 .button-donate:hover{
  transform: translateY(-2px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5);
}

.theme2-content-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 24px;
  align-items: stretch;
  width: 100%;
}

.theme2-content-row .description-rules2 {
  min-height: 220px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.theme2-actions-panel {
  max-width: 230px;
  width: 100%;
  padding: 18px 16px;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
  background: linear-gradient(#f4efe3, #f3e5c4);
  border:3px solid #cda35f; color:#3b2a14;
  color: #3b2a14;
}


.theme2-actions-panel .btn-echo {
  border-color: #8f812f;
  color: #8f812f;
  font-weight: 600;
}

.theme2-actions-panel .btn-echo:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #3b2a14;
}

.theme2-image-column span,
.theme2-image-column button {
  color: #fef6df;
}

.theme2-image-column span[data-bind="chat_solved"] {
  color: #ffe06c;
}

.theme2-badge, .theme1-badge
 {
  text-align: center;
  width: 200px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-radius: 0;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(205, 163, 95, 0.4);
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
@media (max-width: 1024px) {
  .theme2-layout {
    grid-template-columns: 1fr;
  }

  .theme2-info-panel {
    padding-right: 0;
  }

  .theme2-content-row {
    grid-template-columns: 1fr;
  }

  .theme2-actions-panel {
    max-width: 100%;
  }
}

/* Theme 3 - Fantasy/Frosted Glass */
.theme-container3{
  background-color: #d0dffc3c;
  border: 1px solid rgb(162, 164, 170);
}

.theme-container3 [data-bind="descriptionContainer"] {
  width: 100%;
  margin-left: 20px;
}

@media (max-width: 768px) {
  .theme-container3 [data-bind="descriptionContainer"] {
    width: 100%;
    margin-left: 0;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Uncial+Antiqua&family=EB+Garamond:wght@400;500;600&display=swap');

.fantasy-title {
  font-family: 'Cinzel Decorative', 'Uncial Antiqua', serif;
  background: linear-gradient(135deg, #8B6914 0%, #DAA520 50%, #8B6914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 4px rgba(139, 105, 20, 0.3);
  filter: drop-shadow(0 2px 4px rgba(218, 165, 32, 0.4));
  letter-spacing: 0.05em;
}

.fantasy-body {
  font-family: 'EB Garamond', 'Georgia', serif;
  color: rgba(75, 61, 42, 0.95);
  line-height: 1.8;
}

.frosted-panel1 {
  backdrop-filter: blur(12px);
  background: linear-gradient(135deg, rgba(227, 237, 244, 0.85) 0%, rgba(227, 237, 244, 0.95) 100%);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 
              0 0 20px rgba(139, 105, 20, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 20px;
  transition: all 0.4s ease;
  animation: fadeIn 0.8s ease;
}

.frosted-panel {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 
              0 0 20px rgba(139, 105, 20, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 20px;
  transition: all 0.4s ease;
  animation: fadeIn 0.8s ease;
}

.frosted-panel2 {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 
              0 0 20px rgba(139, 105, 20, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 20px;
  transition: all 0.4s ease;
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0%, 100% {
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(218, 165, 32, 0.6);
  }
}

.fantasy-button {
  background: linear-gradient(135deg, #4A7C59 0%, #5A9C6F 100%);
  border: 2px solid rgba(139, 105, 20, 0.4);
  border-radius: 18px;
  color: #FFF;
  font-family: 'EB Garamond', serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 24px;
  box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.fantasy-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.fantasy-button:hover {
  background: linear-gradient(135deg, #5A9C6F 0%, #6ABC8F 100%);
  box-shadow: 0 6px 20px rgba(74, 124, 89, 0.5),
              0 0 15px rgba(218, 165, 32, 0.3);
  transform: translateY(-2px);
  border-color: rgba(218, 165, 32, 0.6);
}

.fantasy-button-secondary {
  background: linear-gradient(135deg, #6B8CA0 0%, #87A8BF 100%);
}

.fantasy-button-secondary:hover {
  background: linear-gradient(135deg, #87A8BF 0%, #A0C4DA 100%);
  box-shadow: 0 6px 20px rgba(107, 140, 160, 0.5);
}

.fantasy-button-danger {
  background: linear-gradient(135deg, #9B4444 0%, #C15555 100%);
  border-color: rgba(155, 68, 68, 0.4);
}

.fantasy-button-danger:hover {
  background: linear-gradient(135deg, #C15555 0%, #D67676 100%);
  box-shadow: 0 6px 20px rgba(193, 85, 85, 0.5);
}

.fantasy-button-outline {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(74, 124, 89, 0.6);
  color: #4A7C59;
}

.fantasy-button-outline:hover {
  background: linear-gradient(135deg, #4A7C59 0%, #5A9C6F 100%);
  color: #FFF;
}

.fantasy-badge {
  width: 150px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 0;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(139, 105, 20, 0.3);
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.fantasy-badge-blue {
  color: #4A7C99;
  border-color: rgba(74, 124, 153, 0.4);
}

.fantasy-badge-red {
  color: #9B4444;
  border-color: rgba(155, 68, 68, 0.4);
}

.fantasy-badge-green {
  color: #4A7C59;
  border-color: rgba(74, 124, 89, 0.4);
}

.fantasy-badge-gold {
  color: #8B6914;
  border-color: rgba(139, 105, 20, 0.4);
}

.vignette-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
  border-radius: 20px;
}

.control-panel-floating {
  backdrop-filter: blur(10px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(240, 248, 255, 0.7) 100%);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(139, 105, 20, 0.2);
  min-width: 220px;
}

.control-panel-floating0 {
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 16px;
  min-width: 220px;
}

.fantasy-description-box {
  max-width: 650px;
  width: fit-content;
  min-width: 300px;
}

.fantasy-description-box .description-scroll-container {
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
}

.theme-container3 .fantasy-description-box .description-scroll-container {
  max-height: none;
}

.description-scroll-container {
  overflow-y: auto;
  overflow-x: hidden;
}

.fantasy-description-box .description-scroll-container::-webkit-scrollbar,
.description-scroll-container::-webkit-scrollbar {
  width: 8px;
}

.fantasy-description-box .description-scroll-container::-webkit-scrollbar-track,
.description-scroll-container::-webkit-scrollbar-track {
  background: rgba(139, 105, 20, 0.1);
  border-radius: 4px;
}

.fantasy-description-box .description-scroll-container::-webkit-scrollbar-thumb,
.description-scroll-container::-webkit-scrollbar-thumb {
  background: rgba(139, 105, 20, 0.3);
  border-radius: 4px;
}

.fantasy-description-box .description-scroll-container::-webkit-scrollbar-thumb:hover,
.description-scroll-container::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 105, 20, 0.5);
}

@media (max-width: 768px) {
  .fantasy-description-box {
    max-width: 100%;
    width: 100%;
  }

  .fantasy-description-box .description-scroll-container {
    max-height: none;
  }
  
  .theme-container3 .fantasy-description-box .description-scroll-container {
    max-height: none;
  }
}

.header-banner-fantasy {
  backdrop-filter: blur(12px);
  background: linear-gradient(135deg, rgba(227, 237, 244, 0.85) 0%, rgba(227, 237, 244, 0.95) 100%);
  border-radius: 18px;
  padding: 16px 26px 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(139, 105, 20, 0.15);
  min-width: 80%;
}

.golden-accent {
  filter: drop-shadow(0 4px 8px rgba(218, 165, 32, 0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.golden-accent:hover {
  transform: scale(1.05) rotate(5deg);
  filter: drop-shadow(0 6px 12px rgba(218, 165, 32, 0.6));
  animation: shimmer 2s ease-in-out infinite;
}

@media (max-width: 768px) {
  .frosted-panel, .frosted-panel1, .frosted-panel2 {
    padding: 12px;
  }

  .fantasy-button {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .control-panel-floating {
    min-width: 180px;
    padding: 12px;
  }
}

.image-wrapper {
  position: relative;
  width: min(1240px, 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  resize: horizontal;
}

.background-img {
  position: relative;
  width: 100%;
  border-radius: 20px;
  height: auto;
  display: block;
  object-fit: cover;
}

.theme-container3 .background-img {
  max-height: none;
}

.overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  pointer-events: none;
  z-index: 2;
}

.overlay-content > * {
  pointer-events: auto;
}

.banner3 {
  background:linear-gradient(#e3edf4ff, #e3edf4aa);
  border:0;
  border-radius: 10px;
  padding: 4px 10px 4px 10px;
  margin-bottom: 10px;
}

.banner3-keys {
  background:linear-gradient(#e3edf4ff, #e3edf4aa);
  border:0;
  border-radius: 10px;
  padding: 10px 10px;
  margin-bottom: 10px;
}

.ribbon3{
  display:inline-block; padding:16px 26px 12px;
  background:linear-gradient(#e3edf4aa, #e3edf4ff);
  border:0;
  border-radius:18px; box-shadow:  0 10px 24px rgba(0,0,0,.35);
  min-width:80%;
  font-family:'Georgia',serif;
}

.access-container3 {
  min-width: 200px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgb(168, 169, 170, 0.5);
  border-radius: 18px;
  padding: 10px;
}

.golden-key {
  margin: 0 70px 0 70px;
}

@media (max-width: 768px) {
  .golden-key {
    margin: 0;
  }
}

/* Theme 4 - Retro/Vintage */
.theme-container4 {
  --retro-orange: #ff6b35;
  --retro-yellow: #f7931e;
  --retro-cream: #fef6e4;
  --retro-brown: #6b4423;
  --retro-dark: #2d1b00;
  --retro-green: #39ff14;
  --retro-amber: #ffbf00;
  
  background: 
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.15) 0px, transparent 1px, transparent 2px, rgba(0, 0, 0, 0.15) 3px),
    linear-gradient(180deg, #1a0f00, #3d2200);
  border: 4px ridge #8b6914;
  position: relative;
  color: var(--retro-cream);
  box-shadow: 
    inset 0 0 30px rgba(255, 191, 0, 0.1),
    0 0 20px rgba(0, 0, 0, 0.5);
}

.theme-container4::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 191, 0, 0.03) 0px,
    transparent 2px
  );
  pointer-events: none;
  animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

.theme-container4 .title-section {
  text-align: center;
  margin: 0 0 18px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.theme-container4 .title-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--retro-amber);
  text-transform: uppercase;
  font-family: 'Courier New', monospace;
}

.theme-container4 .title-main {
  margin: 0.2rem 0 0;
  font-weight: 900;
  font-size: clamp(32px, 6.5vw, 64px);
  background: linear-gradient(180deg, var(--retro-orange), var(--retro-yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
  text-shadow: 3px 3px 0 rgba(107, 68, 35, 0.5);
  font-family: 'Impact', 'Arial Black', sans-serif;
}

.theme-container4 .grid-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.25fr 0.9fr;
}

@media (max-width: 900px) {
  .theme-container4 .grid-layout {
    grid-template-columns: 1fr;
  }
}

.theme-container4 .stage-area {
  min-height: 420px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #4a2c00, #2d1800);
  border: 3px solid #8b6914;
  box-shadow: 
    inset 0 0 20px rgba(0, 0, 0, 0.5),
    0 4px 8px rgba(0, 0, 0, 0.4);
}

.theme-container4 .stage-area img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  opacity: 0.9;
  filter: sepia(0.3) contrast(1.1);
}

.theme-container4 .stage-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.6);
  background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.3));
}

.theme-container4 .card-retro {
  background: linear-gradient(180deg, #3d2200, #2d1800);
  border: 3px solid #8b6914;
  border-radius: 8px;
  padding: 16px 16px 6px;
  box-shadow: 
    inset 0 0 20px rgba(255, 191, 0, 0.1),
    0 6px 12px rgba(0, 0, 0, 0.5);
}

.theme-container4 .card-retro h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--retro-amber);
  font-family: 'Courier New', monospace;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.theme-container4 .rule-item-retro {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-top: 2px dashed rgba(255, 191, 0, 0.3);
}

.theme-container4 .rule-item-retro:first-of-type {
  border-top: none;
}

.theme-container4 .rule-item-retro p {
  margin: 0;
  color: var(--retro-cream);
}

.theme-container4 .rule-item-retro small {
  display: block;
  color: #d4a574;
}

.theme-container4 .icon-retro {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--retro-orange), var(--retro-yellow));
  border: 2px solid var(--retro-amber);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.theme-container4 .icon-retro svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.5));
}

.theme-container4 .btn-retro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 12px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 3px solid var(--retro-amber);
  background: linear-gradient(180deg, var(--retro-orange), var(--retro-yellow));
  color: var(--retro-dark);
  box-shadow: 0 4px 0 #6b4423, 0 6px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  width: 100%;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  font-family: 'Arial Black', sans-serif;
}

.theme-container4 .btn-retro:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #6b4423, 0 4px 6px rgba(0, 0, 0, 0.4);
}

.theme-container4 .btn-retro:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 #6b4423, 0 2px 4px rgba(0, 0, 0, 0.4);
}

.theme-container4 .btn-retro.secondary {
  background: linear-gradient(180deg, #d4a574, #a67c52);
  border-color: #8b6914;
}

.theme-container4 .btn-retro.ghost {
  background: linear-gradient(180deg, rgba(255, 191, 0, 0.2), rgba(255, 191, 0, 0.1));
  color: var(--retro-amber);
  border-color: var(--retro-amber);
}

.theme-container4 .btn-retro.danger {
  background: linear-gradient(180deg, #ff4444, #cc0000);
  border-color: #990000;
  color: white;
}

.theme-container4 .badges-retro {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 16px;
  color: var(--retro-cream);
}

.theme-container4 .badge-retro {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 0;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  border: 2px solid var(--retro-amber);
  background: linear-gradient(180deg, rgba(255, 191, 0, 0.2), rgba(107, 68, 35, 0.3));
  font-weight: 600;
  font-size: 0.85rem;
  font-family: 'Courier New', monospace;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.theme-container4 .pixel-dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  box-shadow: 0 0 4px currentColor;
}

.theme-container4 .pixel-dot.ok {
  background: var(--retro-green);
}

.theme-container4 .pixel-dot.warn {
  background: var(--retro-orange);
}

.theme-container4 .pixel-dot.mod {
  background: var(--retro-amber);
}

.theme-container4 .pixel-dot.solved {
  background: #ffd700;
}

.theme-container4 .pitch-retro {
  margin-top: 14px;
  color: #d4a574;
  font-size: 0.95rem;
  border-top: 2px dashed rgba(255, 191, 0, 0.3);
  padding-top: 12px;
  font-family: 'Courier New', monospace;
}

.theme-container4 .donations-banner-retro {
  background: linear-gradient(180deg, rgba(255, 191, 0, 0.15), rgba(107, 68, 35, 0.2));
  border: 3px solid var(--retro-amber);
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  box-shadow: inset 0 0 10px rgba(255, 191, 0, 0.1);
}

.theme-container4 .topbar-retro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  padding: 8px 4px;
  color: var(--retro-amber);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-family: 'Courier New', monospace;
  border-bottom: 2px solid var(--retro-amber);
}

/* Theme 5 - Neon/Cyberpunk */
.theme-container5 {
  --neon-a:#70f9ff;
  --neon-b:#b678ff;
  --text:#e9e7ff;
  --muted:#9aa3b2;
  --accent:#12d6ff;
  --panel:#0f1b2e;
  --panel-2:#0b1423;
  
  background: radial-gradient(1200px 800px at 70% 10%, #14223b 0%, #0a1223 40%, #0a0f1a 100%);
  border: 2px solid transparent;
  position: relative;
  color: var(--text);
}

.theme-container5::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--neon-a), transparent 30%), linear-gradient(225deg, transparent 70%, var(--neon-b));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 2px;
  filter: drop-shadow(0 0 14px rgba(112, 249, 255, 0.45)) drop-shadow(0 0 18px rgba(182, 120, 255, 0.35));
  pointer-events: none;
}

.theme-container5 .title-section {
  text-align: center;
  margin: 0 0 18px;
}

.theme-container5 .title-kicker {
  font-size: 1rem;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
}

.theme-container5 .title-main {
  margin: 0.2rem 0 0;
  font-weight: 800;
  font-size: clamp(32px, 6.5vw, 64px);
  background: linear-gradient(90deg, var(--neon-a), var(--neon-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
}

.theme-container5 .grid-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.25fr 0.9fr;
}

@media (max-width: 900px) {
  .theme-container5 .grid-layout {
    grid-template-columns: 1fr;
  }
}

.theme-container5 .stage-area {
  min-height: 420px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(600px 300px at 50% 20%, rgba(31, 167, 255, 0.14), transparent 60%),
              radial-gradient(800px 600px at 50% 110%, rgba(155, 92, 255, 0.12), transparent 60%),
              linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid rgba(122, 170, 255, 0.18);
}

.theme-container5 .stage-area img {
  width: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.theme-container5 .stage-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.45);
}

.theme-container5 .card-neon {
  background: linear-gradient(180deg, #0f1c31, #0b1626);
  border: 1px solid rgba(122, 170, 255, 0.18);
  border-radius: 14px;
  padding: 16px 16px 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.theme-container5 .card-neon h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon-a);
}

.theme-container5 .rule-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.theme-container5 .rule-item:first-of-type {
  border-top: none;
}

.theme-container5 .rule-item p {
  margin: 0;
  color: #d6ddff;
}

.theme-container5 .rule-item small {
  display: block;
  color: var(--muted);
}

.theme-container5 .icon-neon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(112, 249, 255, 0.18), rgba(155, 92, 255, 0.18));
  filter: drop-shadow(0 0 6px rgba(112, 249, 255, 0.35));
}

.theme-container5 .icon-neon svg {
  width: 22px;
  height: 22px;
}

.theme-container5 .btn-neon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(122, 170, 255, 0.22);
  background: linear-gradient(180deg, rgba(18, 214, 255, 0.12), rgba(155, 92, 255, 0.12));
  color: var(--text);
  filter: drop-shadow(0 0 10px rgba(18, 214, 255, 0.18));
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  width: 100%;
}

.theme-container5 .btn-neon:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(18, 214, 255, 0.14);
}

.theme-container5 .btn-neon.secondary {
  background: linear-gradient(180deg, rgba(155, 92, 255, 0.12), rgba(18, 214, 255, 0.08));
}

.theme-container5 .btn-neon.ghost {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.theme-container5 .btn-neon.danger {
  background: linear-gradient(180deg, rgba(255, 92, 92, 0.12), rgba(255, 20, 20, 0.08));
  border-color: rgba(255, 92, 92, 0.22);
}

.theme-container5 .badges-neon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 16px;
  color: var(--muted);
}

.theme-container5 .badge-neon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 0;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  border: 1px solid rgba(122, 170, 255, 0.18);
  background: linear-gradient(180deg, rgba(112, 249, 255, 0.09), rgba(155, 92, 255, 0.07));
  font-weight: 600;
  font-size: 0.9rem;
}

.theme-container5 .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.theme-container5 .dot.ok {
  background: #1fd48e;
}

.theme-container5 .dot.warn {
  background: #ffcc66;
}

.theme-container5 .dot.mod {
  background: #9b5cff;
}

.theme-container5 .dot.solved {
  background: #ffd700;
}

.theme-container5 .pitch {
  margin-top: 14px;
  color: #bcd3ff;
  font-size: 0.98rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.theme-container5 .donations-banner {
  background: linear-gradient(180deg, rgba(112, 249, 255, 0.09), rgba(155, 92, 255, 0.07));
  border: 1px solid rgba(122, 170, 255, 0.18);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.theme-container5 .topbar-neon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  padding: 6px 4px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}

/* Responsive styles */
@media (max-width: 768px) {
  .theme-container {
    flex-direction: column;
    align-items: center;
    width: 99%;
    margin: 0;
  }
  .wrap-on-mobile {
    flex-wrap: wrap;
  }
}

@media (min-width: 769px) {
  .theme-container{
    width: 100%;
    max-width: 1240px;
    margin: 10px auto 0;
  }
}

