:root {
  --color-red: #37667b;
  --color-black_blog-card: #060d1b;
  --color-red-bajo: #e2f2f8;
  --color-black: #0a1524;
  --color-white: #fff;
  --font-main: 'Poppins', sans-serif;
}

/* ====== RESET ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 1.0em;
}

body {
  font-family: var(--font-main);
  color: var(--color-black);
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ====== HEADER / NAVBAR ====== */
header {
  font-size: 10px;
  background: var(--color-black);
  color: var(--color-white);
  padding: 15px 20px;

  /* sticky + efecto blur sutil */
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: saturate(160%) blur(6px);
}

.navbar,
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 50px;
}

/* Menú principal */
nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  position: relative;
}

nav ul.show {
  display: flex;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--color-white);
  margin-left: auto;
}

/* Links */
nav ul li {
  position: relative;
}

nav ul li a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color .3s, background .3s;
  border-radius: 10px;
  padding: 6px 10px;
}

nav ul li a:hover {
  color: var(--color-red);
}

/* Flecha dropdown */
.dropdown-arrow {
  font-size: .7rem;
  transition: transform .2s;
}

/* Submenú (desktop) */
nav ul li .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-black);
  list-style: none;
  min-width: 180px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
  overflow: hidden;
  z-index: 1000;
}

nav ul li .submenu li a {
  display: block;
  padding: .5rem 1rem;
  color: var(--color-white);
  font-weight: 500;
}

nav ul li .submenu li a:hover {
  background: #333;
  color: var(--color-red);
}

/* Hover desktop */
@media (min-width: 769px) {
  nav ul li:hover>.submenu {
    display: block;
  }

  nav ul li:hover>a .dropdown-arrow {
    transform: rotate(180deg);
  }
}

/* ====== MOBILE ====== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background: var(--color-black);
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  nav ul li .submenu {
    position: relative;
    background: none;
    box-shadow: none;
    top: 0;
    left: 0;
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    padding-left: 1.5rem;
  }

  nav ul li.show-sub>.submenu {
    max-height: 500px;
  }

  nav ul li.show-sub>a .dropdown-arrow {
    transform: rotate(180deg);
  }

  nav ul li:hover>.submenu {
    display: block;
  }
}

/* ====== HOME ====== */
.hero {
  text-align: center;
  padding: 30px 20px;
}

.hero .portada {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1rem;
}

/* CTA Cards */
.cta-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.card {
  background: var(--color-white);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: var(--color-black);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  transition: transform .2s;
  width: 280px;
}

.card i {
  font-size: 2rem;
  color: var(--color-red);
  margin-bottom: 10px;
}

.card h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.card p {
  font-size: .9rem;
  color: #666;
}

.card:hover {
  transform: translateY(-5px);
}

/* Footer */
footer {
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
  padding: 1em;
  margin-top: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* =========================================================
   THEME DARK + COMPONENTES (para descargar-app.html)
   Usa <body class="theme-dark"> solo en la landing de descarga
   ========================================================= */
.theme-dark {
  color: #e7ecff;
  background: linear-gradient(180deg, #0b0f19, #0d1224 50%, #0b0f19);
}

.theme-dark header {
  background: rgba(11, 15, 25, .75);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.theme-dark nav ul li a {
  color: #e7ecff;
}

.theme-dark nav ul li a:hover {
  color: #4cc9f0;
}

/* utilidades landing */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 28px 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(135deg, #29a19c, #4cc9f0);
  color: #06111a;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(76, 201, 240, .2);
}

.btn:focus {
  outline: 2px solid #4cc9f0;
}

.theme-dark .hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: center;
}

@media (max-width:900px) {
  .theme-dark .hero-grid {
    grid-template-columns: 1fr;
  }
}

.theme-dark .card-dark {
  background: linear-gradient(180deg, #0e1428, #0a1121);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  padding: 28px;
}

.theme-dark .kicker {
  color: #4cc9f0;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
}

.theme-dark h1 {
  margin: .2em 0 .4em;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.02;
}

.theme-dark .lead {
  color: #9aa4bf;
  font-size: clamp(15px, 1.6vw, 18px);
}

.theme-dark .badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.theme-dark .play-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #11182d;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
}

.card-dark p a{
  color:#4cc9f0;
}

.theme-dark .play-badge img {
  height: 22px;
}

.theme-dark .stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #9aa4bf;
  font-size: .9rem;
}

.theme-dark .phone {
  aspect-ratio: 9/19.5;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: #0a0f1e center/cover no-repeat url('/assets/screens/app-hero.webp');
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

.theme-dark .features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.theme-dark .feature {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(9, 14, 30, .6);
}

.theme-dark .feature h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

@media (max-width:900px) {
  .theme-dark .features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:520px) {
  .theme-dark .features {
    grid-template-columns: 1fr;
  }
}

.theme-dark .gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.theme-dark .gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
}

@media (max-width:520px) {
  .theme-dark .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

.theme-dark .faq {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.theme-dark .faq .q {
  font-weight: 700;
}

.theme-dark .qr {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  color: #9aa4bf;
}

@media (max-width:900px) {
  .theme-dark .faq {
    grid-template-columns: 1fr;
  }
}

.theme-dark footer {
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: transparent;
  color: #9aa4bf;
}


/* ==== Logo con texto (imagen + "PremierFootball") ==== */
a.logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;          /* quita subrayado */
  color: var(--color-white);      /* evita morado/visited */
  font-weight: 700;
  line-height: 1;
}
a.logo:link,
a.logo:visited{
  color: var(--color-white);      /* fija color tras visitar */
}
a.logo:hover{
  color: #4cc9f0;                 /* hover en navbar */
}

a.logo img{
  height: 40px;                   /* 36–50px según gusto */
  width: auto;
  border-radius: 10px;            /* opcional */
}
a.logo span{
  display: inline-block;
  transform: translateY(1px);     /* micro-ajuste vertical del texto */
}

/* Tema oscuro: refuerza color del logo */
.theme-dark a.logo{
  color: #e7ecff;
}
.theme-dark a.logo:hover{
  color: #4cc9f0;
}
