/* Landing page (index.html) — moved out of inline <style> */
/* ========================================
   OWZO LANDING PAGE - PURPLE CYBER THEME
   ======================================== */

:root {
    --primary: #c77dff;
    --secondary: #9d4edd;
    --accent: #5a038d;
    --bg-main: #0f0318;
    --bg-darker: #050208;
    --bg-card: #1a0b2e;
    --bg-hover: #2a1640;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --border: rgba(199, 125, 255, 0.3);
    --shadow-glow: 0 0 20px rgba(90, 3, 141, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', 'Consolas', monospace;
    background: var(--bg-darker);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-main) 100%);
    z-index: -1;
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
linear-gradient(rgba(199, 125, 255, 0.05) 1px, transparent 1px),
linear-gradient(90deg, rgba(199, 125, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.landing-container {
    position: relative;
    max-width: 1200px;
    width: 90%;
    padding: 2rem;
    text-align: center;
    z-index: 1;
}

.brand-section {
    margin-bottom: 4rem;
    animation: fadeInDown 1s ease;
}

.brand-logo {
    font-size: 6rem;
    font-weight: bold;
    color: var(--primary);
    letter-spacing: 10px;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--accent);
}

.glitch {
    position: relative;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 100% {
text-shadow: 
    0 0 20px var(--accent),
    0 0 40px var(--accent);
    }
    25% {
text-shadow: 
    -3px 0 var(--secondary),
    3px 3px var(--primary);
    }
    50% {
text-shadow: 
    3px 0 var(--primary),
    -3px -3px var(--secondary);
    }
    75% {
text-shadow: 
    -2px 0 var(--secondary),
    2px 2px var(--primary);
    }
}

.brand-subtitle {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.brand-tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.nav-card {
    position: relative;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(199, 125, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-card:hover::before {
    left: 100%;
}

.nav-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 
var(--shadow-glow),
inset 0 0 30px rgba(199, 125, 255, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--accent));
}

.card-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    text-shadow: 0 0 10px var(--accent);
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.nav-card:hover .card-arrow {
    transform: translateX(10px);
}

.admin-card {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(90, 3, 141, 0.1) 100%);
}

.admin-card:hover {
    border-color: var(--primary);
    box-shadow: 
0 0 30px rgba(90, 3, 141, 0.5),
inset 0 0 40px rgba(199, 125, 255, 0.15);
}

.admin-card .card-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
filter: drop-shadow(0 0 10px var(--accent));
    }
    50% {
filter: drop-shadow(0 0 20px var(--primary));
    }
}

.social-section {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    animation: fadeIn 1s ease 0.6s both;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(199, 125, 255, 0.3);
}

.social-icon {
    font-size: 1.5rem;
}

.footer-section {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    animation: fadeIn 1s ease 0.9s both;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.footer-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% {
box-shadow: 0 0 5px var(--primary);
    }
    50% {
box-shadow: 0 0 20px var(--primary);
    }
}

@keyframes fadeInDown {
    from {
opacity: 0;
transform: translateY(-30px);
    }
    to {
opacity: 1;
transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
opacity: 0;
transform: translateY(30px);
    }
    to {
opacity: 1;
transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
opacity: 0;
    }
    to {
opacity: 1;
    }
}

@media (max-width: 768px) {
    .brand-logo {
font-size: 4rem;
letter-spacing: 5px;
    }
    
    .brand-subtitle {
font-size: 1.3rem;
    }
    
    .nav-grid {
grid-template-columns: 1fr;
gap: 1.5rem;
    }
    
    .social-section {
flex-direction: column;
align-items: center;
gap: 1rem;
    }
    
    .landing-container {
padding: 1rem;
    }
}

@media (max-width: 480px) {
    .brand-logo {
font-size: 3rem;
    }
    
    .nav-card {
padding: 1.5rem;
    }
    
    .card-icon {
font-size: 2.5rem;
    }
}

/* Keyframes formerly injected from JS */
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25% { transform: translate(20px, -20px) scale(1.2); opacity: 0.6; }
    50% { transform: translate(-20px, 20px) scale(0.8); opacity: 0.4; }
    75% { transform: translate(20px, 20px) scale(1.1); opacity: 0.5; }
}
.particle {
    position: absolute; border-radius: 50%; pointer-events: none;
    background: rgba(199, 125, 255, 0.6); box-shadow: 0 0 10px rgba(199, 125, 255, 0.8);
    animation: float var(--duration, 20s) infinite ease-in-out;
}
.nav-card.pending { opacity: 0; transform: translateY(30px); }
@media (prefers-reduced-motion: reduce) {
    .nav-card.pending { opacity: 1; transform: none; }
    .particles { display: none; }
}

/* Shared footer (js/site.js) stacked under the landing content */
body { flex-direction: column; }
.footer {
    position: relative; z-index: 1; width: 90%; max-width: 1200px;
    margin: 0 auto 2rem; padding-top: 2rem; text-align: center;
    border-top: 1px solid var(--border); color: var(--text-secondary); font-size: 0.9rem;
}
.footer p { margin-bottom: 0.5rem; }
.footer-links a { color: var(--primary); }
.skip-link { background: var(--primary); color: var(--bg-darker); }

/* Invite code panel (js/invite.js) */
.invite-panel {
    max-width: 520px; margin: -1rem auto 3rem; padding: 1.25rem 1.5rem;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
    animation: fadeIn 1s ease 0.5s both;
}
.invite-title { font-size: 1rem; color: var(--primary); margin-bottom: 0.75rem; letter-spacing: 1px; }
.invite-form { display: flex; gap: 0.5rem; }
.invite-form input {
    flex: 1; min-width: 0; padding: 0.7rem 0.9rem; font: inherit; letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-primary); background: var(--bg-darker); border: 1px solid var(--border); border-radius: 6px;
}
.invite-form input::placeholder { color: var(--text-secondary); letter-spacing: 1px; text-transform: none; }
.invite-form input[aria-invalid="true"] { border-color: #ff6b8a; }
.invite-form button {
    padding: 0.7rem 1.1rem; font: inherit; font-weight: bold; cursor: pointer;
    color: var(--bg-darker); background: var(--primary); border: 0; border-radius: 6px;
}
.invite-form button:hover { filter: brightness(1.1); }
.invite-hint { margin-top: 0.5rem; font-size: 0.8rem; color: var(--text-secondary); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
