/* 
 * Liquid Glass Design System
 * Focus: Glassmorphism, Blur effects, Curved borders, High contrast.
 * No Purple/Violet allowed.
 */

:root {
    --bg-dark: #0a0e14;
    --card-glass: rgba(255, 255, 255, 0.08);
    --card-glass-light: rgba(255, 255, 255, 0.6);
    --accent-blue: #007aff;
    --accent-green: #34c759;
    --accent-red: #ff3b30;
    --text-primary: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --glass-blur: blur(12px) saturate(180%);
    --glass-border: rgba(255, 255, 255, 0.1);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #000;
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: -5%; left: -5%; width: 110%; height: 110%;
    background-image: url('../images/sys-bg.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.4) saturate(120%);
    z-index: -2;
    pointer-events: none;
}

/* Glass Card */
.glass-container {
    background: var(--card-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

/* Form Elements */
input, textarea, select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 18px;
    color: white;
    font-size: 1rem;
    width: 100%;
    outline: none;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.1);
}

button {
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.1s active;
}

button:hover {
    opacity: 0.9;
}

button.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Admin Dashboard Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Projection Dark Mode */
.projection-screen {
    background: #000;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.projection-card {
    width: 80%;
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;
    background: rgba(255, 255, 255, 0.05);
    padding: 4rem;
    border-radius: 40px;
    backdrop-filter: blur(20px);
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    :root {
        --radius: 16px;
    }

    .container {
        padding: 1rem;
        width: 100%;
    }

    .glass-container {
        padding: 1.5rem;
        border-radius: var(--radius);
    }

    h1 { font-size: 1.8rem !important; }
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1.2rem !important; }

    /* Fixed Header Mobile */
    .nav-header {
        padding: 0 1.5rem !important;
        height: 70px !important;
    }

    .nav-header .logo {
        font-size: 1.2rem !important;
    }

    .nav-header div[style*="gap: 2rem"] {
        gap: 1rem !important;
    }

    .nav-header span {
        display: none; /* Hide email on mobile header to save space */
    }

    /* Grid layout for cards */
    .event-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Projection mobile */
    .projection-card {
        width: 95%;
        font-size: 1.5rem;
        padding: 2rem 1rem;
    }

    /* Form spacing */
    input, textarea, select, button {
        padding: 12px;
        font-size: 0.95rem;
    }
}
