@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

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

:root {
  --navy: #0f1923;
  --navy-mid: #1e2d3d;
  --navy-light: #2c3e50;
  --accent: #e8453c;
  --accent-soft: #fff0ef;
  --gold: #f5a623;
  --text-primary: #0f1923;
  --text-secondary: #5a6a7a;
  --text-muted: #8a9aaa;
  --border: #e8edf2;
  --border-dark: #d0d8e0;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-card: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 4px rgba(15,25,35,0.06), 0 0 0 1px rgba(15,25,35,0.04);
  --shadow-md: 0 4px 20px rgba(15,25,35,0.08), 0 0 0 1px rgba(15,25,35,0.04);
  --shadow-lg: 0 12px 40px rgba(15,25,35,0.12), 0 0 0 1px rgba(15,25,35,0.04);
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-body); }

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.nav-logo span {
  display: inline-block;
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 6px;
  color: white;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.15s;
}
.nav-links a:hover { color: var(--text-primary); background: var(--bg-soft); }
.nav-links a.active { color: var(--text-primary); font-weight: 500; }

/* ─── HERO ─── */
.hero {
  padding: 80px 24px 56px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero p {
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── COUNTRY DETECTOR ─── */
.country-bar {
  max-width: 680px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
.country-detected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  gap: 16px;
}
.country-detected-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.country-flag { font-size: 24px; line-height: 1; }
.country-info { }
.country-info-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.country-info-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}
.change-country-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: none;
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  padding: 7px 14px;
  transition: all 0.15s;
  white-space: nowrap;
}
.change-country-btn:hover { background: var(--accent-soft); }

/* Country selector dropdown */
.country-selector-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,25,35,0.4);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.country-selector-overlay.open { display: flex; }
.country-selector-modal {
  background: white;
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.2s ease;
}
@keyframes slideUp {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
}
.modal-close {
  width: 32px; height: 32px;
  border: none;
  background: var(--bg-soft);
  border-radius: 8px;
  font-size: 18px;
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.modal-close:hover { background: var(--border); }
.country-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.country-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
  transition: all 0.15s;
  text-align: left;
}
.country-option:hover { border-color: var(--accent); background: var(--accent-soft); }
.country-option.active { border-color: var(--accent); background: var(--accent-soft); font-weight: 500; }
.country-option .flag { font-size: 20px; }
.country-option .name { flex: 1; }
.country-option .check { color: var(--accent); font-size: 16px; opacity: 0; }
.country-option.active .check { opacity: 1; }

/* ─── STREAMING RESULTS ─── */
.results-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.results-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.results-count {
  font-size: 13px;
  color: var(--text-muted);
}

.no-results {
  text-align: center;
  padding: 48px 24px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.no-results-icon { font-size: 40px; margin-bottom: 12px; }
.no-results h3 { font-family: var(--font-display); font-size: 22px; font-weight: 400; margin-bottom: 8px; }
.no-results p { color: var(--text-secondary); font-size: 14px; }

/* Streaming card */
.stream-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  transition: all 0.15s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.stream-card:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.stream-card.featured {
  border-color: #d4e8ff;
  background: #f8fbff;
}
.stream-logo {
  width: 72px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.stream-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.stream-info { flex: 1; min-width: 0; }
.stream-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.stream-meta {
  font-size: 13px;
  color: var(--text-secondary);
}
.stream-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-free { background: #e6f9f0; color: #1a7f52; }
.badge-sub { background: #eef2ff; color: #4158d0; }
.badge-buy { background: #fff7e6; color: #b45309; }

.stream-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.stream-price {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}
.stream-price-sub {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}
.watch-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
  white-space: nowrap;
}
.watch-btn:hover { background: var(--navy-mid); }
.watch-btn svg { width: 14px; height: 14px; fill: white; }

/* ─── DIVIDERS & LABELS ─── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 14px;
}
.section-divider-line { flex: 1; height: 1px; background: var(--border); }
.section-divider-label { font-size: 11px; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ─── DISCLAIMER ─── */
.disclaimer {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 32px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}
.disclaimer a { color: var(--accent); text-decoration: underline; }

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-secondary);
}
.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text-primary); }
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  width: 100%;
}

/* ─── BLOG PAGE ─── */
.page-header {
  padding: 64px 24px 48px;
  max-width: 900px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.page-header p { color: var(--text-secondary); font-size: 16px; font-weight: 300; }

.blog-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
  background: white;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card-thumb {
  height: 160px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  border-bottom: 1px solid var(--border);
}
.blog-card-body { padding: 20px; }
.blog-card-date { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.blog-card-title { font-family: var(--font-display); font-size: 18px; font-weight: 400; line-height: 1.3; margin-bottom: 8px; }
.blog-card-excerpt { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.blog-card-link { display: block; color: inherit; text-decoration: none; }

/* ─── BLOG POST ─── */
.post-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  transition: color 0.15s;
}
.post-back:hover { color: var(--text-primary); }
.post-date { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.post-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.post-body { font-size: 16px; line-height: 1.8; color: var(--text-primary); }
.post-body h2 { font-family: var(--font-display); font-size: 26px; font-weight: 400; margin: 40px 0 16px; letter-spacing: -0.01em; }
.post-body h3 { font-size: 18px; font-weight: 500; margin: 28px 0 12px; }
.post-body p { margin-bottom: 20px; }
.post-body ul, .post-body ol { margin: 0 0 20px 20px; }
.post-body li { margin-bottom: 6px; }
.post-body a { color: var(--accent); text-decoration: underline; }
.post-body strong { font-weight: 500; }

.post-cta-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 40px 0;
  text-align: center;
}
.post-cta-box h3 { font-family: var(--font-display); font-size: 22px; font-weight: 400; margin-bottom: 8px; }
.post-cta-box p { color: var(--text-secondary); font-size: 14px; margin-bottom: 20px; }
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
}
.cta-btn:hover { background: #d03a32; }

/* ─── ABOUT / STATIC PAGES ─── */
.static-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.static-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.static-wrap h2 { font-family: var(--font-display); font-size: 22px; font-weight: 400; margin: 36px 0 12px; }
.static-wrap p { font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.static-wrap a { color: var(--accent); }
.static-wrap .highlight-box {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.7;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .country-grid { grid-template-columns: 1fr; }
  .stream-card { flex-wrap: wrap; gap: 12px; }
  .stream-cta { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ─── LOADING SHIMMER ─── */
.shimmer {
  background: linear-gradient(90deg, var(--bg-soft) 25%, var(--border) 50%, var(--bg-soft) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: 8px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card {
  height: 88px;
  margin-bottom: 10px;
  border-radius: var(--radius);
}
