/* =========================================================
   JaylayGame Argentina — Stylesheet
   Fonts: Raleway (headings) + Poppins (body)
   Palette: Navy / Gold / Green
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700;800;900&family=Poppins:wght@300;400;500;600&display=swap');

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  --navy:        #0d1b2a;
  --navy-mid:    #152535;
  --navy-light:  #1e3a5f;
  --gold:        #f5b731;
  --gold-dark:   #d4960f;
  --gold-glow:   rgba(245, 183, 49, 0.25);
  --green:       #00c853;
  --green-dark:  #00a040;
  --green-glow:  rgba(0, 200, 83, 0.3);
  --gray-bg:     #f4f6f8;
  --gray-light:  #e8ecf0;
  --white:       #ffffff;
  --text-dark:   #1a1a2e;
  --text-mid:    #4b5563;
  --text-light:  #9ca3af;
  --border:      #e5e7eb;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow:      0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.2);
  --shadow-card: 0 4px 24px rgba(13,27,42,0.15);
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.3s ease;
  --font-head:   'Raleway', sans-serif;
  --font-body:   'Poppins', sans-serif;
}

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
}

.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  box-shadow: 0 3px 12px var(--green-glow);
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--green-glow);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 3px 12px var(--gold-glow);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

/* ─── Scroll Animation ──────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ─── Navbar ────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 2px solid var(--navy-light);
  box-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }

/* Mobile hamburger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2e4a 40%, #0d2b1e 100%);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  padding: 5rem 0 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(245,183,49,0.07) 0%, transparent 60%),
              radial-gradient(ellipse at 30% 80%, rgba(0,200,83,0.06) 0%, transparent 60%);
  pointer-events: none;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.1rem;
  letter-spacing: -0.5px;
}
.hero-title .accent { color: var(--gold); }

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Section Titles ────────────────────────────────────── */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  border-radius: 2px;
  margin: 0.6rem auto 0;
}

/* ─── Casinos Section ───────────────────────────────────── */
.casinos-section {
  background: var(--white);
  padding: 4rem 0 4.5rem;
}

.casino-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
  max-width: 820px;
  margin: 0 auto;
}
.casino-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.casino-card-logo {
  flex: 0 0 110px;
  background: var(--gray-bg);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  border: 1px solid var(--border);
}
.casino-card-logo img {
  width: 90px;
  object-fit: contain;
}

.casino-card-info {
  flex: 1;
}
.casino-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}
.bonus-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.bonus-amount {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.casino-card-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex: 0 0 70px;
  background: linear-gradient(135deg, #f8faf5, #e8f5e9);
  border-radius: var(--radius);
  padding: 0.75rem;
  border: 1px solid #c8e6c9;
}
.casino-card-rating img {
  width: 28px;
}
.rating-score {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green-dark);
}

/* ─── About Section ─────────────────────────────────────── */
.about-section {
  background: var(--gray-bg);
  padding: 4.5rem 0;
  text-align: center;
}

.about-text {
  max-width: 720px;
  margin: 0 auto;
}
.about-text p {
  font-size: 0.97rem;
  color: var(--text-mid);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}
.about-text p:last-child { margin-bottom: 0; }

/* ─── FAQ Section ───────────────────────────────────────── */
.faq-section {
  background: var(--white);
  padding: 4.5rem 0;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background var(--transition), color var(--transition);
}
.faq-question:hover { background: var(--gray-bg); }
.faq-question.active {
  background: var(--navy);
  color: var(--white);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  transition: transform 0.35s ease, background var(--transition);
}
.faq-question.active .faq-icon {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer.open {
  max-height: 300px;
}
.faq-answer p {
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.75;
  border-top: 1px solid var(--border);
}

/* ─── Responsible Gambling Section ─────────────────────── */
.responsible-section {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 5rem 0;
  text-align: center;
}

.responsible-badge {
  margin: 0 auto 1.5rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 6px var(--gold-glow);
  animation: pulseBadge 3s ease-in-out infinite;
}
.responsible-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 0 0 6px var(--gold-glow); }
  50%       { box-shadow: 0 0 0 14px rgba(245,183,49,0.08); }
}

.responsible-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 1rem;
}

.responsible-text {
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
}

