/*
Theme Name: Mooncloud Esports
Description: Premium E-Sports und Gilden Theme für Mooncloud (Smooth & Clean)
Author: Mooncloud
Version: 2.1
Text Domain: mooncloud
*/

/* =========================================
   1. ROOT VARIABLES (SMOOTH & CLEAN)
   ========================================= */
:root {
    /* Backgrounds */
    --mc-bg-dark: #0b0b0e; /* Homogenes, sauberes Dunkel */
    --mc-panel-bg: #141419; /* Sanft abgehobener Ton für Boxen */
    --mc-border: rgba(255, 255, 255, 0.05); /* Sehr zarte, edle Linien */
    
    /* Accents */
    --mc-purple: #8a2be2; /* Logo Violett */
    --mc-purple-dark: #631dad;   /* Abgedunkeltes Violett */
    --mc-red: #ff3366; /* Weicheres Rot für Live/Videos */
    
    /* Typography */
    --mc-text-main: #eaeaea;
    --mc-text-muted: #888896;    
    
    /* Weichere, freundlichere Kanten */
    --mc-radius: 12px;
}

/* =========================================
   2. GLOBAL RESETS & BODY
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--mc-bg-dark);
    color: var(--mc-text-main);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: scroll; /* Verhindert das Springen der Navbar */
}

