:root {
    /* Warna Hijau Ceria */
    --primary-color: #4ade80;
    /* Green 400 */
    --secondary-color: #a3e635;
    /* Lime 400 */
    --bg-overlay: rgba(20, 83, 45, 0.85);
    /* Dark green overlay */
    --card-bg: rgba(255, 255, 255, 0.95);
    /* Light card */
    --text-color: #052e16;
    /* Dark green text */
    --text-secondary: #166534;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    /* Gambar latar belakang pendidikan */
    background: url('tia.jpg') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Overlay agar teks tetap terbaca di atas gambar */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 101, 52, 0.6);
    /* Hijau transparan */
    z-index: -1;
}

.container {
    text-align: center;
    perspective: 1000px;
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: fadeIn 1s ease-out;
}

h1 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    /* Gradient hijau cerah */
    background: linear-gradient(to right, #15803d, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 500;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.glow-on-hover {
    width: 100%;
    max-width: 300px;
    height: 50px;
    border: none;
    outline: none;
    color: #fff;
    /* Warna tombol dasar hijau */
    background: #16a34a;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, background 0.3s;
    overflow: hidden;
}

/* Efek glow dimodifikasi ke nuansa hijau/kuning/biru cerah */
.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #84cc16, #22c55e, #10b981, #06b6d4, #84cc16, #22c55e);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: #f0fdf4;
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #15803d;
    /* Hijau lebih gelap saat normal */
    left: 0;
    top: 0;
    border-radius: 10px;
    transition: background 0.3s;
}

.glow-on-hover:hover:after {
    background: #16a34a;
}

.glow-on-hover:active {
    transform: scale(0.98);
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}