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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: #0d0d0d;
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
}

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

/* ==============================================
   NAVIGATION + DROPDOWN (Fixed & Themed)
   ============================================== */

nav {
    background-color: #1a1a1a;
    padding: 15px 0;
    text-align: center;
    border-radius: 12px;
    border: 1px solid #333;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

nav ul li {
    display: inline-block;
    margin: 0 20px;
    position: relative;
}

nav ul li a {
    color: #bb86fc;
    text-decoration: none !important;
    font-size: 1.3rem;
    transition: color 0.3s;
    padding: 10px;
}

nav ul li a:hover {
    color: #ffffff;
}

/* Dropotron dropdown container */
nav ul li ul.dropotron {
    background: #1a1a1a;                    /* Solid dark background */
    border: 1px solid #4a2a7a;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.25),
                0 4px 15px rgba(0,0,0,0.5);
    min-width: 190px;
    padding: 8px 0;
    margin: 5px 0 0 0;
    list-style: none !important;
    list-style-type: none !important;
    z-index: 9999;
}

/* Small upward arrow */
nav ul li ul.dropotron::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #1a1a1a;
    z-index: 10000;
}

/* Extra bullet protection */
nav ul li ul.dropotron,
nav ul li ul.dropotron li,
nav ul li ul.dropotron li a {
    list-style: none !important;
    list-style-type: none !important;
}

nav ul li ul.dropotron li {
    margin: 0;
}

nav ul li ul.dropotron li a {
    display: block;
    padding: 10px 25px;
    color: #bb86fc;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

nav ul li ul.dropotron li a:hover,
nav ul li ul.dropotron li a:focus {
    color: #ffffff;
    background: rgba(187, 134, 252, 0.15);
    text-shadow: 0 0 8px rgba(187, 134, 252, 0.6);
}

/* Mobile - keep main nav horizontal, adjust spacing */
@media (max-width: 768px) {
    nav {
        padding: 12px 0;
    }
    
    nav ul li {
        margin: 0 12px;
    }
    
    nav ul li a {
        font-size: 1.15rem;
        padding: 8px;
    }
    
    /* Dropdown on mobile - still looks good, no bullets */
    nav ul li ul.dropotron {
        position: static !important;
        transform: none !important;
        background: #1a1a1a !important;
        border: 1px solid #4a2a7a;
        border-radius: 6px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.4);
        padding: 8px 0;
        margin: 8px 0;
        list-style: none !important;
    }
    
    nav ul li ul.dropotron li a {
        padding: 8px 20px;
        font-size: 1rem;
    }
}

/* Circular logo avatar */
.logo-avatar-container {
    text-align: center;
    margin: 20px 0 30px 0;
}

.logo-avatar {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #333333;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6), 0 0 15px rgba(138, 43, 226, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-avatar:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(0,0,0,0.7), 0 0 20px rgba(138, 43, 226, 0.5);
}

/* Responsive: smaller logo on mobile */
@media (max-width: 768px) {
    .logo-avatar {
        width: 100px;
        height: 100px;
    }
}

/* Header & Status */
header {
    text-align: center;
    padding: 20px 0 40px;
}

header h1 {
    font-size: 3rem;
    color: #8a2be2;
    margin-bottom: 10px;
}

.status {
    font-size: 1.3rem;
    margin: 10px 0;
}

.status .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.status.live .dot {
    background-color: #ff0000;
    box-shadow: 0 0 10px #ff0000;
}

.status.offline .dot {
    background-color: #777777;
}

/* LIVE NOW! text = green */
.status .live-text {
    color: #00ff00;
    font-weight: bold;
}

/* Offline text = grey */
.status .offline-text,
.status .offline-highlight,
.status .offline-prefix {
    color: #777777;
    font-weight: bold;
}

/* Main Columns */
main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 20px 0;
}

.column {
    flex: 1;
    min-width: 300px;
    background: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #333;
    overflow: hidden;
}

.left-column h2,
.right-column h2 {
    color: #8a2be2;
    margin-bottom: 20px;
    font-size: 2rem;
}

