/* =====================================================
   SlaysPlay.com — Main Stylesheet
   Design: deep navy + teal accent + gold CTA
   Fonts: Cormorant Garamond (headings) + Plus Jakarta Sans (body)
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

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

:root {
  --bg-primary:    #080c18;
  --bg-secondary:  #0f1528;
  --bg-card:       #12182e;
  --accent:        #00d4aa;
  --accent-dim:    #00a889;
  --gold:          #f0b429;
  --gold-dark:     #c98f10;
  --text-primary:  #eef2ff;
  --text-muted:    #8892b0;
  --border-subtle: rgba(0, 212, 170, 0.15);
  --shadow-card:   0 8px 40px rgba(0, 0, 0, 0.55);
  --radius-lg:     16px;
  --radius-md:     10px;
  --radius-sm:     6px;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ── Layout wrapper ── */
.container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================
   HERO / HEADER
   ===================================================== */

.hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 24px 120px;
  background: linear-gradient(135deg, #0d0a2e 0%, #0a1a3a 40%, #041a2e 70%, #0a2a1a 100%);
}

/* animated gradient overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    225deg,
    rgba(0, 212, 170, 0.12) 0%,
    rgba(99, 50, 160, 0.18) 35%,
    rgba(0, 50, 100, 0.22) 65%,
    rgba(0, 212, 170, 0.08) 100%
  );
  background-size: 400% 400%;
  animation: heroShift 12s ease infinite;
}

/* grid texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 170, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 170, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

@keyframes heroShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 212, 170, 0.3);
  letter-spacing: 0.01em;
}

.hero__title span {
  color: var(--accent);
}

/* =====================================================
   CASINO CARD SECTION
   ===================================================== */

.card-section {
  position: relative;
  z-index: 10;
  padding: 0 24px 60px;
  margin-top: -64px;
}

.casino-card {
  background: linear-gradient(145deg, #1a2240, #0f1528);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 212, 170, 0.08);
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.casino-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(0, 212, 170, 0.12);
}

.casino-card__badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px 0;
}

.badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.badge--recommended {
  background: linear-gradient(135deg, #00d4aa, #00a889);
  color: #000;
}

.badge--bonus {
  background: rgba(240, 180, 41, 0.15);
  border: 1px solid rgba(240, 180, 41, 0.4);
  color: var(--gold);
}

.casino-card__body {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px 24px 24px;
}

.casino-card__logo {
  flex-shrink: 0;
}

.casino-card__logo img {
  height: 38px;
  width: auto;
  filter: brightness(1.1);
}

.casino-card__info {
  min-width: 0;
}

.casino-card__bonus-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

.casino-card__rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.stars {
  display: flex;
  gap: 3px;
}

.stars img {
  height: 14px;
  width: auto;
}

.score {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #e8a010);
  color: #0a0e1a;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: btnPulse 3s ease-in-out infinite;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2.5s ease-in-out infinite;
}

.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(240, 180, 41, 0.45);
  animation: none;
}

@keyframes shimmer {
  0%   { left: -100%; }
  100% { left: 160%; }
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 180, 41, 0); }
  50%       { box-shadow: 0 0 0 6px rgba(240, 180, 41, 0.2); }
}

/* =====================================================
   CONTENT SECTIONS
   ===================================================== */

.content-section {
  padding: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.content-section:nth-child(even) {
  background: var(--bg-secondary);
}

.content-section__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  line-height: 1.3;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

.section-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.75;
}

.section-body p:last-child {
  margin-bottom: 0;
}

/* ── Mobile CTA: hidden on desktop, shown on mobile ── */
.casino-card__cta {
  display: none;
  padding: 0 16px 16px;
}

.cta-btn--full {
  width: 100%;
  text-align: center;
}

/* ── Scroll animation ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   18+ DISCLAIMER BAR
   ===================================================== */

