*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  scroll-behavior:smooth;
}

:root{
  --bg:#07070d;
  --card:#11131a;
  --blue:#00e5ff;
  --purple:#9d4dff;
  --white:#ffffff;
}

body{
  background:var(--bg);
  color:var(--white);
  font-family:'Inter',sans-serif;
  overflow-x:hidden;
}

/* =========================
   BACKGROUND
========================= */

body::before{
  content:'';

  position:fixed;
  inset:0;

  background:
  radial-gradient(
    circle at top left,
    rgba(0,229,255,.12),
    transparent 30%
  ),
  radial-gradient(
    circle at bottom right,
    rgba(157,77,255,.15),
    transparent 30%
  );

  z-index:-3;
}

/* =========================
   PARTICLE CANVAS
========================= */

#hero-particles{
  position:absolute;
  inset:0;

  width:100%;
  height:100%;

  z-index:-1;

  pointer-events:none;
}

#content-particles{
  position:fixed;

  top:0;
  left:0;

  width:100%;
  height:100vh;

  z-index:-2;

  pointer-events:none;
}

/* =========================
   LOADER
========================= */

.loader{
  position:fixed;
  inset:0;

  background:#000;

  display:flex;
  justify-content:center;
  align-items:center;

  z-index:9999;

  transition:.5s;
}

.loader h1{
  font-family:'Orbitron',sans-serif;
  font-size:4rem;

  color:var(--blue);

  text-shadow:
  0 0 15px var(--blue),
  0 0 35px var(--blue);
}

/* =========================
   NAVBAR
========================= */

.navbar{
  position:fixed;
  top:0;
  left:0;

  width:100%;

  padding:20px 8%;

  display:flex;
  justify-content:space-between;
  align-items:center;

  background:rgba(0,0,0,.35);

  backdrop-filter:blur(15px);

  border-bottom:
  1px solid rgba(255,255,255,.08);

  z-index:1000;
}

.logo{
  font-family:'Orbitron',sans-serif;
  font-size:1.7rem;
  font-weight:800;

  color:white;

  text-shadow:
  0 0 15px var(--blue);
}

.navbar ul{
  display:flex;
  gap:30px;

  list-style:none;
}

.navbar a{
  color:white;

  text-decoration:none;

  font-weight:500;

  transition:.3s;
}

.navbar a:hover{
  color:var(--blue);

  text-shadow:
  0 0 10px var(--blue),
  0 0 20px var(--blue);
}

/* =========================
   MOBILE MENU
========================= */

.menu-toggle{
  display:none;

  flex-direction:column;

  gap:6px;

  cursor:pointer;

  z-index:1001;
}

.menu-toggle span{
  width:28px;
  height:3px;

  border-radius:10px;

  background:white;

  transition:.3s;
}

.menu-toggle.active span:nth-child(1){
  transform:
  rotate(45deg)
  translate(6px,6px);
}

.menu-toggle.active span:nth-child(2){
  opacity:0;
}

.menu-toggle.active span:nth-child(3){
  transform:
  rotate(-45deg)
  translate(7px,-7px);
}

/* =========================
   SECTION
========================= */

section{
  padding:120px 8%;
  position:relative;
  z-index:2;
}

/* =========================
   HERO
========================= */

.hero{
  position:relative;

  height:100vh;

  display:flex;
  justify-content:center;
  align-items:center;

  text-align:center;

  overflow:hidden;

  padding:0 20px;

  isolation:isolate;
}

.hero-bg{
  position:absolute;
  inset:0;

  width:100%;
  height:100%;

  object-fit:cover;

  z-index:-3;

  opacity:3;

  filter:
  blur(2px)
  brightness(1);

  transform:scale(1.05);
}

.overlay{
  position:absolute;
  inset:0;

  background:
  linear-gradient(
    to bottom,
    rgba(0,0,0,.25),
    rgba(7,7,13,.95)
  );

  z-index:-2;
}

.hero-content{
  position:relative;

  z-index:5;

  max-width:900px;
  width:100%;
}

.hero-content h1{
  font-size:6rem;

  font-family:'Orbitron',sans-serif;

  margin-bottom:20px;

  text-shadow:
  0 0 20px var(--blue),
  0 0 45px var(--blue);
}

.hero-content p{
  font-size:1.3rem;

  opacity:.85;

  margin-bottom:35px;
}
/* =========================
   HERO MOBILE FIX
========================= */

@media(max-width:768px){

  .hero{

    min-height:100vh;

    padding:
    100px 20px 60px;

    align-items:center;
    justify-content:center;
  }

  .hero-content{

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;

    margin:auto;
  }

  .hero-content h1{
    font-size:3.5rem;
    line-height:1.1;
  }

  .hero-content p{
    font-size:1rem;
  }

}

/* =========================
   BUTTON
========================= */

.btn{
  display:inline-block;

  padding:15px 38px;

  border-radius:50px;

  text-decoration:none;

  color:white;

  background:
  linear-gradient(
    135deg,
    var(--blue),
    var(--purple)
  );

  box-shadow:
  0 0 20px rgba(0,229,255,.4);

  transition:.4s;
}

