/* ==========================================================================
   CS16-BOOST — CYBER-TACTICAL DESIGN SYSTEM (Next-Gen Gaming UI)
   ========================================================================== */

:root {
    --ct-bg-deep: #05070e;
    --ct-bg-main: #070a16;
    --ct-bg-surface: #0c1024;
    --ct-card-bg: rgba(12, 17, 36, 0.75);
    --ct-card-border: rgba(255, 255, 255, 0.08);
    --ct-card-hover-border: rgba(249, 115, 22, 0.4);
    
    /* Tactical Accents */
    --ct-orange: #f97316;
    --ct-orange-glow: rgba(249, 115, 22, 0.25);
    --ct-cyan: #06b6d4;
    --ct-cyan-glow: rgba(6, 182, 212, 0.25);
    --ct-blue: #3b82f6;
    --ct-blue-glow: rgba(59, 130, 246, 0.25);
    --ct-green: #10b981;
    --ct-green-glow: rgba(16, 185, 129, 0.25);
    --ct-purple: #a855f7;
    --ct-purple-glow: rgba(168, 85, 247, 0.25);
    --ct-red: #ef4444;
    --ct-yellow: #eab308;
    
    /* Text */
    --ct-text-primary: #f8fafc;
    --ct-text-secondary: #94a3b8;
    --ct-text-muted: #64748b;
}

/* Background Matrix / Grid Overlay */
body.ct-theme {
    background-color: var(--ct-bg-deep);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 85% 30%, rgba(249, 115, 22, 0.06) 0%, transparent 50%),
        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%, 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
    color: var(--ct-text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--ct-bg-deep);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--ct-orange), var(--ct-cyan));
    border-radius: 3px;
}

/* Typography elements */
.font-oswald {
    font-family: 'Oswald', sans-serif !important;
}

/* Glassmorphic Container */
.ct-glass {
    background: var(--ct-card-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--ct-card-border);
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.ct-glass:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Tactical Card with Corner Brackets */
.ct-tactical-card {
    position: relative;
    background: rgba(14, 20, 42, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--ct-card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.ct-tactical-card:hover {
    transform: translateY(-3px);
    border-color: var(--ct-card-hover-border);
    box-shadow: 0 12px 30px -10px var(--ct-orange-glow);
}
.ct-tactical-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--ct-orange);
    border-left: 2px solid var(--ct-orange);
    opacity: 0.7;
    pointer-events: none;
}
.ct-tactical-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-bottom: 2px solid var(--ct-cyan);
    border-right: 2px solid var(--ct-cyan);
    opacity: 0.7;
    pointer-events: none;
}

/* Radar & Pulsing Dots */
.ct-radar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}
.ct-radar-dot.online {
    background-color: var(--ct-green);
    box-shadow: 0 0 10px var(--ct-green);
}
.ct-radar-dot.online::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--ct-green);
    animation: ctPulseRing 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
@keyframes ctPulseRing {
    0% { transform: scale(0.6); opacity: 0.9; }
    80% { transform: scale(2.2); opacity: 0; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Tier Badges */
.ct-badge-tier {
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid transparent;
}
.ct-tier-turboboost {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(249, 115, 22, 0.25));
    border-color: rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.3);
    animation: ctGlowRed 3s infinite alternate;
}
.ct-tier-gamemenu {
    background: rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.4);
    color: #fdba74;
}
.ct-tier-topplace {
    background: rgba(234, 179, 8, 0.2);
    border-color: rgba(234, 179, 8, 0.4);
    color: #fde047;
}
.ct-tier-favorite {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
    color: #86efac;
}
.ct-tier-befirst {
    background: rgba(20, 184, 166, 0.2);
    border-color: rgba(20, 184, 166, 0.4);
    color: #5eead4;
}
.ct-tier-topboost {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    color: #93c5fd;
}
.ct-tier-vip {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
    color: #d8b4fe;
}
.ct-tier-normal {
    background: rgba(148, 163, 184, 0.1);
    border-color: rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
}
.ct-tier-free {
    background: rgba(100, 116, 139, 0.15);
    border-color: rgba(100, 116, 139, 0.25);
    color: #94a3b8;
}

@keyframes ctGlowRed {
    0% { box-shadow: 0 0 8px rgba(239, 68, 68, 0.2); }
    100% { box-shadow: 0 0 18px rgba(239, 68, 68, 0.5); }
}

/* Tactical Buttons */
.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
}
.ct-btn:active {
    transform: scale(0.98);
}
.ct-btn-primary {
    background: linear-gradient(135deg, #ea580c, #f97316);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.35);
}
.ct-btn-primary:hover {
    background: linear-gradient(135deg, #f97316, #fb923c);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
    color: #ffffff;
}
.ct-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--ct-text-primary);
}
.ct-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}
.ct-btn-cyan {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.35);
}
.ct-btn-cyan:hover {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
    color: #ffffff;
}