.disclaimer-bar {
  background: linear-gradient(135deg, #0d1020, #0a1428);
  border-top: 1px solid rgba(0, 212, 170, 0.15);
  border-bottom: 1px solid rgba(0, 212, 170, 0.08);
  padding: 20px 24px;
}

.disclaimer-bar__inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.disclaimer-bar__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.disclaimer-bar__text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.disclaimer-bar__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =====================================================
   FOOTER
   ===================================================== */

footer {
  background: var(--bg-secondary);
  padding: 52px 24px 0;
}

.footer__top {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__col-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

.footer__col p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

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

.footer__col a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: #fff;
}

/* ── Logos row ── */
.footer__logos {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__logos-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 32px;
}

.footer__logos-grid a {
  display: block;
  opacity: 0.75;
  transition: opacity var(--transition), transform var(--transition);
}

.footer__logos-grid a:hover {
  opacity: 1;
  transform: scale(1.06);
}

.footer__logos-grid img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* phone row */
.footer__phone-row {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__phone-row img {
  height: 52px;
  width: auto;
}

.footer__phone-row a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

.footer__phone-row a:hover {
  color: #fff;
}

/* bottom bar */
.footer__bottom {
  max-width: 860px;
  margin: 0 auto;
  padding: 22px 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
}

.footer__links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__copyright {
  font-size: 0.74rem;
  color: rgba(136, 146, 176, 0.5);
}

/* =====================================================
   COOKIE BANNER
   ===================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #111827, #0f1e38);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
  padding: 16px 24px;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cookie-banner__inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner__text {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-accept {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #000;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-accept:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(0, 212, 170, 0.35);
}

.btn-decline {
  background: transparent;
  color: var(--text-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(136, 146, 176, 0.3);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.btn-decline:hover {
  border-color: var(--text-muted);
  color: #fff;
}

/* =====================================================
   POLICY PAGES
   ===================================================== */

.policy-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.policy-header {
  background: linear-gradient(135deg, #0d0a2e, #0a1a3a);
  padding: 52px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.policy-header a.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 20px;
  transition: gap var(--transition);
}

.policy-header a.back-link:hover {
  gap: 10px;
}

.policy-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
}

.policy-content {
  flex: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 52px 24px;
}

.policy-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  margin: 36px 0 14px;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p,
.policy-content li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.policy-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.policy-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px;
  text-align: center;
}

.policy-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  margin-bottom: 10px;
}

.policy-footer__links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.policy-footer__links a:hover {
  color: var(--accent);
}

.policy-footer__copy {
  font-size: 0.74rem;
  color: rgba(136, 146, 176, 0.5);
}

/* =====================================================
   RESPONSIVE — MOBILE
   ===================================================== */

@media (max-width: 768px) {

  /* Hero shorter on mobile since card overlaps */
  .hero {
    padding: 60px 20px 100px;
    min-height: 260px;
  }

  /* Card overlaps the hero by 80px */
  .card-section {
    margin-top: -80px;
    padding: 0 0 40px;
  }

  .casino-card {
    width: 100%;
    max-width: 100%;
    max-height: 300px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    overflow: hidden;
  }

  .casino-card__badge-row {
    padding: 12px 16px 0;
  }

  .casino-card__body {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    padding: 14px 16px 16px;
  }

  .casino-card__logo {
    grid-column: 1;
    grid-row: 1;
  }

  .casino-card__logo img {
    height: 28px;
  }

  .casino-card__rating {
    grid-column: 2;
    grid-row: 1;
    align-items: flex-end;
    flex-direction: row;
    justify-content: flex-end;
    gap: 10px;
  }

  .score {
    font-size: 1.5rem;
  }

  .casino-card__info {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .casino-card__bonus-text {
    font-size: 0.8rem;
  }

  .cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    margin-top: 4px;
    font-size: 0.85rem;
    grid-column: 1 / -1;
  }

  /* hide desktop CTA, show full-width mobile CTA */
  .casino-card__rating .cta-btn {
    display: none;
  }

  .casino-card__cta {
    display: block;
  }

  /* content sections */
  .content-section {
    padding: 44px 0;
  }

  /* footer 2 cols → 1 col */
  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__logos-grid img {
    height: 36px;
  }

  /* cookie banner stacks */
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .btn-accept,
  .btn-decline {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.9rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .footer__links {
    gap: 8px 14px;
  }

  .footer__phone-row a {
    font-size: 1.2rem;
  }
}
