/* =========================================
   WINNITA CASINO — Shared Stylesheet
   Theme: Light | Brand accent #1a3272
   ========================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-brand:      #1a3272;
  --color-brand-light:#2a4fa8;
  --color-accent:     #e8b84b;
  --color-text:       #1e1e2e;
  --color-text-muted: #5a5a72;
  --color-bg:         #ffffff;
  --color-bg-soft:    #f5f6fa;
  --color-border:     #e0e3ec;
  --radius-card:      12px;
  --radius-btn:       8px;
  --shadow-card:      0 2px 12px rgba(26,50,114,0.10);
  --shadow-hover:     0 6px 24px rgba(26,50,114,0.18);
  --font-main:        'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width:        1240px;
  --header-h:         68px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  font-size: 16px;
}

a {
  color: var(--color-brand);
  text-decoration: none;
}

a:hover {
  color: var(--color-brand-light);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* =========================================
   HEADER / NAVIGATION
   ========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 8px rgba(26,50,114,0.08);
  height: var(--header-h);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo img {
  height: 44px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text);
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  transition: background 0.18s, color 0.18s;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--color-brand);
  color: #fff;
}

.nav-cta {
  background: var(--color-accent);
  color: var(--color-brand) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-btn) !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: #d4a73e !important;
  color: var(--color-brand) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* =========================================
   HERO / BANNER
   ========================================= */

.banner-wrap {
  background: #fff;
  overflow: hidden;
}

.banner-wrap a {
  display: block;
}

.banner-desktop {
  display: block;
  width: 100%;
  height: auto;
}

.banner-mobile {
  display: none;
  width: 100%;
  height: auto;
}

/* =========================================
   PAYMENT STRIP
   ========================================= */

.pay-strip {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 24px;
  overflow: hidden;
}

.pay-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
}

.pay-strip img {
  height: 28px;
  width: auto;
  opacity: 0.75;
  transition: opacity 0.2s;
  filter: grayscale(30%);
}

.pay-strip img:hover {
  opacity: 1;
  filter: none;
}

/* =========================================
   SLOTS GRID
   ========================================= */

.slots-section {
  padding: 48px 24px;
  background: var(--color-bg);
}

.slots-section .section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.slots-section .section-heading h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--color-brand);
  margin-bottom: 8px;
}

.slots-section .section-heading p {
  color: var(--color-text-muted);
  font-size: 15px;
}

.slots-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.slot-card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
  aspect-ratio: 3/4;
}

.slot-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.slot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-card);
}

/* =========================================
   APP PAGE — SMARTPHONE SECTION
   ========================================= */

.app-top-section {
  background: #fff;
  padding: 48px 24px;
}

.app-top-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.smartphones-group {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.smartphones-group img {
  height: 320px;
  width: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.smartphones-group img:nth-child(2) {
  height: 370px;
}

.smartphones-group img:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.app-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 48px 24px;
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
}

.app-cta-block img {
  max-width: 320px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(26,50,114,0.18);
}

.app-cta-text {
  text-align: center;
  max-width: 480px;
}

.app-cta-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--color-brand);
  margin-bottom: 12px;
}

.app-cta-text p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

/* =========================================
   DOWNLOAD BUTTONS
   ========================================= */

.download-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-btn);
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s;
  border: none;
}

.btn-primary {
  background: var(--color-brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-brand-light);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--color-accent);
  color: var(--color-brand);
}

.btn-secondary:hover {
  background: #d4a73e;
  color: var(--color-brand);
  transform: translateY(-1px);
}

/* =========================================
   SEO TEXT SECTION
   ========================================= */

.seo-text-section {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  padding: 64px 24px 72px;
}

.seo-text-inner {
  max-width: 860px;
  margin: 0 auto;
}

.seo-text-inner .seo-meta-desc {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.seo-text-inner h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--color-brand);
  margin-bottom: 16px;
  line-height: 1.3;
}

.seo-text-inner h2 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  color: var(--color-brand);
  margin: 36px 0 12px;
  padding-top: 8px;
  border-top: 2px solid var(--color-border);
}

.seo-text-inner h3 {
  font-size: 1.1rem;
  color: var(--color-text);
  margin: 24px 0 10px;
  font-weight: 700;
}