.btn:hover{
  transform:
  translateY(-5px)
  scale(1.04);

  box-shadow:
  0 0 30px rgba(0,229,255,.5),
  0 0 60px rgba(157,77,255,.3);
}

/* =========================
   STATS
========================= */

.stats{
  display:flex;
  justify-content:center;

  gap:25px;

  margin-top:60px;

  flex-wrap:wrap;
}

.stat-box{
  min-width:180px;

  padding:25px;

  border-radius:24px;

  text-align:center;

  background:rgba(255,255,255,.05);

  border:
  1px solid rgba(255,255,255,.08);

  backdrop-filter:blur(10px);

  box-shadow:
  0 0 20px rgba(0,229,255,.08);
}

.stat-box h2{
  color:var(--blue);

  font-size:2rem;

  margin-bottom:10px;
}

/* =========================
   SECTION TITLE
========================= */

.section-title{
  text-align:center;

  margin-bottom:60px;
}

.section-title h2{
  font-size:3rem;

  font-family:'Orbitron',sans-serif;

  margin-bottom:15px;

  text-shadow:
  0 0 20px var(--purple);
}

.section-title p{
  max-width:700px;

  margin:auto;

  opacity:.8;

  line-height:1.7;
}

/* =========================
   ABOUT
========================= */

.about-grid{
  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(220px,1fr));

  gap:25px;
}

.glass-card{
  position:relative;

  padding:35px;

  border-radius:24px;

  text-align:center;

  background:rgba(255,255,255,.04);

  border:
  1px solid rgba(255,255,255,.06);

  backdrop-filter:blur(10px);

  box-shadow:
  0 0 10px rgba(0,229,255,.04);

  transition:
  transform .35s ease,
  box-shadow .35s ease,
  border-color .35s ease;
}

.glass-card:hover{

  transform:
  translateY(-6px)
  scale(1.02);

  border-color:
  rgba(0,229,255,.28);

  box-shadow:
  0 0 22px rgba(0,229,255,.14),
  0 0 45px rgba(0,229,255,.06);
}

.glass-card i{
  display:block;

  font-size:2rem;

  color:var(--blue);

  margin-bottom:20px;
}

.glass-card h3{
  font-size:1.7rem;

  margin-bottom:10px;
}

.glass-card p{
  opacity:.8;
}

/* =========================
   MEMBERS
========================= */

.members-grid{
  display:flex;

  gap:20px;

  overflow-x:auto;

  scroll-snap-type:x mandatory;

  padding:20px 4% 40px;

  scrollbar-width:none;

  -webkit-overflow-scrolling:touch;

  cursor:grab;
}

.members-grid::-webkit-scrollbar{
  display:none;
}

.members-grid:active{
  cursor:grabbing;
}

/* =========================
   DESKTOP
========================= */

@media(min-width:769px){

  .members-grid{

    justify-content:center;

    overflow:visible;

    padding:30px 2% 50px;

    gap:16px;
  }

  .member-card{

    flex:0 0 295px;

    max-width:295px;

    opacity:1 !important;

    transform:scale(1) !important;
  }

}

/* =========================
   MEMBER CARD
========================= */

.member-card{
  position:relative;

  flex:0 0 340px;

  scroll-snap-align:center;

  border-radius:28px;

  overflow:visible;

  background:rgba(255,255,255,.04);

  border:
  1px solid rgba(0,229,255,.18);

  backdrop-filter:blur(12px);

  box-shadow:
  0 0 10px rgba(0,229,255,.06),
  0 0 20px rgba(0,229,255,.03);

  transition:
  transform .35s ease,
  opacity .35s ease,
  box-shadow .35s ease,
  border-color .35s ease;

  opacity:.45;

  transform:scale(.92);
}

/* ACTIVE */

.member-card.active{
  opacity:1;

  transform:scale(1);

  border-color:
  rgba(0,229,255,.35);

  box-shadow:
  0 0 18px rgba(0,229,255,.18),
  0 0 40px rgba(0,229,255,.08);
}

/* =========================
   DESKTOP HOVER
========================= */

@media(min-width:769px){

  .member-card:hover{

    transform:
    scale(1.03)
    translateY(-6px) !important;

    border-color:
    rgba(0,229,255,.75);

    box-shadow:
    0 0 22px rgba(0,229,255,.24),
    0 0 50px rgba(0,229,255,.12);

    z-index:20;
  }

  .member-card:hover .member-img img{
    transform:scale(1.04);
  }

}

/* IMAGE */

.member-img{
  position:relative;

  height:430px;

  overflow:hidden;

  border-radius:28px;
}

.member-img img{
  width:100%;
  height:100%;

  object-fit:cover;

  transition:
  transform .5s ease;
}

.member-card.active .member-img img{
  transform:scale(1.03);
}

/* IMAGE FADE */

