/* Portal-extracted CSS for WP theme */
.floating-avatars-container {
    position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
}
.floating-avatar {
    position: absolute; border-radius: 50%;
    filter: blur(1.5px);
    animation: tv1FloatLR 22s ease-in-out infinite;
    will-change: transform;
}
.floating-avatar img {
    width: 100%; height: 100%;
    object-fit: cover; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.85);
    box-shadow: 0 6px 20px -4px rgba(15,23,42,0.35);
}
.floating-avatar:nth-child(odd) { animation-name: tv1FloatLR_alt; animation-duration: 28s; }
.floating-avatar:nth-child(3n) { animation-name: tv1FloatLR_slow; animation-duration: 34s; filter: blur(2px); }
.floating-avatar:nth-child(5n) { animation-name: tv1FloatLR_wide; animation-duration: 40s; filter: blur(1px); }
@keyframes tv1FloatLR {
    0%   { transform: translateX(0)    translateY(0); }
    25%  { transform: translateX(-50px) translateY(-12px); }
    50%  { transform: translateX(-80px) translateY(8px); }
    75%  { transform: translateX(-30px) translateY(-6px); }
    100% { transform: translateX(0)    translateY(0); }
}
@keyframes tv1FloatLR_alt {
    0%   { transform: translateX(0)   translateY(0); }
    33%  { transform: translateX(60px) translateY(10px); }
    66%  { transform: translateX(90px) translateY(-10px); }
    100% { transform: translateX(0)   translateY(0); }
}
@keyframes tv1FloatLR_slow {
    0%   { transform: translateX(0)    translateY(0); }
    50%  { transform: translateX(-120px) translateY(4px); }
    100% { transform: translateX(0)    translateY(0); }
}
@keyframes tv1FloatLR_wide {
    0%   { transform: translateX(0)    translateY(0); }
    50%  { transform: translateX(140px) translateY(-6px); }
    100% { transform: translateX(0)    translateY(0); }
}



.portal-live-indicator-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.portal-live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(16,185,129,0.05));
    border: 1px solid rgba(16,185,129,0.25);
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.portal-live-indicator .live-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.portal-live-indicator .live-count {
    font-weight: 700;
    color: var(--success);
    font-size: 1rem;
    min-width: 35px;
    text-align: center;
}

.portal-live-indicator .live-text {
    color: var(--gray-light);
    font-weight: 500;
}

@keyframes liveIconPulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 5px #3b82f6;
    }
    50% {
        opacity: 0.4;
        box-shadow: 0 0 2px #3b82f6;
    }
}

@keyframes djPulsePortal {
    0% { width: 40px; height: 40px; margin-top: -20px; margin-left: -20px; opacity: 0.8; }
    100% { width: 66px; height: 66px; margin-top: -33px; margin-left: -33px; opacity: 0; }
}

.site-owners-section {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    margin-bottom: 8px;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.site-owners-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    position: relative;
    padding-top: 30px;
}

.dual-owner .site-owners-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 35px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.6), rgba(251, 191, 36, 0.4));
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
    z-index: 20;
}

.dual-owner .site-owners-container::after {
    content: '';
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.4), rgba(99, 102, 241, 0.6), rgba(251, 191, 36, 0.4));
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.2);
    z-index: 20;
}

.single-owner .site-owners-container {
    gap: 0;
}

.single-owner .site-owners-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 50px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.6), rgba(251, 191, 36, 0.5));
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
    z-index: 20;
}

.single-owner .site-owners-container::after {
    display: none;
}

.single-owner .site-owner-card::before {
    top: -22px;
    height: 22px;
}

.single-owner .site-owner-card::after {
    top: -26px;
}

.moving-head-center {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(145deg, #2a2a3a, #1a1a2a);
    border-radius: 50%;
    box-shadow: 
        0 4px 15px rgba(0,0,0,0.5),
        inset 0 2px 4px rgba(255,255,255,0.1),
        inset 0 -3px 6px rgba(0,0,0,0.4);
    z-index: 5;
    border: 2px solid #333;
    pointer-events: none;
    animation: movingHeadCenter 5s ease-in-out infinite;
}

.moving-head-center::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at 30% 30%, 
        #ffffff 0%, 
        #f0f8ff 20%,
        #87ceeb 40%,
        #4169e1 70%,
        #1e3a5f 100%
    );
    border-radius: 50%;
    box-shadow: 
        0 0 12px rgba(135, 206, 235, 0.9),
        0 0 25px rgba(65, 105, 225, 0.6),
        0 0 40px rgba(255, 255, 255, 0.4),
        inset 0 0 6px rgba(255,255,255,0.9);
    animation: lensGlow 2s ease-in-out infinite;
    pointer-events: none;
}

