:root {
  --wod-ink: #070706;
  --wod-panel: rgba(12, 11, 10, .82);
  --wod-panel-soft: rgba(24, 21, 18, .66);
  --wod-line: rgba(214, 174, 93, .34);
  --wod-line-strong: rgba(240, 197, 105, .68);
  --wod-gold: #d9ad61;
  --wod-gold-bright: #f4d58a;
  --wod-ruby: #8f1f24;
  --wod-violet: #7b4bd4;
  --wod-cyan: #6db6d7;
  --wod-text: #f4ead6;
  --wod-muted: rgba(244, 234, 214, .68);
  --wod-shadow: 0 24px 80px rgba(0, 0, 0, .58);
  --wod-font-body: "Alegreya", Georgia, "Times New Roman", serif;
  --wod-font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

html {
  scroll-behavior: smooth;
}

.wod-modern-site {
  background:
    radial-gradient(circle at 18% 8%, rgba(123, 75, 212, .16), transparent 34rem),
    radial-gradient(circle at 86% 18%, rgba(143, 31, 36, .20), transparent 32rem),
    linear-gradient(180deg, #080706 0%, #11100e 44%, #080706 100%);
  color: var(--wod-text);
  font-family: var(--wod-font-body);
}

.wod-modern-site::selection {
  background: rgba(217, 173, 97, .38);
  color: #fff6dd;
}

.wod-page {
  position: relative;
  overflow: hidden;
  background: #080706;
}

.wod-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.wod-ambient::before,
.wod-ambient::after {
  content: "";
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(circle at 16% 18%, rgba(244, 213, 138, .12), transparent 22rem),
    radial-gradient(circle at 75% 8%, rgba(109, 182, 215, .10), transparent 24rem),
    radial-gradient(circle at 86% 74%, rgba(143, 31, 36, .16), transparent 28rem);
  filter: blur(2px);
  animation: wodAmbientShift 16s ease-in-out infinite alternate;
}

.wod-ambient::after {
  background-image:
    linear-gradient(115deg, transparent 0 42%, rgba(244, 213, 138, .08) 48%, transparent 56%),
    radial-gradient(circle, rgba(244, 213, 138, .18) 0 1px, transparent 2px);
  background-size: 100% 100%, 130px 130px;
  opacity: .48;
  mix-blend-mode: screen;
  animation-duration: 22s;
}

@keyframes wodAmbientShift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1.02); }
  to { transform: translate3d(1.5%, 1%, 0) scale(1.05); }
}

.wod-hero {
  position: relative;
  min-height: calc(100vh - 30vh);
  isolation: isolate;
  display: grid;
  align-items: end;
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(3rem, 7vw, 6rem);
  background:
    linear-gradient(90deg, rgba(5, 5, 4, .92) 0%, rgba(5, 5, 4, .60) 42%, rgba(5, 5, 4, .18) 100%),
    linear-gradient(180deg, rgba(5, 5, 4, .06), #080706 98%),
    var(--hero-image, url('/images/host_images/shadows_legacy_platforms.jpg')) center / cover no-repeat;
}

.wod-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, transparent 0 36%, rgba(244, 213, 138, .13) 48%, transparent 62%),
    radial-gradient(circle at 72% 42%, rgba(244, 213, 138, .18), transparent 22rem);
  mix-blend-mode: screen;
  opacity: .72;
  animation: wodLightFall 9s ease-in-out infinite alternate;
}

.wod-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, #080706 78%);
}

@keyframes wodLightFall {
  from { transform: translateX(-4%); opacity: .42; }
  to { transform: translateX(5%); opacity: .78; }
}

.wod-container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.wod-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--wod-gold-bright);
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .16em;
}

.wod-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wod-gold-bright));
}

.wod-main-nav {
  position: relative;
  z-index: 20;
  background: linear-gradient(180deg, rgba(6, 6, 5, .90), rgba(6, 6, 5, .70));
  border-bottom: 1px solid rgba(244, 213, 138, .12);
}

.wod-main-nav .wd-btn {
  border-radius: 0 !important;
}

.wod-hero-title,
.wod-section-title {
  font-family: var(--wod-font-heading);
  letter-spacing: 0;
  color: #f5dfad;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .7), 0 0 30px rgba(217, 173, 97, .22);
}

.wod-hero-title {
  max-width: 820px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: .9;
  margin-top: 1rem;
}

