/* ========================= */
/* RESET */
/* ========================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  background:#0b0f1a;
  color:#e4e7ec;
  line-height:1.7;
  overflow-x:hidden;
}

/* ========================= */
/* TIPOGRAFIA */
/* ========================= */

h1,
h2,
h3{
  color:#fff;
  font-weight:800;
}

h2{
  margin-top:42px;
  font-size:28px;
  line-height:1.3;
}

h3{
  margin-top:26px;
  font-size:20px;
}

p{
  color:#c5c9d6;
  margin-bottom:16px;
  line-height:1.85;
}

strong{
  color:#fff;
}

ul{
  margin:12px 0 22px;
  padding-left:20px;
}

li{
  margin-bottom:10px;
  color:#d7dbea;
}

/* ========================= */
/* LAYOUT */
/* ========================= */

.container{
  max-width:950px;
  margin:auto;
  padding:35px 20px;
}

/* ========================= */
/* TOPBAR */
/* ========================= */

.topbar{
  position:sticky;
  top:0;
  z-index:9999;

  background:rgba(11,15,26,.78);

  backdrop-filter:blur(14px);

  border-bottom:
    1px solid rgba(79,140,255,.12);
}

.nav-container{
  max-width:1100px;
  margin:auto;

  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:15px 20px;
}

.logo{
  font-size:18px;
  font-weight:800;
  color:#fff;
}

.nav-menu{
  display:flex;
  gap:22px;
}

.nav-menu a{
  text-decoration:none;
  color:#ffffff;
  font-weight:700;
  transition:.25s ease;
}

.nav-menu a:hover{
  color:#ffd54a;
}

.menu-toggle{
  display:none;
  font-size:28px;
  cursor:pointer;
}

/* ========================= */
/* HERO */
/* ========================= */

.main-header{
  position:relative;
  overflow:hidden;

  background:
    radial-gradient(
      circle at top,
      rgba(79,140,255,.18),
      transparent 55%
    ),

    linear-gradient(
      135deg,
      #0b0f1a,
      #11182b,
      #0b0f1a
    );

  padding:90px 20px 80px;

  text-align:center;

  border-bottom:
    2px solid #4f8cff;
}

.main-header::before{
  content:"";
  position:absolute;
  inset:0;

  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,.03),
      rgba(0,0,0,.35)
    );

  pointer-events:none;
}

.hero{
  position:relative;
  z-index:2;
}

.hero h1{
  font-size:clamp(38px,6vw,72px);
  line-height:1.05;

  font-weight:900;

  letter-spacing:-2px;

  margin-bottom:24px;

  max-width:900px;
  margin-inline:auto;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #cfe0ff 45%,
      #7aa8ff 100%
    );

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;

  text-shadow:
    0 0 30px rgba(79,140,255,.15);
}

.subtitle{
  max-width:760px;
  margin-inline:auto;
  margin-bottom:32px;

  font-size:18px;
  line-height:1.8;

  color:#c5c9d6;
}

.hero-badges{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}

.hero-badges span{
  background:#1a2238;

  border:
    1px solid #2a3a6a;

  border-radius:999px;

  padding:10px 14px;

  font-size:13px;

  transition:.3s ease;
}

.hero-badges span:hover{
  background:#4f8cff;
  color:#fff;
}

/* ========================= */
/* WORLD CUP CARD */
/* ========================= */

.worldcup-card{
  position:relative;
  overflow:hidden;

  background:
    linear-gradient(
      135deg,
      #0b0f1a,
      #1a2238
    );

  border:
    2px solid #4f8cff;

  border-radius:18px;

  padding:28px;

  margin:30px 0;

  text-align:center;

  transition:.3s ease;
}

.worldcup-card:hover{
  transform:translateY(-5px);

  box-shadow:
    0 15px 40px rgba(79,140,255,.3);
}

.worldcup-card::before{
  content:"";

  position:absolute;
  inset:0;

  border-radius:18px;

  background:
    linear-gradient(
      45deg,
      transparent,
      rgba(79,140,255,.12),
      transparent
    );

  pointer-events:none;
}

.flags{
  display:flex;
  justify-content:center;
  gap:10px;

  margin:18px 0;

  font-size:30px;
}

