:root{
  --bg: #0b1220;

  /* glass */
  --glass: rgba(255,255,255,.08);
  --glass2: rgba(255,255,255,.06);
  --stroke: rgba(255,255,255,.14);

  /* 🔴 red neon */
  --accent: #66b3ff;
  --accent2: #5da9ff;
  --glow: rgba(102,179,255,.55);
  --glowSoft: rgba(102,179,255,.25);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }

body{
  font-family:'Poppins',sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
  cursor:none;
  min-height:100vh;
  position:relative;
}

/* =========================
   CLEAN BACKGROUND (NOT EMPTY)
========================= */

/* animated glow */
body::before{
  content:"";
  position:fixed;
  inset:-80px;
  background:
    radial-gradient(900px 520px at 20% 25%, rgba(102,179,255,.20), transparent 60%),
    radial-gradient(900px 520px at 85% 75%, rgba(102,179,255,.14), transparent 62%),
    radial-gradient(700px 420px at 65% 15%, rgba(102,179,255,.10), transparent 60%);
  animation: bgFloat 18s ease-in-out infinite alternate;
  z-index:-3;
}
@keyframes bgFloat{
  0%{ transform: translate3d(0,0,0); }
  100%{ transform: translate3d(0,-35px,0); }
}

/* faint grid */
body::after{
  content:"";
  position:fixed;
  inset:0;
  background:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 15%, rgba(0,0,0,.9), transparent 70%);
  opacity:.22;
  z-index:-2;
}

/* subtle noise */
.bg-noise{
  pointer-events:none;
  position:fixed;
  inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  opacity:.06;
  z-index:-1;
}

/* ================= CURSOR ================= */
.cursor{
  position:fixed;
  width:6px; height:6px;
  border-radius:50%;
  background: rgba(255,255,255,.85);
  pointer-events:none;
  z-index:9999;
  transform: translate3d(-999px,-999px,0);
}
.cursor-ring{
  position:absolute;
  left:50%; top:50%;
  width:22px; height:22px;
  transform: translate(-50%,-50%);
  border-radius:50%;
  border:2px solid rgba(102,179,255,.78);
  box-shadow: 0 0 16px var(--glowSoft);
  opacity:.92;
  animation: spin 1.8s linear infinite;
}
.cursor.is-hover .cursor-ring{
  width:32px; height:32px;
  border-color: rgba(102,179,255,.95);
  box-shadow: 0 0 24px var(--glow);
}
@keyframes spin{
  to{ transform: translate(-50%,-50%) rotate(360deg); }
}

/* ================= TOPBAR ================= */
.topbar{
  position:fixed;
  top:18px; left:50%;
  transform:translateX(-50%);
  width:min(1100px, 92%);
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background: rgba(10,10,14,.55);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(102,179,255,.28);
  border-radius:16px;
  box-shadow: 0 0 26px rgba(102,179,255,.18);
  z-index:1000;
}

.brand{
  font-weight:700;
  letter-spacing:2px;
  color: var(--accent);
  text-shadow: 0 0 12px rgba(102,179,255,.45);
}

.nav-links{
  list-style:none;
  display:flex;
  gap:22px;
  align-items:center;
}
.nav-links a{
  color: rgba(255,255,255,.90);
  text-decoration:none;
  font-weight:600;
  position:relative;
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:0; bottom:-8px;
  width:0; height:2px;
  background: var(--accent);
  transition:.25s ease;
}
.nav-links a:hover{ color: var(--accent); }
.nav-links a:hover::after{ width:100%; }

.nav-toggle{
  display:none;
  background:transparent;
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  padding:10px 12px;
  border-radius:12px;
}

/* ================= HERO ================= */
.hero{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:120px 18px 60px;
  position:relative;
}
.hero-content{
  width:min(1100px, 92%);
  z-index:1;
}
.hero h1{
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height:1.08;
  letter-spacing:.3px;
}
.hero p{
  margin-top:14px;
  opacity:.82;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  max-width: 62ch;
}

/* button */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 26px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  margin-top:22px;
  border:1px solid rgba(102,179,255,.40);
  color:#fff;
}
.btn.neon{
  background: rgba(102,179,255,.12);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 22px rgba(102,179,255,.22);
  transition:.25s ease;
}
.btn.neon:hover{
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(102,179,255,.40);
}

