/* ===== POP717 gold ornament system: engraved metal, matched to the filigree logo ===== */
:root{
  --metal-v:linear-gradient(180deg,#fff6d2 0%,#f6d985 18%,#d9a647 42%,#8f6320 50%,#c99a42 58%,#f3d68b 80%,#a97b2b 100%);
  --metal-h:linear-gradient(100deg,#7d5418 0%,#c99a45 9%,#f9e3a3 19%,#d6a64e 29%,#94671f 41%,#c8973f 55%,#f6dc96 68%,#e2b860 78%,#8a5e1b 91%,#c39339 100%);
  --metal-text:linear-gradient(180deg,#fffbe6 0%,#fbe7a6 22%,#e7bb5c 46%,#a8771f 52%,#d9a94c 62%,#fde9ad 86%,#c08f36 100%);
  --orn-corner:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-linecap='round'%3E%3Cpath stroke-width='2.2' d='M1.5 63V22C1.5 10.7 10.7 1.5 22 1.5H63'/%3E%3Cpath stroke-width='1.1' d='M7 63V27M27 7H63'/%3E%3Cpath stroke-width='2' d='M7 27C7 20 11 16 16 16C20 16 22 19 20.5 21.5C19 24 15.5 23 16 20.5'/%3E%3Cpath stroke-width='2' d='M27 7C20 7 16 11 16 16C16 20 19 22 21.5 20.5C24 19 23 15.5 20.5 16'/%3E%3Cpath fill='black' stroke='none' d='M11.5 8.6L14.4 11.5L11.5 14.4L8.6 11.5Z'/%3E%3Ccircle cx='7' cy='45' r='2.4' fill='black' stroke='none'/%3E%3Ccircle cx='45' cy='7' r='2.4' fill='black' stroke='none'/%3E%3C/svg%3E");
  --orn-divider:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' fill='none' stroke='black' stroke-linecap='round'%3E%3Cpath fill='black' stroke='none' d='M0 10L79 9.1V10.9ZM200 10L121 9.1V10.9Z'/%3E%3Cpath stroke-width='1.3' d='M100 2L108 10L100 18L92 10Z'/%3E%3Cpath fill='black' stroke='none' d='M100 6L104 10L100 14L96 10Z'/%3E%3Cpath stroke-width='1.2' d='M91 10C88 10 86.5 6 83.5 6.8C80.8 7.6 81.6 11.6 84.2 10.6M109 10C112 10 113.5 6 116.5 6.8C119.2 7.6 118.4 11.6 115.8 10.6'/%3E%3Ccircle cx='100' cy='0.8' r='.8' fill='black' stroke='none'/%3E%3Ccircle cx='100' cy='19.2' r='.8' fill='black' stroke='none'/%3E%3C/svg%3E");
  --orn-fleuron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='78 0 44 20' fill='none' stroke='black' stroke-linecap='round'%3E%3Cpath fill='black' stroke='none' d='M0 10L79 9.1V10.9ZM200 10L121 9.1V10.9Z'/%3E%3Cpath stroke-width='1.3' d='M100 2L108 10L100 18L92 10Z'/%3E%3Cpath fill='black' stroke='none' d='M100 6L104 10L100 14L96 10Z'/%3E%3Cpath stroke-width='1.2' d='M91 10C88 10 86.5 6 83.5 6.8C80.8 7.6 81.6 11.6 84.2 10.6M109 10C112 10 113.5 6 116.5 6.8C119.2 7.6 118.4 11.6 115.8 10.6'/%3E%3Ccircle cx='100' cy='0.8' r='.8' fill='black' stroke='none'/%3E%3Ccircle cx='100' cy='19.2' r='.8' fill='black' stroke='none'/%3E%3C/svg%3E");
}

/* Lettering: polished, embossed gold like the wordmark, not a flat swatch */
h1 em,.section h2 em,.invitation h2 em{background:var(--metal-text)!important;background-size:100% 100%!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;filter:drop-shadow(0 1px 0 #4b310b) drop-shadow(0 10px 18px #0009)}
.countdown strong,.hero-value strong,.target-console output{background:var(--metal-text);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;filter:drop-shadow(0 1px 0 #3d2809)}

/* Gold leaf bands: announcement + ticker */
.announcement{background:linear-gradient(180deg,#ffffff40,#fff0 40%,#0000 62%,#00000038),repeating-linear-gradient(90deg,#ffffff0a 0 1px,#0000 1px 3px),var(--metal-h);color:#2a1c05;text-shadow:0 1px 0 #fff1c680;box-shadow:inset 0 -1px #5a3b0c}
.ticker{position:relative;padding:15px 0;border:0;background:linear-gradient(180deg,#fff7d870 0,#fff0 30%,#0000 60%,#0000004a 100%),repeating-linear-gradient(90deg,#ffffff0c 0 1px,#0000 1px 2px,#0000000a 2px 3px),var(--metal-h);background-size:auto,auto,1400px 100%;box-shadow:inset 0 1px #fff4c9,inset 0 -1px #4c3209,0 1px 0 #f3d78f40,0 -1px 0 #f3d78f30}
.ticker:before{content:'';position:absolute;inset:4px 0;border-block:1px solid #5b3d0f55;pointer-events:none;box-shadow:0 1px 0 #fff1c440,inset 0 1px 0 #fff1c440}
.ticker>div{color:#2d1e06;text-shadow:0 1px 0 #ffefbf9e,0 -1px 0 #6d4a1440;align-items:center}
.ticker-divider{width:44px;height:20px;background:#3c2808;-webkit-mask:var(--orn-fleuron) center/contain no-repeat;mask:var(--orn-fleuron) center/contain no-repeat;filter:drop-shadow(0 1px 0 #fff0c27a)}

/* Bevelled gold buttons with a single sheen pass on hover */
.button,.button.light,.invitation .button.light{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(180deg,#ffffff38,#fff0 45%,#00000024),var(--metal-h)!important;background-size:100% 100%,220% 100%!important;background-position:0 0,0 0!important;color:#251905!important;border:1px solid #7a5517!important;box-shadow:inset 0 1px #fff3c8,inset 0 -1px #6e4b13,0 12px 30px #0007!important;outline:1px solid #c9a04c55;outline-offset:3px;text-shadow:0 1px 0 #ffefc075;transition:background-position .6s ease,transform .2s,outline-color .3s}
.button:hover,.invitation .button.light:hover{background-position:0 0,100% 0!important;transform:translateY(-2px);outline-color:#e3bf6caa}
.button:after{content:'';position:absolute;top:-2px;bottom:-2px;left:-60%;width:40%;background:linear-gradient(100deg,#fff0,#fffbe9b0 50%,#fff0);transform:skewX(-18deg);z-index:-1;pointer-events:none}
.button:hover:after{animation:sheen .9s ease-out}
@keyframes sheen{to{left:130%}}
.header-cta{border:1px solid #c79b45!important;outline:1px solid #c79b4540;outline-offset:3px;background:#d5a9460a}

/* Hairlines that taper like engraved rules */
header{border-bottom:0!important;background-image:linear-gradient(90deg,#0000,#a8833a70 22%,#f0d38c 50%,#a8833a70 78%,#0000)!important;background-size:100% 1px!important;background-repeat:no-repeat!important;background-position:bottom!important;background-color:#090c14!important}
.hero-copy .dot{border-radius:0;width:7px;height:7px;transform:rotate(45deg);background:var(--metal-v);box-shadow:0 0 0 3px #070a11,0 0 0 4px #c9a04c66;margin-right:12px}

/* Section headings close with a fleuron divider */
.section-heading>div:first-child:after,.target-heading:after,.terms>div:first-child:after{content:'';display:block;width:200px;height:20px;margin-top:28px;background:var(--metal-h);background-size:200px 100%;-webkit-mask:var(--orn-divider) left center/contain no-repeat;mask:var(--orn-divider) left center/contain no-repeat}
.how,.terms,.target-section{position:relative}
.how:before,.terms:before{content:'';position:absolute;top:-10px;left:50%;width:150px;height:20px;transform:translateX(-50%);background:var(--metal-h);-webkit-mask:var(--orn-divider) center/contain no-repeat;mask:var(--orn-divider) center/contain no-repeat;z-index:2}

/* Engraved corner filigree on the prize cards */
.collection .prizes-grid>.prize-card:before,.collection .prizes-grid>.prize-card:after{content:'';position:absolute;top:9px;width:50px;height:50px;z-index:5;pointer-events:none;background:var(--metal-v);-webkit-mask:var(--orn-corner) center/contain no-repeat;mask:var(--orn-corner) center/contain no-repeat;opacity:.5;transition:opacity .3s}
.collection .prizes-grid>.prize-card:before{left:9px}
.collection .prizes-grid>.prize-card:after{right:9px;transform:scaleX(-1)}
.collection .prizes-grid>.prize-card.gold-card:before,.collection .prizes-grid>.prize-card.gold-card:after,.collection .prizes-grid>.prize-card:hover:before,.collection .prizes-grid>.prize-card:hover:after{opacity:1}
.collection .prize-card .rank-label{top:24px;left:62px;background:var(--metal-text);-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:600}
.collection .prizes-grid>.prize-card.gold-card{border-color:#c9a04c40}
.collection .prizes-grid>.prize-card:hover{border-color:#d6b0607a}
.collection .prize-card .prize-open{background:linear-gradient(180deg,#ffffff30,#0000 50%,#0003),var(--metal-h)!important;background-size:100%,300% 100%!important;color:#271a05!important;border:1px solid #6e4b13!important;box-shadow:inset 0 1px #fff3c8,0 0 0 3px #0d1420,0 0 0 4px #c9a04c4d}

/* Medallion behind the club logo, echoing its scrollwork */
.logo-medallion{grid-column:1;grid-row:1 / 5;position:relative;width:min(100%,260px);height:auto;aspect-ratio:1;align-self:center;justify-self:center}
.logo-medallion:before{content:'';position:absolute;inset:2%;border-radius:50%;background:repeating-conic-gradient(#e9c46d 0 .5deg,#0000 .5deg 5deg);-webkit-mask:radial-gradient(circle closest-side,#0000 52%,#000 62%,#000 82%,#0000 96%);mask:radial-gradient(circle closest-side,#0000 52%,#000 62%,#000 82%,#0000 96%);opacity:.28}
.logo-medallion:after{content:'';position:absolute;inset:9%;border-radius:50%;border:1px solid #d1a75466;box-shadow:0 0 0 5px #0000,0 0 0 6px #d1a75426,inset 0 0 60px #d9ad520f}
.logo-medallion .club-logo{position:absolute!important;inset:0!important;z-index:1;width:82%!important;height:82%!important;margin:auto!important;object-fit:contain;transform:none!important;filter:drop-shadow(0 14px 28px #000a)!important}

@media(max-width:640px){
  .collection .prizes-grid>.prize-card:before,.collection .prizes-grid>.prize-card:after{width:32px;height:32px;top:6px}
  .collection .prizes-grid>.prize-card:before{left:6px}.collection .prizes-grid>.prize-card:after{right:6px}
  .collection .prize-card .rank-label{top:15px;left:42px}
  .logo-medallion{grid-column:1;grid-row:auto;width:180px;justify-self:center;margin-bottom:22px}
  .ticker-divider{width:34px;height:16px}
  .section-heading>div:first-child:after,.target-heading:after,.terms>div:first-child:after{width:150px;height:15px;margin-top:20px}
}
@media(prefers-reduced-motion:reduce){.button:hover:after{animation:none}.button{transition:none}}
