:root {
  --elite-bg: #1a1008;
  --elite-bg-alt: #2a1a0e;
  --elite-surface: #2d1e12;
  --elite-surface-soft: rgba(58, 37, 20, 0.92);
  --elite-text: #fdf0d5;
  --elite-muted: #e9d4ad;
  --elite-gold: #ffd700;
  --elite-gold-deep: #ffcc00;
  --elite-amber: #f59e0b;
  --elite-leather: #8b4513;
  --elite-line: rgba(255, 215, 0, 0.26);
  --elite-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  --elite-radius: 22px;
}

body.elite-light {
  --elite-bg: #fdf6e3;
  --elite-bg-alt: #f6ead0;
  --elite-surface: #fff5df;
  --elite-surface-soft: rgba(255, 248, 232, 0.94);
  --elite-text: #2b1a10;
  --elite-muted: #5e4930;
  --elite-line: rgba(139, 69, 19, 0.25);
  --elite-shadow: 0 18px 38px rgba(84, 55, 18, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", sans-serif;
  background:
    radial-gradient(circle at top, rgba(245, 158, 11, 0.18), transparent 28%),
    linear-gradient(180deg, var(--elite-bg) 0%, var(--elite-bg-alt) 100%);
  color: var(--elite-text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.elite-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.elite-agebar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: center;
  padding: 10px 16px;
  background: linear-gradient(90deg, #5a2f0f, #8b4513);
  color: #fff7e6;
  border-bottom: 1px solid rgba(255, 215, 0, 0.35);
}

.elite-agebar p {
  margin: 0;
  font-size: 0.95rem;
}

.elite-agebar__button,
.elite-button,
.elite-theme,
.elite-top,
.elite-navtoggle {
  cursor: pointer;
  border: 0;
}

.elite-agebar__button,
.elite-button,
.elite-theme {
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.elite-agebar__button,
.elite-button {
  background: linear-gradient(135deg, var(--elite-gold), var(--elite-amber));
  color: #2c1704;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(245, 158, 11, 0.3);
}

.elite-agebar__button:hover,
.elite-button:hover {
  transform: rotateY(12deg) translateY(-2px);
  box-shadow: 0 16px 26px rgba(255, 204, 0, 0.35);
}

.elite-header {
  position: sticky;
  top: 0;
  z-index: 25;
  background:
    linear-gradient(135deg, rgba(78, 42, 17, 0.96), rgba(43, 23, 10, 0.96)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0 8px, transparent 8px 16px);
  border-bottom: 1px solid var(--elite-line);
  backdrop-filter: blur(10px);
}

.elite-agebar:not([hidden]) + .elite-header {
  top: 46px;
}

.elite-header.elite-stuck {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
}

.elite-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.elite-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Lora", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--elite-gold);
}

.elite-brand img {
  width: 54px;
  height: 54px;
}

.elite-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.elite-nav a,
.elite-theme {
  position: relative;
  color: var(--elite-text);
  background: transparent;
  padding: 10px 0;
  font-weight: 700;
}

.elite-nav a::after,
.elite-theme::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  background: var(--elite-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.elite-nav a:hover::after,
.elite-theme:hover::after {
  transform: scaleX(1);
}

.elite-navtoggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: 8px;
}

.elite-navtoggle span {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--elite-gold);
}

.elite-hero {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.elite-hero__overlay,
.elite-hero__map,
.elite-hero__coins {
  position: absolute;
  inset: 0;
}

.elite-hero__overlay {
  background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1), transparent 45%);
}

.elite-hero__map {
  background-image:
    linear-gradient(rgba(253, 240, 213, 0.04), rgba(253, 240, 213, 0.04)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23cba870' stroke-opacity='0.16' stroke-width='2'%3E%3Cpath d='M20 30c50 20 90-10 140 10s30 90-10 120-90 30-120-10S-10 60 20 30z'/%3E%3Cpath d='M40 170c25-35 65-45 110-40'/%3E%3Cpath d='M140 30l20 30-20 20'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
  mix-blend-mode: screen;
}

.elite-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 40px;
  padding: 80px 0;
}

.elite-hero__art {
  display: flex;
  justify-content: center;
}

.elite-chest {
  position: relative;
  width: 300px;
  height: 250px;
}

.elite-chest__lid {
  position: absolute;
  top: 30px;
  left: 32px;
  width: 236px;
  height: 90px;
  background: linear-gradient(180deg, #9a5721, #5c2f10);
  border: 4px solid #d0a449;
  border-radius: 130px 130px 24px 24px;
  transform-origin: left bottom;
  transform: rotate(-10deg);
  box-shadow: var(--elite-shadow);
}

.elite-chest__base {
  position: absolute;
  bottom: 30px;
  left: 24px;
  width: 252px;
  height: 130px;
  background: linear-gradient(180deg, #8b4513, #4c270e);
  border: 4px solid #d0a449;
  border-radius: 22px;
  box-shadow: var(--elite-shadow);
}

.elite-chest__lock {
  position: absolute;
  left: 132px;
  bottom: 86px;
  width: 36px;
  height: 52px;
  background: linear-gradient(180deg, #ffd700, #d69800);
  border-radius: 0 0 14px 14px;
  border: 3px solid #f8e390;
}

.elite-chest__spill span {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff4b2, #ffd700 55%, #d18a00 100%);
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.45);
  animation: elite-spill 4.6s ease-in-out infinite;
}

.elite-chest__spill span:nth-child(1) { left: 70px; bottom: 140px; animation-delay: 0.1s; }
.elite-chest__spill span:nth-child(2) { left: 110px; bottom: 162px; animation-delay: 0.6s; }
.elite-chest__spill span:nth-child(3) { left: 146px; bottom: 174px; animation-delay: 1s; }
.elite-chest__spill span:nth-child(4) { left: 184px; bottom: 150px; animation-delay: 1.5s; }
.elite-chest__spill span:nth-child(5) { left: 215px; bottom: 138px; animation-delay: 2s; }
.elite-chest__spill span:nth-child(6) { left: 122px; bottom: 126px; animation-delay: 2.5s; }

.elite-kicker {
  margin: 0 0 10px;
  color: var(--elite-amber);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 800;
}

.elite-hero h1,
.elite-sectionhead h2,
.elite-featured h3,
.elite-card h3,
.elite-payments h3,
.elite-faqentry h3,
.elite-footer h2 {
  font-family: "Lora", serif;
}

.elite-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  line-height: 1.05;
}

.elite-hero__lead {
  max-width: 640px;
  font-size: 1.1rem;
  color: var(--elite-muted);
}

.elite-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  min-width: 160px;
}

.elite-button--hero {
  margin-top: 8px;
}

.elite-button--small {
  min-width: auto;
  padding: 10px 18px;
}

.elite-button--ghost {
  background: transparent;
  border: 1px solid var(--elite-line);
  color: var(--elite-text);
  box-shadow: none;
}

.elite-trustline {
  margin-top: 14px;
  color: var(--elite-muted);
  font-size: 0.95rem;
}

.elite-sectionhead {
  margin-bottom: 28px;
}

.elite-spotlight,
.elite-cards,
.elite-methodology,
.elite-about,
.elite-faq,
.elite-payments,
.elite-rg {
  padding: 86px 0;
}

.elite-spotlight__grid,
.elite-cards__grid,
.elite-payments__grid {
  display: grid;
  gap: 24px;
}

.elite-spotlight__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.elite-cards__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.elite-featured,
.elite-card,
.elite-scorecard,
.elite-methodology__copy,
.elite-about__copy,
.elite-faqentry,
.elite-payments__grid article,
.elite-rg__content,
.elite-footer__main,
.elite-pagepanel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    var(--elite-surface-soft);
  border: 1px solid var(--elite-line);
  border-radius: var(--elite-radius);
  box-shadow: var(--elite-shadow);
}