a {
    color: var(--mc-purple);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================
   3. NAVIGATION (HEADER)
   ========================================= */
.mc-header {
    background: rgba(11, 11, 14, 0.95);
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid var(--mc-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mc-header-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 4px 25px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mc-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mc-logo img {
    max-height: 70px; 
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.mc-logo:hover img {
    transform: scale(1.02);
}

.mc-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.mc-nav a {
    color: var(--mc-text-main);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.mc-nav a:hover {
    color: var(--mc-purple);
}

/* =========================================
   4. LAYOUT & TYPOGRAPHY
   ========================================= */
.mc-home-portal {
    width: 100%;
}

.mc-layout-split {
    display: grid;
    grid-template-columns: 1fr 320px; 
    gap: 30px;
    max-width: 1350px;
    margin: 40px auto;
    padding: 0 25px;
    align-items: start;
}

.mc-section-title {
    font-size: 1.3rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 25px;
    display: inline-block;
    color: #fff;
    position: relative;
    padding-bottom: 8px;
}

.mc-section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--mc-purple);
    border-radius: 3px;
}

/* =========================================
   5. BUTTONS
   ========================================= */
.mc-btn {
    display: inline-block;
    padding: 10px 22px;
    background: var(--mc-purple);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.mc-btn:hover {
    background: var(--mc-purple-dark);
    transform: translateY(-2px);
}

.mc-btn-ghost {
    background: rgba(255,255,255,0.05);
    color: #fff !important;
}

.mc-btn-ghost:hover {
    background: rgba(255,255,255,0.1);
}

.mc-btn-full {
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* =========================================
   6. TWITCH HERO BLOCK
   ========================================= */
.mc-hero-live-block {
    background: var(--mc-panel-bg);
    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.mc-hero-live-header {
    background: rgba(0,0,0,0.2);
    color: #fff;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--mc-border);
}

.mc-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    width: 100%;
    background: #000;
}

.mc-video-wrapper iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}

/* =========================================
   7. NEWS SLIDER
   ========================================= */
.mc-slider {
    position: relative;
    height: 450px;
    border-radius: var(--mc-radius);
    overflow: hidden;
    background: var(--mc-bg-dark);
    border: 1px solid var(--mc-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.mc-slide {
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; visibility: hidden;
    transition: opacity 0.5s ease;
}

.mc-slide.active { 
    opacity: 1; visibility: visible;
}

.mc-slide-bg {
    width: 100%; height: 100%;
    background-size: cover; 
    background-position: center;
}

/* Der softe Gradient für perfekten Kontrast */
.mc-slide::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 65%;
    background: linear-gradient(to top, rgba(11, 11, 14, 0.95) 0%, rgba(11, 11, 14, 0.5) 50%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.mc-slide-content { 
    position: absolute; 
    bottom: 40px; 
    left: 40px; 
    right: 40px; 
    z-index: 2;
}

/* HIER IST DER TRICK: Wir blenden das Tag im Slider einfach aus! */
.mc-slide-content .mc-news-category {
    display: none;
}

/* Die weiße Überschrift */
.mc-slide-content h2 {
    font-size: 2.2rem;
    margin: 0; /* FIX: Den unsichtbaren Abstand nach unten entfernt */
    color: #ffffff;
    font-weight: 900; 
    line-height: 1;
    /* Etwas kompakter, damit es exakt bündig ist */
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    max-width: 80%;
}

.mc-slide-content .mc-btn {
    display: none;
}

/* Slider Buttons */
.mc-slider-controls {
    position: absolute; 
    bottom: 40px;
    /* Sitzt jetzt auf exakt der gleichen Linie wie .mc-slide-content */
    right: 40px; 
    display: flex; 
    align-items: center;
    /* Zentriert die Pfeile optisch perfekt */
    gap: 10px;
    z-index: 3;
}

.mc-slider-btn {
    background: rgba(255,255,255,0.1); 
    color: #fff; 
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 15px; 
    cursor: pointer; 
    border-radius: 8px;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
}

.mc-slider-btn:hover { 
    background: var(--mc-purple); 
    border-color: var(--mc-purple);
}

/* =========================================
   8. NEWS GRID & CARDS
   ========================================= */
.mc-news-grid { 
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 20px; 
}

.mc-news-card {
    display: flex; flex-direction: column;
    background: var(--mc-panel-bg);
    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.mc-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.mc-news-image {
    height: 160px;
    background-size: cover; background-position: center;
    position: relative; border-bottom: 1px solid var(--mc-border);
}

.mc-news-content { padding: 20px; flex-grow: 1;
}

.mc-news-category {
    font-size: 0.7rem; text-transform: uppercase; font-weight: 700;
    color: var(--mc-purple); letter-spacing: 1px;
}

.mc-news-category.is-video { color: var(--mc-purple);
} 
.mc-news-date { float: right; font-size: 0.75rem; color: var(--mc-text-muted); }

.mc-news-content h3 { margin: 10px 0; font-size: 1.1rem; color: #fff;
    line-height: 1.4; font-weight: 700; }
.mc-news-content p { font-size: 0.85rem; color: var(--mc-text-muted);
}



/* =========================================
   9. VIDEO CARDS (KLEINE KACHELN)
   ========================================= */
.mc-video-card .mc-news-image::after {
    content: '';
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(to bottom, rgba(138, 43, 226, 0.15), transparent);
}

.mc-video-play-icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 46px; height: 46px;
    background: rgba(138, 43, 226, 0.85);
    border-radius: 50%;
    display: flex; align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, background 0.3s ease;
}

.mc-news-card:hover .mc-video-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(138, 43, 226, 1);
}

.mc-video-play-icon::after {
    content: '';
    display: block;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 4px;
}

/* =========================================
   10. SIDEBAR & WIDGETS
   ========================================= */
.mc-sidebar { display: flex; flex-direction: column; gap: 20px;
    width: 100%; min-width: 0; }

.mc-widget {
    background: var(--mc-panel-bg);
    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius);
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.mc-widget h3 {
    margin: 0 0 20px 0; font-size: 1rem; text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--mc-border); padding-bottom: 12px; color: #fff; font-weight: 700;
}

.mc-purple-accent { color: var(--mc-purple); font-weight: bold;
}

/* Sidebar: Live Streams Widget */
.mc-live-streamer-item {
    display: flex; align-items: center; padding: 10px 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid transparent;
    border-radius: 8px; margin-bottom: 8px;
    text-decoration: none; transition: background 0.2s ease;
}

.mc-live-streamer-item:hover { background: rgba(255,255,255,0.05);
}

.mc-pulse-dot {
    width: 8px; height: 8px; background: var(--mc-red); border-radius: 50%;
    margin-right: 12px; animation: pulse 2s infinite;
}

.mc-streamer-name { color: #fff; font-weight: 600; font-size: 0.9rem; }
.mc-streamer-game { color: var(--mc-text-muted); font-size: 0.75rem; }
.mc-streamer-viewers { color: var(--mc-text-muted); font-size: 0.8rem;
}

/* Sidebar: Raid Progress */
.mc-widget-progress {
    background: var(--mc-panel-bg);
}

.mc-progress-title { font-weight: 700; color: #fff; font-size: 1rem;
    margin-bottom: 10px; }
.mc-progress-stats { display: flex; justify-content: space-between; font-size: 0.8rem; color: #aaa; margin-bottom: 5px; font-weight: 600; }
.mc-progress-bar-bg { width: 100%;
    background: rgba(0,0,0,0.5); border-radius: 4px; overflow: hidden; }
.mc-progress-bar-fill { height: 100%; border-radius: 4px; transition: width 0.5s ease; }
.mc-progress-legacy { padding-top: 15px;
    border-top: 1px solid var(--mc-border); margin-top: 15px; }
.mc-truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%;
}

/* Sidebar: Recruitment & Class Colors */
.mc-recruit-list { list-style: none; padding: 0; margin: 0;
}
.mc-recruit-item { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 10px 0; border-bottom: 1px solid var(--mc-border);
    font-size: 0.85rem; font-weight: 600; color: #ccc; 
}
.mc-recruit-item:last-child { border-bottom: none; }
.mc-recruit-empty { color: var(--mc-text-muted); font-size: 0.85rem; text-align: center;
    padding: 15px 0; }

.status { font-size: 0.65rem; padding: 3px 8px; border-radius: 4px; font-weight: 700; text-transform: uppercase; }
.mc-status-high { background: rgba(138,43,226,0.2);
    color: #c48cff; border: 1px solid rgba(138,43,226,0.3); }
.mc-status-med { background: rgba(255,255,255,0.05); color: #aaa; }
.mc-status-closed { background: transparent; color: #555;
}

/* WoW Class Colors for Recruitment */
.txt-deathknight { color: #C41E3A; } .txt-demonhunter { color: #A330C9; } .txt-druid { color: #FF7D0A;
}
.txt-evoker { color: #33937F; } .txt-hunter { color: #A9D271; } .txt-mage { color: #3FC7EB; }
.txt-monk { color: #00FF98;
} .txt-paladin { color: #F48CBA; } .txt-priest { color: #FFFFFF; }
.txt-rogue { color: #FFF468; } .txt-shaman { color: #0070DE;
} .txt-warlock { color: #8788EE; }
.txt-warrior { color: #C69B6D; }

/* =========================================
   11. ANIMATIONS
   ========================================= */
@keyframes pulse { 
    0% { opacity: 1; } 
    50% { opacity: 0.4; } 
    100% { opacity: 1; } 
}

/* =========================================
   12. RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
    .mc-layout-split { grid-template-columns: 1fr; }
    .mc-sidebar { margin-top: 20px; }
}

@media (max-width: 768px) {
    .mc-header-container { flex-direction: column; gap: 15px; }
    .mc-nav { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .mc-slider { height: 300px; }
    .mc-slide-content h2 { font-size: 1.5rem; }
    .mc-slide-content { bottom: 20px; left: 20px; right: 20px; }
}

/* =========================================
   14. VIDEO MODAL (KINOMODUS)
   ========================================= */
.mc-video-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9); display: flex; align-items: center; justify-content: center;
    z-index: 9999; opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease; backdrop-filter: blur(5px);
}

.mc-video-modal.active { opacity: 1; visibility: visible; }

.mc-video-modal-content {
    width: 90%; max-width: 1200px; position: relative; transform: scale(0.9); transition: transform 0.3s ease;
}

.mc-video-modal.active .mc-video-modal-content { transform: scale(1); }

.mc-video-modal-close {
    position: absolute; top: -50px; right: 0; background: none; border: none; color: #fff;
    font-size: 2.5rem; cursor: pointer; font-weight: 300; transition: color 0.3s ease; z-index: 10;
}

.mc-video-modal-close:hover { color: var(--mc-purple); }

.mc-video-modal-iframe-wrapper {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
    border: 2px solid var(--mc-border); border-radius: var(--mc-radius);
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.3);
}

.mc-video-modal-iframe-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* =========================================
   15. GROSSER SLIDER PLAY BUTTON
   ========================================= */
.mc-slider-play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 80px; height: 80px; background: rgba(138, 43, 226, 0.85); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; z-index: 5;
    transition: transform 0.3s ease, background 0.3s ease; box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.mc-slide:hover .mc-slider-play-btn { transform: translate(-50%, -50%) scale(1.1); background: rgba(138, 43, 226, 1); }

.mc-slider-play-btn::after {
    content: ''; display: block; border-style: solid; border-width: 14px 0 14px 24px;
    border-color: transparent transparent transparent #ffffff; margin-left: 8px; 
}

/* =========================================
   16. TEAM PLAYER CARDS & TWITCH BADGES
   ========================================= */
.mc-player-live-badge {
    position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
    background: var(--mc-red); color: #fff; font-size: 0.65rem; font-weight: 800;
    padding: 2px 10px; border-radius: 12px; text-decoration: none; display: flex; align-items: center;
    box-shadow: 0 2px 10px rgba(255, 51, 102, 0.5); white-space: nowrap; z-index: 5;
}

.mc-player-offline-badge {
    position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
    background: #333; color: #aaa; width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; text-decoration: none;
    border: 2px solid var(--mc-panel-bg); transition: all 0.2s ease; z-index: 5;
}

.mc-player-offline-badge:hover { background: #9146FF; color: #fff; border-color: #9146FF; }

/* =========================================
   17. PAGINIERUNG
   ========================================= */
.mc-pagination .page-numbers {
    display: inline-block; padding: 10px 18px; margin: 0 5px; background: var(--mc-panel-bg);
    border: 1px solid var(--mc-border); color: #fff; border-radius: 8px; text-decoration: none;
    font-weight: 600; transition: all 0.2s ease;
}

.mc-pagination .page-numbers:hover, .mc-pagination .page-numbers.current {
    background: var(--mc-purple); border-color: var(--mc-purple); transform: translateY(-2px);
}
.archive .mc-section-title { text-transform: none; }


/* =========================================
   18. FOOTER (Method Full-Width Style)
   ========================================= */
.mc-footer { width: 100%; clear: both; display: block; margin-top: 80px; }
.mc-container { width: 100%; max-width: 1350px; margin: 0 auto; padding: 0 25px; }

.mc-footer-sponsors { background: #111114; width: 100%; padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.03); border-bottom: 1px solid rgba(0,0,0,0.5); }
.mc-sponsor-logos { display: flex; justify-content: center; align-items: center; gap: 50px; flex-wrap: wrap; }
.mc-sponsor-img { max-height: 70px; max-width: 200px; object-fit: contain; filter: grayscale(100%) opacity(0.4); transition: all 0.3s ease; }
.mc-sponsor-img:hover { filter: grayscale(0%) opacity(1); transform: translateY(-3px); }

.mc-footer-main { background: #111114; width: 100%; padding: 60px 0; }
.mc-footer-grid { display: grid; grid-template-columns: 3fr 1fr 1fr 1fr; gap: 40px; width: 100%; }

.mc-footer-brand-col { display: flex; flex-direction: column; align-items: flex-start; }
.mc-footer-brand { font-size: 1.6rem; color: #fff; font-weight: 900; letter-spacing: 1px; margin: 0 0 15px 0; }
.mc-footer-desc { font-size: 0.85rem; color: #888; line-height: 1.6; margin: 0 0 25px 0; max-width: 80%; }
.mc-social-links { display: flex; gap: 8px; }
.mc-social-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: 4px; color: #888; transition: all 0.2s ease; }
.mc-social-icon:hover { background: var(--mc-purple); color: #fff; border-color: var(--mc-purple); }

.mc-footer-heading { color: #fff; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 20px 0; }
.mc-footer-menu { list-style: none; padding: 0; margin: 0; }
.mc-footer-menu li { margin-bottom: 12px; }
.mc-footer-menu a { color: #888; text-decoration: none; font-size: 0.85rem; transition: color 0.2s; font-weight: 500; }
.mc-footer-menu a:hover { color: #fff; }

.mc-footer-bottom { background: #060608; width: 100%; padding: 25px 0; font-size: 0.8rem; border-top: 1px solid rgba(0,0,0,0.8); }
.mc-footer-bottom-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; width: 100%; }
.mc-copyright { color: #666; }
.mc-legal-links { display: flex; gap: 25px; }
.mc-legal-links a { color: #888; text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.75rem; transition: color 0.2s; }
.mc-legal-links a:hover { color: #fff; }

@media (max-width: 900px) {
    .mc-footer-grid { grid-template-columns: 1fr 1fr; }
    .mc-footer-brand-col { grid-column: 1 / -1; margin-bottom: 20px; }
}

@media (max-width: 600px) {
    .mc-footer-grid { grid-template-columns: 1fr; text-align: center; }
    .mc-footer-brand-col { align-items: center; text-align: center; }
    .mc-footer-desc { max-width: 100%; }
    .mc-footer-bottom-flex { flex-direction: column; text-align: center; justify-content: center; }
    .mc-social-links { justify-content: center; }
}

/* =========================================
   19. SINGLE POST (ARTIKEL) DESIGN
   ========================================= */
.mc-single-wrapper { max-width: 900px; margin: 60px auto 100px auto; padding: 0 25px; }
.mc-single-header { text-align: center; margin-bottom: 40px; }
.mc-single-title { font-family: 'Montserrat', sans-serif; font-size: 3rem; font-weight: 900; text-transform: uppercase; color: #fff; line-height: 1.2; margin-bottom: 15px; letter-spacing: -0.5px; }
.mc-single-meta { font-family: 'Montserrat', sans-serif; font-size: 0.85rem; color: var(--mc-text-muted); text-transform: uppercase; font-weight: 600; letter-spacing: 1px; border-bottom: 1px solid var(--mc-border); padding-bottom: 30px; }
.mc-meta-separator { margin: 0 10px; color: var(--mc-border); }
.mc-single-content { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; line-height: 1.8; color: #d1d1d6; }
.mc-single-content p { margin-bottom: 25px; }
.mc-single-content h2, .mc-single-content h3 { font-family: 'Montserrat', sans-serif; color: #fff; margin: 40px 0 15px 0; font-weight: 800; line-height: 1.3; text-transform: uppercase; }
.mc-single-content h2 { font-size: 1.8rem; }
.mc-single-content h3 { font-size: 1.4rem; }
.mc-single-content a { color: var(--mc-purple); text-decoration: underline; text-underline-offset: 4px; }
.mc-single-content a:hover { color: #fff; }
.mc-single-content ul, .mc-single-content ol { margin: 0 0 25px 20px; padding: 0; }
.mc-single-content li { margin-bottom: 10px; }
.mc-single-content img { max-width: 100%; height: auto; border-radius: var(--mc-radius); border: 1px solid var(--mc-border); margin: 20px 0; }
@media (max-width: 768px) {
    .mc-single-title { font-size: 2.2rem; }
    .mc-single-content { font-size: 1rem; line-height: 1.6; }
}

/* =========================================
   20. VAULT DASHBOARD
   ========================================= */
.mc-vault-wrapper * { box-sizing: border-box; }
.mc-vault-wrapper { background: #121212; color: #e0e0e0; font-family: 'Segoe UI', sans-serif; border-radius: 12px; border: 1px solid #333; overflow: hidden; display: flex; flex-direction: column; height: 85vh; min-height: 800px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.mc-vault-wrapper.is-cinema { position: fixed !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important; z-index: 99999 !important; margin: 0 !important; border-radius: 0 !important; border: none !important; }
.mc-vault-wrapper:fullscreen { width: 100vw !important; height: 100vh !important; margin: 0 !important; border-radius: 0 !important; border: none !important; }
.mc-vault-wrapper:-webkit-full-screen { width: 100vw !important; height: 100vh !important; margin: 0 !important; border-radius: 0 !important; border: none !important; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.action-icon-btn { background: rgba(255,255,255,0.05); border: 1px solid #333; color: #aaa; padding: 6px; border-radius: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.action-icon-btn:hover { background: rgba(198, 113, 254, 0.2); color: #fff; border-color: #c671fe; }
.header-container { padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; background: #1a1a1a;}
.header-container h1 { color: #c671fe; margin: 0; text-transform: uppercase; font-size: 20px; letter-spacing: 1px; font-weight: 800;}
.app-layout { display: flex; flex: 1; overflow: hidden; }
.sidebar { width: 300px; border-right: 1px solid #333; background: #181818; display: flex; flex-direction: column; }
.sidebar-header { padding: 12px 20px; font-weight: bold; border-bottom: 1px solid #333; color: #aaa; text-transform: uppercase; letter-spacing: 1px;}
.sidebar-list { overflow-y: auto; flex: 1; padding: 10px; }
.char-item { padding: 8px 12px; cursor: pointer; display: flex; align-items: center; gap: 10px; border-radius: 6px; margin-bottom: 5px; background: #222; border-left: 4px solid transparent; transition: all 0.2s ease;}
.char-item:hover { background: #2a2a2a; transform: translateX(2px);}
.char-item.active { background: rgba(198, 113, 254, 0.1); border-left: 4px solid #c671fe; }
.char-name-text { font-weight: bold; font-size: 1em; }
.handled { opacity: 0.4; }
.char-checkbox { transform: scale(1.2); cursor: pointer; margin: 0; }
.handled-divider { border-bottom: 1px solid #444; margin: 15px 0 10px 0; position: relative; text-align: center; }
.handled-divider span { background: #181818; padding: 0 10px; color: #666; font-size: 0.8em; font-weight: bold; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); text-transform: uppercase;}
.main-pane { flex: 1; padding: 20px 30px; overflow-y: auto; background: #121212;}
.placeholder { color: #666; font-size: 1.1em; text-align: center; margin-top: 80px; }
.char-header { border-bottom: 1px solid #333; padding-bottom: 10px; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: flex-end; }
.char-name-title { font-size: 2em; font-weight: bold; line-height: 1;}
.char-time { color: #888; font-size: 0.85em; }
.currency-summary-bar { display: flex; gap: 10px; margin-bottom: 15px; }
.currency-pill { flex: 1; background: #1e1e1e; padding: 8px 10px; border-radius: 6px; border: 1px solid #333; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 2px 4px rgba(0,0,0,0.2);}
.pill-champion { border-bottom: 2px solid #1eff00; }
.pill-hero { border-bottom: 2px solid #0070dd; }
.pill-myth { border-bottom: 2px solid #a335ee; }
.pill-catalyst { border-bottom: 2px solid #ff8000; }
.currency-icon { display: none; } 
.currency-text { display: flex; flex-direction: column; text-align: right; width: 100%;}
.currency-count { font-size: 1.4em; font-weight: bold; margin-bottom: 2px; text-align: center;}
.currency-name { font-size: 0.7em; color: #888; text-transform: uppercase; font-weight: bold; text-align: center;}
.notes-container { background: #1e1e1e; padding: 12px; border-radius: 6px; margin-bottom: 15px; border: 1px solid #333; box-shadow: 0 2px 4px rgba(0,0,0,0.2);}
.notes-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.notes-header h3 { margin: 0; color: #aaa; font-size: 0.9em; text-transform: uppercase; letter-spacing: 1px;}
.notes-status { font-size: 0.8em; font-weight: bold; }
.notes-textarea { width: 100%; height: 50px; background: #121212; color: #e0e0e0; border: 1px solid #444; padding: 8px; border-radius: 4px; resize: vertical; font-family: inherit; font-size: 0.9em; box-sizing: border-box;}
.notes-textarea:focus { outline: none; border-color: #c671fe; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 15px; background: #1a1a1a; padding: 10px; border-radius: 6px; border: 1px solid #333;}
.filter-label { color: #888; font-size: 0.85em; font-weight: bold; margin-right: 5px; text-transform: uppercase;}
.filter-btn { background: #333; color: #bbb; border: 1px solid #444; padding: 4px 10px; border-radius: 4px; cursor: pointer; font-size: 0.8em; transition: 0.2s; font-weight: bold;}
.filter-btn.active { background: #c671fe; color: #121212; border-color: #c671fe; }
.filter-btn:hover { background: #444; color: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.category h3 { color: #aaa; font-size: 1em; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px dashed #444; padding-bottom: 6px; margin-top: 0; margin-bottom: 10px;}
.item-list { list-style: none; padding: 0; margin: 0;}
.item-list li { background: #1e1e1e; margin-bottom: 6px; padding: 6px 10px; border-radius: 4px; border: 1px solid #333; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 1px 3px rgba(0,0,0,0.1); transition: 0.1s; cursor: pointer; }
.item-list li.highlight-slot { border-color: #c671fe; background: #2a2a2a; }
.item-top { display: flex; align-items: center; font-size: 0.9em;}
.slot-label { color: #777; font-size: 0.8em; width: 75px; display: inline-block; flex-shrink: 0; text-transform: capitalize;}
.item-details { margin-left: 75px; margin-top: 4px; display: flex; gap: 6px; align-items: center; font-size: 0.75em;}
.ilvl-badge { background: #111; padding: 2px 5px; border-radius: 3px; font-weight: bold; border: 1px solid #444; color: #fff;}
.track-badge { padding: 2px 5px; border-radius: 3px; font-weight: bold; border: 1px solid; text-transform: capitalize;}
.track-champion { background-color: rgba(30, 255, 0, 0.1); color: #1eff00; border-color: rgba(30, 255, 0, 0.3); }
.track-hero     { background-color: rgba(0, 112, 221, 0.1); color: #3399ff; border-color: rgba(0, 112, 221, 0.3); }
.track-myth     { background-color: rgba(163, 53, 238, 0.1); color: #d4a3ff; border-color: rgba(163, 53, 238, 0.3); }
.track-default  { background-color: #333; color: #aaa; border-color: #555; }
.tier-piece-primary { border: 1px solid rgba(255, 128, 0, 0.6) !important; box-shadow: inset 0 0 12px rgba(255, 128, 0, 0.15); }
.tier-badge { background-color: rgba(255, 128, 0, 0.15); color: #ff8000; padding: 2px 5px; border-radius: 3px; font-weight: bold; border: 1px solid rgba(255, 128, 0, 0.4); text-transform: uppercase;}
.empty { color: #666; font-style: italic; text-align: center; padding: 10px !important; background: transparent !important; border: 1px dashed #333 !important;}
.all-currencies-section { margin-top: 25px; padding: 15px; background: #181818; border-radius: 6px; border: 1px solid #333; }
.all-currencies-section h3 { color: #aaa; font-size: 1em; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid #333; padding-bottom: 8px; margin-top: 0; margin-bottom: 12px;}
.all-currencies-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; }
.count-badge { background: #333; color: #fff; padding: 2px 6px; border-radius: 4px; font-weight: bold; margin-right: 8px; font-size: 0.85em; border: 1px solid #555;}
.section-divider { grid-column: 1 / -1; background: transparent !important; border: none !important; color: #888; font-weight: bold; text-transform: uppercase; padding-bottom: 0 !important; margin-top: 5px; border-bottom: 1px solid #333 !important; border-radius: 0 !important;}
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); align-items: center; justify-content: center; z-index: 10000; backdrop-filter: blur(4px);}
.modal-content { background: #1e1e1e; width: 500px; max-width: 95vw; border-radius: 8px; border: 1px solid #444; box-shadow: 0 10px 40px rgba(0,0,0,0.8); display: flex; flex-direction: column; }
.modal-header { padding: 15px; border-bottom: 1px solid #333; display: flex; justify-content: space-between; align-items: center; background: #222; border-radius: 8px 8px 0 0;}
.modal-header h2 { margin: 0; color: #c671fe; font-size: 1.1em;}
.close-btn { color: #aaa; font-size: 24px; font-weight: bold; cursor: pointer; transition: 0.2s; line-height: 1;}
.close-btn:hover { color: #fff; }
#talent-list-container { padding: 15px; overflow-y: auto;}
.talent-list-item { display: flex; justify-content: space-between; align-items: center; padding: 10px; background: #2a2a2a; margin-bottom: 8px; border-radius: 4px; border: 1px solid #444; }
.talent-name { font-weight: bold; font-size: 1em;}
.wowhead-link-btn { background: #c671fe; color: #121212; padding: 6px 12px; border-radius: 4px; text-decoration: none; font-weight: bold; font-size: 0.9em; transition: 0.2s; }
.wowhead-link-btn:hover { background: #a335ee; color: #fff; }
.api-ok { background-color: #2e7d32; padding: 4px 8px; border-radius: 4px; font-weight: bold; font-size: 0.8em; color: white;}
.api-error { background-color: #d32f2f; padding: 4px 8px; border-radius: 4px; font-weight: bold; font-size: 0.8em; color: white;}
.mage{color:#40C7EB}.paladin{color:#F58CBA}.warrior{color:#C79C6E}.druid{color:#FF7D0A}.priest{color:#FFFFFF}.warlock{color:#8787ED}.shaman{color:#0070DE}.hunter{color:#A8D08D}.rogue{color:#FFF569}.monk{color:#00FF96}.demon_hunter, .demonhunter{color:#A330C9}.death_knight, .deathknight{color:#C41F3B}.evoker{color:#33937F}

/* =========================================================================
   21. STREAMS OVERVIEW (page-streams.php)
   ========================================================================= */
.mc-unified-stream-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.mc-stream-card { background: var(--mc-panel-bg); border: 1px solid var(--mc-border); border-radius: var(--mc-radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease; }
.mc-stream-screen { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #0b0b0e; overflow: hidden; }
.mc-stream-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; z-index: 3; background: rgba(0,0,0,0.4); }
.mc-stream-card:hover .mc-stream-overlay { opacity: 1; }
.mc-play-icon { width: 60px; height: 60px; color: #fff; filter: drop-shadow(0 4px 15px rgba(0,0,0,0.8)); transform: scale(0.8); transition: transform 0.3s ease; }
.mc-stream-card:hover .mc-play-icon { transform: scale(1); }
.mc-stream-info { padding: 20px; }
.mc-streamer-name { color: #fff; font-size: 1.2rem; font-weight: 800; margin: 0 0 6px 0; }
.mc-stream-title { color: #ccc; font-size: 0.85rem; margin: 0 0 12px 0; line-height: 1.5; }
.mc-stream-game { color: var(--mc-purple); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; margin: 0; letter-spacing: 0.5px; }
.mc-truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; font-size: 0.75rem; font-weight: 900; border-radius: 4px; z-index: 2; letter-spacing: 1px; }
.mc-badge-live { background: #e91e63; color: #fff; animation: pulseGlow 2s infinite; }
.mc-badge-offline { background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.1); color: #888; backdrop-filter: blur(4px); }
.mc-viewer-count { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,0.8); color: #fff; padding: 4px 10px; font-size: 0.8rem; font-weight: 700; border-radius: 4px; z-index: 2; display: flex; align-items: center; backdrop-filter: blur(4px); }
.is-online { border-color: rgba(145, 70, 255, 0.3); box-shadow: 0 8px 25px rgba(0,0,0,0.4); }
.is-online:hover { transform: translateY(-8px); border-color: #9146FF; box-shadow: 0 15px 35px rgba(145, 70, 255, 0.2); }
.mc-stream-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.is-online:hover .mc-stream-thumb { transform: scale(1.05); }
.is-offline { opacity: 0.8; filter: grayscale(20%); }
.is-offline:hover { opacity: 1; filter: grayscale(0%); transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }
.mc-offline-bg { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, #111114, #111114 10px, #0e0e11 10px, #0e0e11 20px); transition: filter 0.3s ease; overflow: hidden; }
.mc-offline-text { color: rgba(255,255,255,0.1); font-size: 2.5rem; font-weight: 900; letter-spacing: 2px; position: relative; z-index: 1; }
.is-offline:hover .mc-offline-bg { filter: brightness(1.2); }

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(233, 30, 99, 0); }
    100% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0); }
}

@media (max-width: 600px) {
    .mc-unified-stream-grid { grid-template-columns: 1fr; }
    .mc-offline-text { font-size: 1.8rem; }
}