/* =========================================
   REDESIGN 2026 - OVERRIDES (DARK THEME)
   ========================================= */

body {
    background: #121212 !important;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .Presentation {
    font-family: 'Teko', sans-serif !important;
    text-transform: uppercase;
    color: #ffffff !important;
}

h2 {
    border-bottom: 2px solid #ce0e0e !important;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
    font-size: 32px !important;
}

/* Nav Menu Overrides */
nav ul.cyber-nav {
    display: flex !important;
    justify-content: center;
    background: #1a1a1a;
    border-radius: 8px;
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    flex-wrap: wrap;
}

nav ul.cyber-nav > li {
    list-style: none;
    margin: 0 10px;
}

nav ul.cyber-nav > li > a {
    color: #ffffff !important;
    font-family: 'Teko', sans-serif;
    font-size: 24px;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 15px;
    transition: all 0.3s ease;
    background: none !important;
    text-shadow: none !important;
}

nav ul.cyber-nav > li > a:hover {
    color: #ce0e0e !important;
    background: none !important;
    border-bottom: 2px solid #ce0e0e;
}

/* Buttons Overrides */
.btn-primary, input[type="submit"], button[type="submit"], .search .btn-primary {
    background: #ce0e0e !important;
    border: none !important;
    border-radius: 4px !important;
    color: #fff !important;
    text-shadow: none !important;
    box-shadow: 0 4px 6px rgba(206, 14, 14, 0.2) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    transition: background 0.3s ease !important;
    background-image: none !important;
}

.btn-primary:hover, input[type="submit"]:hover, button[type="submit"]:hover, .search .btn-primary:hover {
    background: #ff1a1a !important;
}

/* Article Lists (Cards) */
.span4 > div, .gradient1 > div, .gradient2 > div, .span12 > div {
    background: #1e1e1e !important;
    border-radius: 8px !important;
    padding: 20px !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4) !important;
    border: 1px solid #333 !important;
}

.list1 li, .list2 li, .list3 li {
    border-bottom: 1px solid #333 !important;
    margin-bottom: 15px;
    padding-bottom: 15px;
    background: transparent !important;
}

.list1 li a, .list2 li a, .list3 li a {
    color: #ce0e0e !important;
}

.list1 li a:hover, .list2 li a:hover, .list3 li a:hover {
    color: #ff1a1a !important;
}

.list1 li .txt, .list1 li p {
    color: #b0b0b0 !important;
}

/* Chatbox */
#chat-messages {
    background: #121212 !important;
    border: 1px solid #333 !important;
    color: #e0e0e0 !important;
    border-radius: 6px;
}

#chat-messages span {
    color: #e0e0e0 !important;
}

#chat-messages span[style*="color:#888"] {
    color: #888 !important; /* Keep timestamp dark gray */
}

#chat-messages strong {
    color: #ce0e0e !important;
}

#chat-input {
    background: #121212 !important;
    border: 1px solid #333 !important;
    color: #fff !important;
}

#chat-input:focus {
    border-color: #ce0e0e !important;
    box-shadow: 0 0 5px rgba(206, 14, 14, 0.5) !important;
}

/* Forms general */
input[type="text"], input[type="password"], textarea {
    background: #121212 !important;
    border: 1px solid #333 !important;
    color: #fff !important;
    border-radius: 4px;
    padding: 10px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3) !important;
}

/* Fix old layout classes */
.navbar-inner, .navbar, .nav-collapse_ {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Bug Fixes */
.SiteInterne, .row, .container, .global, #content, footer {
    background: transparent !important;
}

body {
    background-color: #121212 !important;
}

/* Fix chatbox styling */
#chat-messages {
    font-size: 14px !important;
    padding: 15px !important;
    min-height: 250px !important;
}

#chat-input {
    width: 100% !important;
    padding: 10px !important;
    margin-top: 10px !important;
    font-size: 14px !important;
}

