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

    :root {
        --primary: #ffffff;
        --dark: #000000;
        --accent: #0a0a0a;
        --border: #1a1a1a;
        --text-primary: #ffffff;
        --text-secondary: #b0b0b0;
        --success: #4ade80;
    }

    html,
    body {
        width: 100%;
        height: 100%;
    }

    body {
        font-family: 'IBM Plex Sans', sans-serif;
        background: var(--dark);
        color: var(--text-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        position: relative;
        overflow-x: hidden;
    }

    body::before {
        content: '';
        position: fixed;
        inset: 0;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
            linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.01) 50%, transparent 100%);
        pointer-events: none;
        z-index: 1;
    }

    body::after {
        content: '';
        position: fixed;
        inset: 0;
        background-image:
            repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15) 1px, transparent 1px, transparent 2px);
        pointer-events: none;
        z-index: 1;
        opacity: 0.3;
        animation: scanlines 8s linear infinite;
    }

    @keyframes scanlines {
        0% {
            transform: translateY(0);
        }

        100% {
            transform: translateY(10px);
        }
    }

    .login-container {
        position: relative;
        z-index: 10;
        width: 100%;
        max-width: 480px;
        animation: slideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .card {
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid var(--border);
        border-radius: 6px;
        padding: 48px 40px;
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(20px);
    }

    .card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.02), transparent);
        animation: shimmer 3s infinite;
        pointer-events: none;
    }

    @keyframes shimmer {
        to {
            left: 100%;
        }
    }

    .header {
        text-align: center;
        margin-bottom: 40px;
        animation: slideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
    }

    .brand {
        font-family: 'Space Mono', monospace;
        font-weight: 700;
        font-size: 28px;
        letter-spacing: 2px;
        margin-bottom: 12px;
        color: var(--primary);
    }

    .tagline {
        font-size: 12px;
        color: var(--text-secondary);
        letter-spacing: 1px;
        text-transform: uppercase;
        font-family: 'Space Mono', monospace;
    }

    h1 {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 16px;
        letter-spacing: -0.5px;
        color: var(--primary);
    }

    .subtitle {
        font-size: 14px;
        color: var(--text-secondary);
        line-height: 1.7;
        margin-bottom: 40px;
        letter-spacing: 0.3px;
    }

    .captcha-wrapper {
        margin-bottom: 32px;
        padding: 16px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid var(--border);
        border-radius: 4px;
        animation: slideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
    }

    .h-captcha {
        display: flex;
        justify-content: center;
    }

    .button-container {
        display: flex;
        justify-content: center;
        margin-bottom: 40px;
        animation: slideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
    }

    .discord-btn {
        position: relative;
        width: 56px;
        height: 56px;
        border: none;
        border-radius: 4px;
        background: var(--primary);
        color: var(--dark);
        cursor: pointer;
        font-weight: 700;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        transition: width 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
        box-shadow: 0 8px 24px rgba(154, 130, 181, 0.2);
        font-family: 'IBM Plex Sans', sans-serif;
        letter-spacing: 0.5px;
    }

    .discord-btn:not(.disabled) {
        width: 100%;
        max-width: 320px;
        transition: width 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.45s, filter 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    }

    .discord-btn:not(.disabled):hover {
        filter: brightness(1.06);
        box-shadow: 0 12px 32px rgba(154, 130, 181, 0.3);
        transform: translateY(-1px);
    }

    .discord-btn:not(.disabled):active {
        transform: translateY(0);
    }

    .discord-btn.disabled {
        opacity: 0.6;
        cursor: not-allowed;
        pointer-events: none;
    }

    .btn-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-icon svg {
        width: 24px;
        height: 24px;
    }

    .btn-text {
        max-width: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateX(-6px);
        white-space: nowrap;
        transition: max-width 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, transform 0.35s ease;
    }

    .discord-btn:not(.disabled) .btn-text {
        max-width: 220px;
        opacity: 1;
        transform: translateX(0);
        margin-left: 8px;
        transition-delay: 0.55s;
    }

    .info-section {
        border-top: 1px solid var(--border);
        padding-top: 32px;
        animation: slideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
    }

    .step-item {
        display: flex;
        gap: 14px;
        margin-bottom: 18px;
        align-items: flex-start;
    }

    .step-number {
        width: 28px;
        height: 28px;
        min-width: 28px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--border);
        border-radius: 3px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 700;
        font-family: 'Space Mono', monospace;
        color: var(--text-secondary);
        margin-top: 2px;
    }

    .step-text {
        font-size: 13px;
        color: var(--text-secondary);
        line-height: 1.6;
        letter-spacing: 0.2px;
    }

    .footer-section {
        margin-top: 40px;
        text-align: center;
        padding-top: 32px;
        border-top: 1px solid var(--border);
        animation: slideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
    }

    .status-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        background: rgba(74, 222, 128, 0.1);
        border: 1px solid rgba(74, 222, 128, 0.2);
        border-radius: 3px;
        font-size: 12px;
        color: var(--success);
        margin-bottom: 24px;
        font-weight: 600;
        letter-spacing: 0.3px;
    }

    .status-dot {
        width: 6px;
        height: 6px;
        background: var(--success);
        border-radius: 50%;
        animation: pulse 1.5s ease-in-out infinite;
    }

    @keyframes pulse {
        0%,
        100% {
            opacity: 1;
            transform: scale(1);
        }
        50% {
            opacity: 0.5;
            transform: scale(0.8);
        }
    }

    .footer-text {
        font-size: 13px;
        color: var(--text-secondary);
        margin-bottom: 12px;
        letter-spacing: 0.2px;
    }

    .footer-link {
        color: var(--primary);
        text-decoration: none;
        transition: opacity 0.3s ease;
        border-bottom: 1px solid var(--primary);
        padding-bottom: 1px;
        font-weight: 600;
    }

    .footer-link:hover {
        opacity: 0.8;
    }

    .terms-text {
        display: block;
        margin-top: 20px;
        font-size: 11px;
        color: var(--text-secondary);
        letter-spacing: 0.3px;
        font-family: 'Space Mono', monospace;
    }

    .terms-link {
        color: var(--primary);
        text-decoration: none;
        transition: opacity 0.3s ease;
    }

    .terms-link:hover {
        opacity: 0.8;
    }

    .alert {
        padding: 14px 16px;
        border-radius: 4px;
        margin-bottom: 24px;
        font-size: 13px;
        border-left: 3px solid;
        letter-spacing: 0.2px;
        display: none;
        animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .alert.show {
        display: block;
    }

    .alert-error {
        background: rgba(255, 255, 255, 0.05);
        border-left-color: var(--primary);
        color: var(--primary);
    }

    @media (max-width: 600px) {
        .card {
            padding: 32px 24px;
        }

        h1 {
            font-size: 26px;
        }
    }

/* Purple theme overrides */
:root { --primary:#b59dca; --dark:#15121a; --accent:#21182b; --border:#3a3045; --text-secondary:#b7afbd; --success:#9cbe9c; }
body { background:var(--dark); }
.card { background:rgba(33,24,43,.86); border-color:var(--border); border-radius:10px; padding:40px 36px; }
.captcha-wrapper { background:rgba(181,157,202,.06); border-color:var(--border); }

