:root {
    --primary: #8e2113;
    --accent: #d4af37;
    --bg: #f8f9fa;
    --card-bg: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

main {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    text-transform: uppercase;
}

.hero-section {
    width: 100%;
    height: 350px;
    position: relative;
    background: #222;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: grayscale(30%);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--bg), transparent);
    height: 150px;
}

.main-content {
    max-width: 800px;
    margin: -100px auto 50px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.header-box {
    text-align: center;
    margin-bottom: 40px;
}

.header-logo {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.header-box h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    letter-spacing: 2px;
    margin: 0;
    color: var(--primary);
}

.header-box .divider {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto;
    border-radius: 2px;
}

.header-box p {
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 1px;
}

.section-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin: 30px 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eee;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.input-style {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background: #f9f9f9;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s;
    box-sizing: border-box;
    text-transform: uppercase;
}

.input-style::placeholder {
    text-transform: uppercase;
}

.input-style:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(142, 33, 19, 0.1);
}

.radio-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.radio-card {
    position: relative;
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.radio-label {
    display: block;
    padding: 10px;
    text-align: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 0.5px;
}

.radio-card input:checked+.radio-label {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.bible-verse {
    background: #fffdf5;
    border: 1px solid #fef08a;
    border-left: 5px solid var(--accent);
    padding: 20px;
    margin: 35px 0 25px;
    border-radius: 0 12px 12px 0;
    text-align: center;
    text-transform: none;
}

.bible-verse p {
    margin: 0;
    font-size: 14px;
    color: #475569;
    font-style: italic;
    line-height: 1.6;
    font-weight: 500;
}

.bible-verse strong {
    display: block;
    margin-top: 10px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    font-style: normal;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(142, 33, 19, 0.3);
    letter-spacing: 1.5px;
}

.btn-submit:hover {
    background: #701a0f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(142, 33, 19, 0.4);
}

.security-notice {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 25px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 12px;
    line-height: 1.6;
    text-transform: none;
}

.security-notice svg {
    width: 20px;
    height: 20px;
    fill: #16a34a;
    flex-shrink: 0;
    margin-top: 2px;
}

.captcha-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.captcha-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 12px;
}

.captcha-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.captcha-timer {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.captcha-timer.safe {
    background: #f0fdf4;
    color: #16a34a;
}

.captcha-timer.warning {
    background: #fffbeb;
    color: #d97706;
}

.captcha-timer.danger {
    background: #fef2f2;
    color: #ef4444;
}

.captcha-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* CSS Input CAPTCHA Hapus Uppercase */
.captcha-input {
    width: 150px !important;
    font-size: 20px !important;
    text-align: center;
    font-weight: 700;
    height: 55px;
    border: 2px solid #e2e8f0;
    letter-spacing: 2px;
    text-transform: none;
}

.captcha-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.captcha-actions {
    display: flex;
    gap: 10px;
}

.btn-refresh-captcha {
    width: 55px;
    height: 55px;
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-refresh-captcha:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: rotate(180deg);
}

/* Tombol Bantuan CAPTCHA */
.btn-help-captcha {
    width: 55px;
    height: 55px;
    background: #fefce8;
    color: var(--accent);
    border: 1px solid #fef08a;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-help-captcha:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: scale(1.05);
}

/* Panduan CAPTCHA */
.captcha-guide {
    display: none;
    background: #fffbeb;
    border: 1px dashed #fcd34d;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    font-size: 12px;
    color: #92400e;
    text-transform: none;
    line-height: 1.6;
    animation: fadeIn 0.3s ease-in-out;
}

.captcha-guide ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.captcha-guide li {
    margin-bottom: 5px;
}

.captcha-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #f1f5f9;
}

.captcha-progress-bar {
    height: 100%;
    background: #16a34a;
    width: 100%;
    transition: width 1s linear, background-color 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        height: 250px;
    }

    .glass-card {
        padding: 25px;
    }

    .header-box h1 {
        font-size: 22px;
    }

    .header-logo {
        width: 80px;
    }

    .bible-verse p {
        font-size: 13px;
    }

    .security-notice {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .captcha-body {
        gap: 10px;
        flex-direction: column;
    }

    .captcha-input {
        width: 100% !important;
        flex: 1;
    }

    .captcha-actions {
        width: 100%;
        display: flex;
        gap: 10px;
    }

    .btn-refresh-captcha,
    .btn-help-captcha {
        flex: 1;
    }
}