/* Import Font Modern */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&display=swap');

/* Reset dan Pengaturan Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sora', sans-serif;
    background-color: #2c2522; /* Coklat gelap sebagai dasar */
    background-image: radial-gradient(circle at 50% 0%, rgba(85, 70, 64, 0.5) 0%, transparent 60%);
    color: #e0e0e0;
    line-height: 1.7;
    overflow-x: hidden; /* Mencegah scroll horizontal */
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 25px;
}

/* Animasi Elemen Masuk */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out both;
}

.logo {
    width: 110px;
    height: auto;
    margin-bottom: 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
    transform: scale(1.1) rotate(-8deg);
}

.welcome-text {
    font-size: 1.1em;
    color: #a0958f;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

header h1 {
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(45deg, #ffd700, #ffb300);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.tanggal {
    font-size: 1.1em;
    color: #b0a59f;
    margin-top: 5px;
}

/* Tombol Pendaftaran */
.pendaftaran-wrapper {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.btn-pendaftaran {
    background-image: linear-gradient(45deg, #ffc107 0%, #ff9800 100%);
    color: #332924;
    padding: 16px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1em;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.25);
    border: none;
}

.btn-pendaftaran:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.35);
}

/* Bagian Konten (Efek Kaca Buram / Glassmorphism) */
section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* Untuk Safari */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.4s both;
}

section h2 {
    font-size: 1.6em;
    color: #ffc107;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Kotak Pengumuman */
.kotak-pengumuman {
    background: rgba(0, 0, 0, 0.15);
    padding: 20px;
    border-radius: 12px;
    font-size: 1.05em;
    border-left: 3px solid #ffc107;
}

/* Tombol Bantuan WhatsApp (Floating) */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(255, 193, 7, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

.btn-bantuan {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #ffc107;
    color: #2c2522;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
    animation: pulse 2.5s infinite;
}

.btn-bantuan:hover {
    transform: scale(1.15);
    animation-play-state: paused; /* Hentikan animasi pulse saat di-hover */
}

/* Aturan untuk Perangkat Mobile (Responsive) */
@media (max-width: 600px) {
    body {
        background-image: radial-gradient(circle at 50% 0%, rgba(85, 70, 64, 0.5) 0%, transparent 80%);
    }
    
    header h1 {
        font-size: 1.8em;
    }

    .welcome-text {
        font-size: 1em;
    }

    .tanggal {
        font-size: 1em;
    }

    .btn-pendaftaran {
        font-size: 1em;
        padding: 14px 28px;
    }

    section {
        padding: 20px;
    }

    section h2 {
        font-size: 1.4em;
    }
}