.member-img::after{
  content:'';

  position:absolute;
  left:0;
  bottom:0;

  width:100%;
  height:75%;

  background:
  linear-gradient(
    to bottom,
    rgba(7,7,13,0) 0%,
    rgba(7,7,13,.15) 20%,
    rgba(7,7,13,.45) 40%,
    rgba(7,7,13,.78) 70%,
    rgba(7,7,13,.95) 85%,
    #07070d 100%
  );

  z-index:2;
}

/* MEMBER INFO */

.member-info{
  position:relative;

  z-index:5;

  margin-top:-90px;

  padding:25px;

  display:flex;
  flex-direction:column;
}

.member-info h3{
  font-family:'Orbitron',sans-serif;

  font-size:1.5rem;

  margin-bottom:8px;

  text-shadow:
  0 0 15px rgba(0,229,255,.6);
}

/* ROLE */

.role{
  display:inline-block;

  width:fit-content;

  padding:8px 16px;

  margin-bottom:15px;

  border-radius:30px;

  background:
  rgba(0,229,255,.12);

  border:
  1px solid rgba(0,229,255,.35);

  color:var(--blue);

  font-size:.9rem;
  font-weight:600;

  box-shadow:
  0 0 15px rgba(0,229,255,.15);
}

/* MEMBER LIST */

.member-info ul{
  margin-top:10px;
  margin-bottom:15px;

  padding-left:20px;

  line-height:1.7;
}

/* MEMBER DESC */

.member-info p{
  color:#d3d9e8;

  line-height:1.6;
}

/* SOCIAL */

.socials{
  display:flex;

  gap:15px;

  margin-top:20px;
}

.socials a{
  width:45px;
  height:45px;

  display:flex;
  justify-content:center;
  align-items:center;

  border-radius:50%;

  color:white;
  text-decoration:none;

  background:
  rgba(255,255,255,.05);

  border:
  1px solid rgba(255,255,255,.08);

  transition:.35s;
}

.socials a:hover{
  transform:translateY(-5px);

  background:
  linear-gradient(
    135deg,
    var(--blue),
    var(--purple)
  );

  box-shadow:
  0 0 20px rgba(0,229,255,.4),
  0 0 40px rgba(157,77,255,.25);
}

/* =========================
   GALLERY
========================= */

.gallery-grid{
  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(260px,1fr));

  gap:25px;
}

.gallery-item{
  position:relative;

  overflow:hidden;

  border-radius:22px;
}

.gallery-item img{
  width:100%;

  aspect-ratio:1/1;

  object-fit:cover;

  transition:.6s;
}

.gallery-item:hover img{
  transform:scale(1.1);
}

.gallery-item::after{
  content:'OUR ACHIEVEMENT';

  position:absolute;
  inset:0;

  display:flex;
  justify-content:center;
  align-items:center;

  background:rgba(0,0,0,.45);

  opacity:0;

  transition:.4s;

  font-family:'Orbitron',sans-serif;
}

.gallery-item:hover::after{
  opacity:1;
}

/* =========================
   ACHIEVEMENT
========================= */

.achievement-card{
  padding:50px;

  border-radius:28px;

  text-align:center;

  background:
  linear-gradient(
    145deg,
    rgba(0,229,255,.08),
    rgba(157,77,255,.08)
  );

  border:
  1px solid rgba(255,255,255,.08);
}

.achievement-card i{
  font-size:4rem;

  color:gold;

  margin-bottom:20px;

  text-shadow:
  0 0 20px gold;
}

/* =========================
   FOOTER
========================= */

footer{
  padding:30px;

  text-align:center;

  background:#07070d;

  border-top:
  1px solid rgba(255,255,255,.08);

  color:#bbb;

  text-shadow:
  0 0 10px rgba(0,229,255,.3);

  position:relative;
  z-index:5;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

  /* PARTICLE OFF */

  #hero-particles,
  #content-particles{
    display:none !important;
  }

  .menu-toggle{
    display:flex;
  }

  .navbar{
    padding:20px 8%;
  }

  .navbar ul{
    position:absolute;

    top:85px;
    right:-100%;

    width:220px;

    flex-direction:column;

    gap:20px;

    background:
    rgba(0,0,0,.95);

    padding:25px;

    border-radius:20px;

    transition:.4s;
  }

  .navbar ul.active{
    right:20px;
  }

  .hero-content h1{
    font-size:3.4rem;
  }

  .hero-content p{
    font-size:1rem;
  }

  .hero-bg{
    filter:
    blur(3px)
    brightness(.35);

    transform:scale(1.02);
  }

  .stats{
    gap:15px;
  }

  .stat-box{
    width:100%;
  }

  .section-title h2{
    font-size:2.2rem;
  }

  .about-grid{
    grid-template-columns:1fr;
  }

  /* MEMBER MOBILE */

  .members-grid{
    padding-left:12%;
    padding-right:12%;
    gap:18px;
  }

  .member-card{
    flex:0 0 82%;

    opacity:.5;

    transform:scale(.92);
  }

  .member-card.active{
    opacity:1;

    transform:scale(1);
  }

  .member-img{
    height:390px;
  }

}