:root{
  --navy:#002c59;
  --electric:#33b7f7;

  --white:#ffffff;
  --bg-dark:#00152b;

  --glass:rgba(255,255,255,.08);
  --glass-border:rgba(255,255,255,.12);

  --radius:16px;
  --speed:.22s;
}

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

html,
body{
  width:100%;
}

body{
  font-family:'Poppins',sans-serif;
  color:var(--white);

  display:flex;
  justify-content:center;
  align-items:center;

  background:
    linear-gradient(rgba(0,20,40,.78), rgba(0,20,40,.88)),
    url("./background.jpg") center center / cover no-repeat fixed;

  -webkit-font-smoothing:antialiased;
}

/* =========================
   APP
========================= */

.app{
  width:100%;
  max-width:500;

  display:flex;
  flex-direction:column;

  backdrop-filter:blur(12px);

  background:
    linear-gradient(
      180deg,
      rgba(0,44,89,.92) 0%,
      rgba(0,22,45,.96) 100%
    );

  position:relative;
  overflow:hidden;
}

/* texture légère */
.app::before{
  content:"";
  position:absolute;
  inset:0;

  background-image:
    repeating-linear-gradient(
      -55deg,
      rgba(51,183,247,.04) 0px,
      rgba(51,183,247,.04) 2px,
      transparent 2px,
      transparent 30px
    );

  pointer-events:none;
}

/* halo top */
.app::after{
  content:"";
  position:absolute;
  top:-120px;
  left:50%;
  transform:translateX(-50%);

  width:360px;
  height:280px;

  background:
    radial-gradient(
      ellipse,
      rgba(51,183,247,.28) 0%,
      transparent 70%
    );

  pointer-events:none;
}

.app > *{
  position:relative;
  z-index:1;
}

/* =========================
   HERO
========================= */

.hero{
  padding:18px 20px 12px;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.hero-top{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:14px;
}

.badge{
  display:flex;
  align-items:center;
  gap:6px;

  padding:7px 12px;
  

  border-radius:999px;

  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);

  font-size:10px;
  font-weight:600;
  letter-spacing:1px;
  text-transform:uppercase;

  cursor: pointer;
}
.badge a {
  display: flex;
  align-items: center;
  gap: 6px;

  color: inherit;
  text-decoration: none;

  font: inherit;

  width: 100%;
  height: 100%;
}

/* overlay */
.modal-overlay {
  position: fixed;
  inset: 0;

  display: none;
  justify-content: center;
  align-items: center;

  background: rgba(0, 10, 25, 0.65);
  backdrop-filter: blur(8px);

  z-index: 9999;
}

/* animation entrée */
.modal {
  width: 320px;
  padding: 18px 18px 16px;

  border-radius: var(--radius);

  background:
    linear-gradient(
      180deg,
      rgba(0, 44, 89, 0.95),
      rgba(0, 18, 40, 0.98)
    );

  border: 1px solid rgba(51, 183, 247, 0.25);

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(51, 183, 247, 0.15);

  transform: translateY(20px) scale(0.96);
  opacity: 0;

  animation: modalIn var(--speed) ease forwards;
}

/* animation */
@keyframes modalIn {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* titre */
.modal h2 {
  font-family: 'Anton', sans-serif;
  letter-spacing: 1px;
  font-size: 18px;

  color: var(--electric);

  margin-bottom: 10px;
}

/* texte */
.modal p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 6px;
}

.modal ul {
  margin: 8px 0 12px 18px;
}

.modal ul li {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 4px;
}

/* bouton */
.modal button {
  width: 100%;
  margin-top: 10px;

  padding: 10px;

  border: none;
  border-radius: 10px;

  cursor: pointer;

  font-family: 'Anton', sans-serif;
  letter-spacing: 1px;

  background: linear-gradient(
    135deg,
    var(--electric),
    #69d2ff
  );

  color: #002c59;

  transition: transform .2s ease;
}

.modal button:hover {
  transform: translateY(-2px);
}

/* petit glow haut comme ton app */
.modal::before {
  content: "";
  position: absolute;

  top: -40px;
  left: 50%;
  transform: translateX(-50%);

  width: 160px;
  height: 120px;

  background: radial-gradient(
    ellipse,
    rgba(51, 183, 247, 0.25),
    transparent 70%
  );

  pointer-events: none;
}
.badge i{
  color:var(--electric);
}
.logo img {
  height: 59px; /* ajuste selon ton design */
  width: auto;
  display: block;
}
.logo-wrap{
  width:70px;
  height:70px;
  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  background:
    linear-gradient(
      145deg,
      #0a5ea7,
      #001c39
    );

  border:2px solid rgba(51,183,247,.6);

}

.logo{
  font-family:'Anton',sans-serif;
  font-size:26px;
  letter-spacing:2px;
}

.welcome{
  text-align:center;
  margin-top:8px;
}

.welcome h1{
  font-family:'Anton',sans-serif;
  font-size:44px;
  line-height:1;
  letter-spacing:1px;
  text-transform:uppercase;
}

.welcome span{
  color:var(--electric);
}

.subtitle{
  margin-top:8px;

  font-size:13px;
  color:rgba(255,255,255,.72);
}

