/* =============================================
   CSS VARIABLES & RESET
   ============================================= */
:root {
  /* Base */
  --deep-sandstone: #1C1B18;
  --night-desert: #2B2A28;
  --pyramid-stone: #332F2A;

  /* Accents */
  --treasure-gold: #D4AF37;
  --oasis-green: #22C55E;
  --sunlight-amber: #FACC15;

  /* Text */
  --text-primary: #F5F5F5;
  --text-secondary: #CFC9B3;
  --text-muted: #A89F91;

  /* Glass */
  --glass-bg: rgba(43, 42, 40, 0.6);
  --glass-border: rgba(212, 175, 55, 0.15);
  --glass-blur: 20px;

  /* Spacing */
  --container-max: 1320px;
  --section-gap: 120px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Fonts */
  --font-heading: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--deep-sandstone);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--treasure-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--sunlight-amber);
}

ul {
  list-style: none;
}

/* =============================================
   CONTAINER
   ============================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
}

.text-gold {
  color: var(--treasure-gold);
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(28, 27, 24, 0.85);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header--scrolled {
  background: rgba(28, 27, 24, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__icon {
  font-size: 28px;
}

.logo__text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.logo__tld {
  color: var(--treasure-gold);
}

/* Navigation */
.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--treasure-gold);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link--active {
  color: var(--treasure-gold);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

/* Header CTA */
.header__cta {
  font-size: 14px;
  padding: 10px 24px;
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1010;
}

.menu-toggle__bar {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* =============================================
   MOBILE MENU
   ============================================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background: rgba(28, 27, 24, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu--open {
  right: 0;
}

.mobile-menu__inner {
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.mobile-menu__close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 36px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  transition: color var(--transition-fast);
}

.mobile-menu__close:hover {
  color: var(--treasure-gold);
}

.mobile-menu__list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 12px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  display: block;
  transition: color var(--transition-fast), padding-left var(--transition-base);
}

.mobile-menu__link:hover {
  color: var(--treasure-gold);
  padding-left: 8px;
}

.mobile-menu__cta {
  margin-top: 40px;
  text-align: center;
}

/* Overlay behind mobile menu */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-overlay--visible {
  opacity: 1;
  pointer-events: all;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-base), filter var(--transition-fast);
  letter-spacing: 0.5px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(135deg, var(--treasure-gold), #B8941F);
  color: var(--deep-sandstone);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.5);
  filter: brightness(1.1);
  color: var(--deep-sandstone);
}

.btn--outline {
  background: transparent;
  color: var(--treasure-gold);
  border: 2px solid var(--treasure-gold);
}

.btn--outline:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
  color: var(--treasure-gold);
}

.btn--lg {
  padding: 16px 40px;
  font-size: 16px;
}

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

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28, 27, 24, 0.95) 0%, rgba(51, 47, 42, 0.85) 50%, rgba(28, 27, 24, 0.9) 100%);
  z-index: 1;
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

.hero__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--treasure-gold);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero__desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 540px;
  line-height: 1.8;
}

.hero__disclaimer {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 32px;
}

.hero__disclaimer p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image-wrapper {
  position: relative;
  max-width: 500px;
}

.hero__glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}

.hero__image {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Scroll Indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll-indicator span {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero__scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--treasure-gold);
  border-bottom: 2px solid var(--treasure-gold);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--treasure-gold);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* =============================================
   GAME SECTION
   ============================================= */
.game-section {
  padding: var(--section-gap) 0;
  position: relative;
}

.game-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.game-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--night-desert);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.1), 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.game-container:hover {
  transform: scale(1.005);
  box-shadow: 0 0 80px rgba(212, 175, 55, 0.15), 0 24px 80px rgba(0, 0, 0, 0.5);
}

.game-glow {
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), transparent, rgba(212, 175, 55, 0.2));
  z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none;
}

