/* Win or Waffle — additive History / Geography / Gaming themes and spotlight. */
body[data-theme="history"] {
 --base:#171d2b; --surface:#343448; --surface-strong:#44455a;
 --accent:#e5bb78; --accent-soft:#ffe4b0; --mint:#b9c89b;
 --text:#fff7e9; --muted:#d7d0c0; --border:rgba(227,186,122,.24);
 --glow:rgba(227,186,122,.17);
 background:radial-gradient(circle at 85% 16%,rgba(175,141,94,.2),transparent 48%),linear-gradient(155deg,#181d2d,#393245);
}
body[data-theme="geography"] {
 --base:#514630; --surface:#817049; --surface-strong:#96875c;
 --accent:#E9B08C; --accent-soft:#FFEED6; --mint:#94C68B;
 --text:#FFF2DD; --muted:#E1D3B1; --border:rgba(255,238,214,.28);
 --glow:rgba(233,176,140,.18);
 background:
  radial-gradient(ellipse at 84% 8%,rgba(34,92,55,.28),transparent 48%),
  radial-gradient(ellipse at 4% 62%,rgba(29,83,51,.16),transparent 42%),
  radial-gradient(ellipse at 15% 90%,rgba(233,176,140,.24),transparent 56%),
  linear-gradient(155deg,#514630 0%,#776943 52%,#514630 100%);
 background-attachment:fixed;
}
body[data-theme="gaming"] {
 --base:#190043; --surface:#380085; --surface-strong:#5003C0;
 --accent:#FF467A; --accent-soft:#FFD51E; --mint:#FF8BB0;
 --text:#FFF6F5; --muted:#F0C9F1; --border:rgba(255,70,122,.3);
 --glow:rgba(255,70,122,.24);
 background:
  radial-gradient(ellipse at 85% 10%,rgba(255,70,122,.32),transparent 47%),
  radial-gradient(ellipse at 8% 83%,rgba(255,213,30,.17),transparent 44%),
  linear-gradient(160deg,#290071 0%,#5003C0 54%,#190043 100%);
 background-attachment:fixed;
}
.genre-card[data-genre="history"] {background:#393344;border-color:#8e7a65;}
.genre-card[data-genre="geography"] {background:#817049;border-color:#E9B08C88;}
.genre-card[data-genre="gaming"] {background:#5003C0;border-color:#FF467A88;}
.genre-card[data-genre="history"] .genre-icon {filter:drop-shadow(0 2px 8px #efbb8466);}
.genre-card[data-genre="geography"] .genre-icon {filter:drop-shadow(0 2px 8px #E9B08C77);}
.genre-card[data-genre="gaming"] .genre-icon {filter:drop-shadow(0 2px 8px #FF467A88);}

.featured-spotlight {
 position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(220px,.75fr);
 gap:24px;align-items:center;min-height:290px;padding:clamp(24px,4vw,46px);
 margin:18px 0 44px;border:1px solid #a475aa77;border-radius:27px;overflow:hidden;
 background:linear-gradient(110deg,#1d1834 0%,#382146 55%,#92365e 100%);
 box-shadow:0 22px 70px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.07);
 color:#fff5ef;
}
.featured-spotlight[hidden] {display:none;}
.featured-spotlight::before {content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:radial-gradient(circle at 80% 35%,rgba(255,161,160,.35),transparent 44%),
 linear-gradient(120deg,transparent 40%,rgba(238,124,209,.09) 58%,transparent 80%);}
.featured-copy {position:relative;z-index:2;min-width:0;}
.featured-label {display:inline-flex;align-items:center;padding:7px 12px;border-radius:50px;
 border:1px solid #ffc4a2a1;background:rgba(255,190,143,.14);font-size:11px;
 font-weight:900;letter-spacing:.12em;color:#ffd59c;}
.featured-eyebrow {margin:25px 0 7px;font-size:11px;letter-spacing:.15em;font-weight:900;color:#ffd1ee;}
.featured-spotlight h2 {font:700 clamp(30px,5vw,56px)/1.03 'Space Grotesk',sans-serif;
 letter-spacing:-.035em;margin:8px 0 15px;color:#fff7f3;max-width:640px;}
.featured-description {color:#f9dceb;max-width:520px;font-size:15px;line-height:1.6;}
.featured-actions {display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:25px;}
.featured-start {background:#ffb06d;color:#27152c;}
.featured-browse {color:#ffcae9;font-size:13px;font-weight:800;text-decoration:none;}
.featured-browse:hover {text-decoration:underline;}
.featured-art {position:relative;min-height:240px;display:grid;place-items:center;pointer-events:none;}
.featured-sun {position:absolute;width:215px;height:215px;border-radius:50%;top:0;right:8%;
 background:linear-gradient(#ffa4ba,#fc956c 57%,#e55d82 58%);opacity:.72;
 box-shadow:0 0 90px #ffa3a94d;animation:featured-sunshine 8s ease-in-out infinite;}
.featured-roman {position:absolute;z-index:3;right:12%;bottom:-4px;font:900 clamp(130px,19vw,235px)/.82 'Space Grotesk',sans-serif;
 font-style:italic;letter-spacing:-.1em;color:#fff3ec;
 text-shadow:5px 8px 0 #f1849a,-8px -7px 25px #b9429160;
 animation:featured-roman 7s ease-in-out infinite;}
.featured-palms {position:absolute;left:0;bottom:0;z-index:4;font-size:clamp(80px,9vw,132px);
 transform:rotate(-8deg);filter:drop-shadow(0 5px 10px #221e38);}
.featured-horizon {position:absolute;z-index:2;inset:auto 0 0;height:50px;background:linear-gradient(transparent,#6e315fbb);}
@keyframes featured-sunshine {50%{filter:brightness(1.13);transform:translateY(-5px)}}
@keyframes featured-roman {50%{transform:translateY(-5px)}}
.featured-pack-note {
 display:inline-flex;align-items:center;padding:8px 12px;margin:10px 0 0;
 border:1px solid #f2ba88;border-radius:25px;background:rgba(240,165,103,.12);
 color:#f6d2a7;font-size:11px;letter-spacing:.1em;font-weight:900;
}
.featured-pack-note[hidden] {display:none;}
@media(max-width:760px) {
 .featured-spotlight {grid-template-columns:1fr;min-height:auto;padding:25px;margin-top:15px;}
 .featured-art {min-height:155px;}
 .featured-sun {width:160px;height:160px;right:20%;}
 .featured-roman {right:20%;font-size:150px;}
 .featured-palms {font-size:100px;left:8%;}
}
@media(prefers-reduced-motion:reduce) {
 .featured-sun,.featured-roman{animation:none!important;}
}

/* Subtle preview of the public-domain silhouette set (not a playable image round yet). */
.genre-card[data-genre="geography"] {position:relative;overflow:hidden;}
.genre-card[data-genre="geography"] .genre-silhouette {
 position:absolute;right:9px;bottom:8px;pointer-events:none;width:104px;height:79px;
 opacity:.27;transform:rotate(-9deg);transition:opacity .25s,transform .25s;
}
.genre-card[data-genre="geography"] .genre-silhouette img {width:100%;height:100%;object-fit:contain;}
.genre-card[data-genre="geography"]:hover .genre-silhouette {opacity:.6;transform:rotate(0);}
@media(prefers-reduced-motion:reduce){.genre-silhouette{transition:none!important;}}

.genre-card[data-genre] {position:relative;}
.genre-featured-tag {
 position:absolute;top:13px;right:11px;max-width:62%;
 padding:5px 8px;border:1px solid #f2b58d;border-radius:999px;
 background:rgba(27,19,46,.85);color:#ffddb1;
 font-size:9px;line-height:1.2;font-weight:900;letter-spacing:.045em;
 white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}


/* Featured GTA VI: keep the existing layout/artwork, but make the banner visibly
   brighter than the currently selected Gaming theme around it. */
.featured-spotlight {
 border:2px solid rgba(255,225,168,.7);
 background:
   radial-gradient(ellipse at 76% 27%,rgba(255,216,114,.5),transparent 44%),
   linear-gradient(117deg,#6420AA 0%,#AD279F 34%,#F45191 69%,#FFAB70 100%);
 box-shadow:0 24px 75px rgba(29,4,71,.38),0 0 35px rgba(255,70,122,.22),
   inset 0 1px rgba(255,255,255,.2);
}
.featured-spotlight::before {
 background:
   linear-gradient(105deg,rgba(39,7,72,.46) 0%,rgba(42,8,73,.18) 58%,transparent 80%),
   repeating-linear-gradient(155deg,transparent 0 36px,rgba(255,224,160,.035) 36px 38px);
}
.featured-label {
 background:#FFD51E;color:#371157;border-color:#FFF1B6;
 box-shadow:0 0 21px rgba(255,213,30,.44);
}
.featured-eyebrow {color:#FFE69A;text-shadow:0 0 10px rgba(255,213,30,.3);}
.featured-spotlight h2 {color:#FFFFFF;text-shadow:0 3px 23px rgba(43,3,76,.42);}
.featured-description {color:#FFF2FF;text-shadow:0 1px 6px rgba(31,5,55,.35);}
.featured-start {
 background:#FFD51E;color:#2A1350;
 border-color:#FFF3B3;box-shadow:0 6px 23px rgba(255,213,30,.27);
}
.featured-browse {color:#FFF6D2;text-shadow:0 1px 7px rgba(40,9,72,.4);}
.featured-sun {background:linear-gradient(#FFF2A6,#FFCB58 53%,#FF8E6C 54%);
 opacity:.96;box-shadow:0 0 65px rgba(255,227,138,.6);}
.featured-roman {color:#FFF5CF;text-shadow:6px 8px 0 #FF467A,-8px -7px 24px #6724C9;}
.featured-horizon {background:linear-gradient(transparent,rgba(91,12,126,.62));}
body[data-theme="gaming"] .featured-spotlight {border-color:#FFD51E;}

/* Geography remains warm, earthy and brown; forest green is an accent only. */
body[data-theme="geography"] .genre-section .section-heading h2,
body[data-theme="geography"] .genre-card.active strong {text-shadow:0 0 16px rgba(67,142,85,.28);}
.genre-card[data-genre="geography"] {background:
 radial-gradient(circle at 90% 12%,rgba(32,95,53,.33),transparent 58%),
 linear-gradient(125deg,#817049,#5C533A);border-color:rgba(148,198,139,.48);}
.genre-card[data-genre="geography"] strong {color:#D2EEC8;}
.genre-card[data-genre="geography"] .genre-silhouette img {filter:drop-shadow(0 2px 7px rgba(31,88,50,.4));}