/* Embed Container & Video Players */
.embed-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    max-height: 500px;
}

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

/* Live Info Box */
.live-info {
    background: #111;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: #ddd;
    font-size: 1.1em;
    border: 1px solid #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Fab Links */
.fab-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 16px;
    border: 1px solid #333;
}

.fab-links a {
    text-decoration: none !important;
    color: inherit;
}

.fab-item {
    text-align: center;
    width: 90px;
}

.fab-icon {
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 2.3rem;
    text-align: center;
    background: #2a2a2a;
    border-radius: 50%;
    margin: 0 auto 10px;
    transition: all 0.3s;
    color: #bb86fc;
    border: 2px solid #444;
}

.fab-item a:hover .fab-icon {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(187, 134, 252, 0.4);
    background: #bb86fc;
    color: #0d0d0d;
}

.fab-label {
    font-size: 0.9rem;
    color: #aaa;
}

/* Smaller icons on mobile */
@media (max-width: 768px) {
    .fab-icon {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 2rem;
    }
    .fab-item {
        width: 80px;
    }
    .fab-label {
        font-size: 0.8rem;
    }
    main {
        flex-direction: column;
    }
    .column {
        min-width: 100%;
        padding: 20px;
    }
    .embed-container {
        gap: 15px;
    }
    .video-container {
        margin-bottom: 15px;
        max-height: 300px;
    }
}

/* Other sections */
.links-list {
    list-style: none;
}

.links-list li {
    margin-bottom: 15px;
}

