/* =========================
   PREPATCH PAGE STYLES
   Clean rewrite with readability fixes
========================= */

/* =========================
   PAGE SCOPE & VARIABLES
========================= */
.prepatchPage {
  --pp1: 255, 179, 0; /* #ffb300 orange */
  --pp2: 255, 143, 0; /* #ff8f00 orange foncé */
  --accent: rgb(var(--pp1));
  --accent2: rgb(var(--pp1));
}

/* Images responsive */
.prepatchPage img {
  max-width: 100%;
  height: auto;
}

/* =========================
   NAVIGATION & BUTTONS
========================= */

/* Bouton retour accueil */
.prepatchPage .backToHome {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  margin-bottom: 24px;
  background: rgba(255, 179, 0, 0.12);
  border: 1px solid rgba(255, 179, 0, 0.35);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.prepatchPage .backToHome:hover {
  background: rgba(255, 179, 0, 0.2);
  border-color: rgba(255, 179, 0, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 179, 0, 0.25);
}

.prepatchPage .backToHome i {
  font-size: 14px;
}

/* Boutons standards */
.prepatchPage .btn {
  border-color: rgba(var(--pp1), .55);
  background: rgba(var(--pp1), .16);
  transition: background 0.2s ease;
}

.prepatchPage .btn:hover {
  background: rgba(var(--pp1), .22);
}

.prepatchPage .btnGhost {
  border-color: rgba(var(--pp2), .45);
  background: rgba(var(--pp2), .10);
  transition: background 0.2s ease;
}

.prepatchPage .btnGhost:hover {
  background: rgba(var(--pp2), .14);
}

.prepatchPage .navBtn {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.prepatchPage .navBtn:hover {
  border-color: var(--border);
}

/* Boutons d'actions rapides */
.btnQuick {
  background: rgba(124, 58, 237, 0.2);
  color: #fff;
  border: 1px solid rgba(124, 58, 237, 0.4);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.btnQuick:hover {
  background: rgba(124, 58, 237, 0.4);
  border-color: rgba(124, 58, 237, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btnQuick i {
  margin-right: 6px;
}

/* =========================
   TAGS & BADGES
========================= */
.prepatchPage .tagPriorites,
.prepatchPage .tagPlan,
.prepatchPage .tagDate,
.prepatchPage .tagUI,
.prepatchPage .tagAddons,
.prepatchPage .tagTransmog,
.prepatchPage .tagPvP,
.prepatchPage .tagDH,
.prepatchPage .cardMini [class^="tag"] {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(var(--pp1), .22);
  background: rgba(var(--pp1), .10);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
}

/* =========================
   LAYOUT & GRIDS
========================= */
.prepatchPage .grid2,
.prepatchPage .grid3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap2);
  margin-top: 12px;
}

@media (min-width: 860px) {
  .prepatchPage .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prepatchPage .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* =========================
   CARDS
========================= */

/* Spacing entre cards */
.prepatchPage .wrap > .card + .card {
  margin-top: 28px;
}

/* Mini cards */
.prepatchPage .cardMini {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  transition: border-color 0.2s ease, background 0.2s ease;
}

@media (hover:hover) {
  .prepatchPage .cardMini:hover {
    border-color: rgba(255,179,0,.28);
    background: rgba(255,255,255,.055);
  }
}

/* CTA Cards */
.prepatchPage .ctaGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}

@media (min-width: 860px) {
  .prepatchPage .ctaGrid { grid-template-columns: 1fr 1fr; }
}

.prepatchPage .ctaCard {
  text-align: left;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(var(--pp1), .28);
  padding: 14px;
  cursor: pointer;
  color: var(--text);
  background:
    radial-gradient(900px 220px at 10% 0%, rgba(var(--pp1), .25), transparent 60%),
    radial-gradient(700px 220px at 90% 10%, rgba(var(--pp2), .18), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  transition: border-color 0.2s ease, background 0.2s ease;
}

.prepatchPage .ctaCard:hover {
  border-color: rgba(var(--pp1), .45);
  background:
    radial-gradient(900px 220px at 10% 0%, rgba(var(--pp1), .32), transparent 60%),
    radial-gradient(700px 220px at 90% 10%, rgba(var(--pp2), .24), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));
}

.prepatchPage .ctaTitle {
  font-weight: 950;
  letter-spacing: .2px;
}

.prepatchPage .ctaText {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}

/* =========================
   TYPOGRAPHY & READABILITY
========================= */

/* Paragraphes - improved readability */
.prepatchPage .card p,
.prepatchPage .fold p {
  line-height: 1.85;
  margin: 18px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

.prepatchPage .card p:first-child,
.prepatchPage .fold p:first-child {
  margin-top: 0;
}

.prepatchPage .card p:last-child,
.prepatchPage .fold p:last-child {
  margin-bottom: 0;
}

/* Titres */
.prepatchPage .card h2 {
  margin: 32px 0 16px;
  font-weight: 700;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.98);
  line-height: 1.3;
}

.prepatchPage .card h2:first-child {
  margin-top: 0;
}

.prepatchPage .card h3,
.prepatchPage .fold h3 {
  margin: 24px 0 12px;
  font-weight: 650;
  font-size: 18px;
  color: rgba(255, 179, 0, 0.95);
  line-height: 1.4;
}

.prepatchPage .card h4,
.prepatchPage .fold h4 {
  margin: 20px 0 10px;
  font-weight: 600;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.4;
}

/* Listes - improved readability */
.prepatchPage .card ul,
.prepatchPage .card ol,
.prepatchPage .fold ul,
.prepatchPage .fold ol {
  margin: 20px 0;
  padding-left: 28px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
}

.prepatchPage .card li,
.prepatchPage .fold li {
  margin: 12px 0;
  padding-left: 10px;
  font-size: 15px;
}

.prepatchPage .card ul li::marker,
.prepatchPage .fold ul li::marker {
  color: rgba(255, 179, 0, 0.85);
  font-size: 1.1em;
}

.prepatchPage .card ol li::marker,
.prepatchPage .fold ol li::marker {
  color: rgba(255, 179, 0, 0.85);
  font-weight: 700;
}

/* Nested lists */
.prepatchPage .card ul ul,
.prepatchPage .card ol ol,
.prepatchPage .card ul ol,
.prepatchPage .card ol ul,
.prepatchPage .fold ul ul,
.prepatchPage .fold ol ol {
  margin: 10px 0;
  padding-left: 24px;
}

/* Strong/Bold text */
.prepatchPage .card strong,
.prepatchPage .fold strong {
  font-weight: 750;
  color: rgba(255, 255, 255, 0.98);
}

/* Emphasis */
.prepatchPage .card em,
.prepatchPage .fold em {
  font-style: italic;
  color: rgba(255, 179, 0, 0.92);
}

/* Code inline */
.prepatchPage .card code,
.prepatchPage .fold code {
  background: rgba(255, 179, 0, 0.12);
  border: 1px solid rgba(255, 179, 0, 0.25);
  padding: 3px 8px;
  border-radius: 5px;
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: 0.92em;
  color: rgba(255, 179, 0, 0.98);
}

/* Blockquotes */
.prepatchPage .card blockquote,
.prepatchPage .fold blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  border-left: 4px solid rgba(255, 179, 0, 0.6);
  background: rgba(255, 179, 0, 0.08);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

/* Horizontal rules */
.prepatchPage .card hr,
.prepatchPage .fold hr {
  margin: 24px 0;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 179, 0, 0.3), transparent);
}

/* Tables */
.prepatchPage .card table,
.prepatchPage .fold table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
}

