/* --- GLOBAL RESET & LAYOUT --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #07050d;
    background: radial-gradient(circle at center, #130f22 0%, #07050d 100%);
    color: white;
}

/* Wrapper Utama Pengontrol Layar Penuh */
.wrapper {
    text-align: center;
    width: 100%;
    max-width: 900px;
    height: 100vh;
    height: 100dvh; 
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Menjaga Teks Utama Tetap Tegak di Tengah Layar */
/* PERBAIKAN: Animasi denyut neon dipindah ke sini agar efek gradasi teks tidak rusak di Chrome/Safari */
.main-content {
    margin-top: auto;
    margin-bottom: auto;
    width: 100%;
    animation: neonBreath 4s ease-in-out infinite;
}

/* --- TEKS ATAS (RXVR) --- */
.top-text {
    color: #00ffff;
    font-size: clamp(11px, 1.3vw, 15px); 
    letter-spacing: clamp(4px, 0.5vw, 7px);
    margin-bottom: 15px; 
    font-weight: 700;
}

/* --- JUDUL UTAMA (REXVOIR) --- */
.title {
    font-size: clamp(42px, 8vw, 85px); 
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.0;
    margin: 0;
    word-wrap: break-word;
    
    /* PALET WARNA NEON MOVING GRADIENT */
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ff1493 25%,
        #9370db 50%,
        #ff1493 75%,
        #ffffff 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    /* Hanya menjalankan animasi pergeseran warna di sini */
    animation: gradientMove 7s linear infinite;
}

/* --- TATA LETAK FOOTER ABSOLUT (SAMA PERSIS DENGAN NAVEX) --- */
.footer {
    position: absolute;
    bottom: 25px; 
    left: 50%;
    transform: translateX(-50%); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Parent Brand (Disamakan dengan NAVEX agar tidak terlihat gepeng/kegencet) */
a.parent-brand,
a.parent-brand:link,
a.parent-brand:visited {
    font-size: 16px;                  /* Menggunakan ukuran NAVEX */
    font-weight: 700;                 /* Menggunakan ketebalan NAVEX */
    color: rgba(255, 255, 255, 0.65) !important; 
    text-transform: uppercase;
    line-height: 1.6;
    letter-spacing: 0.65px;           /* PERBAIKAN UTAMA: Jarak huruf rapat proporsional */
    padding-left: 0.65px;
    text-decoration: none !important; 
    transition: color 0.3s ease; 
    display: inline-block;
}
   
/* Legal Brand */
.legal-brand {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65); 
    line-height: 1.6;
    letter-spacing: 0.1px; 
    padding-left: 0.1px;
}

/* --- KEYFRAMES ANIMASI DENYUT & GERAKAN GRADASI --- */
@keyframes neonBreath {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 12px rgba(255, 14, 147, 0.55));
    }
    50% {
        transform: scale(1.02);
        filter: drop-shadow(0 0 28px rgba(255, 14, 147, 0.85)) 
                drop-shadow(0 0 18px rgba(147, 112, 219, 0.65));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 12px rgba(255, 14, 147, 0.55));
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* --- MEDIA QUERIES OPTIMASI HANDPHONE (HANYA BAGIAN INI YANG DIUBAH) --- */
@media (max-width: 480px) {
    .wrapper {
        padding-top: 20px;
        padding-bottom: 20px; 
    }

    .main-content {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin-top: auto !important;
        margin-bottom: auto !important;
        width: 100%;
    }

    .footer {
        position: absolute;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
    }
}
