.christmas-theme {
  --primary: #176444;
  --secondary: #b6414b;
  --accent: #193e33;
  --highlight: #f3e7bd;
  --text: #203d34;
  --muted: #596e62;
  --panel: #fffdf8;
  --surface: #f0f4e9;
  --brand-coral: #b6414b;
  color: var(--text);
  background-color: #f7f6ef;
}

html.christmas-theme,
body.christmas-theme {
  background: linear-gradient(135deg, #f8f7f0 0%, #f0f5eb 52%, #fffdf8 100%) !important;
  color: var(--text) !important;
}

body.christmas-theme.home {
  background:
    radial-gradient(ellipse at 4% 12%, rgba(35, 112, 78, .17), transparent 32%),
    radial-gradient(ellipse at 96% 18%, rgba(190, 65, 75, .13), transparent 30%),
    radial-gradient(circle at 12% 48%, rgba(255, 255, 255, .85) 0 1px, transparent 2px),
    radial-gradient(circle at 83% 61%, rgba(255, 255, 255, .8) 0 1px, transparent 2px),
    linear-gradient(145deg, #f7f8f0 0%, #edf4eb 48%, #fffaf3 100%) !important;
  background-attachment: fixed;
}

.christmas-theme.app-shell.has-sidebar {
  background:
    radial-gradient(ellipse at 100% 0, rgba(189, 80, 80, .07), transparent 34%),
    linear-gradient(180deg, #f1f5ec 0%, #f8f7f0 100%);
}

.christmas-theme .site-header {
  position: relative;
  border-top: 5px solid #1c6548;
  border-bottom: 1px solid rgba(25, 62, 51, .12) !important;
  background: linear-gradient(100deg, #fffdf8 0%, #f4f6ed 58%, #fff8f1 100%) !important;
  box-shadow: 0 4px 0 rgba(198, 164, 83, .3), 0 12px 28px rgba(35, 65, 46, .06);
}

.christmas-theme .site-header::after {
  position: absolute;
  top: 5px;
  right: 12px;
  left: 12px;
  height: 17px;
  background:
    radial-gradient(ellipse at 50% 0, transparent 0 8px, #7a6743 8.5px 9px, transparent 9.5px) 0 0 / 48px 13px repeat-x,
    radial-gradient(circle at 12px 10px, #d9b557 0 3px, rgba(217, 181, 87, .25) 3.5px 5px, transparent 5.5px),
    radial-gradient(circle at 36px 10px, #bd5050 0 3px, rgba(189, 80, 80, .22) 3.5px 5px, transparent 5.5px),
    radial-gradient(circle at 60px 10px, #367958 0 3px, rgba(54, 121, 88, .22) 3.5px 5px, transparent 5.5px);
  background-size: 48px 17px, 72px 17px, 72px 17px, 72px 17px;
  content: "";
  opacity: .8;
  pointer-events: none;
}

.christmas-theme .site-header .container {
  position: relative;
}

.christmas-theme .site-nav a,
.christmas-theme .home-login-toggle {
  border-color: rgba(25, 62, 51, .12) !important;
  color: #1c6548 !important;
}

.christmas-theme .site-nav a:hover,
.christmas-theme .home-mobile-menu__panel a:hover,
.christmas-theme .home-mobile-menu__login:hover {
  background: #edf4e9 !important;
}

.christmas-theme .sidebar {
  border-right-color: rgba(25, 62, 51, .12);
  background: linear-gradient(180deg, #fffdf8 0%, #eff4eb 100%);
}

.christmas-theme .sidebar-section-title {
  color: #6b725d;
}

.christmas-theme .sidebar-link.active {
  border-color: rgba(28, 101, 72, .18);
  background: linear-gradient(125deg, rgba(28, 101, 72, .13), rgba(189, 80, 80, .1));
  color: #1c6548;
}

.christmas-theme .sidebar-link:hover {
  border-color: rgba(198, 164, 83, .3);
}

body.christmas-theme:not(.admin-backend) .app-main {
  background:
    radial-gradient(ellipse at 92% 4%, rgba(198, 164, 83, .07), transparent 28%),
    radial-gradient(ellipse at 2% 28%, rgba(28, 101, 72, .055), transparent 24%);
}

body.christmas-theme:not(.admin-backend) .page-container > h1,
body.christmas-theme:not(.admin-backend) .page-container > h2 {
  color: #193e33;
}

.christmas-theme .btn:not(.ghost):not(.danger) {
  border-color: transparent;
  background: linear-gradient(135deg, #176444, #2b805a);
  color: #fff;
  box-shadow: 0 8px 18px rgba(23, 100, 68, .2);
}

.christmas-theme .btn:not(.ghost):not(.danger):hover {
  background: linear-gradient(135deg, #12563a, #236f4d);
}

.christmas-theme .btn.ghost {
  border-color: rgba(23, 100, 68, .24);
  color: #176444;
}

.christmas-theme .panel,
.christmas-theme .card,
.christmas-theme .hero,
.christmas-theme .feature {
  border-color: rgba(25, 62, 51, .11) !important;
  box-shadow: 0 12px 30px rgba(35, 65, 46, .07) !important;
}

.christmas-theme.home .home-introduction--guest {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(198, 164, 83, .32);
  border-radius: 26px;
  background:
    radial-gradient(circle at 2% 2%, rgba(28, 101, 72, .15), transparent 30%),
    radial-gradient(circle at 99% 95%, rgba(189, 80, 80, .12), transparent 29%),
    radial-gradient(ellipse at 50% 120%, rgba(198, 164, 83, .12), transparent 48%),
    linear-gradient(125deg, #fffdf7 0%, #f2f6ec 58%, #fff8ed 100%);
  box-shadow: 0 22px 54px rgba(35, 65, 46, .13), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.christmas-theme.home .home-introduction--guest::after {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #b18b36;
  content: "✦  ❄  ✦";
  font-size: 1.15rem;
  letter-spacing: .5em;
  opacity: .8;
  pointer-events: none;
}

.christmas-theme.home .home-introduction--guest::before {
  background: linear-gradient(180deg, #1c6548 0 68%, #bd5050 68% 100%);
}

.christmas-theme.home .home-introduction__kicker,
.christmas-theme.home .home-introduction__features strong {
  color: #1c6548;
}

.christmas-theme.home .home-introduction__kicker::before {
  margin-right: 7px;
  color: #b18b36;
  content: "✦";
}

.christmas-theme.home .home-introduction__secondary {
  color: #b6414b;
  transition: color .18s ease, transform .18s ease;
}

.christmas-theme.home .home-introduction__secondary:hover,
.christmas-theme.home .home-introduction__secondary:focus-visible {
  color: #8d2935;
  transform: translateY(-1px);
}

.christmas-theme.home .home-introduction__feature-icon {
  background: #f3e7bd;
  color: #835d16 !important;
}

.christmas-theme.home .home-introduction__features p:nth-child(2) .home-introduction__feature-icon {
  background: #f7e6e5;
  color: #a63f47 !important;
}

.christmas-theme.home .home-introduction__features p:nth-child(3) .home-introduction__feature-icon {
  background: #e4efe2;
  color: #1c6548 !important;
}

.christmas-theme.home .home-introduction__features p {
  position: relative;
  overflow: hidden;
  border-color: rgba(25, 62, 51, .1);
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 8px 20px rgba(35, 65, 46, .045);
  transition: transform .18s ease, box-shadow .18s ease;
}

.christmas-theme.home .home-introduction__features p:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(35, 65, 46, .1);
}

.christmas-theme.home .home-introduction__features p::after {
  position: absolute;
  right: 10px;
  bottom: 4px;
  color: rgba(177, 139, 54, .38);
  content: "✦";
  font-size: 1rem;
}

.christmas-theme.home .home-introduction h2 {
  color: #193e33;
}

.christmas-theme.home .home-first-preview {
  border-color: rgba(198, 164, 83, .38);
  background:
    radial-gradient(ellipse at 88% 0%, rgba(243, 220, 159, .4), transparent 38%),
    linear-gradient(145deg, #f2f7ed, #fffdf8 56%, #f8f1e4);
}

.christmas-theme.home .home-first-preview__topline,
.christmas-theme.home .home-first-preview__copy > small,
.christmas-theme.home .home-first-preview__copy > b {
  color: #1c6548;
}

.christmas-theme.home .home-guest-cta {
  position: relative;
  overflow: hidden;
  border-color: rgba(198, 164, 83, .42);
  background:
    radial-gradient(ellipse at 100% 0, rgba(189, 80, 80, .1), transparent 36%),
    linear-gradient(120deg, #edf5eb, #fffdf7 72%);
  box-shadow: 0 14px 34px rgba(35, 65, 46, .07);
}

.christmas-theme.home .home-guest-cta::after {
  position: absolute;
  right: 24px;
  bottom: -34px;
  color: rgba(28, 101, 72, .09);
  content: "❄";
  font-size: 8rem;
  line-height: 1;
  pointer-events: none;
}

.christmas-theme.home .home-guest-cta__button {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #176444, #2b805a);
  box-shadow: 0 9px 20px rgba(23, 100, 68, .2);
  transition: transform .18s ease, box-shadow .18s ease;
}

.christmas-theme.home .home-guest-cta__button:hover,
.christmas-theme.home .home-guest-cta__button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 13px 24px rgba(23, 100, 68, .26);
}

.christmas-theme.home .home-age-guide {
  border-color: rgba(28, 101, 72, .16);
  background:
    radial-gradient(ellipse at 100% 0, rgba(198, 164, 83, .14), transparent 38%),
    linear-gradient(120deg, #f2f7ed, #fffdf8 62%, #f8f2e7);
  box-shadow: 0 12px 28px rgba(35, 65, 46, .06);
}

.christmas-theme.home .home-sample-games--guest {
  border-color: rgba(198, 164, 83, .35);
  background:
    radial-gradient(ellipse at 4% 0, rgba(28, 101, 72, .1), transparent 34%),
    radial-gradient(ellipse at 100% 100%, rgba(189, 80, 80, .08), transparent 36%),
    linear-gradient(135deg, #f1f5eb, #fffdf8 52%, #fbf3e8);
  box-shadow: 0 18px 42px rgba(35, 65, 46, .09);
}

.christmas-theme.home .home-guest-games__badge {
  border-color: rgba(198, 164, 83, .38);
  background: rgba(255, 253, 247, .9);
  color: #345b46;
  box-shadow: 0 5px 14px rgba(35, 65, 46, .06);
}

.christmas-theme.home .home-sample-games--guest .home-game-card {
  transition: transform .2s ease, box-shadow .2s ease;
}

.christmas-theme.home .home-sample-games--guest .home-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(35, 65, 46, .14) !important;
}


.christmas-theme.home .home-game-card{
  border-color: rgba(28, 101, 72, .16) !important;
  box-shadow: 0 12px 28px rgba(35, 65, 46, .09) !important;
}


.christmas-theme.home .home-game-card .btn:not(.ghost) {
  background: linear-gradient(135deg, #176444, #2b805a);
}

.christmas-theme.home .home-game-card .btn.ghost {
  border: 1px solid rgba(23, 100, 68, .28);
  background: #fff;
  color: #176444;
  box-shadow: none;
}

.christmas-theme.home .home-game-card .btn.ghost:hover:not(:disabled),
.christmas-theme.home .home-game-card .btn.ghost:focus-visible {
  border-color: #176444;
  background: #edf4e9;
}

.christmas-theme .site-footer {
  border-top: 4px solid #c6a453;
  background: #102d25 !important;
  color: #fff !important;
}

.christmas-theme .site-footer a {
  color: #fff !important;
}

.christmas-theme .site-footer .home-footer-cta {
  color: #fff !important;
}

.christmas-theme .site-footer .home-footer-cta a {
  border-color: #f3e7bd !important;
  background: #f3e7bd !important;
  color: #193e33 !important;
}

.christmas-theme .site-footer .home-footer-cta a:hover,
.christmas-theme .site-footer .home-footer-cta a:focus-visible {
  border-color: #fff !important;
  background: #fff !important;
  color: #102d25 !important;
  text-decoration: underline;
}

.christmas-theme .site-footer .footer-legal {
  color: #fff !important;
}

.christmas-theme .admin-theme-toggle[aria-checked="true"] {
  border-color: #1c6548;
  background: linear-gradient(110deg, #e8f2e7, #fff5df);
}

@media (max-width: 640px) {
  .christmas-theme.home .home-introduction--guest {
    border-radius: 20px;
  }

  .christmas-theme.home .home-introduction--guest::after {
    top: 10px;
    right: 10px;
    font-size: .75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .christmas-theme.home .home-introduction__features p,
  .christmas-theme.home .home-introduction__secondary,
  .christmas-theme.home .home-guest-cta__button,
  .christmas-theme.home .home-sample-games--guest .home-game-card {
    transition: none;
  }
}
