/* 1st anniversary theme (inc/site_anniversary.php). Everything is scoped to anniv-* classes. */
:root{--anniv-gold:#e7c06a;--anniv-bright:#fff0c2;--anniv-deep:#a8752c;--anniv-night:#0b1230}

/* ---- Header badge (every page) ---- */
.prestige-metal-header .anniv-header-badge{display:inline-flex;align-items:center;gap:2px;flex:none;height:44px;margin:0 6px 0 -2px;padding:0 4px;
  color:#f6dc9c;text-decoration:none;white-space:nowrap;border-radius:4px;transition:filter .15s}
.prestige-metal-header .anniv-header-badge:hover{filter:brightness(1.15) drop-shadow(0 0 6px #e7c06a55)}
.prestige-metal-header .anniv-header-badge:focus-visible{outline:2px solid #fff0bc;outline-offset:2px}
.prestige-metal-header .anniv-header-badge .anniv-laurel{width:13px;height:28px;flex:none}
.anniv-header-badge-copy{display:flex;flex-direction:column;align-items:center;line-height:1}
.anniv-header-badge-num{font:700 19px/1 Georgia,'Times New Roman',serif;color:#ffe7a8;text-shadow:0 1px 2px #000}
.anniv-header-badge-num sup{font-size:10px;vertical-align:top;position:relative;top:1px;margin-left:1px}
.anniv-header-badge-label{margin-top:2px;font:700 7.5px/1 'Open Sans',Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#d9b66e}
@media(max-width:1250px) and (min-width:1025px){.prestige-metal-header .anniv-header-badge{display:none}}
@media(max-width:600px){.prestige-metal-header .anniv-header-badge{margin-left:-6px}.prestige-metal-header .anniv-header-badge-label{display:none}}

/* ---- Shared laurel ---- */
.anniv-laurel{display:block;overflow:visible}
.anniv-laurel--right{transform:scaleX(-1)}

/* ---- Hero crest + fireworks (homepage) ---- */
.prestige-gold-home #section1 .anniv-hero-crest{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:12px;
  margin:-4px auto 16px;padding:6px 22px;color:#f6dc9c;text-decoration:none;cursor:pointer}
.prestige-gold-home #section1 .anniv-hero-crest .anniv-laurel{width:36px;height:72px;filter:drop-shadow(0 2px 4px #000c)}
.anniv-hero-crest-copy{display:flex;flex-direction:column;align-items:center;gap:3px}
.anniv-hero-crest-num{font:700 56px/1 Georgia,'Times New Roman',serif;letter-spacing:.01em;text-shadow:0 3px 12px #000c}
.anniv-hero-crest-num sup{font-size:25px;vertical-align:top;position:relative;top:4px;margin-left:2px}
.anniv-hero-crest-label{font:700 13px/1 'Open Sans',Arial,sans-serif;letter-spacing:.32em;text-transform:uppercase;color:#e2c27c;text-shadow:0 2px 4px #000}
@supports (background-clip:text){
  .anniv-hero-crest-num,.anniv-mark-num{background:linear-gradient(180deg,#fff6d6 10%,#f0c96f 55%,#b47d2e 95%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none;filter:drop-shadow(0 3px 8px #000b)}
}
.prestige-gold-home #section1 .anniv-hero-crest:hover .anniv-hero-crest-label{color:#fff0c2}
.prestige-gold-home #section1 .anniv-hero-crest:focus-visible{outline:2px solid #fff0bc;outline-offset:4px}
.anniv-hero-crest-shine{position:absolute;inset:0;pointer-events:none;border-radius:50%;
  background:radial-gradient(ellipse at center,#e7c06a33,transparent 68%);z-index:-1}

.anniv-fireworks{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.anniv-fireworks i{position:absolute;width:3px;height:3px;border-radius:50%;opacity:0;transform:scale(.1);
  animation:annivBurst 6.4s ease-out infinite}
@keyframes annivBurst{
  0%{opacity:0;transform:scale(calc(var(--anniv-scale,1)*.08))}
  6%{opacity:1}
  26%{opacity:.9;transform:scale(calc(var(--anniv-scale,1)*1.05))}
  42%{opacity:0;transform:scale(calc(var(--anniv-scale,1)*1.25)) translateY(10px)}
  100%{opacity:0;transform:scale(calc(var(--anniv-scale,1)*1.25)) translateY(10px)}
}
.anniv-fireworks i:nth-child(1){left:7%;top:14%;--anniv-scale:1.0;animation-delay:0s;box-shadow:46.0px 0.0px 0 1px #ffd98a,41.4px 20.0px 0 1px #ffd98a,28.7px 36.0px 0 1px #ffd98a,10.2px 44.8px 0 1px #ffd98a,-10.2px 44.8px 0 1px #ffd98a,-28.7px 36.0px 0 1px #ffd98a,-41.4px 20.0px 0 1px #ffd98a,-46.0px 0.0px 0 1px #ffd98a,-41.4px -20.0px 0 1px #ffd98a,-28.7px -36.0px 0 1px #ffd98a,-10.2px -44.8px 0 1px #ffd98a,10.2px -44.8px 0 1px #ffd98a,28.7px -36.0px 0 1px #ffd98a,41.4px -20.0px 0 1px #ffd98a,24.0px 0.0px 0 0px #fff3cf,17.0px 17.0px 0 0px #fff3cf,0.0px 24.0px 0 0px #fff3cf,-17.0px 17.0px 0 0px #fff3cf,-24.0px 0.0px 0 0px #fff3cf,-17.0px -17.0px 0 0px #fff3cf,-0.0px -24.0px 0 0px #fff3cf,17.0px -17.0px 0 0px #fff3cf}
.anniv-fireworks i:nth-child(2){left:86%;top:11%;--anniv-scale:1.15;animation-delay:1.6s;box-shadow:46.0px 0.0px 0 1px #ff9ec2,41.4px 20.0px 0 1px #ff9ec2,28.7px 36.0px 0 1px #ff9ec2,10.2px 44.8px 0 1px #ff9ec2,-10.2px 44.8px 0 1px #ff9ec2,-28.7px 36.0px 0 1px #ff9ec2,-41.4px 20.0px 0 1px #ff9ec2,-46.0px 0.0px 0 1px #ff9ec2,-41.4px -20.0px 0 1px #ff9ec2,-28.7px -36.0px 0 1px #ff9ec2,-10.2px -44.8px 0 1px #ff9ec2,10.2px -44.8px 0 1px #ff9ec2,28.7px -36.0px 0 1px #ff9ec2,41.4px -20.0px 0 1px #ff9ec2,24.0px 0.0px 0 0px #ffe1ec,17.0px 17.0px 0 0px #ffe1ec,0.0px 24.0px 0 0px #ffe1ec,-17.0px 17.0px 0 0px #ffe1ec,-24.0px 0.0px 0 0px #ffe1ec,-17.0px -17.0px 0 0px #ffe1ec,-0.0px -24.0px 0 0px #ffe1ec,17.0px -17.0px 0 0px #ffe1ec}
.anniv-fireworks i:nth-child(3){left:16%;top:34%;--anniv-scale:0.7;animation-delay:3.1s;box-shadow:46.0px 0.0px 0 1px #9fc4ff,41.4px 20.0px 0 1px #9fc4ff,28.7px 36.0px 0 1px #9fc4ff,10.2px 44.8px 0 1px #9fc4ff,-10.2px 44.8px 0 1px #9fc4ff,-28.7px 36.0px 0 1px #9fc4ff,-41.4px 20.0px 0 1px #9fc4ff,-46.0px 0.0px 0 1px #9fc4ff,-41.4px -20.0px 0 1px #9fc4ff,-28.7px -36.0px 0 1px #9fc4ff,-10.2px -44.8px 0 1px #9fc4ff,10.2px -44.8px 0 1px #9fc4ff,28.7px -36.0px 0 1px #9fc4ff,41.4px -20.0px 0 1px #9fc4ff,24.0px 0.0px 0 0px #e2edff,17.0px 17.0px 0 0px #e2edff,0.0px 24.0px 0 0px #e2edff,-17.0px 17.0px 0 0px #e2edff,-24.0px 0.0px 0 0px #e2edff,-17.0px -17.0px 0 0px #e2edff,-0.0px -24.0px 0 0px #e2edff,17.0px -17.0px 0 0px #e2edff}
.anniv-fireworks i:nth-child(4){left:78%;top:36%;--anniv-scale:0.8;animation-delay:4.4s;box-shadow:46.0px 0.0px 0 1px #ffd98a,41.4px 20.0px 0 1px #ffd98a,28.7px 36.0px 0 1px #ffd98a,10.2px 44.8px 0 1px #ffd98a,-10.2px 44.8px 0 1px #ffd98a,-28.7px 36.0px 0 1px #ffd98a,-41.4px 20.0px 0 1px #ffd98a,-46.0px 0.0px 0 1px #ffd98a,-41.4px -20.0px 0 1px #ffd98a,-28.7px -36.0px 0 1px #ffd98a,-10.2px -44.8px 0 1px #ffd98a,10.2px -44.8px 0 1px #ffd98a,28.7px -36.0px 0 1px #ffd98a,41.4px -20.0px 0 1px #ffd98a,24.0px 0.0px 0 0px #fff3cf,17.0px 17.0px 0 0px #fff3cf,0.0px 24.0px 0 0px #fff3cf,-17.0px 17.0px 0 0px #fff3cf,-24.0px 0.0px 0 0px #fff3cf,-17.0px -17.0px 0 0px #fff3cf,-0.0px -24.0px 0 0px #fff3cf,17.0px -17.0px 0 0px #fff3cf}
.anniv-fireworks i:nth-child(5){left:50%;top:6%;--anniv-scale:0.65;animation-delay:2.4s;box-shadow:46.0px 0.0px 0 1px #ffcf7a,41.4px 20.0px 0 1px #ffcf7a,28.7px 36.0px 0 1px #ffcf7a,10.2px 44.8px 0 1px #ffcf7a,-10.2px 44.8px 0 1px #ffcf7a,-28.7px 36.0px 0 1px #ffcf7a,-41.4px 20.0px 0 1px #ffcf7a,-46.0px 0.0px 0 1px #ffcf7a,-41.4px -20.0px 0 1px #ffcf7a,-28.7px -36.0px 0 1px #ffcf7a,-10.2px -44.8px 0 1px #ffcf7a,10.2px -44.8px 0 1px #ffcf7a,28.7px -36.0px 0 1px #ffcf7a,41.4px -20.0px 0 1px #ffcf7a,24.0px 0.0px 0 0px #fff6dc,17.0px 17.0px 0 0px #fff6dc,0.0px 24.0px 0 0px #fff6dc,-17.0px 17.0px 0 0px #fff6dc,-24.0px 0.0px 0 0px #fff6dc,-17.0px -17.0px 0 0px #fff6dc,-0.0px -24.0px 0 0px #fff6dc,17.0px -17.0px 0 0px #fff6dc}
@media(max-width:600px){
  .prestige-gold-home #section1 .anniv-hero-crest{margin:-4px auto 10px;gap:9px}
  .prestige-gold-home #section1 .anniv-hero-crest .anniv-laurel{width:26px;height:52px}
  .anniv-hero-crest-num{font-size:42px}
  .anniv-hero-crest-label{font-size:10px;letter-spacing:.26em}
  .anniv-fireworks i:nth-child(n+4){display:none}
}

/* ---- Anniversary section (homepage) ---- */
.section-anniversary{position:relative;isolation:isolate;overflow:hidden;background:#070a16}
.section-anniversary .anniv-backdrop{position:absolute;inset:-40px;z-index:-2;
  /* 2.5 KB copy with the blur/saturate/darken baked in (was the full poster + a live blur(26px) filter) */
  background:url('../images/anniversary/rh-prestige-1st-anniversary-backdrop.webp') center 30%/cover no-repeat}
.section-anniversary:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse at 30% 50%,transparent 20%,#05070fcc 75%),linear-gradient(180deg,#05070f 0%,transparent 16%,transparent 80%,#05070f 100%)}
.section-anniversary .anniv-container{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:clamp(32px,5vw,84px);
  height:100%;padding-top:110px;padding-bottom:60px}
.anniv-poster-frame{position:relative;flex:none;height:min(74vh,700px);aspect-ratio:1122/1402;padding:8px;
  background:linear-gradient(160deg,#f6dc9c,#9a6c2a 35%,#e9c776 60%,#7a5420);
  box-shadow:0 22px 60px #000c,0 0 46px #e7c06a33}
.anniv-poster-frame:after{content:'';position:absolute;inset:8px;pointer-events:none;box-shadow:inset 0 0 0 1px #00000080,inset 0 0 30px #0006}
.anniv-poster-frame img{display:block;width:100%;height:100%;object-fit:cover}
.anniv-copy{flex:0 1 520px;min-width:0;color:#e9dfc8;text-align:left}
.anniv-kicker{margin:0 0 14px;font:700 11px/1.4 'Open Sans',Arial,sans-serif;letter-spacing:.24em;text-transform:uppercase;color:#d9b66e}
.anniv-mark{display:flex;align-items:center;gap:12px;margin:0 0 10px}
.anniv-mark .anniv-laurel{width:32px;height:64px;filter:drop-shadow(0 2px 4px #000a)}
.anniv-mark-num{font:700 66px/1 Georgia,'Times New Roman',serif;color:#f3d38c}
.anniv-mark-num sup{font-size:30px;vertical-align:top;position:relative;top:6px;margin-left:3px}
.anniv-title{margin:0 0 18px;font:400 clamp(30px,3vw,44px)/1.15 Georgia,'Times New Roman',serif;color:#f6e6bf;text-shadow:0 3px 14px #000b;word-break:keep-all}
.anniv-text{margin:0 0 22px;font:400 16px/1.75 Georgia,'Times New Roman',serif;color:#d8ccb2}
.anniv-points{display:grid;gap:10px;margin:0 0 30px;padding:0;list-style:none}
.anniv-points li{position:relative;padding-left:26px;font:600 14px/1.5 'Open Sans',Arial,sans-serif;color:#eadcba}
.anniv-points li:before{content:'';position:absolute;left:4px;top:6px;width:9px;height:9px;transform:rotate(45deg);
  background:linear-gradient(135deg,#fff0c2,#c08d3a);box-shadow:0 0 8px #e7c06a88}
.anniv-event{margin:0 0 30px}
.anniv-event-title{display:inline-block;margin:0 0 12px;padding:7px 22px;font:700 13px/1.2 Georgia,'Times New Roman',serif;letter-spacing:.2em;text-transform:uppercase;color:#fff0c2;
  background:linear-gradient(180deg,#14705e,#0a3f36);border:1px solid #e7c06a99;box-shadow:inset 0 1px #fff3,0 4px 14px #0008;
  clip-path:polygon(0 0,100% 0,96% 50%,100% 100%,0 100%,4% 50%)}
.anniv-event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.anniv-event-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:96px;padding:12px 8px;text-align:center;text-decoration:none;
  border:1px solid #e7c06a55;background:linear-gradient(180deg,#0b3a33e6,#05171af2);box-shadow:inset 0 1px #fff0c21f,0 8px 20px #0007;transition:border-color .15s,transform .15s}
.anniv-event-card:hover{border-color:#f6dc9c;transform:translateY(-2px)}
.anniv-event-card:focus-visible{outline:2px solid #fff0bc;outline-offset:3px}
.anniv-event-card strong{font:700 30px/1 Georgia,'Times New Roman',serif;color:#f3d38c;text-shadow:0 0 14px #e7c06a59}
.anniv-event-card span{font:700 11px/1.3 'Open Sans',Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#d7eee6}
.anniv-actions{display:flex;flex-wrap:wrap;gap:16px}
.anniv-actions a{box-sizing:border-box;position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:10px;
  width:268px;max-width:100%;height:56px;padding:10px 30px;text-decoration:none;white-space:nowrap;
  font:600 14px/1.2 Georgia,'Times New Roman',serif;letter-spacing:.035em;text-transform:uppercase}
.anniv-actions a:before{content:'';position:absolute;inset:0;z-index:-1;
  background:url('../images/homepage-gold/button-pointed-gold-v2.webp') center/100% 100% no-repeat;filter:drop-shadow(0 5px 8px #0008)}
.anniv-actions .anniv-play{color:#281a09;text-shadow:0 1px #f6da8b80}
.anniv-actions .anniv-discord{color:#eddaaa;text-shadow:0 2px #000}
.anniv-actions .anniv-discord:after{content:'';position:absolute;inset:0;z-index:-1;
  clip-path:polygon(16.5% 11%,83.5% 11%,93.5% 50%,83.5% 87%,16.5% 87%,6.5% 50%);
  background:linear-gradient(180deg,#0a1230e0,#050816f2);box-shadow:inset 0 0 15px #000}
.anniv-actions a:hover:before{filter:brightness(1.12) drop-shadow(0 0 8px #e7c06a55)}
.anniv-actions a:focus-visible{outline:2px solid #fff0bc;outline-offset:4px}
.anniv-actions svg{width:16px;height:16px;flex:none}
@media(max-width:1024px){
  .section-anniversary{height:auto;min-height:0}
  .section-anniversary .anniv-container{flex-direction:column;gap:30px;height:auto;padding-top:40px;padding-bottom:50px}
  .anniv-poster-frame{height:auto;width:min(460px,100%)}
  .anniv-copy{flex:none;width:100%;max-width:560px;text-align:center}
  .anniv-mark,.anniv-actions{justify-content:center}
  .anniv-points{justify-items:center}
  .anniv-points li{text-align:left}
}
@media(max-width:600px){
  .anniv-poster-frame{padding:5px}
  .anniv-poster-frame:after{inset:5px}
  .anniv-mark-num{font-size:52px}
  .anniv-mark .anniv-laurel{width:26px;height:52px}
  .anniv-text{font-size:15px}
  .anniv-actions a{width:100%}
  .anniv-event-card{min-height:84px}
  .anniv-event-card strong{font-size:24px}
  .anniv-event-card span{font-size:9.5px;letter-spacing:.08em}
}
@media(prefers-reduced-motion:reduce){
  .anniv-fireworks{display:none}
}
/* pkg 44: until the lazy poster arrives, show the 2.5 KB pre-blurred copy (already loaded for the backdrop) instead of an empty gold box */
.anniv-poster-frame img{background:#0d0b08 url('../images/anniversary/rh-prestige-1st-anniversary-backdrop.webp') center 30%/cover no-repeat}
