/* ============================================================
   dashvexvyr.com — Shared Stylesheet
   Social Casino Entertainment Brand
   ============================================================ */

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

:root {
  /* Color ramps */
  --navy-900: #050d1a;
  --navy-800: #0a1628;
  --navy-700: #0f1f38;
  --navy-600: #152a4a;
  --navy-500: #1c3660;
  --gold-600: #b8860b;
  --gold-500: #d4a017;
  --gold-400: #e8b930;
  --gold-300: #f0c040;
  --gold-200: #f5cf5a;
  --gold-100: #fae08c;
  --teal-600: #0a7a6a;
  --teal-500: #0ba07f;
  --teal-400: #14c4a0;
  --coral-600: #c0433e;
  --coral-500: #e0534e;
  --coral-400: #f06b66;
  --neutral-50: #f8f9fb;
  --neutral-100: #eef1f6;
  --neutral-200: #d6dce5;
  --neutral-300: #b0bbcc;
  --neutral-400: #7a8699;
  --neutral-500: #525e72;
  --neutral-600: #39435a;
  --neutral-700: #273044;

  /* Typography */
  --font-head: "Poppins", "Segoe UI", Tahoma, sans-serif;
  --font-body: "Inter", "Segoe UI", Tahoma, sans-serif;

  /* Spacing — 8px system */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-7: 64px;
  --sp-8: 80px;

  /* Layout */
  --max-w: 1140px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .15);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, .25);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .35);
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--neutral-200);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--neutral-50);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.6rem); }

p { margin-bottom: var(--sp-2); }

a {
  color: var(--gold-300);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold-100); }

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

ul { list-style: none; }

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-2);
}

.section { padding: var(--sp-7) 0; }
.section-sm { padding: var(--sp-5) 0; }

.text-center { text-align: center; }
.text-gold { color: var(--gold-300); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 13, 26, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 192, 64, .15);
  transition: background var(--transition);
}

.site-header.scrolled {
  background: rgba(5, 13, 26, .98);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  text-decoration: none;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: -.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.nav-links a {
  color: var(--neutral-200);
  font-size: .95rem;
  font-weight: 500;
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-300);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--gold-300); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--gold-300);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-900);
  box-shadow: 0 4px 16px rgba(240, 192, 64, .3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(240, 192, 64, .45);
  color: var(--navy-900);
}

.btn-outline {
  background: transparent;
  color: var(--gold-300);
  border: 2px solid var(--gold-400);
}
.btn-outline:hover {
  background: rgba(240, 192, 64, .1);
  color: var(--gold-100);
}

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/hero-banner.png") center / cover no-repeat;
  opacity: .25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--navy-900) 0%, rgba(5, 13, 26, .6) 50%, var(--navy-900) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--sp-7) var(--sp-2);
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 100px;
  background: rgba(240, 192, 64, .12);
  border: 1px solid rgba(240, 192, 64, .3);
  color: var(--gold-200);
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: var(--sp-3);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: var(--sp-3);
}

.hero p {
  font-size: 1.15rem;
  color: var(--neutral-300);
  margin-bottom: var(--sp-4);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Page Banner (interior pages) ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  border-bottom: 1px solid rgba(240, 192, 64, .15);
  padding: var(--sp-6) 0;
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: var(--sp-1);
}

.page-banner .breadcrumb {
  color: var(--neutral-400);
  font-size: .9rem;
}
.page-banner .breadcrumb a { color: var(--gold-300); }

/* ---------- Feature Cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-3);
}

.feature-card {
  background: linear-gradient(145deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(240, 192, 64, .12);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 192, 64, .3);
  box-shadow: var(--shadow-md);
}

.feature-card .icon-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--sp-2);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.feature-card h3 { margin-bottom: var(--sp-1); }
.feature-card p { color: var(--neutral-300); font-size: .95rem; margin-bottom: 0; }

/* ---------- Image Feature ---------- */
.image-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  align-items: center;
}

.image-feature.reverse .image-feature-img { order: 2; }

.image-feature-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.image-feature-text h2 { margin-bottom: var(--sp-2); }
.image-feature-text p { color: var(--neutral-300); margin-bottom: var(--sp-2); }

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  border-top: 1px solid rgba(240, 192, 64, .15);
  border-bottom: 1px solid rgba(240, 192, 64, .15);
  text-align: center;
}

.cta-section h2 { margin-bottom: var(--sp-2); }
.cta-section p { color: var(--neutral-300); margin-bottom: var(--sp-3); }

/* ---------- Content / Prose ---------- */
.prose {
  max-width: 820px;
  margin: 0 auto;
}

.prose h2 {
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-2);
  font-size: 1.5rem;
}

.prose h3 {
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-1);
  font-size: 1.2rem;
}

.prose p {
  color: var(--neutral-300);
  margin-bottom: var(--sp-2);
  line-height: 1.6;
}

