@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;600;700;800&family=Hahmlet:wght@300;400;500;600&display=swap');

:root {
  --tide-bg: #020410;
  --tide-surface: #0a1628;
  --tide-accent: #1e40af;
  --tide-light: #bfdbfe;
  --tide-muted: #94a3b8;
  --tide-text: #e2e8f0;
  --tide-radius: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Hahmlet', Georgia, serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--tide-text);
  background-color: var(--tide-bg);
}

h1, h2, h3, h4 {
  font-family: 'Public Sans', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--tide-light);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

a {
  color: var(--tide-light);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Container */
.tide-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.tide-header {
  background: var(--tide-surface);
  border-bottom: 1px solid rgba(30, 64, 175, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
}

.tide-header .tide-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.tide-logo {
  font-family: 'Public Sans', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--tide-light);
  letter-spacing: -0.02em;
}

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

/* Nav */
.tide-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.tide-nav a {
  font-family: 'Public Sans', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tide-muted);
  transition: color 0.2s;
}

.tide-nav a:hover {
  color: var(--tide-light);
}

/* CTA Button */
.tide-cta button,
.tide-cta a,
a.tide-cta {
  display: inline-block;
  background: var(--tide-accent);
  color: #fff;
  font-family: 'Public Sans', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--tide-radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}

.tide-cta button:hover,
.tide-cta a:hover,
a.tide-cta:hover {
  background: #1d3a9e;
  transform: translateY(-1px);
}

/* Hero */
.tide-hero {
  background: linear-gradient(135deg, var(--tide-bg) 0%, var(--tide-surface) 60%, rgba(30, 64, 175, 0.12) 100%);
  padding: 80px 0 60px;
  text-align: center;
}

.tide-hero h1 {
  margin-bottom: 18px;
}

.tide-hero p {
  font-size: 1.1rem;
  color: var(--tide-muted);
  max-width: 680px;
  margin: 0 auto 28px;
}

.tide-hero .tide-cta {
  margin-bottom: 36px;
  display: inline-block;
}

/* Badges */
.tide-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.tide-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--tide-surface);
  border: 1px solid rgba(30, 64, 175, 0.35);
  color: var(--tide-light);
  font-family: 'Public Sans', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}

/* Sections */
.tide-section {
  padding: 64px 0;
}

.tide-section--alt {
  background: var(--tide-surface);
}

.tide-section__title {
  margin-bottom: 12px;
  text-align: center;
}

.tide-section__lead {
  color: var(--tide-muted);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}

/* About */
.tide-about__body p {
  color: var(--tide-text);
  margin-bottom: 16px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.tide-meta-pill {
  display: inline-block;
  background: rgba(30, 64, 175, 0.15);
  border: 1px solid rgba(30, 64, 175, 0.4);
  color: var(--tide-light);
  font-size: 0.82rem;
  font-family: 'Public Sans', Arial, sans-serif;
  padding: 4px 12px;
  border-radius: 14px;
  margin: 3px 4px;
}

.tide-meta-pills {
  text-align: center;
  margin-bottom: 32px;
}

/* Games Grid */
.tide-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.tide-game-card {
  background: var(--tide-bg);
  border: 1px solid rgba(30, 64, 175, 0.25);
  border-radius: var(--tide-radius);
  padding: 28px 22px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.tide-game-card:hover {
  border-color: var(--tide-accent);
  transform: translateY(-3px);
}

.tide-game-card__icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}

.tide-game-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.tide-game-card p {
  color: var(--tide-muted);
  font-size: 0.88rem;
}

/* Bonus Box */
.tide-bonus-box {
  background: linear-gradient(135deg, var(--tide-surface), rgba(30, 64, 175, 0.18));
  border: 1px solid rgba(30, 64, 175, 0.45);
  border-radius: 12px;
  padding: 36px 32px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 32px;
}

.tide-bonus-box h3 {
  font-size: 1.6rem;
  color: var(--tide-light);
  margin-bottom: 10px;
}

.tide-bonus-box p {
  color: var(--tide-muted);
  margin-bottom: 20px;
}

.tide-bonus-terms {
  font-size: 0.8rem;
  color: var(--tide-muted);
  margin-top: 20px;
  text-align: center;
}

/* Tables */
.tide-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}

