.header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 32px 28px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.header .sun-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.header h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #f8b500;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.header .subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.intro {
    padding: 24px 28px 0;
    text-align: center;
}

.intro p {
    font-size: 14.5px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 8px;
}

.intro .highlight {
    background: linear-gradient(135deg, #fdf6e3, #fceabb);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 13.5px;
    color: #1a1a2e;
    line-height: 1.7;
    margin-top: 12px;
}

.intro .highlight strong {
    color: #0f3460;
}

.payment-note {
    background: linear-gradient(135deg, #fff8e7, #fef3c7);
    border: 1.5px solid #f8b500;
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 12px;
    font-size: 13.5px;
    color: #5a4a1a;
    line-height: 1.7;
}

.payment-note strong {
    color: #1a1a2e;
}

.footer {
    text-align: center;
    padding: 0 28px 20px;
    font-size: 11.5px;
    color: #aaa;
    line-height: 1.6;
}

.footer a {
    color: #888;
    text-decoration: none;
}

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

/* Modal / Popup */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

.overlay.show {
    display: flex;
}

.modal {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 28px 28px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal .check-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 32px;
    color: #fff;
}

.modal h2 {
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.modal p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal .btn-close {
    background: #1a1a2e;
    color: #fff;
    padding: 11px 32px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.modal .btn-close:hover {
    background: #2d2d4e;
}

@media (max-width: 480px) {
    .container {
        border-radius: 16px;
    }
    .header {
        padding: 24px 20px 22px;
    }
    .header h1 {
        font-size: 22px;
    }
    .form-section,
    .intro {
        padding-left: 18px;
        padding-right: 18px;
    }
    .buttons {
        flex-direction: column;
    }
}

.lang-toggle {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    transition: background 0.2s;
    z-index: 2;
}
.lang-toggle:hover {
    background: rgba(255,255,255,0.25);
}