.prose ul {
  list-style: disc;
  padding-left: var(--sp-3);
  margin-bottom: var(--sp-2);
}

.prose ul li {
  color: var(--neutral-300);
  margin-bottom: var(--sp-1);
  line-height: 1.6;
}

.prose strong { color: var(--neutral-100); }

/* ---------- Game Section ---------- */
.game-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.game-frame {
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
  border: 2px solid rgba(240, 192, 64, .25);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  box-shadow: var(--shadow-lg);
}

.game-display {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.reel {
  width: 90px;
  height: 90px;
  background: var(--navy-600);
  border: 2px solid var(--gold-500);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform .15s ease;
}

.reel.spinning {
  animation: spin .08s linear infinite;
}

@keyframes spin {
  0% { transform: translateY(-10px); }
  100% { transform: translateY(10px); }
}

.game-info {
  display: flex;
  justify-content: space-around;
  margin-bottom: var(--sp-3);
}

.info-box {
  text-align: center;
}

.info-box .label {
  font-size: .75rem;
  color: var(--neutral-400);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}

.info-box .value {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-300);
}

.game-message {
  min-height: 28px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal-400);
  margin-bottom: var(--sp-2);
}

.game-message.win { color: var(--gold-300); }
.game-message.lose { color: var(--neutral-400); }

#spinBtn {
  width: 100%;
}

.game-rules {
  text-align: left;
  margin-top: var(--sp-4);
  padding: var(--sp-3);
  background: rgba(10, 22, 40, .6);
  border-radius: var(--radius);
}

.game-rules h3 { margin-bottom: var(--sp-1); }
.game-rules ul {
  list-style: disc;
  padding-left: var(--sp-3);
}
.game-rules ul li {
  color: var(--neutral-300);
  font-size: .9rem;
  margin-bottom: 6px;
}

/* ---------- Contact Form ---------- */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--sp-3);
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--neutral-200);
  font-weight: 500;
  font-size: .9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--navy-800);
  border: 1px solid rgba(240, 192, 64, .15);
  border-radius: var(--radius);
  color: var(--neutral-100);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-400);
}

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

.form-note {
  font-size: .85rem;
  color: var(--neutral-400);
  margin-top: var(--sp-1);
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  background: var(--navy-900);
  border-top: 1px solid rgba(240, 192, 64, .12);
  padding: var(--sp-5) 0 var(--sp-3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.footer-brand .logo-link { margin-bottom: var(--sp-2); }
.footer-brand p {
  color: var(--neutral-400);
  font-size: .9rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: .95rem;
  color: var(--gold-300);
  margin-bottom: var(--sp-2);
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--neutral-400);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-300); }

.footer-bottom {
  border-top: 1px solid rgba(240, 192, 64, .08);
  padding-top: var(--sp-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-1);
}

.footer-bottom p {
  color: var(--neutral-500);
  font-size: .85rem;
  margin-bottom: 0;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--navy-700);
  border-top: 1px solid rgba(240, 192, 64, .2);
  padding: var(--sp-2) var(--sp-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .4s ease;
}

.cookie-banner.show { transform: translateY(0); }

.cookie-banner p {
  color: var(--neutral-200);
  font-size: .88rem;
  margin-bottom: 0;
  max-width: 700px;
}

.cookie-banner .btn {
  padding: 8px 24px;
  font-size: .9rem;
}

/* ---------- Disclaimers ---------- */
.disclaimer {
  background: rgba(192, 67, 62, .08);
  border: 1px solid rgba(192, 67, 62, .2);
  border-radius: var(--radius);
  padding: var(--sp-3);
  margin: var(--sp-4) 0;
}

.disclaimer p {
  color: var(--coral-400);
  font-size: .9rem;
  margin-bottom: 0;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp .6s ease forwards;
}

.fade-up.delay-1 { animation-delay: .15s; opacity: 0; }
.fade-up.delay-2 { animation-delay: .3s; opacity: 0; }
.fade-up.delay-3 { animation-delay: .45s; opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-800);
    flex-direction: column;
    gap: 0;
    padding: var(--sp-2) 0;
    border-bottom: 1px solid rgba(240, 192, 64, .15);
    transform: translateY(-150%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open { transform: translateY(0); }

  .nav-links a {
    width: 100%;
    padding: 14px var(--sp-2);
    text-align: center;
  }

  .nav-links a::after { display: none; }

  .nav-toggle { display: flex; }

  .image-feature {
    grid-template-columns: 1fr;
  }
  .image-feature.reverse .image-feature-img { order: 0; }

  .image-feature-img { margin-bottom: var(--sp-3); }

  .reel {
    width: 70px;
    height: 70px;
    font-size: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p { margin: 0 auto; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero { min-height: 480px; }
  .reel {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
  .game-display { gap: var(--sp-1); }
  .section { padding: var(--sp-5) 0; }
  .btn { padding: 12px 24px; font-size: .95rem; }
}