.wod-hero-copy {
  max-width: 680px;
  color: var(--wod-muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
  margin-top: 1.35rem;
}

.wod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.wod-btn,
.auth-toggle-btn,
.auth-register-btn,
.auth-panel-btn {
  border-radius: 0 !important;
}

#bgmBtn,
#closeShopButton,
#closeTopUpButton,
#dpPayBtn,
#vpPayBtn,
.dpQuick,
.vpQuick {
  border-radius: 6px !important;
}

.wod-btn,
.auth-toggle-btn,
.auth-register-btn,
.auth-panel-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--wod-line) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015)),
    linear-gradient(135deg, rgba(56, 41, 23, .86), rgba(13, 12, 11, .92)) !important;
  color: #bfbfbf !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .8);
  transform: translateZ(0);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, filter .22s ease !important;
}

.wod-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem;
}

.wod-btn::before,
.auth-toggle-btn::before,
.auth-register-btn::before,
.auth-panel-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 0 34%, rgba(244, 213, 138, .42) 48%, transparent 64%);
  transform: translateX(-130%);
  transition: transform .55s ease;
}

.wod-btn::after,
.auth-toggle-btn::after,
.auth-register-btn::after,
.auth-panel-btn::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -2;
  border: 1px solid rgba(244, 213, 138, .08);
  border-radius: 0;
}

.wod-btn:hover,
.auth-toggle-btn:hover,
.auth-register-btn:hover,
.auth-panel-btn:hover {
  transform: translateY(-2px) !important;
  border-color: var(--wod-line-strong) !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .52), 0 0 26px rgba(217, 173, 97, .16), inset 0 1px 0 rgba(255, 255, 255, .12) !important;
}

.wod-btn:hover::before,
.auth-toggle-btn:hover::before,
.auth-register-btn:hover::before,
.auth-panel-btn:hover::before {
  transform: translateX(130%);
}

.wod-btn:active,
.auth-toggle-btn:active,
.auth-register-btn:active,
.auth-panel-btn:active {
  transform: translateY(1px) scale(.99) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .44), inset 0 3px 18px rgba(0, 0, 0, .42) !important;
}

.wod-btn--primary {
  border-color: rgba(244, 213, 138, .72) !important;
  background:
    linear-gradient(180deg, rgba(244, 213, 138, .28), rgba(110, 68, 24, .18)),
    linear-gradient(135deg, rgba(58, 34, 18, .96), rgba(12, 10, 8, .94)) !important;
}

.wod-btn--ruby {
  border-color: rgba(206, 72, 73, .62) !important;
  background:
    linear-gradient(180deg, rgba(164, 35, 39, .30), rgba(64, 13, 14, .16)),
    linear-gradient(135deg, rgba(44, 16, 15, .96), rgba(10, 9, 8, .94)) !important;
}

.wod-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 780px;
  margin-top: 2rem;
  border: 1px solid rgba(244, 213, 138, .18);
  background: rgba(244, 213, 138, .14);
}

.wod-stat {
  background: rgba(5, 5, 4, .72);
  padding: 1rem;
}

.wod-stat strong {
  display: block;
  color: var(--wod-gold-bright);
  font-size: 1.4rem;
  line-height: 1;
}

.wod-stat span {
  display: block;
  margin-top: .4rem;
  color: var(--wod-muted);
  font-size: .78rem;
}

.wod-section {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.wod-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(244, 213, 138, .045), transparent 28%, transparent 72%, rgba(143, 31, 36, .05));
}

.wod-section-head {
  max-width: 760px;
  margin-bottom: 2.4rem;
}

.wod-section-title {
  font-size: clamp(2.1rem, 4.8vw, 4.2rem);
  line-height: 1.02;
}

.wod-section-copy {
  margin-top: 1rem;
  color: var(--wod-muted);
  line-height: 1.75;
}

.wod-feature {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  gap: clamp(1.4rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: clamp(2rem, 5vw, 4rem);
}

.wod-feature:nth-child(even) .wod-feature-media {
  order: 2;
}

.wod-feature-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(244, 213, 138, .24);
  background: #111;
  box-shadow: var(--wod-shadow);
  aspect-ratio: 16 / 10;
}

.wod-feature-media.is-portrait {
  aspect-ratio: 4 / 5;
  max-height: 720px;
}

.wod-feature-media img,
.wod-feature-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.04);
  transform: scale(1.01);
  transition: transform .7s ease, filter .7s ease;
}