/* ========================= */
/* FLIP COUNTDOWN */
/* ========================= */

.flip-countdown{
  display:flex;
  justify-content:center;
  gap:12px;

  margin-top:20px;

  flex-wrap:wrap;
}

.flip-box{
  background:#000;

  border-radius:12px;

  padding:15px;

  min-width:72px;
}

.flip-box span{
  display:block;

  font-size:26px;
  font-weight:800;

  color:#4f8cff;
}

.flip-box small{
  color:#aaa;
  font-size:11px;
}

/* ========================= */
/* CARDS */
/* ========================= */

.card{
  background:#12182b;

  border:
    1px solid #1f2a4a;

  border-radius:14px;

  padding:22px;

  margin-top:20px;
}

/* ========================= */
/* HOME HIGHLIGHT */
/* ========================= */

.home-title{
  font-size:24px;
  margin-bottom:18px;
}

.home-grid{
  display:grid;
  gap:22px;
}

.home-card{
  position:relative;
}

.card-link{
  display:flex;

  overflow:hidden;

  background:#12182b;

  border:
    1px solid #1f2a4a;

  border-radius:18px;

  text-decoration:none;

  transition:.35s ease;
}

.card-link:hover{
  transform:translateY(-6px);

  border-color:#4f8cff;

  box-shadow:
    0 20px 50px rgba(79,140,255,.25);
}

.card-img{
  width:40%;
  overflow:hidden;
}

.card-img img{
  width:100%;
  height:100%;

  object-fit:cover;

  transition:transform .5s ease;
}

.card-link:hover img{
  transform:scale(1.08);
}

.card-content{
  width:60%;

  display:flex;
  flex-direction:column;
  justify-content:center;

  padding:24px;
}

.card-content h3{
  margin-bottom:10px;
}

.card-content p{
  font-size:14px;
}

.card-btn{
  width:fit-content;

  background:
    linear-gradient(
      90deg,
      #4f8cff,
      #7aa8ff
    );

  color:#fff;

  border-radius:8px;

  padding:8px 14px;

  font-size:13px;
  font-weight:700;
}

/* ========================= */
/* COUNTRY NAV */
/* ========================= */

.country-nav-wrapper{
  position:relative;

  background:#12182b;

  border:
    1px solid #1f2a4a;

  border-radius:16px;

  padding:18px;

  margin:32px 0;

  overflow:hidden;
}

.country-nav-wrapper p{
  margin-bottom:14px;

  color:#fff;

  font-size:15px;
}

.country-nav{
  display:flex;
  gap:14px;

  overflow-x:auto;
  overflow-y:hidden;

  white-space:nowrap;

  scroll-behavior:smooth;

  scroll-snap-type:x proximity;

  scrollbar-width:thin;

  padding-bottom:8px;

  -webkit-overflow-scrolling:touch;
}

.country-nav a{
  flex:0 0 auto;

  scroll-snap-align:start;

  display:flex;
  align-items:center;
  gap:8px;

  text-decoration:none;

  background:#1e293b;

  border:1px solid #334155;

  color:#ffffff;

  border-radius:999px;

  padding:11px 16px;

  font-size:14px;
  font-weight:700;

  transition:
    background .25s ease,
    transform .25s ease,
    border-color .25s ease,
    color .25s ease;
}


.country-nav a:hover{
  background:#334155;

  border-color:#60a5fa;

  color:#ffd54a;

  transform:translateY(-2px);

  box-shadow:0 6px 18px rgba(96,165,250,.25);
}

.country-nav::-webkit-scrollbar{
  height:8px;
}

.country-nav::-webkit-scrollbar-thumb{
  background:#23345f;
  border-radius:20px;
}

.country-nav::-webkit-scrollbar-track{
  background:transparent;
}

.country-nav-wrapper::after{
  content:"";

  position:absolute;
  top:0;
  right:0;

  width:80px;
  height:100%;

  background:
    linear-gradient(
      to left,
      #12182b,
      transparent
    );

  pointer-events:none;
}

/* ========================= */
/* COUNTRY TITLE */
/* ========================= */

.country-title{
  display:flex;
  align-items:center;
  gap:14px;

  margin-bottom:20px;
}