.elite-featured,
.elite-card,
.elite-payments__grid article,
.elite-faqentry,
.elite-pagepanel {
  padding: 24px;
}

.elite-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.elite-card.elite-hovered {
  transform: translateY(-8px);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 22px 42px rgba(255, 204, 0, 0.16);
}

.elite-featured__top,
.elite-card__header,
.elite-ukgc,
.elite-pagehero__top {
  display: flex;
  gap: 18px;
  align-items: center;
}

.elite-logobox {
  width: 110px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.elite-light .elite-logobox {
  background: rgba(43, 26, 16, 0.06);
}

.elite-badge,
.elite-rating,
.elite-offer,
.elite-agebadge,
.elite-ukgc__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
}

.elite-badge,
.elite-rating,
.elite-offer {
  padding: 6px 12px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.elite-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 14px;
}

.elite-pills span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.28);
  font-size: 0.9rem;
}

.elite-procon p,
.elite-card__note,
.elite-payments__grid p,
.elite-rgtips p,
.elite-footer p {
  margin: 0 0 10px;
}

.elite-card__note {
  color: var(--elite-muted);
  font-size: 0.88rem;
}

.elite-methodology__layout,
.elite-about__layout,
.elite-rg__layout,
.elite-pagegrid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
}

.elite-scorecard {
  padding: 24px;
}

