/* ============================================
   Talumitims — Modern Glassmorphism Premium
   ============================================ */

:root {
  --navy: #0F172A;
  --navy-soft: #1E293B;
  --blue: #3B82F6;
  --cyan: #06B6D4;
  --white: #FFFFFF;
  --light: #F8FAFC;
  --text-muted: #94A3B8;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --radius: 20px;
  --shadow-soft: 0 20px 50px rgba(2, 8, 23, 0.45);
  --gradient: linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%);
  --transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.8rem;
}

.section-head {
  max-width: 700px;
  margin: 0 auto 3.2rem;
  text-align: center;
}
.section-head p { color: var(--text-muted); margin-top: 1rem; }

.text-link {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}
.text-link:hover { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(6, 182, 212, 0.45);
}
.btn-ghost {
  background: var(--glass-bg);
  color: var(--white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
}
.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(255, 255, 255, 0.25);
}
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
}
.header-inner {
  width: min(1180px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }

.main-nav { display: flex; gap: 1.8rem; }
.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: var(--transition);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 7rem 0 9rem;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
}
.hero-orb-1 {
  width: 480px; height: 480px;
  background: var(--blue);
  top: -140px; right: -120px;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb-2 {
  width: 380px; height: 380px;
  background: var(--cyan);
  bottom: -160px; left: -100px;
  animation: orbFloat 14s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, 30px); }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  width: min(1180px, 92%);
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}
.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.6rem;
}
.hero-sub {
  max-width: 640px;
  margin: 1.4rem auto 2.4rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-float-cards {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.glass-chip {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.6rem;
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  text-align: left;
}
.chip-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 700;
}
.chip-value { font-weight: 800; font-size: 1rem; }
.float-1 { animation: chipFloat 6s ease-in-out infinite; }
.float-2 { animation: chipFloat 7s ease-in-out infinite 0.6s; }
.float-3 { animation: chipFloat 8s ease-in-out infinite 1.2s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Stats Strip ---------- */
.stats-strip {
  margin-top: -4rem;
  position: relative;
  z-index: 3;
  padding-bottom: 1rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.5);
}
.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }

.zigzag {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.zig-text h2 { margin-bottom: 1.2rem; }
.zig-text p { color: var(--text-muted); margin-bottom: 1.1rem; }

.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow-soft);
}
.about-panel h3 { margin-bottom: 1.2rem; }
.check-list { list-style: none; }
.check-list li {
  padding: 0.7rem 0 0.7rem 2.1rem;
  position: relative;
  color: var(--light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 900;
}

/* ---------- Favorites ---------- */
.favorites { background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.05), transparent); }
.favorites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}
.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: 0 26px 60px rgba(6, 182, 212, 0.18);
}
.fav-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.fav-rank {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  font-size: 2.4rem;
  font-weight: 900;
  opacity: 0.14;
  letter-spacing: -0.04em;
}
.fav-card h3 { font-size: 1.5rem; }
.fav-group {
  display: inline-block;
  margin: 0.5rem 0 1.3rem;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.14);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
}
.fav-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.fav-stats > div {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 0.9rem;
  text-align: center;
}
.fav-stat-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
}
.fav-stat-value {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.2rem;
  font-weight: 800;
}

/* ---------- Hosts ---------- */
.hosts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.host-card { padding: 2rem; }
.host-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}
.host-top h3 { font-size: 1.6rem; }
.host-group-tag {
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: var(--gradient);
  font-size: 0.78rem;
  font-weight: 800;
}
.host-metrics { list-style: none; margin-bottom: 1.4rem; }
.host-metrics li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.95rem;
}
.host-metrics li:last-child { border-bottom: none; }
.host-metrics span { color: var(--text-muted); }
.meter {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.meter-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--gradient);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  margin: 2rem auto;
  width: min(1180px, 92%);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 20%, rgba(6, 182, 212, 0.35), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(59, 130, 246, 0.35), transparent 50%),
    var(--navy-soft);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3.5rem 3rem;
  flex-wrap: wrap;
}
.cta-inner p { color: var(--text-muted); margin-top: 0.6rem; max-width: 520px; }

/* ---------- Matches ---------- */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.match-card { padding: 1.8rem; }
.match-head { margin-bottom: 1.4rem; }
.match-group {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93C5FD;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.match-head h3 { font-size: 1.35rem; }
.match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}
.team h4 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
  color: var(--cyan);
}
.team ul { list-style: none; }
.team li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.84rem;
  padding: 0.32rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.team li:last-child { border-bottom: none; }
.team li span { color: var(--text-muted); }
.vs-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient);
  font-size: 0.75rem;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(59, 130, 246, 0.4);
  flex-shrink: 0;
}

/* ---------- Contact ---------- */
.contact-panel { margin-top: 1.5rem; }
.contact-panel h3 { margin-bottom: 0.7rem; }
.contact-panel p { color: var(--light); margin-bottom: 0.6rem; }
.contact-form .form-row { margin-bottom: 1.2rem; }
.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--glass-border);
  background: rgba(2, 8, 23, 0.55);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 0.92rem;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-col address {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.4rem 0;
  text-align: center;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }

/* ---------- Legal Pages ---------- */
.legal-page { padding: 4.5rem 0 6rem; }
.legal-hero { text-align: center; margin-bottom: 3rem; }
.legal-updated {
  margin-top: 0.8rem;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.legal-body { max-width: 860px; margin: 0 auto; padding: 3rem; }
.legal-body h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.8rem;
  color: var(--white);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--text-muted); margin-bottom: 0.8rem; }
.legal-body ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-body a { color: var(--cyan); }

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  width: min(680px, 94%);
  z-index: 500;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  animation: bannerIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-banner[hidden] { display: none; }
@keyframes bannerIn {
  from { opacity: 0; transform: translate(-50%, 24px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.cookie-banner p { font-size: 0.88rem; color: var(--light); }
.cookie-banner a { color: var(--cyan); }
.cookie-actions { display: flex; gap: 0.7rem; flex-shrink: 0; }
.cookie-actions .btn { padding: 0.6rem 1.3rem; font-size: 0.85rem; }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-orb, .glass-chip { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .favorites-grid { grid-template-columns: repeat(2, 1fr); }
  .matches-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .zigzag { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .main-nav.open { max-height: 360px; }
  .main-nav a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .main-nav a::after { display: none; }
  .hero { padding: 4.5rem 0 7rem; }
  .hosts-grid { grid-template-columns: 1fr; }
  .favorites-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 2.5rem 1.8rem; }
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
  .legal-body { padding: 1.8rem; }
  .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .match-teams { grid-template-columns: 1fr; }
  .vs-badge { margin: 0 auto; }
  .hero-actions .btn { width: 100%; text-align: center; }
}