/* Seamless coded silk-wave background — no photo tiles / no boxes */
html {
  min-height: 100%;
  background: #f7efe0;
}

body.site-wave-bg,
body.result-board-body {
  min-height: 100%;
  background: transparent !important;
  overflow-x: hidden;
}

.site-wave-layers {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: #f4ead6;
}

.site-wave-layers .swl-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 10% 0%, #fff9ef 0%, transparent 55%),
    radial-gradient(90% 70% at 90% 15%, #f0d9a8 0%, transparent 50%),
    radial-gradient(80% 60% at 50% 100%, #e8d0a0 0%, transparent 55%),
    linear-gradient(165deg, #fff8ec 0%, #f3e4c8 42%, #ecd7b0 100%);
}

.site-wave-layers .swl-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 50% 40% at 30% 20%, rgba(255, 210, 120, .28), transparent 70%),
    radial-gradient(ellipse 45% 35% at 75% 70%, rgba(201, 164, 106, .18), transparent 70%);
  filter: blur(2px);
}

.site-wave-layers .swl-waves {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  display: block;
  opacity: .92;
}

.site-wave-layers .swl-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, .08) 40%, rgba(255, 248, 235, .2) 100%);
}

/* Let waves show through page sections */
body.site-wave-bg .featured-game,
body.site-wave-bg .features,
body.site-wave-bg .home-promo-section,
body.site-wave-bg #contact.home-contact,
body.result-board-body .result-board-page {
  background: transparent !important;
  background-image: none !important;
}

body.site-wave-bg .home-promo-section::before,
body.site-wave-bg .home-promo-section::after,
body.site-wave-bg #contact.home-contact::before {
  display: none !important;
}

body.site-wave-bg .header .mainmenu-area,
body.result-board-body .header .mainmenu-area {
  backdrop-filter: blur(8px);
}

body.site-wave-bg #contact.home-contact { color: #1a1408; }
body.site-wave-bg #contact.home-contact .hc-title { color: #1a1408; }
body.site-wave-bg #contact.home-contact .hc-sub,
body.site-wave-bg #contact.home-contact .hc-wa-label { color: #6b5e45; }
body.site-wave-bg #contact.home-contact .hc-wa {
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 24px 48px rgba(180, 120, 20, .18);
}

@media (prefers-reduced-motion: reduce) {
  .site-wave-layers .swl-glow { filter: none; }
}