/* ================= SECTIONS ================= */
.section{
  width:min(1100px, 92%);
  margin:0 auto;
  padding:64px 0;
}
.section-head{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:22px;
}
.section-head h2{
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  color: rgba(255,255,255,.95);
}
.sub{ opacity:.75; }
.section-head.center{
  text-align:center;
  align-items:center;
}

/* ================= 3-TILE COVERFLOW ================= */
.coverflow{
  position:relative;
  padding:12px 0 10px;
}

.cf-viewport{
  position:relative;
  height:280px;
  border-radius:18px;
  background: rgba(12,14,20,.42);
  border: 1px solid rgba(102,179,255,.18);
  backdrop-filter: blur(16px);
  overflow:hidden;
  box-shadow: 0 0 40px rgba(0,0,0,.20);
}

.cf-track{
  position:relative;
  height:100%;
}

/* ✅ SLOWER + SMOOTHER HERE */
.cf-card{
  position:absolute;
  top:50%;
  left:50%;
  width: clamp(220px, 28vw, 320px);
  height: 220px;
  transform: translate(-50%, -50%);
  border-radius:18px;
  background: var(--glass);
  border:1px solid rgba(255,255,255,.12);
  overflow:hidden;
  transition:
    transform .85s cubic-bezier(.22,.8,.25,1),
    opacity .65s ease,
    filter .65s ease,
    box-shadow .65s ease,
    border-color .65s ease;
  opacity:0;
  pointer-events:none;
}

.cf-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
}

.cf-label{
  position:absolute;
  left:50%;
  bottom:16px;
  transform: translateX(-50%);
  padding:10px 16px;
  border-radius:12px;
  background: rgba(255,255,255,.92);
  color:#0b0d12;
  font-weight:800;
  letter-spacing:1px;
  font-size:.95rem;
  text-transform:uppercase;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.cf-card.is-left{
  opacity:.72;
  pointer-events:auto;
  transform: translate(-145%, -50%) scale(.88);
  filter: brightness(.92);
}
.cf-card.is-center{
  opacity:1;
  pointer-events:auto;
  transform: translate(-50%, -52%) scale(1.06);
  box-shadow: 0 0 46px rgba(102,179,255,.22);
  border-color: rgba(102,179,255,.28);
}
.cf-card.is-right{
  opacity:.72;
  pointer-events:auto;
  transform: translate(45%, -50%) scale(.88);
  filter: brightness(.92);
}

.cf-card:hover{
  border-color: rgba(102,179,255,.36);
  box-shadow: 0 0 52px rgba(102,179,255,.18);
}

.cf-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px; height:46px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(10,10,14,.58);
  backdrop-filter: blur(10px);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index:5;
  transition: .2s ease;
}
.cf-btn:hover{
  transform: translateY(-50%) scale(1.05);
  border-color: rgba(102,179,255,.38);
  box-shadow: 0 0 18px rgba(102,179,255,.22);
}
.cf-btn.left{ left:10px; }
.cf-btn.right{ right:10px; }

.cf-dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:12px;
}
.cf-dot{
  width:8px; height:8px;
  border-radius:999px;
  background: rgba(255,255,255,.18);
  transition:.2s ease;
}
.cf-dot.is-active{
  background: rgba(102,179,255,.95);
  box-shadow: 0 0 12px rgba(102,179,255,.35);
}

/* ================= ABOUT (HIGHLIGHT) ================= */
.about-highlight{
  position:relative;
}

.about-card{
  background: rgba(12,14,20,.46);
  border:1px solid rgba(102,179,255,.16);
  border-radius:18px;
  backdrop-filter: blur(16px);
  box-shadow: 0 0 36px rgba(102,179,255,.10);
  padding:18px;
}

.highlight-card{
  max-width: 860px;
  margin: 24px auto 0;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(102,179,255,.32);
  background: rgba(12,14,20,.65);
  box-shadow: 0 0 60px rgba(102,179,255,.18);
  position: relative;
  overflow:hidden;
}

