/* ============================================================
   XtraSpin Casino - xtraspin.com.es
   Mobile-first stylesheet. Palette extracted from logo:
   --black (#0a0a0a / #000000), --white (#ffffff), --green (#03cb00)
   ============================================================ */

:root {
  --black: #0a0a0a;
  --black-soft: #131313;
  --panel: #1a1a1a;
  --green: #03cb00;
  --green-dark: #029900;
  --green-glow: rgba(3, 203, 0, 0.35);
  --white: #ffffff;
  --grey: #b8b8b8;
  --grey-dark: #777777;
  --radius: 14px;
  --maxw: 1180px;
  --font: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 18px;
}
h1, h2, h3 { line-height: 1.25; margin: 0 0 14px; }
h2 { font-size: 1.6rem; color: var(--white); }
h2 span { color: var(--green); }
p { color: var(--grey); margin: 0 0 14px; }
section { padding: 48px 0; }
.section-alt { background: var(--black-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--green);
  color: #04210a;
  box-shadow: 0 6px 20px var(--green-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px var(--green-glow); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--green);
}
.btn-small { padding: 8px 16px; font-size: 0.8rem; width: 100%; text-align: center; }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(3,203,0,0.18);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.logo-link img { height: 46px; width: 108px; object-fit: contain; }
nav.main-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  background: var(--black-soft);
  border-left: 1px solid rgba(3,203,0,0.2);
  padding: 90px 26px 26px;
  transition: right .3s ease;
  z-index: 998;
}
nav.main-nav.open { right: 0; }
nav.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
nav.main-nav a { font-size: 1.05rem; font-weight: 600; color: var(--white); }
nav.main-nav a:hover { color: var(--green); }
nav.main-nav .nav-cta { margin-top: 10px; }

.nav-toggle {
  background: none; border: none; cursor: pointer;
  width: 38px; height: 32px; position: relative; z-index: 1000;
}
.nav-toggle span {
  display: block; width: 100%; height: 3px; background: var(--white);
  border-radius: 3px; margin: 6px 0; transition: .25s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  opacity: 0; visibility: hidden; transition: opacity .3s ease;
  z-index: 997;
}
.nav-overlay.show { opacity: 1; visibility: visible; }

@media (min-width: 900px) {
  nav.main-nav {
    position: static; right: auto; width: auto; height: auto;
    background: none; border: none; padding: 0; display: flex;
    align-items: center;
  }
  nav.main-nav ul { flex-direction: row; gap: 28px; align-items: center; }
  nav.main-nav a { font-size: 0.95rem; }
  .nav-toggle, .nav-overlay { display: none; }
}

/* ---------- Hero (full banner image, uncropped, text overlaid on the left) ---------- */
.hero { padding-top: 0; padding-bottom: 0; }
.hero-banner-wrap { position: relative; width: 100%; overflow: hidden; line-height: 0; }
.hero-banner-wrap img { width: 100%; height: auto; display: block; }
.hero-overlay-text {
  position: absolute;
  left: 4%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 48%;
  z-index: 2;
}
.hero-overlay-text h1 {
  color: #ffffff;
  font-size: clamp(0.78rem, 4.6vw, 2.2rem);
  line-height: 1.15;
  margin: 0 0 clamp(6px, 1.8vw, 18px);
  text-shadow: 0 2px 10px rgba(0,0,0,0.75), 0 0 3px rgba(0,0,0,0.6);
}
.hero-overlay-text .hero-tagline {
  color: #ffffff;
  font-size: clamp(0.58rem, 2.3vw, 1rem);
  line-height: 1.4;
  margin: 0 0 clamp(10px, 2.4vw, 22px);
  text-shadow: 0 2px 8px rgba(0,0,0,0.75), 0 0 3px rgba(0,0,0,0.6);
}
.hero-overlay-text .btn-primary {
  font-size: clamp(0.55rem, 2vw, 0.95rem);
  padding: clamp(5px, 1.4vw, 14px) clamp(10px, 2.8vw, 28px);
}
.hero-intro-wrap { padding: 30px 0 0; }
.hero-intro-wrap p { margin: 0; }
@media (min-width: 700px) {
  .hero-overlay-text { left: 5%; max-width: 40%; }
}

/* full image hero used on bonus / live / mobile pages (already has text baked in) */
.full-hero img { width: 100%; height: auto; }

/* ---------- Quick facts / overview table & generic tables ---------- */
.table-wrap { overflow-x: auto; margin: 18px 0; }
table.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 480px;
}
table.data-table th, table.data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.92rem;
}
table.data-table th { background: rgba(3,203,0,0.12); color: var(--green); font-weight: 700; }
table.data-table td { color: var(--grey); }
table.data-table tr:last-child td { border-bottom: none; }