.wod-feature:hover .wod-feature-media img,
.wod-feature:hover .wod-feature-media video {
  transform: scale(1.045);
  filter: saturate(1.12) contrast(1.08);
}

.wod-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(244, 213, 138, .20), transparent 28%, transparent 64%, rgba(123, 75, 212, .14)),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, .30));
  pointer-events: none;
}

.wod-feature-panel {
  position: relative;
  border-left: 1px solid rgba(244, 213, 138, .32);
  padding: clamp(1.2rem, 3vw, 2rem);
  background: linear-gradient(90deg, rgba(244, 213, 138, .06), transparent);
}

.wod-feature-panel::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 2px;
  height: 48px;
  background: var(--wod-gold-bright);
  box-shadow: 0 0 22px rgba(244, 213, 138, .45);
}

.wod-feature-title {
  font-family: var(--wod-font-heading);
  color: #f1d59a;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.wod-feature-text {
  margin-top: 1rem;
  color: var(--wod-muted);
  line-height: 1.75;
}

.wod-bullets {
  display: grid;
  gap: .65rem;
  margin-top: 1.2rem;
}

.wod-bullets li {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(244, 234, 214, .82);
}

.wod-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border: 1px solid var(--wod-gold);
  transform: translateY(-50%) rotate(45deg);
  background: rgba(217, 173, 97, .22);
}

.wod-news-cta {
  border: 1px solid rgba(244, 213, 138, .22);
  background:
    linear-gradient(90deg, rgba(7, 7, 6, .90), rgba(7, 7, 6, .42)),
    url('/images/host_images/rutube_development.jpg') center / cover no-repeat;
  border-radius: 8px;
  padding: clamp(1.4rem, 4vw, 3rem);
  box-shadow: var(--wod-shadow);
}

.wod-auth-panel,
#menuContent,
#mMenuContent aside,
#dashboardContent,
#shopPanel,
#topUpPanel {
  border-radius: 8px !important;
  border-color: rgba(244, 213, 138, .24) !important;
  background:
    linear-gradient(145deg, rgba(25, 20, 15, .92), rgba(7, 7, 6, .94)) !important;
  box-shadow: var(--wod-shadow) !important;
}

#menuContent {
  width: min(380px, calc(100vw - 2rem)) !important;
  right: 1.25rem !important;
  top: 92px !important;
  padding: 1.15rem !important;
}

#mMenuContent aside {
  width: min(420px, 92vw) !important;
  background:
    linear-gradient(160deg, rgba(26, 20, 15, .96), rgba(7, 7, 6, .96)),
    radial-gradient(circle at 20% 0%, rgba(217, 173, 97, .12), transparent 18rem) !important;
}

#formTitle,
#mFormTitle,
#userName,
#mUserName,
#dashboardContent h2,
#dashboardContent .glow-text {
  font-family: var(--wod-font-heading);
  color: #f5dfad !important;
  text-shadow: 0 0 24px rgba(217, 173, 97, .18) !important;
}

#menuContent .border-b,
#mMenuContent .border-b,
#dashboardContent .border-b,
#shopPanel .border-b,
#topUpPanel .border-b {
  border-color: rgba(244, 213, 138, .18) !important;
}

.auth-avatar-frame {
  position: relative;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(244, 213, 138, .34);
  background:
    radial-gradient(circle at 50% 30%, rgba(244, 213, 138, .14), transparent 42%),
    linear-gradient(145deg, rgba(27, 21, 16, .96), rgba(9, 8, 7, .96));
  box-shadow: 0 18px 38px rgba(0, 0, 0, .42), 0 0 18px rgba(217, 173, 97, .12);
}

.auth-avatar-frame--lg {
  width: 128px;
  height: 128px;
}

.auth-avatar-img,
.auth-avatar-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.auth-avatar-img {
  object-fit: cover;
  opacity: 1;
  transition: opacity .2s ease;
}

.auth-avatar-img.is-hidden {
  opacity: 0;
}

.auth-avatar-fallback {
  display: grid;
  place-items: center;
  font-family: var(--wod-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #f5dfad;
  opacity: 0;
  text-shadow: 0 0 18px rgba(217, 173, 97, .22);
}

.auth-avatar-frame--lg .auth-avatar-fallback {
  font-size: 3rem;
}

.auth-avatar-fallback.is-visible {
  opacity: 1;
}

#authMessage {
  border-radius: 8px !important;
  border-color: rgba(244, 213, 138, .24) !important;
  background:
    linear-gradient(145deg, rgba(25, 20, 15, .90), rgba(7, 7, 6, .92)) !important;
}

