@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    --bg-color: #0b0e14;
    --card-bg: #121722;
    --panel-bg: #161c2b;
    --console-bg: #0a0d14;
    
    --primary-color: #00e676;
    --primary-gradient: linear-gradient(135deg, #00e676 0%, #10b981 100%);
    
    --secondary-color: #38bdf8;
    --secondary-gradient: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    
    --accent-red: #ef4444;
    --accent-yellow: #f59e0b;
    --accent-purple: #a855f7;
    
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    
    --error-color: #ef4444;
    --success-color: #10b981;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: #202738;
    --border-hover: rgba(56, 189, 248, 0.3);
    
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

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

body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.04) 0%, transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

.no-padding { padding-top: 0 !important; }

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

/* NAVBAR GAMESERVER STYLE */
.main-nav { 
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; 
    padding: 16px 0; transition: all 0.3s ease; 
    background: rgba(11, 14, 20, 0.85); 
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-highlight);
}
.main-nav.scrolled {
    padding: 12px 0;
    background: rgba(11, 14, 20, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    border-bottom-color: rgba(56, 189, 248, 0.2);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }

/* LOGO Y BADGES */
.logo { 
    display: flex; align-items: center; gap: 14px; 
    text-decoration: none; color: white; font-weight: 800; font-size: 1.2rem;
    letter-spacing: 0.5px;
}
.logo-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: var(--secondary-color); 
    padding: 6px 12px; border-radius: 8px; font-size: 1rem; font-weight: 900;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}
.logo span { color: var(--text-color); font-weight: 600; font-size: 0.9rem; opacity: 0.9; }

/* STATUS BADGE OPERATIVO (Como en la foto) */
.status-pill-online {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.25);
    color: var(--primary-color);
    padding: 4px 12px; border-radius: 20px;
    font-size: 0.75rem; font-weight: 800; letter-spacing: 1px;
    text-transform: uppercase;
}
.status-dot-pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* ENLACES NAV */
.nav-links { display: flex; list-style: none; gap: 24px; align-items: center; }
.nav-link { 
    text-decoration: none; color: var(--text-muted); font-size: 0.82rem; font-weight: 600; 
    text-transform: uppercase; letter-spacing: 1px; transition: 0.3s;
    padding: 6px 12px; border-radius: 6px;
}
.nav-link:hover, .nav-link.active { color: white; background: rgba(255, 255, 255, 0.05); }

.btn-nav {
    background: var(--secondary-gradient); color: #000 !important;
    padding: 8px 18px; border-radius: 8px; font-weight: 800;
    text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px;
    text-decoration: none; transition: 0.3s;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}
.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(56, 189, 248, 0.5); }

.nav-admin { 
    color: var(--secondary-color) !important; text-decoration: none; font-weight: 700; 
    font-size: 0.75rem; border: 1px solid rgba(56, 189, 248, 0.4); padding: 5px 12px; 
    border-radius: 6px; transition: 0.3s; background: rgba(56, 189, 248, 0.05);
}
.nav-admin:hover { background: var(--secondary-color); color: #000 !important; }

.nav-logout { 
    color: var(--accent-red) !important; text-decoration: none; font-weight: 700; 
    font-size: 0.75rem; letter-spacing: 1px; opacity: 0.8; transition: 0.3s;
    padding: 5px 10px; border-radius: 6px; border: 1px solid rgba(239, 68, 68, 0.2);
}
.nav-logout:hover { opacity: 1; background: rgba(239, 68, 68, 0.1); }

/* KPI METRIC CARDS (FOTO REFERENCIA: JUGADORES, SERVICIOS, MONSTRUOS, UPTIME) */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
@media (max-width: 992px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .kpi-grid { grid-template-columns: 1fr; } }

.kpi-card {
    background: var(--card-bg);
    border: 1px solid var(--border-highlight);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex; align-items: center; justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.kpi-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.kpi-info { display: flex; flex-direction: column; }
.kpi-title {
    font-size: 0.72rem; font-weight: 800; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 6px;
}
.kpi-value {
    font-size: 1.75rem; font-weight: 900; color: #fff;
    font-family: var(--font-sans); line-height: 1.2;
}
.kpi-value .sub { font-size: 1rem; color: var(--text-dark); font-weight: 600; }
.kpi-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex; align-items: center; justify-content: center;
    color: var(--secondary-color); font-size: 1.2rem;
}

/* LIVE CONSOLE & SIDEBAR GRID (FOTO REFERENCIA) */
.gs-dashboard-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
@media (max-width: 992px) { .gs-dashboard-grid { grid-template-columns: 1fr; } }

/* LIVE CONSOLE CONTAINER */
.console-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-highlight);
    border-radius: 12px;
    overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.console-header {
    background: #0e121a;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-highlight);
    display: flex; justify-content: space-between; align-items: center;
}
.console-title {
    font-size: 0.8rem; font-weight: 800; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1.5px;
    display: flex; align-items: center; gap: 8px;
}
.console-tabs { display: flex; gap: 8px; }
.console-tab {
    background: transparent; border: none; color: var(--text-muted);
    padding: 6px 14px; border-radius: 6px; font-size: 0.78rem; font-weight: 700;
    cursor: pointer; transition: 0.2s;
}
.console-tab.active, .console-tab:hover {
    color: #fff; background: rgba(255, 255, 255, 0.08);
}