/* Mod Tags (CSDM, Furien, Classic, etc.) */
.ct-tag-mod {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
}
.ct-tag-mod:hover, .ct-tag-mod.active {
    background: rgba(249, 115, 22, 0.2);
    border-color: var(--ct-orange);
    color: #ffedd5;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.2);
}

/* HUD Progress Bars */
.ct-progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}
.ct-progress-bar {
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, var(--ct-cyan), var(--ct-orange));
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Bottom Navigation */
.ct-mobile-nav {
    display: none;
}
@media (max-width: 768px) {
    .ct-mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: rgba(7, 10, 22, 0.92);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 8px 12px;
        justify-content: space-around;
        align-items: center;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
    }
    .ct-mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        color: #94a3b8;
        font-size: 10px;
        font-weight: 700;
        text-decoration: none;
        padding: 4px 8px;
        border-radius: 8px;
        transition: color 0.2s;
    }
    .ct-mobile-nav-item i {
        font-size: 18px;
    }
    .ct-mobile-nav-item.active, .ct-mobile-nav-item:hover {
        color: var(--ct-orange);
    }
    body.ct-theme {
        padding-bottom: 70px; /* Spatiu pentru bara de jos */
    }
}

/* Modals with Cyber Glow */
.ct-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(3, 5, 12, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.ct-modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}
.ct-modal-dialog {
    background: var(--ct-bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(249, 115, 22, 0.15);
    border-radius: 16px;
    max-width: 580px;
    width: 100%;
    transform: scale(0.94) translateY(10px);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.ct-modal-backdrop.open .ct-modal-dialog {
    transform: scale(1) translateY(0);
}

/* Audio Toggle Widget */
.ct-sound-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--ct-text-secondary);
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.ct-sound-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}
.ct-sound-toggle.active {
    color: var(--ct-orange);
    border-color: rgba(249, 115, 22, 0.4);
    background: rgba(249, 115, 22, 0.1);
}

/* Live Support Chat Widget Enhancements */
@keyframes ctChatFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: ctChatFadeIn 0.2s ease-out forwards;
}
.scrollbar-none::-webkit-scrollbar {
    display: none;
}
.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ==========================================================================
   UNIFIED NAVBAR, TICKER, FOOTER & CYBER-TACTICAL LAYOUT UTILITIES
   (Zero dependency on Tailwind Play CDN)
   ========================================================================== */
.ct-container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

.ct-ticker {
    background: #090d20;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 0;
    font-size: 12px;
}
.ct-ticker-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ct-navbar {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(7, 10, 22, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
}
.ct-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}
.ct-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex-shrink: 0;
}
.ct-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f97316, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
    transition: transform 0.2s;
}
.ct-brand:hover .ct-brand-icon { transform: scale(1.06); }
.ct-brand-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
    line-height: 1.05;
}
.ct-brand-sub {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #94a3b8;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.ct-nav-links {
    display: none;
    align-items: center;
    gap: 4px;
}
@media (min-width: 1024px) {
    .ct-nav-links { display: flex; }
}
.ct-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 9px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #cbd5e1;
    text-decoration: none;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}
.ct-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}
.ct-nav-link.active {
    background: rgba(249, 115, 22, 0.16);
    color: #fb923c;
    border-color: rgba(249, 115, 22, 0.35);
}
.ct-nav-link.active-cyan {
    background: rgba(6, 182, 212, 0.16);
    color: #22d3ee;
    border-color: rgba(6, 182, 212, 0.35);
}
.ct-nav-link.active-emerald {
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.35);
}
.ct-nav-link.active-amber {
    background: rgba(245, 158, 11, 0.16);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.35);
}

.ct-dropdown {
    position: relative;
}
.ct-dropdown-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    min-width: 220px;
    background: #0c1024;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
    display: none;
    z-index: 120;
}
.ct-dropdown-menu.right { left: auto; right: 0; min-width: 190px; }
.ct-dropdown:hover .ct-dropdown-menu,
.ct-dropdown:focus-within .ct-dropdown-menu {
    display: block;
}
.ct-dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.ct-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}
.ct-dropdown-sep {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 5px 4px;
}

.ct-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 11px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    cursor: pointer;
}
@media (min-width: 1024px) {
    .ct-mobile-toggle { display: none; }
}
.ct-mobile-drawer {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #090d20;
    padding: 12px 16px 16px;
}
.ct-mobile-drawer.open {
    display: block;
}
@media (min-width: 1024px) {
    .ct-mobile-drawer.open { display: none; }
}
.ct-mobile-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    color: #cbd5e1;
    text-decoration: none;
}
.ct-mobile-link:hover, .ct-mobile-link.active {
    background: rgba(249, 115, 22, 0.12);
    color: #fb923c;
}