#dashboardContent {
  background:
    linear-gradient(145deg, rgba(27, 21, 16, .94), rgba(8, 8, 7, .92)),
    radial-gradient(circle at 88% 0%, rgba(123, 75, 212, .16), transparent 22rem) !important;
}

#dashboardContent .rounded-2xl,
#dashboardContent .rounded-xl,
#dashboardContent .rounded-lg,
#shopPanel .rounded-xl,
#shopPanel .rounded-lg,
#topUpPanel .rounded-xl,
#topUpPanel .rounded-lg {
  border-radius: 8px !important;
}

#menuContent input,
#mMenuContent input,
#dashboardContent input,
#dashboardContent select,
.wod-admin-page input,
.wod-admin-page textarea,
.wod-admin-page select {
  border-radius: 6px !important;
  border: 1px solid rgba(244, 213, 138, .20) !important;
  background: rgba(0, 0, 0, .34) !important;
  color: var(--wod-text) !important;
}

.wod-admin-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 20%, rgba(217, 173, 97, .10), transparent 22rem),
    radial-gradient(circle at 88% 10%, rgba(123, 75, 212, .14), transparent 24rem),
    linear-gradient(180deg, #0d1422 0%, #090907 58%, #0b111d 100%) !important;
}

.wod-admin-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(244, 213, 138, .06) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(244, 213, 138, .04) 0 1px, transparent 1px 100%);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 72%, transparent);
  opacity: .22;
}

.wod-admin-page > .container {
  position: relative;
  z-index: 1;
}

.wod-admin-page #authMessage,
.wod-admin-page #adminContent,
.wod-admin-page #adminShopContent,
#payAdmDrawer {
  border-radius: 8px !important;
  border: 1px solid rgba(244, 213, 138, .24) !important;
  background:
    linear-gradient(145deg, rgba(27, 21, 16, .94), rgba(8, 8, 7, .94)),
    radial-gradient(circle at 88% 0%, rgba(123, 75, 212, .15), transparent 22rem) !important;
  box-shadow: var(--wod-shadow) !important;
}

.wod-admin-page h2,
.wod-admin-page h3,
#payAdmDrawer .glow-text {
  font-family: var(--wod-font-heading);
  color: #f5dfad !important;
  text-shadow: 0 0 24px rgba(217, 173, 97, .16) !important;
}

.wod-admin-page label,
.wod-admin-page .text-gray-300,
.wod-admin-page .text-gray-200,
#payAdmDrawer .text-gray-300,
#payAdmDrawer .text-gray-200 {
  color: rgba(244, 234, 214, .72) !important;
}

.wod-admin-page input::placeholder,
.wod-admin-page textarea::placeholder {
  color: rgba(244, 234, 214, .34) !important;
}

.wod-admin-page .bg-black\/30,
.wod-admin-page .bg-black\/20,
.wod-admin-page .bg-gray-900\/50,
#payAdmDrawer .bg-black\/30,
#payAdmDrawer .bg-black\/10 {
  border-radius: 8px !important;
  border: 1px solid rgba(244, 213, 138, .16) !important;
  background: rgba(8, 8, 7, .58) !important;
}

.wod-admin-page .border-gray-700,
#payAdmDrawer .border-gray-700 {
  border-color: rgba(244, 213, 138, .16) !important;
}

.wod-admin-page .rounded-full,
#payAdmDrawer .rounded-full {
  border-radius: 6px !important;
}

.wod-admin-page button,
.wod-admin-page a.auth-panel-btn,
#payAdmDrawer button {
  min-height: 42px;
}

.wod-admin-list-card {
  border-radius: 8px;
  border: 1px solid rgba(244, 213, 138, .17);
  background:
    linear-gradient(145deg, rgba(22, 18, 14, .88), rgba(7, 7, 6, .84));
  padding: 1rem;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .30);
}

.wod-admin-list-card a {
  color: #f5dfad;
  text-decoration: underline;
  text-decoration-color: rgba(217, 173, 97, .42);
}

#payAdmDrawer table {
  color: rgba(244, 234, 214, .76);
}

.wod-inner-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(217, 173, 97, .10), transparent 24rem),
    radial-gradient(circle at 86% 6%, rgba(123, 75, 212, .14), transparent 24rem),
    linear-gradient(180deg, #0d1422 0%, #090907 54%, #0b111d 100%) !important;
}