.moving-head-center::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 180px;
    height: 220px;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.8) 0%,
        rgba(135,206,235,0.5) 10%,
        rgba(255,255,255,0.3) 25%,
        rgba(135,206,235,0.2) 45%,
        rgba(255,255,255,0.08) 70%,
        transparent 100%
    );
    clip-path: polygon(47% 0%, 53% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
    transform-origin: top center;
    filter: none;
    animation: spotlightCenter 5s ease-in-out infinite;
}

.site-owner-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    border: 2px solid rgba(251, 191, 36, 0.4);
    border-radius: 12px;
    padding: 10px 14px;
    text-align: center;
    position: relative;
    min-width: 100px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(251, 191, 36, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
    animation: cardGlow 4s ease-in-out infinite;
}

.site-owner-card::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 18px;
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.5), rgba(251, 191, 36, 0.3));
    box-shadow: 0 0 6px rgba(251, 191, 36, 0.2);
}

.site-owner-card::after {
    content: '';
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #fbbf24;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

.site-owner-card:nth-child(1) {
    animation-delay: 0s;
}

.site-owner-card:nth-child(2) {
    animation-delay: 2s;
}

.site-owner-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(255, 255, 255, 0.5),
        0 0 80px rgba(251, 191, 36, 0.3);
    border-color: rgba(251, 191, 36, 0.8);
}

.moving-head-left,
.moving-head-right {
    position: absolute;
    top: -25px;
    width: 22px;
    height: 22px;
    background: linear-gradient(145deg, #2a2a3a, #1a1a2a);
    border-radius: 50%;
    box-shadow: 
        0 4px 15px rgba(0,0,0,0.5),
        inset 0 2px 4px rgba(255,255,255,0.1),
        inset 0 -3px 6px rgba(0,0,0,0.4);
    z-index: 5;
    border: 2px solid #333;
    pointer-events: none;
}

.moving-head-left::before,
.moving-head-right::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at 30% 30%, 
        #ffffff 0%, 
        #f0f8ff 20%,
        #87ceeb 40%,
        #4169e1 70%,
        #1e3a5f 100%
    );
    border-radius: 50%;
    box-shadow: 
        0 0 10px rgba(135, 206, 235, 0.8),
        0 0 20px rgba(65, 105, 225, 0.5),
        0 0 30px rgba(255, 255, 255, 0.3),
        inset 0 0 5px rgba(255,255,255,0.8);
    animation: lensGlow 2s ease-in-out infinite;
    pointer-events: none;
}

.moving-head-left {
    left: calc(50% - 140px);
    animation: movingHeadLeft 5s ease-in-out infinite;
}

.moving-head-right {
    right: calc(50% - 140px);
    animation: movingHeadRight 5s ease-in-out infinite;
}

.moving-head-left::after,
.moving-head-right::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    width: 150px;
    height: 200px;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.7) 0%,
        rgba(135,206,235,0.4) 10%,
        rgba(255,255,255,0.25) 25%,
        rgba(135,206,235,0.15) 45%,
        rgba(255,255,255,0.05) 70%,
        transparent 100%
    );
    clip-path: polygon(47% 0%, 53% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
    transform-origin: top center;
    filter: none;
}

.moving-head-left::after {
    animation: spotlightLeft 5s ease-in-out infinite;
}

.moving-head-right::after {
    animation: spotlightRight 5s ease-in-out infinite;
}

.owner-avatar-wrapper {
    position: relative;
    width: 55px;
    height: 55px;
    margin: 0 auto 6px;
}

.owner-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(251, 191, 36, 0.5);
}

.owner-crown {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: #fbbf24;
    font-size: 14px;
    animation: crownBounce 2s ease-in-out infinite;
}

.owner-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.owner-stars {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 4px;
}

.owner-stars i {
    font-size: 8px;
}

.owner-badge {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.2));
    color: #fbbf24;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-owner-card:hover::after {
    opacity: 1;
}

.site-owner-card:hover {
    transform: translateY(-5px) scale(1.08);
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 
        0 10px 40px rgba(251, 191, 36, 0.3),
        0 0 0 1px rgba(251, 191, 36, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.owner-avatar-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    margin: 0 auto 8px;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.4));
    
    /* Avatar pop-in animation */
    animation: avatarPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
}

.site-owner-card:nth-child(1) .owner-avatar-wrapper {
    animation-delay: 0.5s;
}

.site-owner-card:nth-child(2) .owner-avatar-wrapper {
    animation-delay: 0.7s;
}

.owner-avatar-wrapper::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #fbbf24,
        #f59e0b,
        #8b5cf6,
        #6366f1,
        #fbbf24
    );
    animation: rotateBorder 3s linear infinite;
    opacity: 0.6;
    z-index: -1;
}

