body {
    margin: 0;
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
    user-select: none;
    background-color: #050505;
    background-image: linear-gradient(135deg, #0a0f0a 0%, #0f1a1a 25%, #121a28 50%, #1a1a2e 100%);
}

#landing-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: radial-gradient(ellipse 900px 700px at center, rgba(15, 255, 15, 0.12) 0%, rgba(0, 80, 40, 0.08) 30%, rgba(0, 40, 20, 0.04) 50%, transparent 70%);
}

.landing-content {
    text-align: center;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.game-title {
    font-size: 72px;
    color: #0f0;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 60px;
    text-shadow: 0 0 20px #0f0, 0 0 40px #0f0, 0 0 60px #0f0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { text-shadow: 0 0 20px #0f0, 0 0 40px #0f0, 0 0 60px #0f0; }
    50% { text-shadow: 0 0 30px #0f0, 0 0 60px #0f0, 0 0 90px #0f0; }
}

.menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.landing-btn {
    font-family: 'Courier New', Courier, monospace;
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 20px 60px;
    border: 3px solid;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 350px;
}

.primary-btn {
    background: rgba(15, 255, 15, 0.1);
    color: #0f0;
    border-color: #0f0;
    box-shadow: 0 0 20px rgba(15, 255, 15, 0.3);
}

.primary-btn:hover {
    background: rgba(15, 255, 15, 0.2);
    box-shadow: 0 0 40px rgba(15, 255, 15, 0.6);
    transform: scale(1.05);
}

.agent-btn {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.agent-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
    transform: scale(1.05);
}

.secondary-btn {
    background: rgba(0, 255, 255, 0.1);
    color: #0ff;
    border-color: #0ff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.secondary-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
    transform: scale(1.05);
}

#settings-menu {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    z-index: 30;
    text-align: center;
}

.settings-content {
    max-width: 600px;
    width: 90%;
    padding: 30px;
    background: rgba(20,20,20,0.9);
    border: 2px solid #0f0;
    border-radius: 10px;
    max-height: 90vh;
    overflow-y: auto;
}

.settings-content h2 {
    color: #0f0;
    font-size: 36px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.settings-section {
    margin-bottom: 30px;
    text-align: left;
}

.settings-section h3 {
    color: #0ff;
    font-size: 24px;
    margin-bottom: 15px;
    border-bottom: 1px solid #0ff;
    padding-bottom: 5px;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider-container input[type="range"] {
    flex: 1;
    height: 8px;
    border-radius: 5px;
    background: #333;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0f0;
    cursor: pointer;
    box-shadow: 0 0 10px #0f0;
}

.slider-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0f0;
    cursor: pointer;
    box-shadow: 0 0 10px #0f0;
    border: none;
}

.slider-container span {
    min-width: 60px;
    color: #0f0;
    font-weight: bold;
}

.controls-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.control-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 20px;
    padding: 10px 15px;
    background: rgba(0,255,255,0.1);
    border-radius: 5px;
}

.control-item > span:first-child {
    color: #ffff00;
    font-weight: bold;
}

.control-btn {
    padding: 8px 20px;
    background: #333;
    color: #0ff;
    border: 1px solid #0ff;
    border-radius: 3px;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    text-transform: uppercase;
    transition: all 0.2s;
    min-width: 80px;
}

.control-btn:hover {
    background: #0ff;
    color: #000;
}

.control-btn.listening {
    background: #ff0;
    color: #000;
    border-color: #ff0;
    animation: blink 0.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.control-label {
    min-width: 70px;
    text-align: center;
    color: #0f0;
    font-weight: bold;
    font-size: 18px;
}

.close-btn {
    margin-top: 20px;
    padding: 15px 40px;
    background: rgba(255,0,0,0.2);
    color: #f00;
    border: 2px solid #f00;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
    font-family: 'Courier New', Courier, monospace;
}

.close-btn:hover {
    background: rgba(255,0,0,0.4);
    box-shadow: 0 0 20px rgba(255,0,0,0.5);
}

#agent-menu {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 30;
}

.agent-content {
    max-width: 1000px;
    width: 90%;
    padding: 40px;
    background: rgba(20,20,20,0.9);
    border: 2px solid #ffd700;
    border-radius: 10px;
    max-height: 90vh;
    overflow-y: auto;
}

.agent-content h2 {
    color: #ffd700;
    font-size: 42px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.agent-card {
    background: rgba(30,30,30,0.8);
    border: 2px solid #555;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.agent-card:hover {
    border-color: #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    transform: translateY(-5px);
}

.agent-card.selected {
    border-color: #0f0;
    box-shadow: 0 0 30px rgba(15, 255, 15, 0.6);
}

.agent-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

.agent-card h3 {
    color: #ffd700;
    font-size: 28px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.agent-desc {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.agent-stats {
    background: rgba(0,0,0,0.5);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.agent-stats div {
    margin: 5px 0;
    color: #0ff;
}

.select-agent-btn {
    width: 100%;
    padding: 12px;
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 2px solid #ffd700;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.select-agent-btn:hover {
    background: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.selected-agent-display {
    text-align: center;
    padding: 20px;
    background: rgba(0,0,0,0.5);
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 18px;
}

.selected-agent-display strong {
    color: #0f0;
    font-size: 24px;
    text-shadow: 0 0 10px rgba(15, 255, 15, 0.5);
}

/* Auth Section Styles */
.auth-section {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: bold;
    border: 2px solid;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Courier New', Courier, monospace;
}

.google-btn {
    background: #fff;
    color: #333;
    border-color: #4285f4;
}

.google-btn:hover {
    background: #4285f4;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
}

.discord-btn {
    background: #5865f2;
    color: #fff;
    border-color: #5865f2;
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

.logout-btn {
    background: #f44336;
    color: #fff;
    border-color: #f44336;
    padding: 8px 16px;
    font-size: 12px;
}

.logout-btn:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

.stats-btn {
    background: #4caf50;
    color: #fff;
    border-color: #4caf50;
    padding: 8px 16px;
    font-size: 12px;
}

.stats-btn:hover {
    background: #388e3c;
    transform: translateY(-2px);
}

.auth-icon {
    font-weight: bold;
    font-size: 16px;
}