.console-body {
    background: var(--console-bg);
    padding: 16px 20px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    height: 380px;
    overflow-y: auto;
    display: flex; flex-direction: column; gap: 6px;
    color: #cbd5e1;
    line-height: 1.5;
}
/* Scrollbar personalizado para consola */
.console-body::-webkit-scrollbar { width: 6px; }
.console-body::-webkit-scrollbar-track { background: #0a0d14; }
.console-body::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 3px; }

.log-line { display: flex; gap: 10px; align-items: flex-start; }
.log-time { color: var(--text-dark); flex-shrink: 0; font-size: 0.75rem; }
.log-tag { color: var(--secondary-color); font-weight: 700; flex-shrink: 0; }
.log-tag.success { color: var(--primary-color); }
.log-tag.warn { color: var(--accent-yellow); }
.log-tag.error { color: var(--accent-red); }
.log-msg { color: #e2e8f0; word-break: break-all; }

/* SIDEBAR ACTIVIDADES / EVENTOS */
.sidebar-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-highlight);
    border-radius: 12px;
    overflow: hidden;
    display: flex; flex-direction: column;
}
.sidebar-header {
    background: #0e121a;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-highlight);
    display: flex; justify-content: space-between; align-items: center;
}
.sidebar-title {
    font-size: 0.78rem; font-weight: 800; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1.2px;
}
.activity-tabs { display: flex; gap: 4px; }
.activity-tab {
    background: transparent; border: none; color: var(--text-muted);
    padding: 4px 10px; border-radius: 6px; font-size: 0.72rem; font-weight: 700;
    cursor: pointer; transition: 0.2s;
}
.activity-tab.active { background: rgba(255, 255, 255, 0.1); color: #fff; }

.activity-list {
    padding: 12px;
    display: flex; flex-direction: column; gap: 8px;
    max-height: 380px; overflow-y: auto;
}
.activity-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px 14px;
    display: flex; justify-content: space-between; align-items: center;
    transition: 0.2s;
}
.activity-item:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); }
.activity-name {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.82rem; font-weight: 700; color: #fff;
}
.dot-indicator { width: 7px; height: 7px; border-radius: 50%; background: var(--text-dark); }
.dot-indicator.active { background: var(--primary-color); box-shadow: 0 0 8px var(--primary-color); }
.dot-indicator.disabled { background: var(--accent-red); box-shadow: 0 0 8px var(--accent-red); }

.activity-timer { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }
.activity-timer.disabled { color: var(--accent-red); font-weight: 700; }