/* Footer Layout */
.ct-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    background: #050711;
    position: relative;
    overflow: hidden;
    padding: 44px 0 28px;
}
.ct-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
}
@media (min-width: 768px) {
    .ct-footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; }
}
.ct-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
}
@media (min-width: 640px) {
    .ct-footer-bottom { flex-direction: row; }
}

/* Global Toast Container */
#ct-toast-container {
    position: fixed;
    top: 78px;
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    max-width: 320px;
    width: calc(100% - 32px);
}
.ct-toast-item {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.4);
    background: rgba(15, 23, 42, 0.96);
    color: #6ee7b7;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
    pointer-events: auto;
    transform: translateX(120%);
    transition: transform 0.28s ease;
}
.ct-toast-item.error {
    border-color: rgba(249, 115, 22, 0.45);
    color: #fdba74;
}
.ct-toast-item.visible {
    transform: translateX(0);
}

/* Page Hero & Grid Helpers for Subpages */
.ct-hero-box {
    background: radial-gradient(ellipse at 50% -20%, rgba(249, 115, 22, 0.16), transparent 65%),
                linear-gradient(180deg, rgba(12, 17, 36, 0.92) 0%, rgba(7, 10, 22, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.ct-hero-box::before {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #f97316, #06b6d4, transparent);
}
.ct-podium-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) {
    .ct-podium-grid { grid-template-columns: repeat(3, 1fr); align-items: end; }
}

/* ==========================================================================
   CYBER-TACTICAL v3 EXTENSIONS — MAPS, VOTING, BANNERS & BOOST MODULES
   ========================================================================== */
.ct-map-thumb {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0a1024;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.ct-map-thumb:hover {
    transform: translateY(-2px) scale(1.03);
    border-color: rgba(249, 115, 22, 0.55);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
}
.ct-map-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ct-map-thumb-lbl {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 2px 5px;
    background: linear-gradient(180deg, transparent, rgba(3, 6, 16, 0.92));
    color: #f8fafc;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Live Map Explorer Horizontal Strip */
.ct-map-explorer {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}
.ct-map-chip {
    position: relative;
    min-width: 132px;
    height: 62px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0a1024;
    cursor: pointer;
    flex-shrink: 0;
    text-align: left;
    padding: 0;
    transition: all 0.2s ease;
}
.ct-map-chip img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transition: transform 0.3s ease, opacity 0.2s ease;
}
.ct-map-chip:hover img { transform: scale(1.08); opacity: 0.78; }
.ct-map-chip.active {
    border-color: #f97316;
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.3), 0 10px 25px rgba(249, 115, 22, 0.22);
}
.ct-map-chip-ov {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 8px 10px;
    background: linear-gradient(180deg, rgba(5, 8, 20, 0.25), rgba(5, 8, 20, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Unified Vote Pill Button */
.ct-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    border-radius: 9px;
    font-size: 11.5px;
    font-weight: 800;
    background: rgba(251, 191, 36, 0.11);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fbbf24;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}
.ct-vote-btn:hover {
    background: rgba(251, 191, 36, 0.22);
    border-color: rgba(251, 191, 36, 0.7);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.22);
}
.ct-vote-btn.voted {
    background: rgba(16, 185, 129, 0.16);
    border-color: rgba(16, 185, 129, 0.5);
    color: #34d399;
}

/* Contextual Promo Banner Bar */
.ct-promo-strip {
    background: linear-gradient(125deg, rgba(249, 115, 22, 0.14), rgba(11, 16, 36, 0.95) 55%, rgba(6, 182, 212, 0.12));
    border: 1px solid rgba(249, 115, 22, 0.32);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

/* Boost How-It-Works 4-Step Grid */
.ct-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.ct-step-card {
    background: rgba(11, 16, 34, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px;
    position: relative;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.ct-step-card:hover {
    border-color: rgba(249, 115, 22, 0.45);
    transform: translateY(-3px);
}
.ct-step-num {
    width: 30px; height: 30px; border-radius: 9px;
    background: rgba(249, 115, 22, 0.18);
    border: 1px solid rgba(249, 115, 22, 0.45);
    color: #fb923c;
    font-family: 'Oswald', sans-serif;
    font-weight: 800; font-size: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 10px;
}

/* Server.cfg Optimization Snippet Box */
.ct-cfg-box {
    background: #040712;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 12px;
    padding: 14px 16px;
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 12px;
    line-height: 1.65;
    color: #cbd5e1;
    overflow-x: auto;
    white-space: pre;
}