.wod-inner-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(244, 213, 138, .05) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(244, 213, 138, .035) 0 1px, transparent 1px 100%);
  background-size: 110px 110px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 78%, transparent);
  opacity: .20;
}

.wod-inner-page > .container {
  position: relative;
  z-index: 1;
}

.wod-page-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid rgba(244, 213, 138, .24);
  border-radius: 0;
  background: rgba(217, 173, 97, .08);
  padding: .55rem .85rem;
  color: #d9ad61;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.wod-lore-card,
.wod-knowledge-card,
.wod-legal-panel {
  border-radius: 0 !important;
  border: 1px solid rgba(244, 213, 138, .20) !important;
  background:
    linear-gradient(145deg, rgba(25, 20, 15, .91), rgba(7, 7, 6, .88)),
    radial-gradient(circle at 88% 0%, rgba(123, 75, 212, .12), transparent 18rem) !important;
  box-shadow: var(--wod-shadow) !important;
}

.wod-lore-card,
.wod-knowledge-card {
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.wod-lore-card:hover,
.wod-knowledge-card:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 213, 138, .46) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .48), 0 0 24px rgba(217, 173, 97, .10) !important;
}

.wod-pill {
  border-radius: 0 !important;
  border: 1px solid rgba(244, 213, 138, .22) !important;
  background: rgba(217, 173, 97, .08) !important;
  color: #bfbfbf !important;
}

.wod-legal-panel {
  color: rgba(244, 234, 214, .74);
  line-height: 1.75;
}

.wod-legal-panel p {
  margin: 0 0 1rem;
}

.wod-legal-panel strong {
  color: #f5dfad;
  font-family: var(--wod-font-heading);
  font-size: 1.08em;
}

.wod-legal-panel a {
  color: #f5dfad;
  text-decoration: underline;
  text-decoration-color: rgba(217, 173, 97, .42);
}

.wod-cursor-aura {
  position: fixed;
  left: 0;
  top: 0;
  width: 180px;
  height: 180px;
  margin-left: -90px;
  margin-top: -90px;
  pointer-events: none;
  z-index: 9998;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(244, 213, 138, .12), rgba(123, 75, 212, .08) 35%, transparent 68%);
  opacity: 0;
  transform: translate3d(var(--x, 50vw), var(--y, 50vh), 0);
  transition: opacity .2s ease;
  mix-blend-mode: screen;
}

.wod-cursor-aura.is-visible {
  opacity: 1;
}

.wod-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.wod-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.wod-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.wod-news-card {
  overflow: hidden;
  border: 1px solid rgba(244, 213, 138, .18);
  border-radius: 8px;
  background: rgba(10, 9, 8, .82);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .34);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.wod-news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 213, 138, .48);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .46), 0 0 22px rgba(217, 173, 97, .10);
}

.wod-news-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.wod-news-card-body {
  padding: 1rem;
}

.wod-gallery-hero::before {
  background:
    linear-gradient(105deg, transparent 0 34%, rgba(109, 182, 215, .12) 48%, transparent 64%),
    radial-gradient(circle at 70% 42%, rgba(244, 213, 138, .16), transparent 24rem);
}

.wod-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.wod-gallery-card {
  position: relative;
  display: grid;
  gap: .85rem;
  padding: .65rem;
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(244, 213, 138, .20);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), transparent),
    rgba(10, 9, 8, .84);
  color: var(--wod-text);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .34), inset 0 0 0 1px rgba(255, 255, 255, .035);
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, filter .22s ease;
}

.wod-gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background:
    linear-gradient(120deg,
      rgba(109, 182, 215, .16),
      rgba(244, 213, 138, .44),
      rgba(123, 75, 212, .24),
      rgba(244, 213, 138, .32),
      rgba(109, 182, 215, .16));
  background-size: 260% 260%;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: .56;
  animation: wodGalleryBorderFlow 7s linear infinite;
  pointer-events: none;
}

.wod-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 42%, rgba(244, 213, 138, .18) 49%, transparent 57%);
  opacity: 0;
  transform: translateX(-45%);
  transition: opacity .22s ease, transform .38s ease;
  pointer-events: none;
}

.wod-gallery-card:hover::before {
  opacity: .86;
}

.wod-gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 213, 138, .54);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .50), 0 0 26px rgba(217, 173, 97, .10);
}

.wod-gallery-card:hover::after {
  opacity: 1;
  transform: translateX(45%);
}