.prepatchPage .card th,
.prepatchPage .card td,
.prepatchPage .fold th,
.prepatchPage .fold td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.6;
}

.prepatchPage .card th,
.prepatchPage .fold th {
  background: rgba(255, 179, 0, 0.12);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.98);
}

.prepatchPage .card tr:last-child td,
.prepatchPage .fold tr:last-child td {
  border-bottom: none;
}

.prepatchPage .card tr:hover,
.prepatchPage .fold tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* =========================
   CHECKLIST
========================= */
.prepatchPage .checkTop {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.prepatchPage .checkActions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.prepatchPage .checklist {
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,.85);
}

.prepatchPage .checklist label { 
  cursor: pointer;
  line-height: 1.55;
}

.prepatchPage .checklist input { 
  transform: translateY(2px); 
  margin-right: 10px;
}

.prepatchPage .checklist li { 
  margin: 10px 0;
}

/* =========================
   DRAWER (SIDE PANEL)
========================= */
.prepatchPage dialog.drawer {
  border: 0;
  padding: 0;
  background: transparent;
  width: 100%;
  max-width: none;
  height: 100%;
  position: fixed;
  inset: 0;
  margin: 0;
  color: var(--text);
}

.prepatchPage dialog.drawer::backdrop {
  background: rgba(0,0,0,.55);
}