.country-title span{
  font-size:38px;
}

.country-title h2{
  margin:0;
}

.mexico-flag{
  padding-bottom:12px;

  border-bottom:
    2px solid rgba(0,104,71,.35);
}

/* ========================= */
/* FOOTER */
/* ========================= */

footer{
  margin-top:60px;

  padding:30px 20px;

  text-align:center;

  color:#8d93a5;

  border-top:
    1px solid #1f2a4a;
}

/* ========================= */
/* BOTÃO TOPO */
/* ========================= */

#topBtn{
  position:fixed;

  right:20px;
  bottom:20px;

  width:48px;
  height:48px;

  border:none;
  border-radius:50%;

  background:#4f8cff;
  color:#fff;

  cursor:pointer;

  display:none;

  z-index:999;
}

/* ========================= */
/* PROGRESS BAR */
/* ========================= */

#progressBar{
  position:fixed;
  top:0;
  left:0;

  width:0%;
  height:4px;

  background:#4f8cff;

  z-index:99999;
}

/* ========================= */
/* ANIMAÇÃO */
/* ========================= */

.hidden{
  opacity:0;
  transform:translateY(30px);

  transition:.6s ease;
}

.show{
  opacity:1;
  transform:translateY(0);
}

section{
  scroll-margin-top:90px;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width:768px){

  .menu-toggle{
    display:block;
  }

  .nav-menu{
    position:absolute;

    top:70px;
    left:12px;
    right:12px;

    display:none;
    flex-direction:column;

    text-align:center;

    background:
      rgba(17,24,43,.96);

    backdrop-filter:blur(14px);

    border:
      1px solid rgba(79,140,255,.12);

    border-radius:16px;

    overflow:hidden;

    padding:14px 0;
  }

  .nav-menu.active{
    display:flex;
  }

  .nav-menu a{
    padding:12px;
    border-bottom:1px solid #1f2a4a;
  }

  .subtitle{
    font-size:15px;
  }

  .card-link{
    flex-direction:column;
  }

  .card-img,
  .card-content{
    width:100%;
  }

  .country-nav-wrapper{
    padding:14px;
  }

  .country-nav{
    gap:10px;
  }

  .country-nav a{
    font-size:13px;
    padding:10px 14px;
  }

  .flip-box{
    min-width:60px;
    padding:10px;
  }

  .flip-box span{
    font-size:20px;
  }

}

@media (min-width:769px){

  .country-nav{
    cursor:grab;
  }

  .country-nav:active{
    cursor:grabbing;
  }

}

.benefits-card{
  position:relative;
  overflow:hidden;

  display:flex;
  flex-direction:column;
  gap:20px;

  padding:30px;

  margin:48px 0 70px;

  border-radius:20px;

  background:
    linear-gradient(
      180deg,
      #0f1b38,
      #08152f
    );

  border:1px solid rgba(255,255,255,.08);

  box-shadow:
    0 10px 30px rgba(0,0,0,.25);

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.benefits-card::before{
  content:"";

  position:absolute;
  inset:0;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.06) 0%,
      rgba(255,255,255,.02) 22%,
      transparent 45%
    );

  pointer-events:none;
}

.benefits-card:hover{
  transform:translateY(-4px);

  box-shadow:
    0 18px 45px rgba(0,0,0,.35);
}

.benefits-card p{
  margin:0;

  font-size:18px;
  line-height:1.8;

  color:#e7edf9;
}

@media (max-width:768px){

  .benefits-card{
    padding:22px;
    gap:16px;

    margin:36px 0 56px;
  }

  .benefits-card p{
    font-size:16px;
    line-height:1.7;
  }

}

.featured-match .card-link{
  border:1px solid rgba(79,140,255,.35);

  box-shadow:
    0 10px 35px rgba(79,140,255,.15);
}

.live-badge{
  width:fit-content;

  margin-bottom:14px;

  background:#ff2b2b;

  color:#fff;

  font-size:12px;
  font-weight:800;

  letter-spacing:.5px;

  border-radius:999px;

  padding:6px 12px;
}

a{
  color:#93c5fd;
  transition:color .25s ease;
}

a:hover{
  color:#ffd54a;
}