/* Lokasi fail: css/index.css
 * Gaya khusus laman utama (index.php) - dipindahkan drpd <style> inline
 * supaya index.php lebih kemas (arahan eksplisit pengguna 2026-09-06).
 * Guna token gaya-awam.css (bukan palet/animasi lama) - 1 lajur,
 * atas-ke-bawah, fokus mobile.
 */
body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }

.main-container { padding: 12px; max-width: 720px; margin: 0 auto; }

.hero-header {
    background: var(--primary-gradient);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    margin-bottom: 14px;
    text-align: center;
    box-shadow: var(--shadow-purple);
}
.hero-header .awam-h1 { color: #fff; }
.hero-header .awam-subtajuk { color: rgba(255,255,255,0.9); margin-bottom: 0; }

.header-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.main-card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    background: var(--bg-primary);
}

.card-body-custom { padding: 18px 16px; }

.announcement-section { margin-top: 24px; }
.announcement-section-tajuk {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.footer-custom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.footer-custom a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.footer-custom a:hover { text-decoration: underline; }

.footer-custom .footer-baris {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 14px;
}

.footer-custom .footer-kredit { color: var(--text-muted); font-size: 12px; }
.footer-custom .footer-kredit a { color: var(--text-muted); font-size: 12px; font-weight: 400; }

@media (min-width: 576px) {
    .footer-custom .footer-baris { justify-content: space-between; }
}

@media (min-width: 768px) {
    .main-container { padding: 24px; }
    .card-body-custom { padding: 32px 30px; }
}

/* Modal "Semak Pendaftaran" (footer) */
.modal-header-semak { background-color: #2d2e45; }
.btn-semak-pendaftaran { background-color: #2d2e45; color: #fff; }
