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

body {
    font-family: 'Courier New', monospace;
    background-color: #0a0a0a;
    color: #00cc00;
    overflow-x: hidden;
}

/* Top Section */
.top-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 1000;
    display: flex;
    align-items: stretch;
}

.warroom-title {
    background-color: #000000;
    border: 2px solid #333333;
    border-right: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 0 20px;
}

.warroom-text {
    color: #ff0000;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

/* Ticker */
.ticker-container {
    flex: 1;
    background-color: #1a1a1a;
    border: 2px solid #333333;
    border-left: none;
    overflow: hidden;
}

.ticker-content {
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #cc0000 0%, #cccc00 50%, #00cc00 100%);
    background-size: 200% 100%;
    animation: rainbow 4s ease-in-out infinite alternate;
}

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.ticker-text {
    color: #000;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
    animation: scroll-left 30s linear infinite;
    padding-left: 20px;
}

@keyframes scroll-left {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* Main Container */
.main-container {
    display: flex;
    margin-top: 50px;
    height: calc(100vh - 90px);
    gap: 15px;
    padding: 15px;
}

/* News Feed */
.news-feed {
    width: 350px;
    background-color: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 2px;
    overflow: hidden;
}

.news-header {
    background-color: #2a2a2a;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #333333;
}

.news-header h2 {
    font-size: 18px;
    color: #00cc00;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #cc0000;
}

.live-dot {
    width: 10px;
    height: 10px;
    background-color: #cc0000;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.news-list {
    height: calc(100% - 70px);
    overflow-y: auto;
    padding: 15px;
}

.news-item {
    background-color: #2a2a2a;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 2px;
    border-left: 3px solid #555555;
}

.news-item.critical {
    border-left-color: #cc0000;
}

.news-item.live {
    border-left-color: #cccc00;
}

.news-title {
    font-size: 14px;
    color: #e6e6e6;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-timestamp {
    font-size: 12px;
    color: #999999;
}

.news-category {
    font-size: 12px;
    color: #00cc00;
    font-weight: bold;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Main Video */
.main-video {
    height: 60%;
    background-color: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 2px;
    overflow: hidden;
}

.video-header {
    background-color: #2a2a2a;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #333333;
}

.video-header h3 {
    font-size: 18px;
    color: #00cc00;
}

.viewer-count {
    font-size: 14px;
    color: #cccc00;
}

.video-container {
    height: calc(100% - 70px);
    position: relative;
    overflow: hidden;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.video-status {
    background-color: #cc0000;
    color: #fff;
    padding: 4px 10px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: bold;
}

.video-location {
    background-color: #00cc00;
    color: #000;
    padding: 4px 10px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: bold;
}

/* Video Grid */
.video-grid {
    height: 40%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.video-feed {
    background-color: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
}

.video-feed:hover {
    border-color: #555555;
}

.video-feed-header {
    background-color: #2a2a2a;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #333333;
}

.video-feed-title {
    font-size: 14px;
    color: #00cc00;
    font-weight: bold;
}

.video-feed-viewers {
    font-size: 12px;
    color: #cccc00;
}

.video-feed-container {
    height: 130px;
    position: relative;
    overflow: hidden;
}

.video-feed-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-feed-overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 10;
}

.video-feed-status {
    background-color: #cc0000;
    color: #fff;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: bold;
}

.video-feed-location {
    background-color: #00cc00;
    color: #000;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: bold;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #1a1a1a;
    border-top: 2px solid #333333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 14px;
    z-index: 1000;
}

.footer-left {
    display: flex;
    gap: 25px;
}

.footer-right {
    display: flex;
    gap: 25px;
}

.footer-brand {
    color: #00cc00;
    font-weight: bold;
}

.footer-version {
    color: #cccc00;
    font-weight: bold;
}

.footer-monitor {
    color: #cccc00;
}

.footer-feeds {
    color: #00cc00;
}

.footer-status {
    color: #00cc00;
}

.footer-time {
    color: #e6e6e6;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #555555;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: #777777;
}

/* Responsive */
@media (max-width: 768px) {
    .top-section {
        flex-direction: column;
        height: auto;
    }
    
    .warroom-title {
        min-width: 100%;
        border-right: 2px solid #333333;
        border-bottom: none;
        height: 50px;
    }
    
    .ticker-container {
        border-left: 2px solid #333333;
        border-top: none;
        height: 40px;
    }
    
    .main-container {
        flex-direction: column;
        margin-top: 90px;
        height: calc(100vh - 130px);
        padding: 10px;
        gap: 10px;
    }
    
    .news-feed {
        width: 100%;
        height: 300px;
        order: 1;
        flex-shrink: 0;
    }
    
    .main-content {
        order: 2;
        flex: 1;
        min-height: 400px;
    }
    
    .main-video {
        height: 250px;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 10px;
    }
    
    .video-feed-container {
        height: 100px;
    }
    
    .footer {
        flex-direction: column;
        height: 70px;
        padding: 8px;
    }
    
    .footer-left,
    .footer-right {
        gap: 15px;
    }
} 