
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;600;800&display=swap');

:root{
  --bg:#0a1220;
  --bg2:#0e1a2e;
  --ink:#e7f6ff;
  --accent:#ff6a3d;
  --accent2:#16e7ff;
  --muted:#7aa0b8;
  --card:#0f2338;
  --outline: rgba(22,231,255,.2);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:'Rubik',system-ui,Segoe UI,Roboto,Arial;
  color:var(--ink);
  background:
    radial-gradient(1000px 500px at 80% -20%, rgba(22,231,255,.12), transparent 50%),
    radial-gradient(800px 600px at 20% 120%, rgba(255,106,61,.15), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
  cursor:none;
}

/* Hide native cursor globally */
html, body, *, a, button, [role="button"] { cursor: none !important; }

/* Custom cursor */
.cursor{
  position:fixed; left:0; top:0;
  width:40px; height:40px;
  border-radius:50%;
  transform:translate(-50%,-50%);
  pointer-events:none;
  z-index:9999;
  mix-blend-mode:screen;
  display:grid; place-items:center;
}
.cursor img{ width:100%; height:100%; filter: drop-shadow(0 0 6px rgba(22,231,255,.5)); }
.cursor.grow, .cursor.shrink { width:40px !important; height:40px !important; transform:translate(-50%,-50%) !important; }

/* Layout */
.container{ width:min(1200px, 92vw); margin:0 auto; }
nav{
  position:sticky; top:0; z-index:99;
  backdrop-filter: blur(10px);
  background:rgba(10,18,32,.55);
  border-bottom:1px solid var(--outline);
}
nav .bar{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; }
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--ink); }
.brand img.logo{ width:36px; height:36px; border-radius:10px; box-shadow:0 0 0 2px var(--outline); }
.brand .name{ font-weight:800; letter-spacing:.5px; }
nav a{ color:var(--ink); text-decoration:none; margin:0 14px; opacity:.9 }
nav a:hover{ opacity:1 }
.socials a{ margin-left:10px; border:1px solid var(--outline); padding:6px 10px; border-radius:12px; display:inline-flex; align-items:center; gap:8px; }
.socials svg{ width:18px; height:18px; }

/* Hero */
.hero{
  position:relative;
  min-height:78vh;
  display:grid; place-items:center;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:url('./assets/images/4.png') center/cover no-repeat;
  opacity:.15;
  filter:saturate(0.9) brightness(1.2);
}
.title{
  font-weight:800;
  font-size: clamp(42px, 7vw, 120px);
  letter-spacing: 2px;
  line-height:0.9;
  text-align:center;
  margin:0;
  position:relative;
}
.title span{
  display:inline-block;
  transition: transform .18s ease, text-shadow .18s ease;
  will-change: transform;
}
.title span:hover{
  transform: translateY(-4px) scale(1.25) rotate(-3deg);
  text-shadow:0 8px 22px rgba(22,231,255,.45);
}
.subtitle{ text-align:center; color:var(--muted); margin-top:16px; }

/* Section shared */
section{ padding:80px 0; position:relative; }
section .h{ font-size: clamp(28px, 5vw, 48px); margin-bottom:18px; }
.lead{ color:var(--muted); font-size:18px; max-width:800px; }

.card{
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
  border:1px solid var(--outline);
  border-radius:22px;
  padding:26px;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover{ transform: translateY(-6px); box-shadow: 0 26px 80px rgba(0,0,0,.35); }

.grid{ display:grid; gap:22px; }
.grid.cols-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.cols-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 900px){
  .grid.cols-2, .grid.cols-3{ grid-template-columns: 1fr; }
}

/* Crew cards */
.crew{ margin-top:26px; }
.member{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:12px; }
.member .portrait{
  width: 100%;
  aspect-ratio: 1/1;
  border-radius:18px;
  background:var(--card);
  display:grid; place-items:center;
  overflow:hidden;
  border:1px solid var(--outline);
  transform-style: preserve-3d;
  transition: transform .2s ease;
}
.member .portrait img{ width:100%; height:100%; object-fit:cover; }
.member:hover .portrait{ transform: rotateX(6deg) rotateY(-6deg) scale(1.02); }
.member .title{ font-size:20px; font-weight:700; color:#fff !important; }
.member .desc{ color:var(--muted); font-size:14px; }

/* CTA footer */
footer{ padding:60px 0 100px; text-align:center; color:var(--muted); }
footer .socials{ justify-content:center; }

/* Reveal on scroll */
.reveal{ opacity:0; transform: translateY(18px) scale(.98); transition: all .6s cubic-bezier(.2,.6,.2,1); }
.reveal.in{ opacity:1; transform: none; }

/* Floating animations */
.float-slow{ animation: float 6s ease-in-out infinite; }
.float-fast{ animation: float 3.5s ease-in-out infinite; }
@keyframes float{ 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-10px) } }

/* Modals */
.modal{
  position:fixed; inset:0; display:none;
  align-items:center; justify-content:center;
  background:rgba(6,10,18,.66);
  z-index:1000; padding:22px;
}
.modal.open{ display:flex; }
.modal .sheet{
  width:min(900px, 96vw);
  background: var(--card) !important;
  border:1px solid var(--outline);
  border-radius:22px;
  overflow:hidden;
  display:grid; grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px){ .modal .sheet{ grid-template-columns: 1fr; } }
.modal .media{ background:var(--card); padding:0; display:grid; place-items:center; }
.modal .media img{ width:100%; height:100%; object-fit:cover; }
.modal .body{ padding:24px; background:#11253c !important; border-left:1px solid var(--outline); }
.modal .body h2{ margin-top:0; font-size:32px; }
.modal .close{
  position:absolute; top:20px; right:20px; background:transparent; border:0; color:var(--ink);
  font-size:28px; opacity:.8
}
.modal .close:hover{ opacity:1 }