.elite-scorecard div {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--elite-line);
}

.elite-scorecard div:last-child {
  border-bottom: 0;
}

.elite-methodology__copy,
.elite-about__copy,
.elite-rg__content {
  padding: 28px;
}

.elite-faq__list {
  display: grid;
  gap: 18px;
}

.elite-payments__grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.elite-rg__content blockquote {
  margin: 0 0 18px;
  padding: 18px 22px;
  border-left: 4px solid var(--elite-gold);
  background: rgba(255, 215, 0, 0.08);
  font-family: "Lora", serif;
  font-size: 1.15rem;
}

.elite-rglinks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.elite-agebadge,
.elite-ukgc__badge {
  justify-content: center;
  min-width: 48px;
  padding: 8px 12px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--elite-gold), var(--elite-amber));
  color: #2c1704;
}

.elite-footer {
  padding-top: 20px;
}

.elite-footer__trust {
  border-top: 1px solid var(--elite-line);
  border-bottom: 1px solid var(--elite-line);
  background: rgba(84, 46, 18, 0.42);
}

.elite-footer__trustinner,
.elite-footer__main {
  padding: 30px 0;
}

.elite-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-weight: 700;
}

.elite-cookie {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: min(340px, calc(100% - 24px));
  padding: 20px;
  background: var(--elite-surface-soft);
  border: 1px solid var(--elite-line);
  border-radius: 20px;
  box-shadow: var(--elite-shadow);
  z-index: 40;
}

.elite-cookie__actions {
  display: flex;
  gap: 10px;
}

.elite-top {
  position: fixed;
  right: 20px;
  bottom: 150px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--elite-gold), var(--elite-amber));
  color: #2c1704;
  box-shadow: var(--elite-shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 20;
}

.elite-top.elite-visible {
  opacity: 1;
  pointer-events: auto;
}

.elite-pagehero {
  padding: 120px 0 56px;
}

.elite-pagehero__top {
  margin-bottom: 22px;
}

.elite-pagehero__top img {
  width: 78px;
  height: 78px;
}

.elite-pagehero h1 {
  margin: 0;
  font-family: "Lora", serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.elite-pagegrid {
  padding-bottom: 80px;
}

.elite-pagepanel {
  padding: 28px;
}

.elite-pagepanel h2,
.elite-pagepanel h3 {
  font-family: "Lora", serif;
}

.elite-pagepanel h2 {
  margin-top: 0;
}

.elite-pagepanel + .elite-pagepanel {
  margin-top: 22px;
}

@keyframes elite-spill {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.92; }
  50% { transform: translateY(-14px) scale(1.08); opacity: 1; }
}

@keyframes elite-coinfloat {
  0% { transform: translate3d(0, 0, 0) scale(0.8); opacity: 0; }
  12% { opacity: 0.75; }
  100% { transform: translate3d(var(--elite-drift), -110vh, 0) scale(1.1); opacity: 0; }
}

.elite-coin {
  position: absolute;
  bottom: -40px;
  width: 18px;
  height: 18px;
  left: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff6c4, #ffd700 50%, #bd7f00 100%);
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.25);
  animation: elite-coinfloat 13s linear infinite;
  animation-delay: 0s;
}