.links-list a {
    color: #bb86fc;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.links-list a:hover {
    color: #ffffff;
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 30px 0;
    color: #777;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

/* About section */
.about-section {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #333;
    margin-bottom: 30px;
}

.about-section h2 {
    color: #8a2be2;
    margin-bottom: 15px;
}

.about-section p,
.about-section ul {
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-section ul {
    list-style: none;
    padding-left: 0;
}

.about-section ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.about-section ul li::before {
    content: "→";
    color: #bb86fc;
    position: absolute;
    left: 0;
}

/* Site-wide links */
a {
    text-decoration: none;
    color: #bb86fc;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(187, 134, 252, 0.6);
}


.fab-links a,
nav a,
.about-section a {
    text-decoration: none !important;
}

.fab-links a:hover,
nav a:hover,
.about-section a:hover {
    text-decoration: none !important;
}


.dropotron,
.dropotron * {
    background-color: #1a1a1a !important;
    background: #1a1a1a !important;           /* double coverage */
    list-style: none !important;
    list-style-type: none !important;
}

.dropotron li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dropotron a {
    display: block !important;
    color: #bb86fc !important;
    padding: 10px 25px !important;
    text-decoration: none !important;
}

.dropotron a:hover,
.dropotron a:focus {
    color: #ffffff !important;
    background: rgba(187, 134, 252, 0.15) !important;
    text-shadow: 0 0 8px rgba(187, 134, 252, 0.6) !important;
}


.dropotron[style*="opacity"],
.dropotron[style*="display"] {
    background-color: #1a1a1a !important;
    opacity: 1 !important;              
}


.counter-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 15px 0;
    padding: 10px;
    background: rgba(26, 26, 26, 0.6);
    border-radius: 8px;
}

.counter-item {
    text-align: center;
}

.counter-item i {
    font-size: 2em;
    vertical-align: middle;
}

.counter-item .count-number {
    font-size: 1.2em;
    color: #fff;
    margin-left: 8px;
}

.counter-item .suffix {
    font-size: 0.9em;
    color: #aaa;
}

/* Mobile: stack counters vertically */
@media (max-width: 768px) {
    .counter-row {
        flex-direction: column;
        gap: 10px;
    }
}


.right-column h2 + .about-counters {
    display: flex;
    align-items: center;
    gap: 15px;                  
    margin: 5px 0 20px;    
}


.right-column .TwitchCount,
.right-column .YouTubeCount {
    display: inline-flex;
    align-items: center;
    gap: 8px;                   
}


.right-column .TwitchCount a,
.right-column .YouTubeCount a {
    font-size: 1.4rem;        
    color: #9b59b6 !important;  
    line-height: 1;
    text-decoration: none;
}


.right-column .count-number {
    font-size: 1 rem;          
    font-weight: 600;
    color: #e0e0e0;
}

.right-column .counter {
    font-size: 1.25rem;         
    font-weight: 700;
    color: white;
}

.right-column .suffix {
    font-size: 0.9rem;
    color: #bbb;
}

.right-column .TwitchCount a,
.right-column .YouTubeCount a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==============================================
   MEDIA PAGE - TWITCH COLUMNS + YOUTUBE BELOW
   ============================================== */

.media-page {
    padding: 20px 0;
}

/* Twitch columns: player left | chat right */
.twitch-columns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.twitch-player-column {
    flex: 3;
    min-width: 320px;
    max-width: 800px;
}

.twitch-chat-column {
    flex: 1;
    min-width: 320px;
    max-width: 400px;
}

/* Responsive player wrapper (16:9) */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

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

/* Chat container - dark mode forced */
.chat-container {
    height: 600px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.chat-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: relative;
}

/* Mobile: stack Twitch columns vertically */
@media (max-width: 1100px) {
    .twitch-columns {
        flex-direction: column;
        align-items: center;
    }

    .twitch-player-column,
    .twitch-chat-column {
        width: 100%;
        max-width: 100%;
    }

    .chat-container {
        height: 500px;
    }
}

@media (max-width: 500px) {
    .chat-container {
        height: 400px;
    }
}

/* Latest YouTube Videos - static grid */
.latest-videos {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.video-item {
    flex: 1;
    min-width: 280px;
    max-width: 360px;
    text-align: center;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(187, 134, 252, 0.3);
}

.video-item img {
    width: 100%;
    height: auto;
    display: block;
}

.video-item p {
    padding: 12px 10px;
    margin: 0;
    font-size: 1.05rem;
    color: #e0e0e0;
    background: #1a1a1a;
}

@media (max-width: 768px) {
    .latest-videos {
        flex-direction: column;
        align-items: center;
    }
    .video-item {
        max-width: 100%;
    }
}

/* ==============================================
   RESPONSIVE FIXES - Mobile adjustments
   ============================================== */

@media (max-width: 768px) {
    .latest-videos {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .video-item {
        width: 100%;
        max-width: 100% !important;
        min-width: unset !important;
        flex: 1 1 100%;
    }

    .video-item img {
        width: 100%;
        height: auto;
    }
}

/* Twitch chat - bigger & full-width on mobile */
.chat-container {
    /* Desktop defaults */
    height: 600px;
    width: 380px;
    max-width: 400px;
}

@media (max-width: 1100px) {
    .twitch-chat-column {
        width: 100%;
        max-width: 100% !important;
    }

    .chat-container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        height: 65vh;
        min-height: 480px;
    }

    .chat-container iframe {
        width: 100% !important;
        height: 100% !important;
    }
}

@media (max-width: 480px) {
    .chat-container {
        height: 55vh;
        min-height: 400px;
    }
}

/* ==============================================
   YOUTUBE SECTION CONTAINER
   ============================================== */

.youtube-section {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    width: 100%;
    box-sizing: border-box;
}

.youtube-section h2 {
    color: #8a2be2;
    margin-bottom: 25px;
    font-size: 2rem;
    text-align: center;
}

/* Make sure videos look good inside the container */
.latest-videos {
    margin-top: 15px;
}

/* Mobile padding adjustment */
@media (max-width: 768px) {
    .youtube-section {
        padding: 20px;
    }
}

/* ==============================================
   STREAM INFO (under Twitch player)
   ============================================== */

.stream-info {
    background: #111;
    padding: 20px;
    margin-top: 15px;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
}

.stream-info p {
    margin: 12px 0;
    color: #e0e0e0;
}

.stream-info strong {
    color: #bb86fc;
    display: block;
    margin-bottom: 4px;
}

.stream-info .status-line {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.stream-info .status-line.live {
    color: #00ff00;
}

.stream-info .status-line.offline {
    color: #777777;
}