/**
 * SteamPulse CMS - Sponsor & Banner Advertisement Styles
 * Exact reproduction of TradeIt and NoLag CS vertical banners
 */

.steampulse-banner-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0;
    width: 100%;
}

.steampulse-banner-stack--left_menu {
    padding: 0 12px;
}

.steampulse-banner-stack--right_sidebar {
    width: 100%;
}

/* Floating / Sticky Desktop Right Ad Tower */
.steampulse-right-tower {
    position: fixed;
    right: 24px;
    top: 85px;
    width: 250px;
    z-index: 100;
    pointer-events: auto;
}

@media (max-width: 1560px) {
    .steampulse-right-tower {
        display: none !important;
    }
}

/* Base Vertical Banner Container */
.cyber-vertical-banner {
    display: block;
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s, border-color 0.25s;
    user-select: none;
}

.cyber-vertical-banner:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6);
}

/* =========================================================================
   THEME 1: TradeIt.gg Skins Banner
   ========================================================================= */
.cyber-banner--tradeit {
    background: radial-gradient(circle at 50% 35%, #182348 0%, #0d1222 65%, #080b14 100%);
    border-color: rgba(56, 189, 248, 0.25);
}

.cyber-banner--tradeit:hover {
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.2);
}

.cvb-tradeit-wrap {
    padding: 20px 16px 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cvb-brand-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.cvb-brand-name {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    font-family: var(--font-heading, sans-serif);
}

.cvb-brand-name strong {
    color: #38bdf8;
}

.cvb-headline-sub {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: #7dd3fc;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.cvb-headline-main {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: 0.5px;
    font-family: var(--font-heading, sans-serif);
    margin-bottom: 8px;
}

.cvb-headline-main span {
    color: #00ff9d;
    text-shadow: 0 0 14px rgba(0, 255, 157, 0.5);
}

.cvb-art-box {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 4px 0 12px 0;
}

.cvb-art-img {
    max-height: 155px;
    max-width: 95%;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.7));
    transition: transform 0.3s ease;
}

.cyber-banner--tradeit:hover .cvb-art-img {
    transform: scale(1.05) rotate(-1deg);
}

.cvb-code-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.cvb-code-badge {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border: 1px solid rgba(129, 140, 248, 0.5);
    color: #c7d2fe;
    font-family: var(--font-mono, monospace);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 6px 24px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(49, 46, 129, 0.4);
    text-transform: uppercase;
    transition: all 0.2s;
}

.cyber-banner--tradeit:hover .cvb-code-badge {
    background: linear-gradient(135deg, #312e81 0%, #4338ca 100%);
    color: #fff;
    border-color: #818cf8;
    box-shadow: 0 0 16px rgba(129, 140, 248, 0.6);
}

.cvb-code-sub {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #00ff9d;
    text-transform: uppercase;
}

/* =========================================================================
   THEME 2: NoLag CS Discord Banner
   ========================================================================= */
.cyber-banner--nolag {
    background: radial-gradient(circle at 50% 40%, #201115 0%, #11090c 60%, #080406 100%);
    border-color: rgba(239, 68, 68, 0.25);
}

.cyber-banner--nolag:hover {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.25);
}

.cvb-nolag-wrap {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cvb-nolag-header {
    margin-bottom: 8px;
}

.cvb-nolag-title {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    font-family: var(--font-heading, sans-serif);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cvb-cs-icon {
    color: #ef4444;
    font-size: 13px;
}

.cvb-nolag-art {
    width: 100%;
    height: 165px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px 0 12px 0;
}

.cvb-nolag-img {
    max-height: 160px;
    max-width: 95%;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.8));
    transition: transform 0.3s ease;
}

.cyber-banner--nolag:hover .cvb-nolag-img {
    transform: scale(1.05) rotate(1deg);
}

.cvb-discord-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    border: 1px solid rgba(88, 101, 242, 0.8);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.5px;
    padding: 9px 16px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.4);
    transition: all 0.2s;
}

.cyber-banner--nolag:hover .cvb-discord-btn {
    background: linear-gradient(135deg, #4752c4 0%, #3c45a5 100%);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.7);
    transform: translateY(-1px);
}

/* Generic Custom Banner */
.cvb-custom-wrap {
    width: 100%;
    padding: 16px;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 14px;
}
.cvb-custom-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Sweep Shine Effect */
.cvb-shine-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
    transition: left 0.75s ease;
}

.cyber-vertical-banner:hover .cvb-shine-sweep {
    left: 150%;
}

/* Sidebar collapsed responsive behavior */
.sidebar.collapsed .steampulse-banner-stack--left_menu {
    display: none;
}
