:root {
    --hijau-tua: #1A3E2D;
    --cokelat-tua: #5D4037;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 480px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
}

.logo-container {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--hijau-tua), var(--hijau-muda));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -65px auto 20px;
    box-shadow: 0 4px 12px rgba(26, 62, 45, 0.2);
    border: 4px solid white;
    padding: 5px;
    /* Untuk logo yang butuh spacing */
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.link-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 8px;
}

header {
    margin-bottom: 30px;
}

header h1 {
    color: var(--hijau-tua);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

header h2 {
    color: var(--hijau-tua);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

header h1 span {
    color: var(--cokelat-tua);
}

.subtitle {
    color: #666;
    font-size: 16px;
    font-weight: 400;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-btn {
    background: var(--cokelat-tua);
    color: white;
    text-decoration: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    display: block;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.link-btn:hover {
    background: var(--hijau-tua);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

footer {
    text-align: center;
    margin-top: 20px;
    color: #888;
    font-size: 14px;
}

/* Animasi loading */
.redirecting {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 62, 45, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 1000;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}