* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-optical-sizing: auto;
    background: #000;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    visibility: hidden;
}

/* Background */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000 0%, #001a33 50%, #000 100%);
    z-index: -1;
}

.background::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(1, 142, 239, 0.1) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.background::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 71, 153, 0.1) 0%, transparent 70%);
    bottom: 10%;
    right: 10%;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Loading overlay */
.auth-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.auth-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(1, 142, 239, 0.2);
    border-top-color: #018eef;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Navigation */
.navbar {
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.logo span {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.credit-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(1, 142, 239, 0.1);
    border: 1px solid rgba(1, 142, 239, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #018eef;
}

.credit-badge svg {
    width: 18px;
    height: 18px;
}

.plan-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-align: right;
}

.profile-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #004799 0%, #018eef 100%);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.profile-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(1, 142, 239, 0.4);
}

/* Main Container */
.main-container {
    max-width: 740px;
    margin: 0 auto;
    padding: 32px 20px 20px;
}

/* --- WhatsApp Compact Banner --- */
.wa-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    margin-top: 32px;
    background: rgba(37,211,102,0.06);
    border: 1px solid rgba(37,211,102,0.15);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
}
.wa-banner:hover {
    background: rgba(37,211,102,0.1);
    border-color: rgba(37,211,102,0.3);
    transform: translateY(-1px);
}
.wa-banner-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wa-banner-icon i { color: #fff; font-size: 18px; }
.wa-banner-text {
    flex: 1;
    min-width: 0;
}
.wa-banner-text strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    line-height: 1.3;
}
.wa-banner-text span {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    margin-top: 2px;
}
.wa-banner-arrow {
    color: rgba(255,255,255,0.25);
    font-size: 13px;
    flex-shrink: 0;
    transition: transform 0.2s, color 0.2s;
}
.wa-banner:hover .wa-banner-arrow {
    color: #25D366;
    transform: translateX(3px);
}

/* AI Disclaimer */
.ai-disclaimer {
    text-align: center;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    max-width: 480px;
    margin: 20px auto 0;
    line-height: 1.5;
    padding: 0 20px;
}
.ai-disclaimer i {
    margin-right: 3px;
}
.ai-disclaimer a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
}
.ai-disclaimer a:hover {
    color: #018eef;
}

/* Footer */
.footer {
    text-align: center;
    padding: 28px 20px 20px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}
.footer p { margin: 0; }
.footer a {
    color: #018eef;
    text-decoration: none;
    font-weight: 600;
}
.footer-dot {
    display: inline-block;
    width: 3px;
    height: 3px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 6px;
}
.footer .version {
    font-family: monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.2);
    margin-top: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 14px 16px;
    }
    .nav-right { gap: 10px; }
    .credit-badge { padding: 6px 12px; font-size: 12px; }
    .plan-label { display: none; }
    .main-container { padding: 24px 16px 16px; }
}
