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

  :root {
    --navy: #FFFFFF;
    --navy2: #F8F9FA;
    --slate: #FFFFFF;
    --slate2: #F3F4F6;
    --cyan: #1A56DB;
    --cyan-dim: #1E429F;
    --violet: #E02424;
    --violet-dim: #C81E1E;
    --text: #111827;
    --text-muted: #4B5563;
    --text-dim: #9CA3AF;
    --border: rgba(26, 86, 219, 0.15);
    --border-hover: rgba(26, 86, 219, 0.4);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--navy);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
  }

  h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; letter-spacing: -0.02em; }

  nav {
    position: fixed; top: 0; width: 100%; z-index: 999;
    padding: 1rem 2rem;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }
  .nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.15rem; font-weight: 700; color: var(--text);
    text-decoration: none; letter-spacing: -0.02em;
  }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    color: var(--text-muted); text-decoration: none; font-size: 0.9rem;
    font-weight: 500; transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--cyan); }

  /* ─── HAMBURGER ─── */
  .hamburger {
    display: none; flex-direction: column; justify-content: center;
    gap: 5px; width: 40px; height: 40px; cursor: pointer;
    background: none; border: 1px solid var(--border); border-radius: 8px;
    padding: 8px; transition: border-color 0.2s; position: relative; z-index: 200;
  }
  .hamburger:hover { border-color: var(--cyan); }
  .hamburger span {
    display: block; height: 1.5px; background: var(--text);
    border-radius: 2px; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    transform-origin: center;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .mobile-menu {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
    z-index: 150; flex-direction: column; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .mobile-menu.open { opacity: 1; pointer-events: all; }
  .mobile-menu ul { list-style: none; text-align: center; }
  .mobile-menu ul a {
    display: block; font-family: 'Outfit', sans-serif;
    font-size: 2rem; font-weight: 700; color: var(--text-muted);
    text-decoration: none; padding: 0.55rem 2rem;
    transition: color 0.2s; letter-spacing: -0.01em;
  }
  .mobile-menu ul a:hover { color: var(--cyan); }
  .mobile-menu-socials {
    display: flex; gap: 1rem; margin-top: 2.5rem;
  }
  .mobile-menu-socials a {
    display: flex; align-items: center; gap: 8px;
    padding: 0.5rem 1rem; border: 1px solid var(--border);
    border-radius: 8px; text-decoration: none; color: var(--text-muted);
    font-size: 0.85rem; transition: all 0.2s;
  }
  .mobile-menu-socials a:hover { border-color: var(--cyan); color: var(--cyan); }

  /* ─── HERO ─── */
  #home {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; text-align: center; padding: 2rem;
  }
  #hero-canvas {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: 0;
    filter: blur(90px); /* Smooth global glassmorphism effect */
    opacity: 0.85;
  }
  .hero-content { position: relative; z-index: 1; max-width: 1000px; }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(123, 47, 255, 0.15);
    border: 1px solid rgba(123, 47, 255, 0.4);
    padding: 6px 16px; border-radius: 999px;
    font-size: 0.8rem; color: #a97fff; margin-bottom: 2rem;
    font-weight: 500; letter-spacing: 0.04em;
  }
  .badge-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--violet);
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
  }
  .hero-title {
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: var(--text);
    letter-spacing: -0.04em;
  }
  .gradient-text {
    background: linear-gradient(90deg, var(--cyan), var(--cyan-dim));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero-sub {
    font-size: 1.1rem; color: var(--text-muted); max-width: 520px;
    margin: 0 auto 2.5rem; line-height: 1.7;
  }
  .hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
  .btn-primary {
    padding: 0.75rem 1.8rem; background: var(--cyan);
    color: var(--navy); font-weight: 700; font-size: 0.95rem;
    border: none; border-radius: 8px; cursor: pointer;
    text-decoration: none; transition: all 0.2s; font-family: 'Outfit', sans-serif;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-primary:hover { background: #33ddff; transform: translateY(-2px); }
  .btn-ghost {
    padding: 0.75rem 1.8rem; background: transparent;
    color: var(--text); font-weight: 600; font-size: 0.95rem;
    border: 1px solid var(--border-hover); border-radius: 8px; cursor: pointer;
    text-decoration: none; transition: all 0.2s; font-family: 'Outfit', sans-serif;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-ghost:hover { background: rgba(0, 212, 255, 0.07); border-color: var(--cyan); }
  .socials-row {
    margin-top: 3rem; display: flex; gap: 1rem; justify-content: center;
  }
  .social-link {
    display: flex; align-items: center; gap: 8px;
    padding: 0.55rem 1.2rem; border: 1px solid var(--border);
    border-radius: 8px; text-decoration: none; color: var(--text-muted);
    font-size: 0.85rem; font-weight: 500; transition: all 0.2s;
    background: rgba(255,255,255,0.03);
  }
  .social-link:hover { border-color: var(--cyan); color: var(--cyan); }
  .social-link svg { width: 18px; height: 18px; }

  /* ─── SECTIONS ─── */
  section { padding: 6rem 2rem; position: relative; z-index: 1; }
  .container { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
  .section-label {
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
    color: var(--cyan); text-transform: uppercase; margin-bottom: 0.75rem;
    display: flex; align-items: center; gap: 8px;
  }
  .section-label::before {
    content: ''; display: block; width: 24px; height: 1px; background: var(--cyan);
  }
  .section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700;
    line-height: 1.2; margin-bottom: 1rem;
  }
  .section-desc { color: var(--text-muted); max-width: 560px; line-height: 1.7; }

  /* ─── ABOUT ─── */
  #about { background: transparent; }
  .about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: stretch;
    margin-top: 3rem;
  }
  .about-terminal {
    background: #080c14;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border-color: var(--border-hover);
    box-shadow: 0 20px 45px rgba(0, 212, 255, 0.08);
  }

  .terminal-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    flex-shrink: 0;
  }
  .terminal-dots {
    display: flex;
    gap: 6px;
  }
  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
  }
  .dot-red { background: #ff5f56; }
  .dot-yellow { background: #ffbd2e; }
  .dot-green { background: #27c93f; }
  .terminal-title {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 500;
  }
  .terminal-body {
    padding: 24px;
    font-size: 0.88rem;
    color: #e2e8f0;
    overflow-x: auto;
    flex-grow: 1;
  }
  .terminal-line {
    margin-bottom: 15px;
    display: flex;
    gap: 8px;
    font-weight: 500;
  }
  .prompt { color: var(--violet); }
  .cmd { color: var(--cyan); }
  .arg { color: #f8fafc; }
  .terminal-output pre {
    margin: 0;
    white-space: pre;
    line-height: 1.6;
  }
  .json-key { color: var(--cyan); }
  .json-val-str { color: #79d799; }
  .json-val-num { color: #ffb86c; }
  .json-val-bool { color: #bb9af2; }
  .stats-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem;
  }
  .stat-box {
    background: var(--slate); border: 1px solid var(--border); border-radius: 12px;
    padding: 1.2rem; text-align: center;
  }
  .stat-number {
    font-size: 1.8rem; font-weight: 700; color: var(--cyan);
    font-family: 'Outfit', sans-serif; display: block;
  }
  .stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
  .about-text p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.8; }
  .about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
  .tag {
    padding: 4px 12px; border-radius: 999px; font-size: 0.8rem;
    background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.2);
    color: var(--cyan);
  }

  /* ─── DIVISI CAROUSEL ─── */
  #divisi { background: transparent; position: relative; overflow: hidden; }
  .carousel-wrapper {
    position: relative; margin-top: 3.5rem; padding: 2rem 0 3.5rem;
    overflow: hidden;
  }
  .carousel-track-outer {
    overflow: visible; width: 100%;
  }
  .carousel-track {
    display: flex; gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: center;
  }
  .divisi-card {
    flex: 0 0 280px; background: var(--slate); border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer; position: relative;
    transform: scale(0.9); opacity: 0.6;
  }
  .divisi-card.active {
    transform: scale(1.05); opacity: 1;
    border-color: var(--border-hover);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.12), 0 0 80px rgba(123, 47, 255, 0.08);
  }
  .divisi-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--violet), var(--cyan));
    opacity: 0; transition: opacity 0.3s;
  }
  .divisi-card.active::before { opacity: 1; }
  .divisi-card .divisi-body::after {
    content: 'Lihat Detail →';
    display: block; margin-top: 0.75rem;
    font-size: 0.75rem; color: var(--cyan);
    font-weight: 600; opacity: 0;
    transition: opacity 0.3s;
  }
  .divisi-card.active .divisi-body::after { opacity: 1; }
  .divisi-img {
    width: 100%; height: 200px; overflow: hidden;
    background: var(--slate2); position: relative;
    display: flex; align-items: center; justify-content: center;
  }
  .divisi-img img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center 25%;
    transition: transform 0.4s;
  }
  .divisi-card.active .divisi-img img { transform: scale(1.05); }
  .divisi-img-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(123,47,255,0.1) 0%, rgba(0,212,255,0.08) 100%);
  }
  .divisi-img-placeholder .dv-emoji { font-size: 2.5rem; }
  .divisi-img-placeholder .dv-hint {
    font-size: 0.72rem; color: var(--text-dim); letter-spacing: 0.05em;
  }
  .divisi-body { padding: 1.3rem; }
  .divisi-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--text);
    letter-spacing: 0.03em;
  }
  .divisi-full {
    font-size: 0.78rem; color: var(--cyan); font-weight: 500; margin-bottom: 0.75rem;
  }
  .divisi-desc { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }
  .ph-badge {
    display: inline-block; margin-top: 0.85rem; font-size: 0.72rem;
    padding: 3px 10px; border-radius: 999px;
    background: rgba(255,255,255,0.05); color: var(--text-dim);
    border: 1px solid rgba(255,255,255,0.07);
  }
  /* Carousel controls */
  .carousel-controls {
    display: flex; align-items: center; justify-content: center;
    gap: 1rem; margin-top: 2.5rem;
  }
  .carousel-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--slate); border: 1px solid var(--border);
    color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; transition: all 0.2s; user-select: none;
  }
  .carousel-btn:hover { background: var(--slate2); border-color: var(--cyan); color: var(--cyan); }
  .carousel-dots { display: flex; gap: 8px; }
  .carousel-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--text-dim); cursor: pointer; transition: all 0.3s;
  }
  .carousel-dot.active {
    background: var(--cyan); width: 24px; border-radius: 4px;
  }

  /* ─── DIVISI PAGE OVERLAY ─── */
  .divisi-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 500;
    background: rgba(255, 255, 255, 0.85); /* Light frosted glass */
    backdrop-filter: blur(24px);
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.35s ease;
  }
  .divisi-overlay.open {
    display: block;
    animation: overlayIn 0.35s ease forwards;
  }
  @keyframes overlayIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .divisi-page {
    max-width: 800px; margin: 0 auto;
    padding: 5rem 2rem 4rem;
  }
  .divisi-page-back {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--text-muted); font-size: 0.88rem; font-weight: 500;
    cursor: pointer; border: none; background: none;
    padding: 0.5rem 0; margin-bottom: 2.5rem;
    transition: color 0.2s;
  }
  .divisi-page-back:hover { color: var(--cyan); }
  .divisi-page-header {
    display: flex; align-items: center; gap: 2rem;
    margin-bottom: 2.5rem;
  }
  .divisi-page-icon {
    width: 96px; height: 96px; border-radius: 20px; flex-shrink: 0;
    background: linear-gradient(135deg, rgba(123,47,255,0.2), rgba(0,212,255,0.15));
    border: 1px solid var(--border-hover);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.8rem;
  }
  .divisi-page-photo {
    width: 280px; height: 190px; border-radius: 12px; flex-shrink: 0;
    overflow: hidden; border: 1px solid var(--border-hover);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }
  .divisi-page-photo img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 25%;
  }
  .divisi-page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem; font-weight: 700; margin-bottom: 0.3rem;
  }
  .divisi-page-subtitle { color: var(--cyan); font-size: 0.95rem; font-weight: 500; }
  .divisi-page-badge {
    display: inline-block; margin-top: 0.6rem;
    font-size: 0.75rem; padding: 3px 12px; border-radius: 999px;
    background: rgba(26,86,219,0.08); color: var(--cyan);
    border: 1px solid rgba(26,86,219,0.2);
  }
  .divisi-page-divider {
    height: 1px; background: var(--border); margin: 2rem 0;
  }
  .divisi-page-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
    color: var(--cyan); text-transform: uppercase;
    margin-bottom: 1rem;
    display: flex; align-items: center; gap: 8px;
  }
  .divisi-page-section-title::before {
    content: ''; display: block; width: 20px; height: 1px; background: var(--cyan);
  }
  .divisi-page-desc {
    color: var(--text-muted); line-height: 1.85; font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  .divisi-page-tasks {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin-bottom: 2rem;
  }
  .divisi-task-item {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 0.9rem 1rem; background: var(--slate);
    border: 1px solid var(--border); border-radius: 10px;
    font-size: 0.85rem; color: var(--text-muted); line-height: 1.5;
  }
  .divisi-task-item::before {
    content: '▸'; color: var(--violet); font-size: 0.8rem; flex-shrink: 0; margin-top: 1px;
  }

  /* ─── MEMBER CAROUSEL (inside divisi page) ─── */
  .member-carousel-wrapper {
    margin-top: 0.5rem;
    padding: 0.5rem 0 1rem;
  }
  .member-carousel-track-outer {
    overflow: hidden;
    width: 100%;
    padding: 1rem 0 1.5rem;
  }
  .member-carousel-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: center;
  }
  .member-card {
    flex: 0 0 220px;
    background: var(--slate);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.85);
    opacity: 0.5;
  }
  .member-card.active {
    transform: scale(1.05);
    opacity: 1;
    border-color: rgba(0, 212, 255, 0.45);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.15), 0 0 80px rgba(123, 47, 255, 0.08);
  }
  .member-photo {
    width: 100%;
    height: 240px;
    background: linear-gradient(180deg, rgba(123,47,255,0.12) 0%, rgba(0,212,255,0.06) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
  }
  .member-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--cyan);
    background: linear-gradient(180deg, rgba(123,47,255,0.18) 0%, rgba(0,212,255,0.08) 100%);
  }
  .member-info {
    background: var(--slate);
    border-top: 1px solid var(--border);
    padding: 1rem 1rem 1.15rem;
  }
  .member-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 0.3rem;
  }
  .member-role {
    font-size: 0.78rem;
    color: var(--cyan);
    font-weight: 500;
  }
  .member-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 0.25rem;
  }
  .member-carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--slate);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s;
    user-select: none;
  }
  .member-carousel-btn:hover {
    background: var(--slate2);
    border-color: var(--cyan);
    color: var(--cyan);
  }
  .member-carousel-dots {
    display: flex;
    gap: 8px;
  }
  .member-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s;
  }
  .member-carousel-dot.active {
    background: var(--cyan);
    width: 22px;
    border-radius: 4px;
  }

  /* Fixed back button visible on mobile at top of overlay */
  .divisi-overlay-topbar {
    display: none;
    position: sticky; top: 0; left: 0; right: 0; z-index: 10;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  @media (max-width: 768px) {
    .divisi-overlay-topbar { display: flex; align-items: center; }
    .divisi-page { padding: 1.5rem 1.2rem 3rem; }
    .divisi-page-back { display: none; } /* Hide inline back on mobile, use topbar instead */
    .divisi-page-tasks { grid-template-columns: 1fr; }
    .divisi-page-header { flex-direction: column; gap: 1rem; }
    .divisi-page-title { font-size: 1.5rem; }
    .member-card { flex: 0 0 185px; }
    .member-photo { height: 200px; }
    .member-photo-placeholder { font-size: 2.2rem; }
  }

  /* ─── EVENTS ─── */
  #events { background: transparent; }

  /* Split Layout: TikTok Style (Adaptive Left, Scrollable Right) */
  .events-layout {
    display: grid;
    grid-template-columns: 320px 1fr; /* Exact phone width for the video */
    gap: 3rem; /* More breathing room */
    margin-top: 3.5rem;
    height: 568px; /* Exact phone height (16:9 ratio) */
  }

  /* Featured (left big) card */
  .event-featured {
    background: var(--slate); border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden; transition: opacity 0.3s ease;
    display: flex; flex-direction: column;
    height: 100%;
    position: relative; /* For overlay text */
  }
  .event-featured:hover { border-color: var(--border-hover); box-shadow: 0 8px 30px rgba(0,212,255,0.06); transform: translateY(-4px); }
  
  .event-featured .event-thumb {
    width: 100%;
    height: 100%;
    position: absolute; /* Take full space */
    inset: 0;
    overflow: hidden;
    background: #000;
  }
  .event-thumb video, .event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }
  
  .event-featured .event-body { 
    padding: 2rem; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; /* Push text to bottom like TikTok */
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
    z-index: 2;
    pointer-events: none; /* Let clicks pass to video if needed */
  }
  .event-featured .event-title { font-size: 1.35rem; margin-bottom: 0.5rem; line-height: 1.3; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
  .event-featured .event-desc { font-size: 0.9rem; line-height: 1.5; color: rgba(255,255,255,0.85); text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
  .event-featured-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(0,212,255,0.2); border: 1px solid rgba(0,212,255,0.4);
    color: #fff; font-size: 0.75rem; font-weight: 600;
    padding: 6px 14px; border-radius: 999px; margin-bottom: 0.75rem;
    letter-spacing: 0.04em; align-self: flex-start;
    backdrop-filter: blur(4px);
  }


  /* Right scrollable column */
  .events-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-hover) transparent;
  }
  .events-sidebar::-webkit-scrollbar { width: 6px; }
  .events-sidebar::-webkit-scrollbar-track { background: rgba(255,255,255,0.02); border-radius: 10px; }
  .events-sidebar::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 10px; }
  .events-sidebar::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

  /* Event card horizontal style */
  .event-card {
    background: var(--slate); border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden; transition: all 0.3s;
    display: flex; flex-direction: row; align-items: stretch;
    flex-shrink: 0; min-height: 110px;
  }
  .event-card:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.03); transform: translateX(-4px); }
  
  .event-card .event-thumb {
    width: 110px; background: var(--slate2);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; flex-shrink: 0;
  }
  .event-thumb-bg { position: absolute; inset: 0; }
  .event-thumb-bg.ev1 { background: linear-gradient(135deg, rgba(123,47,255,0.3) 0%, rgba(0,212,255,0.15) 100%); }
  .event-thumb-bg.ev2 { background: linear-gradient(135deg, rgba(0,212,255,0.2) 0%, rgba(123,47,255,0.2) 100%); }
  .event-thumb-bg.ev3 { background: linear-gradient(135deg, rgba(123,47,255,0.15) 0%, rgba(0,212,255,0.3) 100%); }
  .event-thumb-icon { font-size: 2rem; z-index: 1; }
  
  .event-card .event-body { 
    padding: 1rem 1.25rem; display: flex; flex-direction: column; justify-content: center; flex-grow: 1; 
  }
  .event-meta {
    display: flex; gap: 0.75rem; font-size: 0.72rem;
    color: var(--text-muted); margin-bottom: 0.4rem;
    align-items: center; flex-wrap: wrap;
  }
  .event-status {
    padding: 3px 10px; border-radius: 999px; font-size: 0.7rem; font-weight: 600;
  }
  .upcoming { background: rgba(0,212,255,0.1); color: var(--cyan); border: 1px solid rgba(0,212,255,0.2); }
  .ongoing { background: rgba(123,47,255,0.1); color: #a97fff; border: 1px solid rgba(123,47,255,0.2); }
  .past { background: rgba(255,255,255,0.05); color: var(--text-dim); border: 1px solid rgba(255,255,255,0.08); }
  
  .event-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; font-family: 'Outfit', sans-serif; line-height: 1.4; color: var(--text); }
  .event-desc { 
    font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; 
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; 
  }

  @media (max-width: 1024px) {
    .events-layout { grid-template-columns: 1fr; height: auto; }
    .event-featured { height: 400px; } /* Fixed height for video */
    .event-featured .event-thumb { width: 100%; height: 100%; position: absolute; }
    .event-featured .event-body { width: 100%; padding: 2rem; justify-content: flex-end; }
    .events-sidebar { height: 400px; }
  }

  @media (max-width: 768px) {
    .event-featured { height: 480px; }
    .event-featured .event-thumb { width: 100%; height: 100%; }
    .event-featured .event-body { width: 100%; padding: 1.5rem; }
    
    /* Make events sidebar scroll horizontally */
    .events-sidebar { 
      height: auto; 
      padding-right: 0; 
      padding-bottom: 12px;
      flex-direction: row; 
      overflow-x: auto; 
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
    }
    .events-sidebar::-webkit-scrollbar { height: 6px; width: auto; }
    
    .event-card { 
      flex-direction: column; 
      min-height: auto; 
      width: 280px;
      flex-shrink: 0; 
      scroll-snap-align: start;
    }
    .event-card .event-thumb { width: 100%; height: 140px; }
  }

  /* ─── CONTACT SECTION REDESIGN ─── */
  #contact {
    background: transparent;
    position: relative;
    padding-bottom: 5rem;
  }
  .contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 850px;
    margin: 3.5rem auto 0;
  }
  .contact-card {
    display: flex;
    align-items: center;
    padding: 1.8rem 2.5rem;
    background: linear-gradient(135deg, var(--slate) 0%, var(--navy2) 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
  }
  .contact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(to bottom, var(--cyan), var(--cyan-dim));
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  .contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(26, 86, 219, 0.3);
    box-shadow: 0 15px 35px rgba(26, 86, 219, 0.08);
  }
  .contact-card:hover::before {
    opacity: 1;
  }
  .contact-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(26, 86, 219, 0.05) 0%, rgba(26, 86, 219, 0.15) 100%);
    border: 1px solid rgba(26, 86, 219, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    margin-right: 1.8rem;
    transition: all 0.4s ease;
    flex-shrink: 0;
  }
  .contact-card:hover .contact-card-icon {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dim) 100%);
    color: #fff;
    transform: scale(1.05) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(26, 86, 219, 0.2);
  }
  .contact-card-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .contact-card-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .contact-card-value {
    font-size: 1.15rem;
    color: var(--text);
  }
  .contact-card-value strong {
    font-weight: 600;
    color: var(--cyan);
  }
  .contact-card-sub {
    font-size: 0.95rem;
    color: var(--text-dim);
    font-weight: 400;
    margin-left: 6px;
  }

  @media (max-width: 768px) {
    .contact-card {
      flex-direction: column;
      align-items: flex-start;
      padding: 1.5rem;
    }
    .contact-card-icon {
      margin-right: 0;
      margin-bottom: 1.2rem;
    }
    .contact-card-sub {
      display: block;
      margin-left: 0;
      margin-top: 6px;
      font-size: 0.85rem;
    }
  }
  
  /* Form Grid Layout */
  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
  }
  .col-span-2 {
    grid-column: span 2;
  }
  
  /* Select Dropdowns */
  .form-group select {
    width: 100%;
    background: rgba(10, 14, 26, 0.7);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%238892AA' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
  }
  .form-group select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
    background: rgba(10, 14, 26, 0.9);
  }
  .form-group select option {
    background: #111827;
    color: var(--text);
  }
  
  /* NIM Note Alert */
  .nim-helper-note {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.15);
    color: var(--cyan);
    font-size: 0.8rem;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
  }
  
  @media (max-width: 576px) {
    .form-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
    .col-span-2 {
      grid-column: span 1;
    }
  }

  /* ─── FOOTER ─── */
  footer {
    background: #0B1120;
    padding: 5rem 2rem 2rem;
    position: relative;
    color: #F3F4F6;
  }
  footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 86, 219, 0.4), transparent);
  }
  .footer-inner { max-width: 1100px; margin: 0 auto; }
  .footer-top {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem; margin-bottom: 4rem;
  }
  .footer-brand .nav-logo { color: #fff; }
  .footer-brand p { color: #9CA3AF; font-size: 0.95rem; line-height: 1.7; max-width: 350px; }
  .footer-brand .socials { display: flex; gap: 12px; margin-top: 1.5rem; }
  .footer-brand .socials a {
    width: 40px; height: 40px; border-radius: 10px; display: flex;
    align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    color: #9CA3AF; text-decoration: none; transition: all 0.3s ease;
  }
  .footer-brand .socials a:hover { 
    border-color: var(--cyan); color: #fff; 
    background: var(--cyan);
    transform: translateY(-3px);
  }
  .footer-col h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 1.5rem; color: #fff; letter-spacing: 0.06em; text-transform: uppercase; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
  .footer-col ul a { color: #9CA3AF; text-decoration: none; font-size: 0.95rem; transition: color 0.2s ease; }
  .footer-col ul a:hover { color: var(--cyan); }
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 2rem;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  }
  .footer-copy { font-size: 0.85rem; color: #6B7280; }
  .footer-tagline {
    font-size: 0.85rem; color: #6B7280;
  }
  .footer-tagline span { color: var(--violet); font-weight: 600; }

  /* ─── SCROLL REVEAL ─── */
  .reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
  .reveal.visible { opacity: 1; transform: none; }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 768px) {
    .about-grid, .contact-wrap, .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: flex; }
    .stats-row { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
    .hero-title { font-size: 2rem; }
    footer { padding: 2.5rem 1.5rem 1.5rem; }
    section { padding: 4rem 1.2rem; }
  }