.seo-text-inner p {
  margin-bottom: 16px;
  color: var(--color-text);
  font-size: 15.5px;
  line-height: 1.75;
}

.seo-text-inner ul,
.seo-text-inner ol {
  margin: 0 0 20px 24px;
  color: var(--color-text);
}

.seo-text-inner li {
  margin-bottom: 8px;
  font-size: 15.5px;
  line-height: 1.7;
}

.seo-text-inner strong {
  color: var(--color-brand);
}

/* Tables */
.seo-text-inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14.5px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.seo-text-inner table thead {
  background: var(--color-brand);
  color: #fff;
}

.seo-text-inner table th,
.seo-text-inner table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.seo-text-inner table tbody tr:nth-child(even) {
  background: var(--color-bg);
}

.seo-text-inner table tbody tr:hover {
  background: #eef2ff;
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
  background: var(--color-brand);
  color: #fff;
  padding: 40px 24px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px 48px;
}

.footer-col h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.65;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-col p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-logo img {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
}

.footer-bottom a {
  color: rgba(255,255,255,0.7);
  font-size: 12.5px;
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  color: var(--color-brand);
  font-weight: 900;
  font-size: 13px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
  .slots-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .banner-desktop {
    display: none;
  }
  .banner-mobile {
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 12px 16px 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    gap: 4px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    text-align: left;
    padding: 11px 14px;
  }

  .slots-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .smartphones-group img {
    height: 200px;
  }

  .smartphones-group img:nth-child(2) {
    height: 230px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .seo-text-inner table {
    font-size: 13px;
  }

  .seo-text-inner table th,
  .seo-text-inner table td {
    padding: 9px 10px;
  }
}

@media (max-width: 480px) {
  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .smartphones-group img {
    height: 160px;
  }

  .smartphones-group img:nth-child(2) {
    height: 185px;
  }
}

/* =========================================
   HERO BANNER OVERLAY CTA
   ========================================= */

.banner-hero {
  position: relative;
  overflow: hidden;
}

.banner-hero .banner-desktop {
  display: block;
  width: 100%;
  height: auto;
}

.banner-hero .banner-mobile {
  display: none;
  width: 100%;
  height: auto;
}

.hero-cta-overlay {
  position: absolute;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  background: rgba(8, 18, 52, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 32px 36px;
  border-radius: 16px;
  max-width: 380px;
  border: 1px solid rgba(255,255,255,0.18);
  z-index: 2;
}

.hero-cta-overlay h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.25;
}

.hero-cta-overlay p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 22px;
  line-height: 1.6;
}

.hero-cta-overlay .btn {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 13px 24px;
}

/* =========================================
   TEXT CTA BANNER (within SEO section)
   ========================================= */

.text-banner-wrap {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 40px 0;
  box-shadow: var(--shadow-hover);
}

.text-banner-wrap .text-banner-img {
  display: block;
  width: 100%;
  height: auto;
}

.text-banner-cta {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(8, 18, 52, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 24px 28px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.18);
  min-width: 200px;
}

.text-banner-cta p {
  color: rgba(255,255,255,0.9) !important;
  font-size: 14px !important;
  margin-bottom: 14px !important;
  font-weight: 600;
  line-height: 1.5 !important;
}

.text-banner-cta .btn {
  width: 100%;
  justify-content: center;
}

/* =========================================
   FOOTER PAYMENT STRIP
   ========================================= */

.footer-pay-strip {
  max-width: var(--max-width);
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 18px;
}

.footer-pay-strip img {
  height: 22px;
  width: auto;
  opacity: 0.45;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}

.footer-pay-strip img:hover {
  opacity: 0.85;
}

/* =========================================
   RESPONSIVE — new components
   ========================================= */

@media (max-width: 768px) {
  .banner-hero .banner-desktop {
    display: none;
  }

  .banner-hero .banner-mobile {
    display: block;
  }

  .hero-cta-overlay {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    max-width: 100%;
    border-radius: 0;
    padding: 14px 20px;
    text-align: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .hero-cta-overlay h2 {
    font-size: 1.1rem;
  }

  .text-banner-cta {
    position: static;
    transform: none;
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    min-width: auto;
    background: rgba(8, 18, 52, 0.92);
  }
}
