:root {
    --bg-dark: #0A0A0A;
    --bg-glass: rgba(15, 15, 15, 0.85);
    --border-glow: rgba(212, 175, 55, 0.7);
    --primary-gold: #D4AF37;
    --gold-light: #FFD700;
    --gold-dark: #B8860B;
    --secondary-glow: #FFFFFF;
    --red-glow: #ff1b6b;
    --orange-glow: #ff7b00;
    --amber-glow: #FFB800;
    --neon-green: #39ff14;
}

body {
    font-family: 'Orbitron', sans-serif;
    background-color: var(--bg-dark);
    color: #f0f0f0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.07) 1px, transparent 1px);
    background-size: 30px 30px;
    overflow-x: hidden;
}

.glass-effect {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.rtp-text-shadow {
     text-shadow: 0 0 4px rgba(0,0,0,0.8);
}

/* Banner Slider */
.banner-slider {
    position: relative;
    width: 100%;
    height: 50vw; /* Responsive height */
    max-height: 320px;
    min-height: 180px;
    overflow: hidden;
}
.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    will-change: opacity;
}
.banner-slide.active {
    opacity: 1;
}

/* --- START: Tactical Feed Typewriter Style --- */
#tactical-feed-container {
    background: rgba(20, 15, 5, 0.6);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    height: 220px; /* Fixed height for the viewport */
    display: flex;
    flex-direction: column;
}
#tactical-feed-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--gold-light);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-glow);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
#tactical-feed-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto; /* Allow scrolling if content overflows */
}
.feed-item {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem;
    animation: fadeIn 0.5s ease-out;
}
.feed-item .icon {
    margin-right: 0.75rem;
    margin-top: 2px;
    color: var(--gold-light);
    font-size: 1.1rem;
}
.feed-item .timestamp {
    font-size: 0.8rem;
    color: var(--amber-glow);
    margin-right: 0.5rem;
}
.feed-item .message {
    font-size: 0.95rem;
    color: var(--secondary-glow);
    line-height: 1.4;
    display: inline; /* Important for typewriter */
}
.feed-item .message strong {
    color: var(--gold-light);
    font-weight: bold;
}
.cursor {
    display: inline-block;
    background-color: var(--gold-light);
    width: 10px;
    height: 1.1rem;
    margin-left: 4px;
    animation: blink 1s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* --- END: Tactical Feed Typewriter Style --- */

/* Popup */
.popup-container {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    border: 1px solid var(--primary-gold);
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}
.popup-header {
    background: linear-gradient(to right, #2a2a2a, #1a1a1a);
    border-bottom: 1px solid var(--primary-gold);
}
.popup-divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-gold), transparent);
    margin: 10px 20px;
}
.btn-secondary-glow {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    color: var(--gold-light);
    border: 1px solid var(--primary-gold);
}
.btn-secondary-glow:hover {
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}
.btn-primary-glow {
    background: linear-gradient(145deg, var(--primary-gold), var(--gold-light));
    color: #000;
}
.btn-primary-glow:hover {
    background: linear-gradient(145deg, var(--gold-light), var(--primary-gold));
    box-shadow: 0 0 15px var(--primary-gold);
}
