/* Generated Olympus CG artwork, with live accessible promotion labels. */
.intro h1 img { display: block; width: 76%; max-width: 420px; height: auto; margin: 0 auto; }
.intro { padding-bottom: 0; }
.intro .eyebrow { margin-bottom: 3px; }
#wheel .segment-free, #wheel .segment-bonus { fill: none; stroke: none; }
#wheel .label-free { fill: #473009; filter: drop-shadow(0 1px 0 #fff5c0); }
#wheel .label-bonus { fill: #fff5d8; filter: drop-shadow(0 2px 1px #071536); }
#wheel .segment-label text:first-child { font-size: 39px; }
#wheel .segment-label text { font-weight: 800; }
.spin-button { display: block; width: 62%; max-width: 350px; margin: -10px auto 0; padding: 0; border: 0; border-radius: 18px; background: none; box-shadow: none; transition: transform .18s, filter .18s; }
.spin-button img { display: block; width: 100%; height: auto; }
.spin-button:hover { background: none; filter: brightness(1.08); transform: translateY(-2px); }
.spin-button:active { transform: translateY(2px) scale(.98); }
.spin-button:disabled { transform: none; filter: saturate(.6); }
.spin-status { margin-top: 0; }
.promotion-list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.promotion-list > a, .promotion-list > article {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 2; padding: 12% 12%; min-width: 0; border: 0; border-radius: 0;
  background: url('../images/cg-promo.png') center / 100% 100% no-repeat;
  text-align: center; color: #fff5d8; transition: filter .18s, transform .18s;
}
.promotion-list > a:hover { background: url('../images/cg-promo.png') center / 100% 100% no-repeat; filter: brightness(1.12); transform: translateY(-3px); }
.promotion-list p { color: #fff5d8; font-size: 11px; letter-spacing: 1px; margin-bottom: 6px; text-shadow: 0 2px 2px #071536; }
.promotion-list strong { font-size: clamp(30px,3.7vw,54px); color: #fff1a7; line-height: 1.1; text-shadow: 0 2px 0 #8d5815,0 4px 0 #543507,0 6px 8px #0008; }
.promotion-list strong span { color: #f0cc66; font-size: .65em; }
.promotion-list > .bonus-card > strong { font-size: clamp(43.2px,5.328vw,77.76px); }
.promotion-list small { color: #edf7ff; font-size: 10px; margin-top: 9px; }
.promotion-list small span { float: none; }
.section-heading h2 { font-family: var(--font-display); font-size: 34px; color: var(--brand-dark); text-shadow: 0 1px 0 #fff,0 2px 0 #a4bde8; }
@media (max-width: 1000px) and (min-width: 761px) {
  .promotion-list { gap: 8px; }
  .promotion-list p { font-size: 9px; }
  .promotion-list small { font-size: 8px; margin-top: 6px; }
}
@media (max-width: 760px) {
  .intro h1 img { width: 85%; }
  .spin-button { width: 70%; }
  .promotion-list { grid-template-columns: minmax(0,1fr); gap: 12px; max-width: 480px; margin-inline: auto; }
  .promotion-list > article { grid-column: auto; }
  .promotion-list strong { font-size: clamp(38px,10vw,56px); }
  .promotion-list > .bonus-card > strong { font-size: clamp(54.72px,14.4vw,80.64px); }
  .promotion-list p { font-size: 12px; }
  .promotion-list small { font-size: 11px; }
}
@media (prefers-reduced-motion:reduce) { .spin-button,.promotion-list > a { transition: none; } }

/* Victory panel shares the generated gold-and-sapphire game materials. */
#winner-modal[open] { animation: victory-enter .65s cubic-bezier(.16,1,.3,1) both; }
#winner-modal::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, #fff4bc08 40%, #fff5cc65 49%, #fff4bc08 58%, transparent 66%);
  background-size: 300% 100%; opacity: 0;
}
#winner-modal[open]::after { animation: victory-shine 4.5s ease-in-out .3s infinite; }
#winner-modal[open] .reward strong { animation: reward-reveal .9s cubic-bezier(.2,1.5,.4,1) both; }
.victory-sparkles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.victory-sparkles i {
  position: absolute; width: 19px; height: 19px; background: #fff4bb;
  clip-path: polygon(50% 0,60% 39%,100% 50%,60% 61%,50% 100%,40% 61%,0 50%,40% 39%);
  opacity: 0;
}
#winner-modal[open] .victory-sparkles i { animation: victory-sparkle 3.2s ease-in-out infinite; }
.victory-sparkles i:nth-child(1) { left: 8%; top: 16%; animation-delay: .1s!important; }
.victory-sparkles i:nth-child(2) { left: 84%; top: 8%; animation-delay: .8s!important; }
.victory-sparkles i:nth-child(3) { left: 20%; top: 40%; animation-delay: .4s!important; }
.victory-sparkles i:nth-child(4) { left: 76%; top: 48%; animation-delay: 1.3s!important; }
.victory-sparkles i:nth-child(5) { left: 9%; top: 78%; animation-delay: 1.8s!important; }
.victory-sparkles i:nth-child(6) { left: 87%; top: 74%; animation-delay: .6s!important; }
.victory-sparkles i:nth-child(7) { left: 35%; top: 92%; animation-delay: 2.1s!important; }
.victory-sparkles i:nth-child(8) { left: 65%; top: 30%; animation-delay: 1.5s!important; }
@keyframes victory-enter {
  from { opacity: 0; transform: translateY(24px) scale(.82); }
  65% { opacity: 1; transform: translateY(-3px) scale(1.025); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes reward-reveal {
  from { opacity: 0; transform: scale(.5); }
  55% { opacity: 1; transform: scale(1.13); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes victory-shine {
  0% { background-position: 100% 0; opacity: 0; }
  12% { opacity: .85; }
  38% { background-position: 0% 0; opacity: 0; }
  100% { background-position: 0% 0; opacity: 0; }
}
@keyframes victory-sparkle {
  0%,70%,100% { opacity: 0; transform: translateY(8px) scale(.3) rotate(0deg); }
  25% { opacity: 1; transform: translateY(0) scale(1.15) rotate(35deg); }
  55% { opacity: 0; transform: translateY(-14px) scale(.5) rotate(70deg); }
}
@media (prefers-reduced-motion: reduce) {
  #winner-modal[open], #winner-modal[open]::after, #winner-modal[open] .reward strong,
  #winner-modal[open] .victory-sparkles i { animation: none; }
}
.effects-paused #winner-modal[open]::after,
.effects-paused #winner-modal[open] .victory-sparkles i { animation-play-state: paused; }
#winner-modal {
  width: min(440px, calc(100% - 24px));
  padding: 74px 54px 54px;
  border: 0;
  border-radius: 4px;
  background: #071536 url('../images/cg-winner.png') center / 100% 100% no-repeat;
  color: #fff5d8;
  box-shadow: 0 24px 90px #0009, 0 0 35px #1764ee44;
}
#winner-modal::backdrop { background: rgb(3 10 30 / 80%); backdrop-filter: blur(7px); }
#winner-modal .eyebrow { color: #f4d78d; font-size: 9px; letter-spacing: 1px; margin: 0 0 15px; }
#winner-modal h2 {
  font-family: var(--font-display); font-size: 48px; line-height: 1; text-transform: uppercase;
  color: #fff5d8; text-shadow: 0 2px 0 #c39337, 0 4px 0 #735017, 0 7px 8px #0009;
}
#winner-modal .reward { margin: 17px 0 22px; }
#winner-modal .reward strong {
  font-size: 116px; font-weight: 800; line-height: 1.1; color: #ffeb9f;
  text-shadow: 0 2px 0 #f4c750, 0 4px 0 #c49330, 0 6px 0 #9b671d, 0 9px 0 #4f300c, 0 12px 16px #0008;
}
#winner-modal .reward span { display: block; margin-top: 10px; color: #fff5d8; font-size: 20px; text-shadow: 0 2px 2px #000a; }
#winner-description { color: #dbeaff; font-size: 12px; line-height: 1.65; margin: 0 0 14px; }
#winner-modal .claim-button {
  min-height: 58px; padding: 14px 8px; font-family: var(--font-display); font-size: 21px; letter-spacing: .4px;
  border: 3px ridge #ffdb77; border-radius: 7px;
  color: #fff6d8; background: linear-gradient(#347cf4, #2457d6 45%, #183d9a 55%, #2457d6);
  box-shadow: inset 0 2px 2px #b4d5ff99, inset 0 -3px 3px #07153688, 0 4px 0 #9b671d, 0 7px 0 #4f300c, 0 10px 16px #0006;
  text-shadow: 0 2px 0 #071536; white-space: nowrap;
}
#winner-modal .claim-button:hover { filter: brightness(1.15); }
#winner-modal .again-button { color: #fff1bd; margin-top: 23px; font-size: 12px; text-underline-offset: 4px; min-height: 30px; }
#winner-modal .close-button {
  top: 17px; right: 16px; width: 34px; height: 34px; display: grid; place-items: center;
  padding: 0; line-height: 1; border-radius: 50%; border: 2px ridge #ffdc7d;
  background: radial-gradient(at 35% 25%,#347cf4,#071536); color: #ffedb0;
  box-shadow: 0 3px 0 #735017,0 4px 8px #0008; font-size: 25px;
}
@media (max-width: 380px) {
  #winner-modal { padding: 66px 40px 43px; }
  #winner-modal h2 { font-size: 41px; }
  #winner-modal .reward strong { font-size: 100px; }
  #winner-modal .claim-button { font-size: 18px; }
  #winner-modal .eyebrow { font-size: 8px; }
}
@media (max-height: 650px) {
  #winner-modal { padding-top: 56px; padding-bottom: 38px; }
  #winner-modal .eyebrow { margin-bottom: 10px; }
  #winner-modal h2 { font-size: 36px; }
  #winner-modal .reward { margin: 10px 0 16px; }
  #winner-modal .reward strong { font-size: 80px; }
}