.prepatchPage .drawerPanel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(620px, 94vw);
  padding: 16px;
  overflow: auto;
  background: linear-gradient(180deg, rgba(20,10,35,.92), rgba(10,6,18,.92));
  border-left: 1px solid rgba(var(--pp1), .22);
  box-shadow: -18px 0 46px rgba(0,0,0,.45);
  border-radius: 18px 0 0 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.prepatchPage .drawerHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, rgba(20,10,35,.98), rgba(20,10,35,.88));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
}

.prepatchPage .drawerHead h2 {
  color: var(--text);
  font-weight: 950;
  letter-spacing: .2px;
  margin: 0;
}

.prepatchPage .drawerHead p {
  color: var(--muted);
  margin: 6px 0 0;
}

.prepatchPage .drawerBody {
  margin-top: 12px;
}

.prepatchPage .drawerBody p {
  line-height: 1.8;
  margin: 16px 0;
}

.prepatchPage .drawerBody ul,
.prepatchPage .drawerBody ol {
  margin: 16px 0;
  padding-left: 28px;
  line-height: 1.75;
}

.prepatchPage .drawerBody li {
  margin: 10px 0;
}

.prepatchPage .drawerBody h3,
.prepatchPage .drawerBody h4 {
  margin: 24px 0 12px;
  color: rgba(255, 179, 0, 0.95);
}

.prepatchPage dialog.drawer h2,
.prepatchPage dialog.drawer h3,
.prepatchPage dialog.drawer summary {
  color: var(--text);
}

/* =========================
   GALLERY & ZOOM
========================= */
.prepatchPage .gallery figure { 
  margin: 0;
}

.prepatchPage .gallery img {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
}

.prepatchPage .gallery figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.prepatchPage .zoomThumb {
  padding: 0;
  border: 0;
  background: transparent;
  width: 100%;
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}

.prepatchPage .zoomThumb:hover {
  opacity: 0.9;
}

.prepatchPage dialog.zoomDialog {
  border: 0;
  padding: 0;
  background: transparent;
}

.prepatchPage dialog.zoomDialog::backdrop {
  background: rgba(0,0,0,.70);
}

.prepatchPage .zoomPanel {
  position: fixed;
  inset: 18px;
  display: block;
  overflow: auto;
  padding: 14px;
}

.prepatchPage .zoomPanel > button {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  margin-bottom: 10px;
}

.prepatchPage #zoomImg {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
}

/* =========================
   UTILITIES
========================= */
.prepatchPage .heroDivider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  margin: 28px 0;
}

