/* Animasi Utama */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

body {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1600');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    margin: 0;
    overflow: hidden;
}

.portal-container {
    width: 100%;
    max-width: 900px;
    padding: 20px;
    text-align: center;
}

.portal-title {
    color: white;
    margin-bottom: 40px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    animation: fadeInUp 0.8s ease-out; /* Animasi Judul */
}

.portal-title h1 {
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 0;
}

.portal-title p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.card-option {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 24px;
    padding: 45px 25px;
    text-decoration: none;
    color: #333;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out both; /* Animasi Card */
}

/* Efek Muncul Bergantian (Staggered) */
.col-md-5:nth-child(1) .card-option { animation-delay: 0.2s; }
.col-md-5:nth-child(2) .card-option { animation-delay: 0.4s; }

.card-option:hover {
    transform: translateY(-15px);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.icon-box {
    width: 110px;
    height: 110px;
    background: #e8f5e9;
    color: #198754;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    margin: 0 auto 25px;
    transition: all 0.3s;
    animation: floating 3s ease-in-out infinite; /* Animasi Ikon Mengambang */
}

.card-option:hover .icon-box {
    background: #198754;
    color: white;
    transform: scale(1.1);
}

.card-option h3 {
    font-weight: 800;
    margin-bottom: 15px;
    color: #111;
}

.card-option p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .portal-title h1 { font-size: 2.5rem; }
    .row > div { margin-bottom: 20px; }
    body { overflow: auto; padding-top: 50px; }
}