.wod-gallery-card:focus-visible {
  outline: 2px solid rgba(244, 213, 138, .78);
  outline-offset: 4px;
}

@keyframes wodGalleryBorderFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 260% 50%; }
}

.wod-gallery-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(244, 213, 138, .14);
  background: #070706;
}

.wod-gallery-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(244, 213, 138, .10);
  pointer-events: none;
  box-shadow: inset 0 0 22px rgba(244, 213, 138, .05);
}

.wod-gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .35s ease, filter .35s ease;
}

.wod-gallery-card:hover .wod-gallery-frame img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.04);
}

.wod-gallery-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
  min-height: 2.2rem;
  font-weight: 700;
  color: #f5dfad;
}

.wod-gallery-meta small {
  flex: 0 0 auto;
  color: rgba(244, 234, 214, .48);
  font-size: .78rem;
  font-weight: 600;
}

.wod-empty-panel {
  border: 1px solid rgba(244, 213, 138, .22);
  border-radius: 6px;
  padding: 1.2rem;
  background: rgba(10, 9, 8, .78);
  color: var(--wod-muted);
}

.wod-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}

.wod-gallery-modal.is-open {
  display: block;
}

.wod-gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.wod-gallery-dialog {
  position: absolute;
  inset: 3vh 3vw;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid rgba(244, 213, 138, .30);
  border-radius: 6px;
  background:
    radial-gradient(circle at 18% 0%, rgba(123, 75, 212, .18), transparent 28rem),
    rgba(8, 7, 6, .94);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .70);
  overflow: hidden;
}

.wod-gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(244, 213, 138, .18);
}

.wod-gallery-toolbar h3 {
  font-family: var(--wod-font-heading);
  color: #f5dfad;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
}

.wod-gallery-close,
.wod-gallery-arrow {
  border: 1px solid rgba(244, 213, 138, .28);
  border-radius: 0;
  background: rgba(28, 23, 17, .82);
  color: #d8d8d8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.wod-gallery-close {
  min-height: 42px;
  padding: .6rem 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.wod-gallery-close:hover,
.wod-gallery-arrow:hover {
  border-color: rgba(244, 213, 138, .62);
  background: rgba(58, 43, 25, .94);
  color: #f5dfad;
}

.wod-gallery-view {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 1rem 4.5rem;
}

.wod-gallery-view img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 1px solid rgba(244, 213, 138, .20);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .48);
}

.wod-gallery-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 72px;
  transform: translateY(-50%);
  font-size: 3rem;
  line-height: 1;
}

.wod-gallery-arrow.is-prev {
  left: 1rem;
}

.wod-gallery-arrow.is-next {
  right: 1rem;
}

@media (max-width: 960px) {
  .wod-stat-row,
  .wod-news-grid,
  .wod-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wod-feature,
  .wod-feature:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .wod-feature:nth-child(even) .wod-feature-media {
    order: 0;
  }
}

@media (max-width: 640px) {
  .wod-main-nav > .py-6 {
    min-height: 0 !important;
    padding-top: .7rem !important;
    padding-bottom: .7rem !important;
  }

  .wod-main-nav .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .65rem !important;
  }

  .wod-main-nav .wd-btn {
    min-height: 52px !important;
    padding: .55rem .75rem !important;
    font-size: .86rem !important;
    line-height: 1.15 !important;
  }

  .wod-main-nav .wd-btn svg {
    width: 1rem;
    height: 1rem;
  }

  .wod-hero {
    min-height: 76vh;
    padding-top: 4.5rem;
  }

  .wod-stat-row,
  .wod-news-grid,
  .wod-gallery-grid {
    grid-template-columns: 1fr;
  }

  .wod-gallery-dialog {
    inset: 1rem;
  }

  .wod-gallery-toolbar {
    align-items: flex-start;
  }

  .wod-gallery-view {
    padding: .75rem;
    padding-bottom: 5.5rem;
  }

  .wod-gallery-arrow {
    top: auto;
    bottom: .75rem;
    width: calc(50% - 1.1rem);
    height: 52px;
    transform: none;
    font-size: 2.3rem;
  }

  .wod-gallery-arrow.is-prev {
    left: .75rem;
  }

  .wod-gallery-arrow.is-next {
    right: .75rem;
  }

  .wod-actions {
    flex-direction: column;
  }

  .wod-btn {
    width: 100%;
  }
}

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

  .wod-cursor-aura {
    display: none;
  }

  .wod-gallery-card::before {
    animation: none;
  }
}