.prepatchPage .heroLead {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.prepatchPage .lead {
  line-height: 1.75;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
}

.prepatchPage .muted {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

/* =========================
   HERO COUNTDOWN BANNER
========================= */
.heroBanner {
  background: linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 50%, #3d2b5e 100%);
  color: #fff;
  text-align: center;
  padding: 48px 24px;
  margin-top: 32px;
  margin-bottom: 24px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.heroBanner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  animation: pulseGlow 8s ease-in-out infinite;
  pointer-events: none;
  will-change: transform, opacity;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

.heroContent {
  position: relative;
  z-index: 1;
}

.heroLabel {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.7;
  font-weight: 600;
  margin-bottom: 8px;
}

.heroTitle {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  margin: 0 0 24px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  background: linear-gradient(to right, #fff, #e9d5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.heroCountdown {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  margin: 24px 0;
  flex-wrap: wrap;
}

.countdownItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

.countdownNumber {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 700;
  font-family: 'Courier New', monospace;
  line-height: 1;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 70px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  transition: transform 0.15s ease;
}

.countdownNumber:active {
  transform: scale(0.98);
}

.countdownLabel {
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 8px;
  letter-spacing: 1px;
}

.heroTags {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.heroTag {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  will-change: transform;
}

.heroTag:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(124, 58, 237, 0.5);
  transform: translateY(-2px);
}

.heroTag i {
  margin-right: 6px;
  font-size: 14px;
  color: #c4b5fd;
  transition: color 0.2s ease, transform 0.2s ease;
}

.heroTag:hover i {
  color: #ffffff;
  transform: scale(1.1);
}

/* Hero Banner LIVE state */
.heroBanner.live {
  background: radial-gradient(circle at 50% -20%, #7c3aed 0%, #4c1d95 40%, #1e1b4b 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 20px 40px -10px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.heroBanner.live .heroCountdown {
  display: none;
}

.heroBanner.live .heroTitle {
  margin-bottom: 32px;
  text-shadow: 0 4px 20px rgba(124, 58, 237, 0.5);
  background: linear-gradient(to bottom, #ffffff 40%, #ddd6fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.heroBanner.live .heroTitle::after {
  content: 'LIVE NOW';
  -webkit-text-fill-color: white;
  text-shadow: none;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-size: 0.35em;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 16px;
  padding: 6px 16px;
  border-radius: 100px;
  transform: translateY(-6px);
  background: #dc2626;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  animation: livePulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
  will-change: box-shadow;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

.heroBanner.live .heroTag {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(139, 92, 246, 0.2);
}

.heroBanner.live .heroTag i {
  color: #fbbf24;
}

/* Responsive Hero Banner */
@media (max-width: 768px) {
  .heroBanner {
    padding: 32px 16px;
  }

  .heroCountdown {
    gap: 12px;
  }

  .countdownNumber {
    font-size: 28px;
    padding: 8px 12px;
    min-width: 60px;
  }

  .heroTags {
    gap: 8px;
  }

  .heroTag {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* =========================
   HERO ART BANNER
========================= */
.heroArt {
  width: 100%;
  max-width: 1200px;
  margin: 24px auto;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.heroArt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.heroArt:hover img {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .heroArt {
    border-radius: 8px;
    margin: 16px auto;
  }
}

/* =========================
   PRIORITY BADGES & FOLDS
========================= */
.fold {
  margin: 20px 0;
}

.fold + .fold {
  margin-top: 24px;
}

.fold summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 14px 16px;
  border-radius: 8px;
  position: relative;
  flex-wrap: wrap;
  list-style: none;
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.fold summary::-webkit-details-marker {
  display: none;
}

.fold summary:hover {
  background: rgba(124, 58, 237, 0.1);
  padding-left: 20px;
}

.fold summary strong {
  flex: 1;
  min-width: 200px;
}

.fold summary strong i {
  margin-right: 8px;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
  color: #a78bfa;
}

.fold summary:hover strong i {
  opacity: 1;
  transform: translateX(3px);
  color: #c4b5fd;
}

/* Priority Badge */
.priorityBadge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.priorityBadge i {
  margin-right: 6px;
  font-size: 10px;
}

.priorityBadge.urgent {
  background: rgba(255, 59, 48, 0.15);
  color: #ff3b30;
  border: 1px solid rgba(255, 59, 48, 0.3);
  box-shadow: 0 0 12px rgba(255, 59, 48, 0.2);
}

.priorityBadge.urgent i {
  color: #ff3b30;
  filter: drop-shadow(0 0 4px rgba(255, 59, 48, 0.5));
  animation: pulse-urgent 2s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes pulse-urgent {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.15);
  }
}

.fold summary:hover .priorityBadge.urgent {
  background: rgba(255, 59, 48, 0.25);
  box-shadow: 0 0 16px rgba(255, 59, 48, 0.4);
}

.priorityBadge.important {
  background: rgba(255, 204, 0, 0.15);
  color: #ffcc00;
  border: 1px solid rgba(255, 204, 0, 0.3);
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.2);
}

.priorityBadge.important i {
  color: #ffcc00;
  filter: drop-shadow(0 0 4px rgba(255, 204, 0, 0.5));
}

.fold summary:hover .priorityBadge.important {
  background: rgba(255, 204, 0, 0.25);
  box-shadow: 0 0 16px rgba(255, 204, 0, 0.4);
}

.priorityBadge.optional {
  background: rgba(52, 199, 89, 0.15);
  color: #34c759;
  border: 1px solid rgba(52, 199, 89, 0.3);
  box-shadow: 0 0 12px rgba(52, 199, 89, 0.2);
}

.priorityBadge.optional i {
  color: #34c759;
  filter: drop-shadow(0 0 3px rgba(52, 199, 89, 0.4));
}

.fold summary:hover .priorityBadge.optional {
  background: rgba(52, 199, 89, 0.25);
  box-shadow: 0 0 16px rgba(52, 199, 89, 0.4);
}

.readTime {
  font-size: 12px;
  opacity: 0.5;
  font-weight: normal;
  white-space: nowrap;
  margin-left: auto;
  font-style: italic;
}

.fold[open] .priorityBadge {
  transform: scale(1.05);
}

.fold[data-priority="urgent"] {
  border-left: 3px solid #ff3b30;
}

.fold[data-priority="important"] {
  border-left: 3px solid #ffcc00;
}

.fold[data-priority="optional"] {
  border-left: 3px solid #34c759;
}

/* Fold content styling */
.prepatchPage .fold > :not(summary) {
  margin-top: 12px;
  padding: 20px;
  border-left: 3px solid rgba(255, 179, 0, 0.5);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 12px 12px 0;
}

/* Section-specific icon colors */
.fold[id="dates"] summary strong i { color: #60a5fa; }
.fold[id="avant-jour1"] summary strong i { color: #fbbf24; }
.fold[id="housing"] summary strong i { color: #34d399; }
.fold[id="classes-squish"] summary strong i { color: #f87171; }
.fold[id="ui-addons"] summary strong i { color: #818cf8; }
.fold[id="event-ascension"] summary strong i { color: #a78bfa; }
.fold[id="transmog"] summary strong i { color: #f472b6; }
.fold[id="training-grounds"] summary strong i { color: #fb923c; }
.fold[id="demon-hunter"] summary strong i { color: #a855f7; }
.fold[id="bonus-collection"] summary strong i { color: #fbbf24; }

.text-urgent { color: #ff3b30 !important; }
.text-important { color: #ffcc00 !important; }
.text-optional { color: #34c759 !important; }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .fold summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .fold summary strong {
    order: 2;
    width: 100%;
  }

  .priorityBadge {
    order: 1;
  }

  .readTime {
    order: 3;
    margin-left: 0;
    align-self: flex-end;
  }
}

/* =========================
   PERFORMANCE OPTIMIZATIONS
========================= */
.heroBanner,
.heroTag,
.btnQuick,
.priorityBadge,
.fold summary {
  transform: translateZ(0);
  backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
