/* --- RESET & PENGATURAN UMUM --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #0b1736 !important;
    background-image: none !important; /* Mematikan gradasi biru dari style.css */
}

/* Matikan ambient light lama agar tidak menutup gambar */
.ambient-light {
    display: none !important;
}

/* Layer gambar background + efek blur */
body::before {
    content: '';
    position: fixed;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: url('../img/background.png') no-repeat center center !important;
    background-size: cover !important;
    filter: blur(12px) brightness(0.6); /* Efek blur halus dan pencahayaan redup elegan */
    z-index: 0 !important; /* Berada di depan body, tapi di belakang kartu */
    pointer-events: none;
}

/* --- KARTU KACA (GLASS CARD) PUSAT FOKUS --- */
.welcome-container {
    position: relative;
    z-index: 2 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.glass-card {
    position: relative;
    z-index: 2 !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.45);
    border-radius: 28px;
    padding: 48px 42px;
    text-align: center;
    animation: popUpCard 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popUpCard {
    0% { opacity: 0; transform: translateY(30px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.logo {
    width: 100px; 
    max-width: 100%;
    height: auto;
    margin-bottom: 12px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}

.subtitle {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important; /* Nilai 600 untuk Semi-Bold */
    font-size: 13px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-top: 6px !important;
    margin-bottom: 34px !important;
    line-height: 1.4 !important;
}

/* --- DESAIN TOMBOL --- */
.btn-semangat {
    position: relative;
    display: inline-flex; 
    align-items: center;
    padding: 8px 32px 8px 72px; 
    background: #ffffff;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    animation: pulse 2.5s infinite;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35); }
    70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.icon-circle {
    position: absolute;
    left: 8px; 
    width: 48px; 
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: left 0.6s cubic-bezier(0.25, 1, 0.5, 1), background 0.6s ease;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(29, 78, 216, 0.35);
}

.icon-circle svg {
    transition: transform 0.6s ease;
}

.text-wrapper {
    display: grid;
    align-items: center;
    justify-content: center;
}

.btn-text {
    grid-area: 1 / 1; 
    font-size: 15px; 
    font-weight: 600; 
    letter-spacing: 0.5px;
    transition: all 0.5s ease-in-out;
    z-index: 1;
}

.text-awal { 
    color: #1e293b;
    opacity: 1; 
    transform: translateY(0); 
}

.text-akhir { 
    opacity: 0; 
    transform: translateY(15px); 
}

/* Animasi Tombol Sukses */
.btn-semangat.success {
    padding: 8px 72px 8px 32px; 
    animation: none;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.btn-semangat.success .icon-circle {
    left: calc(100% - 56px); 
    background: linear-gradient(135deg, #10b981, #059669); 
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
}

.btn-semangat.success .icon-circle svg {
    transform: rotate(360deg);
}

.btn-semangat.success .text-awal {
    opacity: 0;
    transform: translateY(-15px);
}

.btn-semangat.success .text-akhir {
    opacity: 1;
    transform: translateY(0);
    color: #059669;
}