.tide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.tide-table th {
  background: rgba(30, 64, 175, 0.25);
  color: var(--tide-light);
  font-family: 'Public Sans', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid rgba(30, 64, 175, 0.4);
}

.tide-table td {
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--tide-text);
}

.tide-table tr:last-child td {
  border-bottom: none;
}

.tide-table tr:hover td {
  background: rgba(30, 64, 175, 0.07);
}

/* VIP Grid */
.tide-vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.tide-vip-card {
  background: var(--tide-surface);
  border: 1px solid rgba(30, 64, 175, 0.3);
  border-radius: var(--tide-radius);
  padding: 24px 18px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.tide-vip-card:hover {
  border-color: var(--tide-light);
  transform: translateY(-2px);
}

.tide-vip-card__rank {
  font-family: 'Public Sans', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tide-light);
  margin-bottom: 8px;
}

.tide-vip-card__cashback {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Public Sans', Arial, sans-serif;
  color: var(--tide-accent);
}

.tide-vip-card p {
  font-size: 0.8rem;
  color: var(--tide-muted);
  margin-top: 6px;
}

/* Reviews Grid */
.tide-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.tide-review-card {
  background: var(--tide-bg);
  border: 1px solid rgba(30, 64, 175, 0.25);
  border-radius: var(--tide-radius);
  padding: 24px 22px;
}

.tide-review-card__stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.tide-review-card__text {
  color: var(--tide-text);
  font-size: 0.92rem;
  margin-bottom: 14px;
  line-height: 1.6;
}

.tide-review-card__author {
  font-family: 'Public Sans', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tide-muted);
}

/* FAQ */
.tide-faq {
  max-width: 800px;
  margin: 36px auto 0;
}

.tide-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.tide-faq-item:last-child {
  border-bottom: none;
}

.tide-faq-item h3 {
  font-size: 1rem;
  color: var(--tide-light);
  margin-bottom: 10px;
  cursor: default;
}

.tide-faq-item p {
  color: var(--tide-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* Author Note */
.tide-author-note {
  background: var(--tide-surface);
  border-left: 3px solid var(--tide-accent);
  border-radius: 0 var(--tide-radius) var(--tide-radius) 0;
  padding: 24px 28px;
  max-width: 800px;
  margin: 0 auto;
}

.tide-author-note p {
  color: var(--tide-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 10px;
}

.tide-author-note p:last-child {
  margin-bottom: 0;
  font-family: 'Public Sans', Arial, sans-serif;
  font-weight: 600;
  color: var(--tide-light);
  font-size: 0.88rem;
}

/* Footer */
.tide-footer {
  background: var(--tide-surface);
  border-top: 1px solid rgba(30, 64, 175, 0.25);
  padding: 40px 0 28px;
}

.tide-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.tide-footer__brand .tide-logo {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 8px;
}

.tide-footer__brand p {
  font-size: 0.82rem;
  color: var(--tide-muted);
}

.tide-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tide-footer__links a {
  font-size: 0.85rem;
  color: var(--tide-muted);
}

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

.tide-footer__legal {
  font-size: 0.78rem;
  color: var(--tide-muted);
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  text-align: center;
}

.tide-footer__legal p {
  margin-bottom: 6px;
}

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

.tide-age-warn {
  display: inline-block;
  background: rgba(30, 64, 175, 0.2);
  border: 1px solid rgba(30, 64, 175, 0.45);
  color: var(--tide-light);
  font-family: 'Public Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 3px 10px;
  border-radius: 4px;
  margin-right: 6px;
}

/* Utility */
.tide-text-center { text-align: center; }
.tide-mt-4 { margin-top: 16px; }
.tide-mt-8 { margin-top: 32px; }

/* Responsive */
@media (max-width: 640px) {
  .tide-header .tide-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .tide-nav {
    gap: 14px;
  }

  .tide-hero {
    padding: 50px 0 40px;
  }

  .tide-bonus-box {
    padding: 24px 18px;
  }

  .tide-vip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tide-footer__inner {
    flex-direction: column;
  }
}