.owner-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(251, 191, 36, 0.6);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.site-owner-card:hover .owner-avatar {
    border-color: rgba(251, 191, 36, 1);
    filter: brightness(1.1);
}

.owner-crown {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 15px rgba(251, 191, 36, 0.8),
        0 0 30px rgba(251, 191, 36, 0.4);
    animation: 
        crownPulse 2s ease-in-out infinite,
        crownDrop 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
    z-index: 2;
}

.site-owner-card:nth-child(1) .owner-crown {
    animation-delay: 0s, 0.7s;
}

.site-owner-card:nth-child(2) .owner-crown {
    animation-delay: 0s, 0.9s;
}

@keyframes crownPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 15px rgba(251, 191, 36, 0.8);
    }
    50% { 
        transform: scale(1.15);
        box-shadow: 0 0 25px rgba(251, 191, 36, 1);
    }
}

.owner-crown i {
    color: #000;
    font-size: 0.65rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.owner-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    text-align: center;
    text-shadow: 
        0 0 10px rgba(251, 191, 36, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    z-index: 1;
}

.owner-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.owner-stars i {
    font-size: 0.6rem;
    filter: drop-shadow(0 0 4px currentColor);
    animation: starTwinkle 1.5s ease-in-out infinite;
}

.site-owner-card .owner-stars i {
    animation: starTwinkle 1.5s ease-in-out infinite, starCascade 0.5s ease-out both;
}

.site-owner-card:nth-child(1) .owner-stars i:nth-child(1) { animation-delay: 0s, 0.8s; }

.site-owner-card:nth-child(1) .owner-stars i:nth-child(2) { animation-delay: 0.2s, 0.85s; }

.site-owner-card:nth-child(1) .owner-stars i:nth-child(3) { animation-delay: 0.4s, 0.9s; }

.site-owner-card:nth-child(1) .owner-stars i:nth-child(4) { animation-delay: 0.6s, 0.95s; }

.site-owner-card:nth-child(1) .owner-stars i:nth-child(5) { animation-delay: 0.8s, 1s; }

.site-owner-card:nth-child(2) .owner-stars i:nth-child(1) { animation-delay: 0s, 1s; }

.site-owner-card:nth-child(2) .owner-stars i:nth-child(2) { animation-delay: 0.2s, 1.05s; }

.site-owner-card:nth-child(2) .owner-stars i:nth-child(3) { animation-delay: 0.4s, 1.1s; }

.site-owner-card:nth-child(2) .owner-stars i:nth-child(4) { animation-delay: 0.6s, 1.15s; }

.site-owner-card:nth-child(2) .owner-stars i:nth-child(5) { animation-delay: 0.8s, 1.2s; }

.owner-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 
        0 2px 8px rgba(251, 191, 36, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.owner-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: badgeShine 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 15px rgba(34, 197, 94, 1);
        transform: scale(1.1);
    }
}

.mobile-dj .live-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid var(--darker);
    animation: pulse 1s infinite;
}