.game-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 0;
  padding-bottom: 62.5%;
  border: none;
  display: block;
  background: var(--deep-sandstone);
}

.game-frame {
  height: 700px;
  padding-bottom: 0;
}

.game-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.game-info__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-info__icon {
  font-size: 20px;
}

.game-info__text {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* =============================================
   GLASS CARD
   ============================================= */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features {
  padding: var(--section-gap) 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  text-align: center;
}

.feature-card__icon-wrap {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.feature-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--treasure-gold);
}

.feature-card__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =============================================
   STORY SECTION
   ============================================= */
.story-section {
  padding: var(--section-gap) 0;
  background: linear-gradient(180deg, var(--deep-sandstone) 0%, var(--night-desert) 50%, var(--deep-sandstone) 100%);
}

.story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story__content .section-badge {
  display: inline-block;
  margin-bottom: 16px;
}

.story__content .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.story__text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.story__text:last-of-type {
  margin-bottom: 32px;
}

.story__image-wrap {
  position: relative;
}

.story__image {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

/* =============================================
   HOW TO PLAY SECTION
   ============================================= */
.how-to-play {
  padding: var(--section-gap) 0;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step {
  padding: 36px 28px;
  text-align: center;
  flex: 1;
  min-width: 220px;
  max-width: 300px;
}

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--treasure-gold), #B8941F);
  color: var(--deep-sandstone);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--treasure-gold);
}

.step__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step__connector {
  flex-shrink: 0;
}

/* =============================================
   RESPONSIBLE GAMING BANNER
   ============================================= */
.responsible-banner {
  padding: var(--section-gap) 0;
}

.responsible-banner__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px;
}

.responsible-banner__inner:hover {
  transform: none;
}

.responsible-banner__icon {
  flex-shrink: 0;
}

.responsible-banner__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--oasis-green);
}

.responsible-banner__text {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--night-desert);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding: 60px 0 32px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.footer__brand {
  max-width: 360px;
}

.footer__brand-desc {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer__links {
  display: flex;
  gap: 60px;
}

.footer__col h4 {
  font-family: var(--font-heading);
}

.footer__heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--treasure-gold);
  margin-bottom: 16px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer__col a:hover {
  color: var(--treasure-gold);
}

.footer__divider {
  height: 1px;
  background: rgba(212, 175, 55, 0.1);
  margin: 40px 0 24px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.7;
}

/* =============================================
   PAGE HERO (Sub-pages)
   ============================================= */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(180deg, var(--night-desert) 0%, var(--deep-sandstone) 100%);
  text-align: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.page-hero__desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* =============================================
   CONTENT SECTIONS (Sub-pages)
   ============================================= */
.content-section {
  padding: 80px 0 var(--section-gap);
}

.content-block {
  padding: 40px;
  margin-bottom: 24px;
}

.content-block:hover {
  transform: none;
}

.content-block h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--treasure-gold);
  margin-bottom: 16px;
}

.content-block p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.content-block ul {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 16px;
}

.content-block li {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.7;
}

.content-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}

/* =============================================
   LEGAL CONTENT
   ============================================= */
.legal-block {
  padding: 48px;
}

.legal-block:hover {
  transform: none;
}

.legal-block h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--treasure-gold);
  margin-top: 32px;
  margin-bottom: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.legal-block h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-block p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.8;
}

.legal-block ul {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 16px;
}

.legal-block li {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-block a {
  color: var(--treasure-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.contact-form-wrap {
  padding: 40px;
}

.contact-form-wrap:hover {
  transform: none;
}

.contact-form-wrap h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--treasure-gold);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(28, 27, 24, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--treasure-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
}

.form-status--success {
  color: var(--oasis-green);
}

.form-status--error {
  color: #ef4444;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info__card {
  padding: 24px;
}

.contact-info__card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--treasure-gold);
  margin-bottom: 8px;
}

.contact-info__card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
/* ENDFILE */