#login-prompt {
    color: #e0e0e0 !important;
    font-size: 14px !important;
    margin-top: 10px !important;
    display: block !important;
}

/* Fix red boxes (list3) */
.list3 li {
    background-color: #1e1e1e !important;
    border: 1px solid #333 !important;
    border-radius: 6px !important;
    transition: background 0.3s ease !important;
}
.list3 li:hover {
    background-color: #2a2a2a !important;
}
.list3 li .badge {
    background-color: #ce0e0e !important;
    background-image: none !important;
    border: none !important;
}
.span4, .span12, .gradient1, .gradient2 {
    background: transparent !important;
}

/* =========================================
   FUTURISTIC HEADER RE-REDESIGN
   ========================================= */

.futuristic-header {
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid #ce0e0e;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(206, 14, 14, 0.15);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
}

.futuristic-header .logo a {
    text-decoration: none;
    color: #ffffff;
    font-family: 'Teko', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.futuristic-header .logo span {
    color: #ce0e0e;
    text-shadow: 0 0 15px rgba(206, 14, 14, 0.5);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul.cyber-nav {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    background: transparent !important;
    box-shadow: none !important;
}

.main-nav ul.cyber-nav > li > a {
    font-size: 22px !important;
    padding: 8px 20px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e0e0e0 !important;
}

.main-nav ul.cyber-nav > li > a:hover {
    color: #ff1a1a !important;
    text-shadow: 0 0 10px rgba(255, 26, 26, 0.5);
    border-bottom: 2px solid #ff1a1a;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Compact Search */
.search-form {
    display: flex;
    align-items: stretch;
    background: #151518;
    border: 1px solid #333;
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 100% 75%, 92% 100%, 0 100%);
    overflow: hidden;
    height: 38px;
}

.search-form input[type="text"] {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    padding: 0 12px !important;
    box-shadow: none !important;
    width: 140px;
    font-family: 'Inter', sans-serif;
    outline: none !important;
    height: 100%;
}

.search-form input[type="text"]:focus {
    width: 180px;
    transition: width 0.3s ease;
}

.search-form button {
    background: transparent !important;
    border: none !important;
    color: #ce0e0e !important;
    padding: 0 12px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    height: 100%;
}

.search-form button:hover {
    color: #ff1a1a !important;
    filter: drop-shadow(0 0 5px rgba(255, 26, 26, 0.8));
    background: transparent !important;
}

/* Cyber Buttons */
.user-controls {
    display: flex;
    gap: 10px;
}

.btn-cyber {
    display: inline-block;
    background: #1e1e24;
    color: #fff !important;
    text-decoration: none !important;
    padding: 6px 16px;
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #333;
    clip-path: polygon(8% 0, 100% 0, 100% 70%, 92% 100%, 0 100%, 0 30%);
    transition: all 0.3s ease;
}

.btn-cyber:hover {
    background: #2a2a35;
    border-color: #555;
    color: #ce0e0e !important;
}

.btn-glow {
    background: #ce0e0e;
    border-color: #ce0e0e;
    color: #fff !important;
}

.btn-glow:hover {
    background: #ff1a1a;
    color: #fff !important;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Streaming Pulse Indicator */
.streaming-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    color: #e0e0e0;
    padding: 5px 10px;
    border: 1px solid #333;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    background: #1a1a1a;
    transition: background 0.3s ease;
}

.streaming-link:hover {
    background: #222;
}

.streaming-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ff1a1a;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff1a1a;
    animation: pulse 1.5s infinite;
}

.streaming-text {
    color: #ff1a1a;
    font-weight: bold;
    letter-spacing: 1px;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(255, 26, 26, 0.7); }
    70% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 6px rgba(255, 26, 26, 0); }
    100% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(255, 26, 26, 0); }
}

@media (max-width: 1200px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
}


/* Two-Tier adjustments */
.nav-container {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
}

.main-nav {
    flex: none;
    width: auto;
}