.responsible-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}
.responsible-links a {
  display: block;
  transition: transform var(--transition), filter var(--transition);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.responsible-links a:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}
.responsible-links img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ─── 18+ Disclaimer Strip ──────────────────────────────── */
.disclaimer-strip {
  background: #1a1200;
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid #2a2000;
  padding: 1.1rem 0;
}
.disclaimer-strip .container {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.disclaimer-strip .disclaimer-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.8rem;
}
.disclaimer-strip p {
  font-size: 0.82rem;
  color: rgba(255,220,100,0.85);
  line-height: 1.5;
}

/* ─── Footer ────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 3.5rem 0 0;
  border-top: 2px solid var(--navy-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.footer-col .footer-logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
  display: block;
}
.footer-col .footer-logo span { color: var(--gold); }

.footer-col p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ─── Cookie Banner ─────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--navy-mid);
  border-top: 2px solid var(--gold);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
  transform: translateY(0);
  transition: transform 0.4s ease;
}
.cookie-banner.hidden {
  transform: translateY(110%);
}
.cookie-banner p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  max-width: 700px;
}
.cookie-banner a {
  color: var(--gold);
  font-weight: 600;
}
.cookie-banner a:hover { text-decoration: underline; }
.cookie-btn-group {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ─── Policy Pages ──────────────────────────────────────── */
.policy-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 3.5rem 0;
  text-align: center;
}
.policy-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
}
.policy-hero p {
  margin-top: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.policy-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}
.policy-content h2 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content p {
  font-size: 0.93rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.policy-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.policy-content ul li {
  font-size: 0.93rem;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.policy-content a {
  color: var(--green-dark);
  font-weight: 500;
}
.policy-content a:hover { text-decoration: underline; }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Navbar */
  .mobile-menu-btn { display: flex; }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy-mid);
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    display: none;
    border-top: 1px solid var(--navy-light);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
  }
  .navbar { position: sticky; }

  /* Hero — extra bottom padding to accommodate card overlap */
  .hero {
    padding: 3rem 0 200px;
    position: relative;
    z-index: 1;
  }
  .hero-subtitle { display: none; }

  /* Casinos section — pull up into hero */
  .casinos-section {
    background: transparent;
    padding: 0 0 2.5rem;
    position: relative;
    z-index: 2;
    margin-top: -165px;
  }

  .casinos-section .container {
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  /* Section title appears BELOW the card on mobile */
  .casinos-section .section-title {
    order: 2;
    background: var(--gray-bg);
    padding: 1.75rem 1rem 1rem;
    margin: 0;
    font-size: 1.3rem;
  }

  /* Casino card — full width, overlaps hero, max 300px tall */
  .casino-card {
    order: 1;
    width: 100%;
    max-height: 300px;
    border-radius: 0;
    border-left: none;
    border-top: 4px solid var(--gold);
    padding: 1.1rem 1rem;
    margin: 0;
    gap: 0.9rem;
    flex-wrap: nowrap;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    background: var(--white);
    overflow: hidden;
  }
  .casino-card:hover { transform: none; }

  .casino-card-logo {
    flex: 0 0 72px;
    min-height: 60px;
    padding: 0.5rem;
  }
  .casino-card-logo img { width: 60px; }

  .casino-name  { font-size: 1rem; }
  .bonus-label  { font-size: 0.6rem; }
  .bonus-amount { font-size: 0.82rem; margin-bottom: 0.75rem; }
  .btn          { padding: 0.55rem 1rem; font-size: 0.76rem; }

  .casino-card-rating {
    flex: 0 0 54px;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
  }
  .casino-card-rating img { width: 20px; }
  .rating-score { font-size: 0.95rem; }

  /* About */
  .about-section { padding: 3rem 0; }

  /* FAQ */
  .faq-section { padding: 3rem 0; }

  /* Responsible */
  .responsible-section { padding: 3.5rem 0; }
  .responsible-links img { height: 40px; }

  /* Disclaimer */
  .disclaimer-strip .container { flex-direction: column; gap: 0.5rem; text-align: center; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  /* Cookie banner */
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
  }
  .cookie-btn-group { width: 100%; justify-content: flex-end; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-subtitle { font-size: 0.93rem; }
  .responsible-links { gap: 0.75rem; }
  .responsible-links img { height: 34px; }
}
