/* ZenixGrief Web Captcha - Clean Human Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #e2e8f0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    -webkit-font-smoothing: antialiased;
}

.page-container {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.5px;
    user-select: none;
}

.logo-zenix {
    color: #ffffff;
}

.logo-grief {
    color: #ff7a00;
}

.server-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #111215;
    border: 1px solid #22242b;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

.server-badge .dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

/* Card */
.card {
    background: #111215;
    border: 1px solid #22242b;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

/* User block */
.user-block {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid #1e2027;
}

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #1e2027;
    image-rendering: pixelated;
    border: 1px solid #2a2d38;
}

.user-meta {
    display: flex;
    flex-direction: column;
}

.subtext {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nickname {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-top: 2px;
}

.instruction {
    font-size: 14px;
    color: #94a3b8;
    margin: 18px 0;
    line-height: 1.5;
}

/* Captcha Checkbox Box (Cloudflare / hCaptcha style) */
.captcha-box {
    background: #17181d;
    border: 1px solid #282a33;
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
    user-select: none;
}

.captcha-box:hover {
    border-color: #383b47;
    background: #1a1c22;
}

.captcha-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.check-box {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 2px solid #474b5c;
    background: #0d0e12;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    position: relative;
}

.check-box:hover {
    border-color: #ff7a00;
}

.check-mark {
    width: 18px;
    height: 18px;
    display: none;
}

.spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid #ff7a00;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.captcha-label {
    font-size: 15px;
    font-weight: 600;
    color: #f1f5f9;
}

.captcha-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.shield-icon {
    width: 24px;
    height: 24px;
}

.captcha-brand {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Captcha States */
.captcha-box.loading .check-box {
    border-color: #ff7a00;
}
.captcha-box.loading .spinner {
    display: block;
}

.captcha-box.verified {
    border-color: #22c55e;
    background: #121915;
    cursor: default;
}
.captcha-box.verified .check-box {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.15);
}
.captcha-box.verified .check-mark {
    display: block;
}

/* Success Banner */
.success-banner {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
    padding: 16px;
    border-radius: 10px;
    background: #0f1d15;
    border: 1px solid #1e3d29;
}

.success-title {
    font-size: 15px;
    font-weight: 700;
    color: #4ade80;
}

.success-desc {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.4;
}

.countdown {
    color: #4ade80;
    font-weight: 700;
}

.redirect-btn {
    display: inline-block;
    margin-top: 6px;
    align-self: flex-start;
    padding: 8px 14px;
    background: #ff7a00;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.redirect-btn:hover {
    background: #e66e00;
}

/* Error Banner */
.error-banner {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #241315;
    border: 1px solid #4a2125;
    color: #f87171;
    font-size: 13px;
}

.card-footer {
    margin-top: 18px;
    font-size: 12px;
    color: #64748b;
    text-align: center;
}

/* Footer */
.footer {
    text-align: center;
    font-size: 12px;
    color: #475569;
}