@media (max-width: 768px) {
    /* Show hamburger menu button */
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Hide desktop nav */
    .portal-nav-desktop {
        display: none;
    }
    
    /* Header compact */
    .portal-header {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    /* Live indicator - Full width and centered on mobile */
    .portal-live-indicator-center {
        position: relative;
        left: 0;
        transform: none;
        width: 100%;
        order: 3;
        display: flex;
        justify-content: center;
    }
    
    .portal-live-indicator {
        padding: 8px 16px;
        font-size: 0.85rem;
        width: auto;
    }
    
    .portal-live-indicator .live-text {
        display: inline;
    }
    
    .portal-logo {
        order: 1;
    }
    
    .portal-header-right {
        order: 2;
    }
    
    /* Footer mobile simplification */
    .footer-column:not(.footer-contact) {
        display: none;
    }
    
    .footer-contact {
        display: block;
    }
    
    .footer-apps {
        display: none;
    }
    
    .footer-stats {
        display: none;
    }
    
    .footer-container {
        grid-template-columns: 1fr !important;
    }
    
    /* Team section - Fix spacing issue */
    .team-orbit-section {
        padding: 30px 16px;
        margin-top: 0;
    }
    
    .team-orbit-container {
        height: 220px;
    }
    
    /* Remove gap before team section */
    .portal-wrapper > section:not(:first-child) {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .portal-header {
        padding: 10px 12px;
    }
    
    .portal-logo img {
        height: 28px;
    }
    
    .portal-live-indicator {
        padding: 5px 8px;
        font-size: 0.7rem;
    }
    
    .portal-lang-btn {
        width: 32px;
        height: 32px;
    }
    
    .mobile-menu-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    /* Footer even more compact on mobile */
    .footer-main {
        padding: 30px 16px 15px;
    }
    
    .footer-brand .footer-desc {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
    
    .footer-social {
        gap: 8px;
    }
    
    .footer-social .social-btn {
        width: 34px;
        height: 34px;
    }
    
    .footer-bottom {
        padding: 12px;
    }
    
    .footer-badges {
        display: none;
    }
    
    .footer-legal {
        font-size: 0.7rem;
    }
    
    /* Team container fix */
    .team-orbit-container {
        height: 260px;
        perspective: 800px;
    }
    
    .member-card {
        width: 100px;
        height: 145px;
        margin-left: -50px;
        margin-top: -72px;
    }
    
    .member-name {
        font-size: 0.8rem;
        overflow: visible;
        white-space: nowrap;
    }
    
    .member-role {
        font-size: 0.65rem;
        overflow: visible;
    }
}

.rooms-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    position: relative;
}

.rooms-grid .room-card,
.room-card {
    flex: 0 0 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
}

.room-card {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 100px;
}

.room-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

.room-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.room-card:hover .room-card-bg {
    opacity: 0.6;
}

.room-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 14px;
}

.room-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(99, 102, 241, 0.15);
    flex-shrink: 0;
    border: 2px solid rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.room-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-info {
    flex: 1;
    min-width: 0;
}

.room-name {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.room-desc {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.room-stats {
    flex-shrink: 0;
}

.room-online {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 500;
}

.online-pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.room-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(139, 92, 246, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.room-card:hover .room-hover-overlay {
    opacity: 1;
}

.join-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.join-text i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .rooms-section {
        padding: 40px 15px;
    }
    
    .rooms-header h3 {
        font-size: 1.4rem;
    }
    
    .rooms-header p {
        font-size: 0.85rem;
    }
    
    .room-card-content {
        padding: 12px;
    }
    
    .room-icon-wrap {
        width: 48px;
        height: 48px;
    }
    
    .room-name {
        font-size: 0.9rem;
    }
}

.room-owner {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.room-owner-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(99, 102, 241, 0.4);
}

.room-owner-name {
    font-size: 0.7rem;
    color: #a5b4fc;
    font-weight: 500;
}

.room-owner-name::before {
    content: "👑 ";
    font-size: 0.65rem;
}

.room-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    color: #a5b4fc;
    font-size: 1.5rem;
}

.room-card-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    padding: 16px;
    gap: 14px;
}

.room-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.room-stats {
    align-self: center;
}

@media (max-width: 768px) {
    .room-owner-avatar {
        width: 18px;
        height: 18px;
    }
    
    .room-owner-name {
        font-size: 0.65rem;
    }
}

.rooms-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 20px;
}

.rooms-carousel {
    width: 100%;
    overflow: hidden;
}

.rooms-carousel-track {
    display: flex;
    transition: transform 0.4s ease-out;
    will-change: transform;
}

.room-card-mobile {
    flex: 0 0 100%;
    width: 100%;
    padding: 0 5px;
    box-sizing: border-box;
}

.room-card-mobile-inner {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 20px;
    text-align: center;
    min-height: 220px;
}

.room-card-mobile-inner .room-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.room-icon-wrap-mobile {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(99, 102, 241, 0.2);
    border: 3px solid rgba(99, 102, 241, 0.4);
    position: relative;
    z-index: 2;
}

.room-icon-wrap-mobile .room-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-icon-wrap-mobile .room-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #a5b4fc;
}

.room-info-mobile {
    position: relative;
    z-index: 2;
}

.room-info-mobile .room-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.room-info-mobile .room-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.room-info-mobile .room-owner {
    justify-content: center;
    margin-bottom: 12px;
}

.room-info-mobile .room-owner-avatar {
    width: 24px;
    height: 24px;
}

.room-info-mobile .room-owner-name {
    font-size: 0.8rem;
}

.room-stats-mobile {
    margin-top: 10px;
}

.room-stats-mobile .room-online {
    display: inline-flex;
    background: rgba(34, 197, 94, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
}

.rooms-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.rooms-carousel-track.dragging {
    transition: none;
}

.rooms-desktop-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 20px;
}

.rooms-desktop-track {
    display: flex;
    transition: transform 0.5s ease-out;
    will-change: transform;
}

.rooms-desktop-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 10px 0;
}

@media (max-width: 1200px) {
    .rooms-desktop-slide {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .rooms-desktop-slide {
        grid-template-columns: repeat(2, 1fr);
    }
}

.rooms-desktop-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.rooms-desktop-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.rooms-desktop-dot.active {
    background: #6366f1;
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

.rooms-desktop-dot:hover {
    background: rgba(99, 102, 241, 0.6);
}