* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: radial-gradient(circle at top center, #380b18 0%, #16050d 45%, #070206 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    overflow-x: hidden;
    position: relative;
}

#christmas-fx-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

.ambient-light-top {
    position: fixed;
    width: 550px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.14) 0%, rgba(220, 20, 60, 0.08) 45%, transparent 70%);
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
}

.ambient-light-bottom {
    position: fixed;
    width: 500px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 680px;
    background: rgba(24, 9, 17, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 22px;
    padding: 32px 26px;
    text-align: center;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.85),
        0 0 35px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff2a55, #ffd700, #10b981, #ffd700, #ff2a55, transparent);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.logo-wrapper {
    margin-bottom: 22px;
}

.logo-wrapper a {
    display: inline-block;
    cursor: pointer;
}

.logo-wrapper img {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.45));
    transition: transform 0.35s ease, filter 0.35s ease;
}

.logo-wrapper a:hover img {
    transform: scale(1.07);
    filter: drop-shadow(0 0 18px rgba(255, 215, 0, 0.85)) drop-shadow(0 0 28px rgba(255, 50, 100, 0.6));
}

.banner-wrapper {
    margin: 12px auto 28px;
    position: relative;
    display: inline-block;
    border-radius: 16px;
    animation: floatSway 4.2s ease-in-out infinite, glowPulse 2.8s ease-in-out infinite alternate;
    transition: transform 0.3s ease;
}

.banner-wrapper a {
    display: block;
    border-radius: 16px;
    cursor: pointer;
}

.banner-wrapper img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 16px;
    display: block;
    border: 2px solid rgba(255, 215, 0, 0.75);
    transition: filter 0.3s ease, border-color 0.3s ease;
}

.banner-wrapper:hover img {
    border-color: #ffffff;
    filter: brightness(1.08) drop-shadow(0 0 25px rgba(0, 229, 255, 0.6));
}

@keyframes floatSway {
    0%   { transform: translateY(0px) rotate(0deg); }
    25%  { transform: translateY(-7px) rotate(0.9deg); }
    50%  { transform: translateY(0px) rotate(0deg); }
    75%  { transform: translateY(-7px) rotate(-0.9deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 16px rgba(255, 215, 0, 0.45), 0 0 32px rgba(220, 20, 60, 0.3);
    }
    100% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.9), 0 0 55px rgba(255, 60, 90, 0.55);
    }
}

.badge-title {
    display: inline-block;
    background: linear-gradient(90deg, #b8860b, #ffd700, #fff099, #ffd700, #b8860b);
    background-size: 200% auto;
    color: #1f060c;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    padding: 7px 20px;
    border-radius: 50px;
    margin-bottom: 14px;
    text-transform: uppercase;
    box-shadow: 0 4px 18px rgba(255, 215, 0, 0.35);
    animation: badgeShimmer 3s linear infinite;
}

@keyframes badgeShimmer {
    to { background-position: 200% center; }
}

h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 14px;
    background: linear-gradient(to right, #ffffff, #ffd700, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.description {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #eae0e4;
    margin-bottom: 28px;
    padding: 0 10px;
}

.highlight {
    color: #ffd700;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.cta-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.btn-daftar {
    background: linear-gradient(135deg, #ffe033 0%, #ff9500 100%);
    color: #1c0800;
    box-shadow: 0 6px 20px rgba(255, 180, 0, 0.45);
}

.btn-daftar:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.8), 0 0 20px rgba(0, 255, 200, 0.45);
}

.btn-login {
    background: linear-gradient(135deg, #e11d48 0%, #881337 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.45);
}

.btn-login:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(225, 29, 72, 0.8), 0 0 20px rgba(255, 215, 0, 0.5);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    animation: shine 3.5s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

.footer {
    font-size: 0.82rem;
    color: #9e8c93;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
}

.alert-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    padding: 20px;
}

.alert-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.alert-box {
    background: linear-gradient(145deg, #2a0a16, #14040a);
    border: 2px solid #ffd700;
    border-radius: 18px;
    padding: 28px 32px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.45), 0 15px 40px rgba(0, 0, 0, 0.9);
    transform: scale(0.85);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.alert-overlay.show .alert-box {
    transform: scale(1);
}

.alert-text {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffd700;
    text-shadow: 0 0 14px rgba(255, 215, 0, 0.6);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.alert-close-btn {
    background: linear-gradient(135deg, #ffd700, #ff9500);
    color: #1c0800;
    border: none;
    padding: 10px 28px;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 180, 0, 0.4);
    transition: transform 0.2s ease;
}

.alert-close-btn:hover {
    transform: scale(1.06);
}

@media (max-width: 520px) {
    .container {
        padding: 24px 16px;
    }
    h1 {
        font-size: 1.42rem;
    }
    .cta-group {
        grid-template-columns: 1fr;
    }
}