/* --- Nikki Beach | Login & Global Styles --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    /* Tropical Night Party Palette (Updated) */
    --primary: #50C1D5;
    /* Water/Brand - Nikki Blue */
    --accent: #F8A61E;
    /* Sun/Beach - Golden Orange */
    --secondary: #F3C871;
    /* Highlights - Sand Gold */
    --bg-body: #07274A;
    /* Deep Ocean Night - Background */
    --bg-panel: rgba(7, 39, 74, 0.6);
    /* Glass effect on dark blue */
    --text-main: #ffffff;
    --text-muted: #BDEFE7;
    /* Light Foam Blue for muted text */
    --border-glass: rgba(80, 193, 213, 0.2);
    --success: #00d26a;
    /* Keep standard success or use #706B2A (Olive) if preferred */
    --warning: #F8A61E;
    /* Use Accent for Warning */
    --danger: #ff4757;
}



* {
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-body);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 229, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 183, 0, 0.1) 0%, transparent 50%);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

/* --- Login Container --- */
.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
    z-index: 10;
    position: relative;
}

.glass-card {
    background: rgba(18, 25, 38, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

/* Ambient Glow inside card */
.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* --- Logo Area --- */
.logo-area {
    margin-bottom: 24px;
    position: relative;
}

.nikki-logo {
    width: 120px;
    /* Constrained size */
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.4));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* --- Typography --- */
.headline {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: 2px;
    background: linear-gradient(to right, #fff, var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-headline {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 8px 0;
}

.description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 32px 0;
    line-height: 1.5;
}

/* --- Buttons --- */
.action-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.btn {
    border: none;
    border-radius: 14px;
    padding: 14px 24px;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #00b8cc 100%);
    color: #000;
    box-shadow: 0 8px 20px -5px rgba(0, 229, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -8px rgba(0, 229, 255, 0.6);
}

.btn-discord {
    background: #5865F2;
    /* Discord Brand Color */
    color: white;
    box-shadow: 0 8px 20px -5px rgba(88, 101, 242, 0.4);
}

.btn-discord:hover {
    background: #4752c4;
    box-shadow: 0 12px 30px -8px rgba(88, 101, 242, 0.6);
}

.secure-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* --- Custom Alert Box (Shared from Dashboard) --- */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.custom-alert-overlay.active {
    opacity: 1;
    visibility: visible;
}

.custom-alert-box {
    background: rgba(18, 25, 38, 0.95);
    border: 1px solid var(--border-glass);
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.2);
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    max-width: 380px;
    width: 90%;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-alert-overlay.active .custom-alert-box {
    transform: scale(1);
}

.alert-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.alert-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.alert-msg {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* Global Orbs */
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.6;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -50px;
    left: -50px;
    animation: orbFloat 10s infinite alternate;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    right: -100px;
    animation: orbFloat 12s infinite alternate-reverse;
}

@keyframes orbFloat {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(30px, 30px);
    }
}

/* --- Mobile Blocker (Desktop Only Enforcer) --- */
.mobile-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-body);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.mw-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 24px;
    animation: bounce 2s infinite;
}

.mw-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.mw-text {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 400px;
    line-height: 1.6;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

/* Responsive Logic */
@media screen and (max-width: 1024px) {
    .login-container {
        display: none !important;
    }

    .mobile-warning {
        display: flex !important;
    }
}