/* ==========================================================================
   RESET TOTAL & SETTING LAYOUT (TEMA CYBER-MYSTICAL)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at center, #1a102f 0%, #0b0617 100%); 
    color: #e0d5ff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    display: block;
    position: relative;
}

/* ==========================================================================
   BACKGROUND VIDEO SETTING
   ========================================================================== */
.video-bg {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    object-fit: cover;
    opacity: 0.25;
    pointer-events: none;
}

/* ==========================================================================
   KOP SURAT (NEON GLOW EFFECT)
   ========================================================================== */
.kop-surat {
    width: 100%;
    background: rgba(11, 6, 23, 0.7);
    backdrop-filter: blur(10px);
    padding: 25px 20px;
    text-align: center;
    border-bottom: 2px solid #00f2fe;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.2);
    display: block;
}

.kop-surat .instansi {
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: 600;
    color: #00f2fe;
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}

.kop-surat .nama-kelompok {
    font-family: 'Cinzel Decorative', serif;
    font-size: 36px;
    font-weight: bold;
    margin: 6px 0;
    letter-spacing: 6px;
    background: linear-gradient(to right, #00f2fe, #4facfe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.kop-surat .sub-kop {
    font-family: 'Metamorphous', serif;
    font-size: 12px;
    font-style: italic;
    color: #ff8c00;
    text-shadow: 0 0 8px rgba(255, 140, 0, 0.5);
}

/* ==========================================================================
   NAVBAR BACKDROP BLUR
   ========================================================================== */
.navbar {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 25px;
    background-color: rgba(11, 6, 23, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 242, 254, 0.2);
    position: relative;
    height: 50px;
    z-index: 10000 !important; 
}

.menu-toggle {
    display: block;
    cursor: pointer;
    z-index: 10002 !important;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #00f2fe;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.8);
    transition: all 0.3s ease-in-out;
}

.nav-links {
    position: absolute;
    top: 50px;
    right: -100%;
    background-color: #110a24;
    width: 160px;
    border: 2px solid #00f2fe;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
    border-radius: 8px;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    list-style: none;
    transition: all 0.3s ease-in-out;
    z-index: 10001 !important;
}

.nav-links.active {
    right: 25px;
}

.nav-links li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #e0d5ff;
    font-weight: bold;
    text-align: center;
    transition: 0.2s;
}

.nav-links li a:hover,
.nav-links li a.active {
    background: linear-gradient(to right, #00f2fe, #4facfe);
    color: #0b0617;
}

/* ==========================================================================
   FRAME VIDEO HOME (DIPERBAIKI STRUKTUR FLEX AGAR TEGAK LURUS DI TENGAH)
   ========================================================================== */
.home-hero-container {
    position: relative;
    width: 100%;
    min-height: 75vh;
    margin-top: 0px;
    padding: 40px 20px;
    overflow: hidden;
    background: transparent;
    display: flex;         /* Mengaktifkan sistem layout flexbox */
    align-items: center;   /* Mengunci konten tepat di tengah secara vertikal */
    justify-content: center;/* Mengunci konten tepat di tengah secara horizontal */
}

.home-hero-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 6, 23, 0.55);
    z-index: 2;
}

.home-frame-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Kontainer pembungkus logo dan judul agar menumpuk rapi ke bawah */
.home-hero-content {
    position: relative;
    z-index: 5;            /* Menaikkan konten ke atas lapisan hitam video */
    display: flex;
    flex-direction: column;/* Menyusun logo di atas, judul di bawah */
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home-logo-wrapper {
    position: relative;
    margin: 0 auto;
}

.home-circular-logo {
    width: 320px;
    max-width: 75%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.home-main-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 8px;
    margin-top: 25px;
    margin-bottom: 0px;
    text-transform: uppercase;
    display: inline-block;
    
    /* Efek transisi pantul yang halus saat disentuh */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.6),
                 0 0 20px rgba(0, 242, 254, 0.4);
                 
    animation: neonPulse 3s ease-in-out infinite alternate;
}

/* Efek Interaktif Hover Pop-Up */
.home-main-title:hover {
    transform: translateY(-12px) scale(1.04);
    cursor: pointer;
    text-shadow: 0 0 20px rgba(0, 242, 254, 1),
                 0 0 40px rgba(0, 242, 254, 0.8),
                 0 0 60px rgba(0, 122, 255, 0.6);
}

@keyframes neonPulse {
    from {
        text-shadow: 0 0 8px rgba(0, 242, 254, 0.6), 
                     0 0 15px rgba(0, 242, 254, 0.4);
    }
    to {
        text-shadow: 0 0 15px rgba(0, 242, 254, 0.9), 
                     0 0 30px rgba(0, 242, 254, 0.6),
                     0 0 40px rgba(0, 122, 255, 0.4);
    }
}

/* ==========================================================================
   INFO SECTION
   ========================================================================== */
.home-info-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 25px;
    text-align: center;
}

.home-description {
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 18px;
    color: #ffffff;
}

.team-section {
    margin-top: 50px;
}

.team-title {
    color: #00f2fe;
    margin-bottom: 20px;
    font-size: 28px;
}

.team-list {
    line-height: 2;
    font-size: 18px;
    color: #ffffff;
}

.home-btn-wrapper {
    margin-top: 40px;
}

.home-btn-start {
    display: inline-block;
    padding: 15px 40px;
    color: #8ff7ff;
    border: 2px solid #ff8c00;
    border-radius: 50px;
    background: rgba(255, 140, 0, .08);
    box-shadow: 0 0 10px #ff8c00, 0 0 20px #ff8c00, inset 0 0 15px rgba(255, 140, 0, .3);
    text-shadow: 0 0 10px #00f2fe;
    font-family: 'Cinzel Decorative', serif;
    text-decoration: none;
    transition: all 0.3s ease;
}

.home-btn-start:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #ff8c00, 0 0 40px #ff8c00;
}
