.sidebar-left,
.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: calc(var(--header-height) + 16px);
    height: fit-content;
    max-height: calc(100vh - var(--header-height) - 32px);
    overflow-y: auto;
    padding-bottom: 40px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.sidebar-left::-webkit-scrollbar,
.sidebar-right::-webkit-scrollbar {
    width: 4px;
}

.sidebar-left::-webkit-scrollbar-thumb,
.sidebar-right::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    flex-shrink: 0;
}

.hosting-widget {
    text-align: center;
}

.hosting-widget h3 {
    margin: 0 0 6px 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hosting-widget h3 i {
    color: var(--primary);
}

.hosting-widget > p {
    margin: 0 0 16px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hosting-banner-link {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition-normal);
}

.hosting-banner-link:hover {
    transform: scale(1.02);
}

.hosting-banner-link img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.hosting-disclaimer {
    margin-top: 14px;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.4;
    opacity: 0.7;
}

.featured-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.featured-header .header-line {
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.featured-header .header-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.featured-header .header-text i {
    color: var(--warning);
}

.featured-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.featured-card {
    position: relative;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.featured-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon);
}

.featured-card-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.featured-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: all var(--transition-slow);
    filter: brightness(0.8);
}

.featured-card:hover .featured-card-bg img {
    transform: scale(1.08);
    opacity: 0.8;
    filter: brightness(1);
}

.featured-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(5, 8, 15, 0.95) 0%,
        rgba(5, 8, 15, 0.5) 50%,
        transparent 100%
    );
    z-index: 2;
}

.featured-card-status {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 6px var(--success-glow);
    display: block;
    animation: pulse-dot 2s infinite;
}

.featured-card-content {
    position: absolute;
    bottom: 10px;
    left: 12px;
    right: 12px;
    z-index: 3;
}

.featured-card-name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-bright);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stats-widget {
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.stat-item {
    padding: 14px 10px;
    background: var(--bg-body);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 2px;
    text-shadow: 0 0 10px rgba(0, 180, 255, 0.3);
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-right .featured-card {
    height: 95px !important;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.sidebar-right .featured-card-content {
    justify-content: center;
    padding: 15px;
}

.sidebar-right .featured-card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
}

@keyframes gold-shine-anim {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.sidebar-right .featured-card-name {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(
        to right,
        #bf953f,
        #fcf6ba,
        #b38728,
        #fbf5b7,
        #aa771c
    );
    background-size: 200% auto;
    color: #bf953f;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gold-shine-anim 3s linear infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9));
}

.sidebar-right .featured-card:hover {
    border-color: rgba(251, 191, 36, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5), 0 0 20px rgba(251, 191, 36, 0.2);
}

.sidebar-right .featured-card:hover .featured-card-name {
    animation-duration: 1.5s;
}