/* =========================
   FIDELITY
========================= */

.fidelity{
  margin:0 20px;
  padding:14px 16px;

  border-radius:var(--radius);

  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}

.fidelity-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
}

.fidelity-title{
  font-family:'Anton',sans-serif;
  letter-spacing:1px;
  font-size:18px;
}

.fidelity-score{
  color:var(--electric);
  font-weight:700;
}

.chevrons{
  display:flex;
  gap:4px;
}

.chev{
  flex:1;
  height:14px;

  clip-path:polygon(
    0 0,
    86% 0,
    100% 50%,
    86% 100%,
    0 100%,
    14% 50%
  );

  background:rgba(255,255,255,.12);
}

.chev.active{
  background:
    linear-gradient(
      90deg,
      #168fd0,
      var(--electric)
    );

  box-shadow:0 0 10px rgba(51,183,247,.35);
}

.fidelity-note{
  margin-top:10px;

  text-align:right;

  font-size:11px;
  color:rgba(255,255,255,.65);
}

/* =========================
   COUNTDOWN
========================= */

.countdown-wrap{
  margin:14px 20px 0;
}

.countdown-header{
  display:flex;
  justify-content:space-between;
  align-items:center;

  margin-bottom:10px;
}

.countdown-title{
  font-family:'Anton',sans-serif;
  letter-spacing:1px;
  font-size:20px;
}

.match-badge{
  background:rgba(51,183,247,.12);

  border:1px solid rgba(51,183,247,.3);

  color:var(--electric);

  padding:6px 10px;

  border-radius:8px;

  font-size:11px;
  font-weight:700;
}

.countdown{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}

.flip{
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.08),
      rgba(255,255,255,.03)
    );

  border:1px solid rgba(255,255,255,.08);

  border-radius:14px;

  text-align:center;

  padding:12px 4px;
}

.flip .num{
  display:block;

  font-family:'Anton',sans-serif;
  font-size:34px;
  line-height:1;

  color:var(--white);
}

.flip .lbl{
  display:block;

  margin-top:4px;

  font-size:10px;
  text-transform:uppercase;
  letter-spacing:1px;

  color:rgba(255,255,255,.6);
}

/* =========================
   NAV
========================= */

.nav{
  flex:1;

  display:flex;
  flex-direction:column;
  justify-content:center;

  gap:10px;

  padding:18px 20px 10px;
}

.btn{
  display:flex;
  align-items:center;
  gap:14px;

  width:100%;

  padding:16px;

  border-radius:var(--radius);

  text-decoration:none;
  color:var(--white);

  transition:
    transform .2s ease,
    background .2s ease;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-main{
  background:
    linear-gradient(
      135deg,
      #0c5fa8 0%,
      #002c59 100%
    );

  border:1px solid rgba(51,183,247,.22);
}

.btn-gallery{
  margin-top:auto;

  background:
    linear-gradient(
      135deg,
      #33b7f7 0%,
      #69d2ff 100%
    );

  color:#002c59;

  border:none;

  box-shadow:
    0 10px 24px rgba(51,183,247,.35);
}

.btn-gallery .icon{
  background:rgba(0,0,0,.12);
}

.btn .icon{
  width:42px;
  height:42px;

  border-radius:12px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:rgba(255,255,255,.08);

  font-size:16px;

  flex-shrink:0;
}

.btn .label{
  flex:1;

  font-family:'Anton',sans-serif;
  letter-spacing:1px;
  font-size:21px;
}

.btn .arrow{
  opacity:.7;
}

/* =========================
   SOCIALS
========================= */

.socials{
  padding:0 20px 18px;
}

.socials-title{
  text-align:center;

  margin-bottom:12px;

  font-size:10px;
  letter-spacing:2px;
  text-transform:uppercase;

  color:rgba(255,255,255,.45);
}

.socials-row{
  display:flex;
  justify-content:space-between;
  gap:8px;
}

.social-link{
  width:44px;
  height:44px;

  border-radius:12px;

  display:flex;
  align-items:center;
  justify-content:center;

  text-decoration:none;

  color:rgba(255,255,255,.75);

  background:rgba(255,255,255,.05);

  border:1px solid rgba(255,255,255,.08);

  transition:all .2s ease;
}
.social-link-2{
  width:88px;
  height:44px;

  border-radius:12px;

  display:flex;
  align-items:center;
  justify-content:center;

  text-decoration:none;

  color:rgba(255,255,255,.75);

  background:rgba(255,255,255,.05);

  border:1px solid rgba(255,255,255,.08);

  transition:all .2s ease;
}

.social-link:hover{
  background:rgba(51,183,247,.18);
  color:var(--electric);

  transform:translateY(-2px);
}

/* =========================
   MOBILE
========================= */

@media (max-height:780px){

  .welcome h1{
    font-size:38px;
  }

  .btn{
    padding:13px;
  }

  .btn .label{
    font-size:18px;
  }

  .flip .num{
    font-size:28px;
  }
}

.page-enter {
  transform: translateY(-300px);
  opacity: 0.5;
  animation: pageSlideIn 2s ease forwards;
}

@keyframes pageSlideIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}