/* 
  Among Us Unblocked - Deep Space Industrial Design System
  Colors: #030712 (BG), #ef4444 (Primary/Impostor), #3b82f6 (Secondary/Crewmate), #50ff3d (Accent)
*/

:root {
    --bg-main: #030712;
    --primary: #ef4444;
    --secondary: #3b82f6;
    --accent: #50ff3d;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --glass-bg: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-sci-fi: 'Orbitron', 'Inter', system-ui, sans-serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, .sci-fi-text {
    font-family: var(--font-sci-fi);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* CRT Scanline Effect */
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%,
        rgba(0, 0, 0, 0.25) 50%
    ),
    linear-gradient(
        90deg,
        rgba(255, 0, 0, 0.06),
        rgba(0, 255, 0, 0.02),
        rgba(0, 0, 255, 0.06)
    );
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
}

/* Starfield Background */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.5;
    animation: twinkle var(--duration) infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

/* Game Container */
.game-wrapper {
    margin: 3rem 0;
    position: relative;
    padding: 10px;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.game-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.game-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* UI Elements */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-family: var(--font-sci-fi);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.6);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

/* Stealth Mode / Panic Button */
.panic-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    background: var(--accent);
    color: #000;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 0 15px var(--accent);
}

/* Content Area */
.content-section {
    margin: 4rem 0;
    background: var(--glass-bg);
    padding: 3rem;
    border-radius: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.hero-section {
    text-align: center; 
    padding: 4rem 0;
}

.hero-description {
    font-size: 1.2rem; 
    color: var(--text-muted); 
    max-width: 800px; 
    margin: 1rem auto;
}

.game-controls {
    display: flex; 
    justify-content: space-between; 
    padding: 10px; 
    background: rgba(0,0,0,0.3);
}

.small-btn {
    font-size: 0.8rem;
}

.quick-access-list {
    list-style: none; 
    display: flex; 
    flex-wrap: wrap; 
    gap: 20px; 
    font-weight: 600;
}

.quick-access-link {
    color: var(--accent);
    text-decoration: none;
}

.quick-access-link:hover {
    text-decoration: underline;
}

.footer-main {
    padding-top: 4rem; 
    padding-bottom: 2rem; 
    border-top: 1px solid var(--glass-border); 
    text-align: center; 
    color: var(--text-muted); 
    font-size: 0.9rem;
}

.footer-nav {
    margin-top: 1rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
}

.lang-select {
    background: rgba(0,0,0,0.5); 
    color: white; 
    border: 1px solid var(--glass-border); 
    padding: 5px; 
    border-radius: 4px;
    font-family: inherit;
    cursor: pointer;
}

.content-section h2 {
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.content-section p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.warning-box {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.stealth-box {
    background: rgba(80, 255, 61, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

/* Emergency Meeting Animation */
.emergency-meeting {
    animation: pulsate 2s infinite;
}

@keyframes pulsate {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Responsive */
@media (max-width: 768px) {
    .content-section {
        padding: 1.5rem;
    }
    
    header {
        flex-direction: column;
        gap: 1rem;
    }
}
