﻿:root {
  --blue: #F1BF00;
  --blue-light: #c99b00;
  --red: #aa151b;
  --red-dark: #8f1117;
  --white: #ffffff;
  --bg: #ffffff;
  --bg2: #fff8ea;
  --bg3: #fff3d5;
  --card: #ffffff;
  --text: #0f1f3a;
  --muted: #5f6b82;
  --border: rgba(15, 31, 58, 0.12);
  --shadow: 0 10px 30px rgba(241, 191, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(170, 21, 27, 0.15);
  border: 1px solid rgba(170, 21, 27, 0.3);
  color: var(--red);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(1.4);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), #c92229);
  color: #fff;
  box-shadow: 0 8px 30px rgba(170, 21, 27, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(170, 21, 27, 0.6);
}

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid rgba(241, 191, 0, 0.2);
  box-shadow: 0 4px 16px rgba(241, 191, 0, 0.08);
}

.btn-secondary:hover {
  background: var(--bg2);
  transform: translateY(-2px);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 31, 58, 0.1);
  box-shadow: 0 6px 20px rgba(15, 31, 58, 0.06);
  transition: all 0.3s;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-flag {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 4px;
  width: 32px;
  height: 22px;
}

.logo-flag span {
  flex: 1;
}

.logo-flag .f-blue {
  background: #aa151b;
}

.logo-flag .f-white {
  background: #f1bf00;
  flex: 2;
}

.logo-flag .f-red {
  background: #aa151b;
}

.logo span.brand {
  color: var(--text);
}

.logo span.iptv {
  color: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta .btn {
  padding: 10px 20px;
  font-size: 13px;
}

.mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(241, 191, 0, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #fff5dd 100%);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 78px;
  left: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(15, 31, 58, 0.18);
  backdrop-filter: blur(10px);
  z-index: 1200;
  padding: 12px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-height: calc(100vh - 96px);
  overflow: auto;
}

.mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.mobile-menu a:hover,
.mobile-menu a.is-active {
  background: var(--bg2);
}

.mobile-menu .mobile-menu-primary {
  text-align: center;
  margin-top: 6px;
  background: linear-gradient(135deg, var(--red), #c92229);
  color: #fff;
  box-shadow: 0 8px 22px rgba(170, 21, 27, 0.3);
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Safety: never render mobile menu controls on desktop. */
@media (min-width: 1025px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}

body.mobile-nav-open {
  overflow: hidden;
}

.legal-main {
  padding: 122px 0 84px;
  background: linear-gradient(180deg, #fff9ef 0%, #ffffff 26%, #ffffff 100%);
  min-height: calc(100vh - 300px);
}

.legal-hero {
  text-align: center;
  margin-bottom: 34px;
}

.legal-hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  margin-bottom: 14px;
}

.legal-hero p {
  font-size: 17px;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(20px, 2.8vw, 28px);
  box-shadow: 0 12px 30px rgba(241, 191, 0, 0.05);
  margin-top: 18px;
}

.card h2 {
  margin-bottom: 12px;
  font-size: clamp(18px, 2vw, 24px);
  color: #0c1f41;
}

.card p,
.card li {
  color: #1e2f4e;
  font-size: 15px;
}

.card p {
  margin-bottom: 11px;
}

.card ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 6px;
}

.card li {
  margin-bottom: 8px;
}

.meta {
  color: var(--muted) !important;
  font-size: 14px !important;
}

.alert {
  border-left: 4px solid var(--red);
  background: rgba(170, 21, 27, 0.08);
  padding: 12px 14px;
  border-radius: 8px;
  color: #672730;
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.footer {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom .flag-row {
  display: flex;
  gap: 0;
  border-radius: 3px;
  overflow: hidden;
  height: 14px;
}

.footer-bottom .flag-row span {
  width: 18px;
}

@media (max-width: 1120px) {
  .navbar .container {
    gap: 10px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 13px;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 16px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-menu-toggle,
  .mobile-menu {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .legal-main {
    padding-top: 106px;
  }

  .legal-hero h1 {
    font-size: clamp(24px, 8vw, 36px);
  }

  .legal-hero p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer {
    padding-top: 44px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .actions .btn {
    width: 100%;
  }
}