/* ---------- Pros & cons ---------- */
.proscons { display: grid; gap: 22px; }
@media (min-width: 760px) { .proscons { grid-template-columns: 1fr 1fr; } }
.proscons-card { background: var(--panel); border-radius: var(--radius); padding: 22px 24px; }
.proscons-card h3 { color: var(--green); font-size: 1.05rem; }
.proscons-card ul { margin: 0; padding-left: 20px; color: var(--grey); }
.proscons-card li { margin-bottom: 8px; }
.proscons-card.cons h3 { color: #ff5b5b; }

/* ---------- VIP tiers ---------- */
.vip-tiers { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin: 22px 0; }
@media (min-width: 760px) { .vip-tiers { grid-template-columns: repeat(5,1fr); } }
.vip-tier {
  background: var(--panel); border-radius: var(--radius); padding: 18px 10px;
  text-align: center; border: 1px solid rgba(255,255,255,0.1);
}
.vip-tier .tier-icon { margin-bottom: 8px; }
.vip-tier .tier-icon svg { width: 30px; height: 30px; }
.vip-tier strong { display: block; font-size: 0.95rem; }
.vip-tier.tier-bronze { border-color: rgba(201,122,61,0.4); }
.vip-tier.tier-bronze .tier-icon { color: #c97a3d; }
.vip-tier.tier-silver { border-color: rgba(199,205,212,0.4); }
.vip-tier.tier-silver .tier-icon { color: #c7cdd4; }
.vip-tier.tier-gold { border-color: rgba(255,213,74,0.4); }
.vip-tier.tier-gold .tier-icon { color: #ffd54a; }
.vip-tier.tier-platinum { border-color: rgba(167,201,219,0.4); }
.vip-tier.tier-platinum .tier-icon { color: #a7c9db; }
.vip-tier.tier-diamond { border-color: rgba(3,203,0,0.4); }
.vip-tier.tier-diamond .tier-icon { color: var(--green); }

/* ---------- Games grid ---------- */
.games-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.games-tab {
  background: var(--panel); border: 1px solid rgba(3,203,0,0.25);
  color: var(--white); padding: 10px 18px; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem; cursor: pointer;
}
.games-tab.active { background: var(--green); color: #04210a; border-color: var(--green); }
.games-category { margin-bottom: 36px; }
.games-category h3 { color: var(--green); font-size: 1.15rem; margin-bottom: 16px; }
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (min-width: 600px) { .games-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .games-grid { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 1150px) { .games-grid { grid-template-columns: repeat(12, 1fr); } }
.game-card {
  background: var(--panel);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform .15s ease, border-color .15s ease;
}
.game-card:hover { transform: translateY(-4px); border-color: var(--green); }
.game-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.game-card .game-name {
  font-size: 0.72rem; text-align: center; padding: 8px 4px 4px;
  font-weight: 600; color: var(--white); min-height: 32px;
}
.game-card .game-play { padding: 0 8px 10px; }

/* ---------- Steps (registration) ---------- */
.steps { display: grid; gap: 18px; margin: 22px 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3,1fr); } }
.step-card { background: var(--panel); border-radius: var(--radius); padding: 22px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--green);
  color: #04210a; font-weight: 800; margin-bottom: 12px;
}
.step-card h3 { font-size: 1rem; color: var(--white); margin-bottom: 6px; }
.step-card p { font-size: 0.9rem; margin: 0; }

/* ---------- Feature image blocks (live casino / mobile) ---------- */
.feature-block { display: flex; flex-direction: column; gap: 26px; align-items: center; }
.feature-block img { border-radius: var(--radius); }
@media (min-width: 900px) {
  .feature-block { flex-direction: row; }
  .feature-block.reverse { flex-direction: row-reverse; }
  .feature-block .feature-img { width: 50%; }
  .feature-block .feature-text { width: 50%; }
}

/* ---------- Badges / trust strip ---------- */
.trust-strip { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.trust-badge {
  display: flex; align-items: center; gap: 8px;
  background: var(--panel); padding: 10px 16px; border-radius: 999px;
  font-size: 0.82rem; color: var(--grey);
  border: 1px solid rgba(3,203,0,0.15);
}
.trust-badge svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  border-radius: var(--radius);
  padding: 36px 26px;
  text-align: center;
  color: #04210a;
}
.cta-banner h2, .cta-banner h2 span { color: #04210a; }
.cta-banner p { color: #0b2e10; }
.cta-banner .btn-primary { background: #04210a; color: var(--white); box-shadow: none; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--black-soft);
  border-top: 1px solid rgba(3,203,0,0.15);
  padding: 44px 0 24px;
  margin-top: 20px;
}
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: var(--grey); font-size: 0.88rem; }
.footer-grid a:hover { color: var(--green); }
.footer-logo img { height: 40px; width: 94px; object-fit: contain; margin-bottom: 12px; }
.footer-disclaimer {
  margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.78rem; color: var(--grey-dark); line-height: 1.7;
}
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 2px solid var(--green); border-radius: 50%;
  color: var(--green); font-weight: 800; font-size: 0.8rem; margin-right: 10px;
}

/* ---------- Generic content page (privacy/about/contact/responsible) ---------- */
.page-hero {
  padding: 56px 0 30px;
  text-align: center;
  background: var(--black-soft);
}
.page-hero h1 { font-size: 1.9rem; }
.content-block h2 { color: var(--green); font-size: 1.25rem; margin-top: 30px; }
.content-block p { color: var(--grey); }
.content-block ul { color: var(--grey); padding-left: 22px; }

/* contact form */
.contact-form { display: grid; gap: 16px; max-width: 560px; }
.contact-form input, .contact-form textarea {
  background: var(--panel); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 13px 16px; color: var(--white); font-family: inherit; font-size: 0.95rem;
}
.contact-form label { font-size: 0.85rem; color: var(--grey); margin-bottom: 6px; display: block; }
.contact-info { display: grid; gap: 16px; margin-bottom: 30px; }
@media (min-width: 760px) { .contact-info { grid-template-columns: repeat(3,1fr); } }
.contact-info-card { background: var(--panel); border-radius: var(--radius); padding: 20px; }
.contact-info-card svg { color: var(--green); width: 26px; height: 26px; margin-bottom: 10px; }