/* FOOTER STATUS STRIP (FOTO REFERENCIA: OffStore, OffAttack, Bots, Licencia activa) */
.status-footer-strip {
    background: #080b10;
    border: 1px solid var(--border-highlight);
    border-radius: 10px;
    padding: 12px 24px;
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 40px;
    font-size: 0.8rem; font-weight: 700; color: var(--text-muted);
}
.strip-metrics { display: flex; gap: 30px; }
.strip-metric span { color: #fff; font-weight: 800; }
.strip-license {
    display: flex; align-items: center; gap: 8px;
    color: var(--primary-color); font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* SLIDER & FEATURE CARDS ("WHAT SETS US APART") */
.feature-slider-wrapper { position: relative; margin: 40px 0; }
.slider-overflow { overflow: hidden; width: 100%; border-radius: 12px; }
.slider-track { display: flex; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); }
.slider-item { flex: 0 0 33.333%; padding: 0 10px; }
@media (max-width: 992px) { .slider-item { flex: 0 0 50%; } }
@media (max-width: 640px) { .slider-item { flex: 0 0 100%; } }

.feature-card-cyber {
    background: var(--card-bg);
    border: 1px solid var(--border-highlight);
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    transition: 0.3s ease;
    display: flex; flex-direction: column;
}
.feature-card-cyber:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.feature-icon-box {
    width: 48px; height: 48px; border-radius: 10px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: flex; align-items: center; justify-content: center;
    color: var(--secondary-color); font-size: 1.2rem;
    margin-bottom: 16px;
}
.feature-card-cyber h3 { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.feature-card-cyber p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

.slider-ctrl-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(11, 14, 20, 0.9); backdrop-filter: blur(8px);
    border: 1px solid var(--border-highlight);
    color: #fff; cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: 0.2s;
}
.slider-ctrl-btn:hover:not(:disabled) { background: var(--secondary-color); color: #000; border-color: var(--secondary-color); box-shadow: 0 0 15px rgba(56, 189, 248, 0.4); }
.slider-ctrl-btn:disabled { opacity: 0.2; cursor: not-allowed; }
.slider-ctrl-btn.prev { left: -16px; }
.slider-ctrl-btn.next { right: -16px; }

.slider-dots-container { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.slider-dot-btn { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); border: none; cursor: pointer; transition: 0.3s; }
.slider-dot-btn.active { width: 24px; border-radius: 10px; background: var(--secondary-color); }

/* CARDS & GENERAL PANELS */
.card, .feature-card, .cyber-card { 
    background: var(--card-bg); 
    border: 1px solid var(--border-highlight); 
    border-radius: 16px; 
    padding: 30px; 
    transition: all 0.3s ease; 
    position: relative; 
    overflow: hidden; 
}
.card:hover, .feature-card:hover, .cyber-card:hover { 
    transform: translateY(-4px); 
    border-color: var(--border-hover); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); 
}

/* HERO SECTION */
.hero { min-height: calc(100vh - 80px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 60px 0; }
.hero-title { font-size: 4rem; font-weight: 900; line-height: 1.1; margin-bottom: 24px; letter-spacing: -1.5px; }
.hero-title span { background: var(--secondary-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 1.2rem; color: var(--text-muted); max-width: 800px; margin-bottom: 40px; line-height: 1.6; }

/* SECTIONS */
.section-title { font-size: 2.2rem; font-weight: 900; text-align: center; margin-bottom: 40px; letter-spacing: -0.5px; }
.section-title span { background: var(--secondary-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* BUTTONS */
.btn { 
    background: var(--secondary-gradient); color: #000; 
    padding: 14px 30px; border-radius: 10px; font-weight: 800; 
    text-transform: uppercase; cursor: pointer; transition: 0.3s; 
    text-decoration: none; border: none; font-size: 0.85rem; letter-spacing: 0.5px;
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4); filter: brightness(1.1); }

.btn-primary { background: var(--primary-gradient); color: #000; box-shadow: 0 4px 15px rgba(0, 230, 118, 0.25); }
.btn-primary:hover { box-shadow: 0 8px 25px rgba(0, 230, 118, 0.4); }

.btn-outline { 
    background: transparent; color: white; border: 1px solid var(--border-highlight); 
    padding: 14px 30px; border-radius: 10px; font-weight: 700; 
    text-transform: uppercase; cursor: pointer; transition: 0.3s; 
    text-decoration: none; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--secondary-color); background: rgba(56, 189, 248, 0.05); color: var(--secondary-color); }

/* FORMS & TABLES */
.form-group { margin-bottom: 20px; text-align: left; }
label { display: block; margin-bottom: 8px; font-size: 0.78rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; }
input[type="text"], input[type="email"], input[type="password"], input[type="url"], select, textarea, input[type="datetime-local"] { 
    width: 100%; background: #080b10; border: 1px solid var(--border-highlight); 
    border-radius: 8px; padding: 14px 16px; color: white; font-family: inherit; font-size: 0.95rem; transition: 0.3s; 
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--secondary-color); box-shadow: 0 0 15px rgba(56, 189, 248, 0.2); }

.table-wrapper { width: 100%; overflow-x: auto; background: var(--card-bg); border-radius: 12px; border: 1px solid var(--border-highlight); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 16px 20px; background: #0e121a; font-size: 0.72rem; text-transform: uppercase; color: var(--text-muted); font-weight: 800; letter-spacing: 1px; border-bottom: 1px solid var(--border-highlight); }
td { padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); font-size: 0.9rem; color: #e2e8f0; }
tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* BADGES & ALERTS */
.badge { padding: 4px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; display: inline-block; }
.badge-active, .badge-success { background: rgba(0, 230, 118, 0.1); color: var(--primary-color); border: 1px solid rgba(0, 230, 118, 0.3); }
.badge-expired, .badge-danger { background: rgba(239, 68, 68, 0.1); color: var(--accent-red); border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-premium { 
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px; 
    border-radius: 20px; 
    font-size: 0.75rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    background: rgba(56, 189, 248, 0.08); 
    color: var(--secondary-color); 
    border: 1px solid rgba(56, 189, 248, 0.3); 
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.alert { padding: 16px 20px; border-radius: 10px; margin-bottom: 24px; border: 1px solid transparent; font-weight: 600; font-size: 0.9rem; }
.alert-success { background: rgba(0, 230, 118, 0.1); color: var(--primary-color); border-color: rgba(0, 230, 118, 0.2); }
.alert-error { background: rgba(239, 68, 68, 0.1); color: var(--accent-red); border-color: rgba(239, 68, 68, 0.2); }

/* PAGE CONTAINERS & PANELS */
.page-container { padding-top: 40px; padding-bottom: 60px; }
.panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }

/* HAMBURGER MENU */
.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 26px; height: 18px; cursor: pointer; z-index: 1001; }
.hamburger span { display: block; width: 100%; height: 2px; background: white; border-radius: 2px; transition: 0.3s; }

@media (max-width: 992px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: rgba(11, 14, 20, 0.98); backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; align-items: center;
        gap: 30px; transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }
    .nav-links.active { right: 0; }
    .strip-metrics { flex-wrap: wrap; gap: 15px; }
}

/* BOTONES DE ACCIÓN PARA TABLAS DE ADMINISTRACIÓN */
.btn-action-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    font-family: inherit;
    line-height: 1;
    background: transparent;
    outline: none;
}
.btn-action-sm:hover {
    transform: translateY(-1px);
}
.btn-action-edit {
    background: rgba(56, 189, 248, 0.1);
    color: var(--secondary-color);
    border-color: rgba(56, 189, 248, 0.3);
}
.btn-action-edit:hover {
    background: var(--secondary-color);
    color: #000 !important;
    border-color: var(--secondary-color);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}
.btn-action-toggle {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.15);
}
.btn-action-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
.btn-action-delete {
    background: rgba(239, 68, 68, 0.12);
    color: var(--accent-red);
    border-color: rgba(239, 68, 68, 0.3);
}
.btn-action-delete:hover {
    background: var(--accent-red);
    color: #fff !important;
    border-color: var(--accent-red);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}
.btn-action-days {
    background: rgba(0, 230, 118, 0.08);
    color: var(--primary-color);
    border-color: rgba(0, 230, 118, 0.25);
    padding: 4px 8px;
    font-size: 0.73rem;
    font-weight: 800;
}
.btn-action-days:hover {
    background: var(--primary-color);
    color: #000 !important;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.4);
}

/* VIDEO MODAL LIGHTBOX & THUMBNAILS */
.video-thumb-card {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}
.video-thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}
.video-thumb-card:hover .video-thumb-img {
    transform: scale(1.06);
    filter: brightness(0.8);
}
.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 11, 16, 0.35);
    transition: background 0.3s ease;
}
.video-thumb-card:hover .video-play-overlay {
    background: rgba(8, 11, 16, 0.15);
}
.video-play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    padding-left: 4px;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.video-thumb-card:hover .video-play-btn {
    transform: scale(1.15);
    background: var(--secondary-color);
    color: #000;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.8);
}

.video-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 11, 16, 0.92);
    backdrop-filter: blur(15px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.video-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}
.video-modal-container {
    background: var(--card-bg);
    border: 1px solid var(--secondary-color);
    border-radius: 16px;
    width: 100%;
    max-width: 920px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(56, 189, 248, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.video-modal-backdrop.active .video-modal-container {
    transform: scale(1);
}
.video-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-modal-close:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    transform: rotate(90deg);
}
.video-modal-iframe-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}
.video-modal-iframe-box iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* FLOATING CONTACT WIDGETS (WHATSAPP & DISCORD) */
.floating-widgets-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99990;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.float-btn {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1.6rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.float-btn:hover {
    transform: scale(1.12) translateY(-3px);
}

.float-btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}
.float-btn-whatsapp:hover {
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

.float-btn-discord {
    background: linear-gradient(135deg, #5865F2 0%, #404EED 100%);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}
.float-btn-discord:hover {
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.7);
}

.float-tooltip {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(8, 11, 16, 0.94);
    border: 1px solid var(--border-highlight);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.float-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(8, 11, 16, 0.94);
}
.float-btn:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}