/* animated border sweep */
.highlight-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:22px;
  background: linear-gradient(120deg, transparent, rgba(102,179,255,.45), transparent);
  opacity:.55;
  transform: translateX(-40%);
  animation: sweep 5.6s linear infinite;
  pointer-events:none;
}
@keyframes sweep{
  0%{ transform: translateX(-60%); }
  100%{ transform: translateX(60%); }
}

.about-top{
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:20px;
}

.about-avatar{
  width:64px;
  height:64px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background: rgba(102,179,255,.14);
  border: 1px solid rgba(102,179,255,.35);
  box-shadow: 0 0 20px rgba(102,179,255,.20);
  font-size:26px;
}

.about-title h3{
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.role{
  opacity:.8;
}

.about-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap:12px;
  margin: 18px 0;
}

.about-pill{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(102,179,255,.20);
  border-radius: 14px;
  padding: 12px 14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size: .95rem;
}

.about-pill span{
  opacity:.75;
  font-weight:600;
}

.about-bio{
  margin-top: 8px;
  line-height: 1.7;
  opacity: .86;
  text-align:center;
}

/* ================= SOCIALS ================= */
.social-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:12px;
}

.social{
  height:64px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-decoration:none;
  color:#fff;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(102,179,255,.16);
  backdrop-filter: blur(14px);
  transition:.2s ease;
  font-weight:700;
}

.social:hover{
  transform: translateY(-3px);
  border-color: rgba(102,179,255,.28);
  box-shadow: 0 0 24px rgba(102,179,255,.20);
}

.social i{
  color: rgba(102,179,255,.95);
  text-shadow: 0 0 10px rgba(102,179,255,.25);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 820px){
  .nav-toggle{ display:block; }

  .nav-links{
    position:absolute;
    top:58px;
    right:14px;
    flex-direction:column;
    gap:12px;
    padding:14px;
    border-radius:16px;
    background: rgba(10,10,14,.65);
    border:1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(16px);
    display:none;
  }
  .nav-links.open{ display:flex; }

  .cf-viewport{ height:300px; }
  .cf-card{ height:230px; }
  .cf-card.is-left{ transform: translate(-125%, -50%) scale(.86); }
  .cf-card.is-right{ transform: translate(25%, -50%) scale(.86); }
}
/* ===== Discord Activity Card ===== */
.dcard{
  max-width: 900px;
  margin: 0 auto;
  padding: 18px 18px;
  border-radius: 22px;
  background: rgba(12,14,20,.62);
  border: 1px solid rgba(102,179,255,.26);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 55px rgba(102,179,255,.14);
  display:flex;
  align-items:center;
  gap:16px;
}

.dcard-left{
  position:relative;
  width:68px;
  height:68px;
  flex:0 0 auto;
}

.d-avatar{
  width:68px;
  height:68px;
  border-radius:18px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.14);
  box-shadow: 0 0 18px rgba(102,179,255,.12);
}

.d-status{
  position:absolute;
  right:-2px;
  bottom:-2px;
  width:16px;
  height:16px;
  border-radius:999px;
  border:2px solid rgba(12,14,20,.9);
  background: #6b7280; /* default */
  box-shadow: 0 0 14px rgba(102,179,255,.10);
}

.dcard-mid{
  flex:1;
  min-width:0;
}

.d-top{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin-bottom:6px;
}

.d-name{
  font-weight:800;
  letter-spacing:.2px;
  font-size:1.15rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.d-tag{
  opacity:.7;
  font-weight:600;
  font-size:.9rem;
  white-space:nowrap;
}

.d-activity-title{
  font-weight:700;
  opacity:.92;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.d-activity-sub{
  margin-top:2px;
  opacity:.72;
  font-size:.95rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.dcard-right{
  flex:0 0 auto;
}

.d-mini{
  width:54px;
  height:54px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background: rgba(102,179,255,.10);
  border: 1px solid rgba(102,179,255,.26);
  box-shadow: 0 0 22px rgba(102,179,255,.12);
  font-size:22px;
  color: rgba(102,179,255,.95);
}

@media (max-width: 520px){
  .dcard{ gap:12px; padding:16px; }
  .d-mini{ display:none; } /* cleaner on small phones */
}