.elite-coin:nth-child(1) { left: 4%; width: 16px; height: 16px; animation-duration: 11s; animation-delay: 0.2s; --elite-drift: -60px; }
.elite-coin:nth-child(2) { left: 10%; width: 14px; height: 14px; animation-duration: 15s; animation-delay: 1.3s; --elite-drift: 70px; }
.elite-coin:nth-child(3) { left: 18%; width: 22px; height: 22px; animation-duration: 14s; animation-delay: 2s; --elite-drift: -40px; }
.elite-coin:nth-child(4) { left: 24%; width: 20px; height: 20px; animation-duration: 17s; animation-delay: 0.8s; --elite-drift: 90px; }
.elite-coin:nth-child(5) { left: 31%; width: 15px; height: 15px; animation-duration: 12s; animation-delay: 3.1s; --elite-drift: -85px; }
.elite-coin:nth-child(6) { left: 37%; width: 19px; height: 19px; animation-duration: 16s; animation-delay: 1.7s; --elite-drift: 55px; }
.elite-coin:nth-child(7) { left: 43%; width: 13px; height: 13px; animation-duration: 10s; animation-delay: 4s; --elite-drift: -50px; }
.elite-coin:nth-child(8) { left: 49%; width: 24px; height: 24px; animation-duration: 18s; animation-delay: 2.5s; --elite-drift: 65px; }
.elite-coin:nth-child(9) { left: 55%; width: 16px; height: 16px; animation-duration: 13s; animation-delay: 0.9s; --elite-drift: -95px; }
.elite-coin:nth-child(10) { left: 60%; width: 18px; height: 18px; animation-duration: 15s; animation-delay: 3.4s; --elite-drift: 80px; }
.elite-coin:nth-child(11) { left: 66%; width: 12px; height: 12px; animation-duration: 11s; animation-delay: 1.1s; --elite-drift: -35px; }
.elite-coin:nth-child(12) { left: 72%; width: 21px; height: 21px; animation-duration: 17s; animation-delay: 2.9s; --elite-drift: 52px; }
.elite-coin:nth-child(13) { left: 77%; width: 17px; height: 17px; animation-duration: 14s; animation-delay: 4.2s; --elite-drift: -78px; }
.elite-coin:nth-child(14) { left: 82%; width: 15px; height: 15px; animation-duration: 12.5s; animation-delay: 0.4s; --elite-drift: 30px; }
.elite-coin:nth-child(15) { left: 87%; width: 23px; height: 23px; animation-duration: 16.5s; animation-delay: 2.2s; --elite-drift: -66px; }
.elite-coin:nth-child(16) { left: 91%; width: 14px; height: 14px; animation-duration: 10.5s; animation-delay: 3.7s; --elite-drift: 58px; }
.elite-coin:nth-child(17) { left: 95%; width: 18px; height: 18px; animation-duration: 13.8s; animation-delay: 1.5s; --elite-drift: -45px; }
.elite-coin:nth-child(18) { left: 98%; width: 20px; height: 20px; animation-duration: 15.8s; animation-delay: 4.5s; --elite-drift: 40px; }

.elite-hero__coins .elite-coin:nth-child(odd) {
  opacity: 0.75;
}

@media (max-width: 1024px) {
  .elite-hero__content,
  .elite-methodology__layout,
  .elite-about__layout,
  .elite-rg__layout,
  .elite-pagegrid,
  .elite-spotlight__grid,
  .elite-payments__grid {
    grid-template-columns: 1fr;
  }

  .elite-cards__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .elite-agebar {
    flex-direction: column;
    text-align: center;
  }

  .elite-agebar:not([hidden]) + .elite-header {
    top: 78px;
  }

  .elite-navtoggle {
    display: flex;
  }

  .elite-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 16px 24px;
    background: rgba(43, 23, 10, 0.98);
    border-bottom: 1px solid var(--elite-line);
  }

  .elite-nav.elite-navopen {
    display: flex;
  }

  .elite-hero {
    min-height: auto;
  }

  .elite-hero__content {
    padding: 56px 0 72px;
  }

  .elite-chest {
    width: 240px;
    height: 210px;
  }

  .elite-chest__lid {
    width: 186px;
    left: 26px;
  }

  .elite-chest__base {
    width: 200px;
    left: 20px;
  }

  .elite-payments,
  .elite-methodology,
  .elite-about,
  .elite-faq,
  .elite-cards,
  .elite-spotlight,
  .elite-rg {
    padding: 68px 0;
  }

  .elite-cookie {
    right: 12px;
    bottom: 12px;
  }
}
