/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 70, 85, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0F1419 0%, #1E2328 50%, #0F1419 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 1400px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    background: linear-gradient(45deg, #FF4655, #FFD700, #00F5FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(255, 70, 85, 0.5);
}

.hero-features {
    margin-bottom: 2.5rem;
}

.main-tagline {
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    color: var(--text-accent);
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto 1rem auto;
    padding: 0 20px;
}

.feature-item {
    text-align: center;
    min-width: 160px;
}

.feature-badge {
    background: linear-gradient(135deg, rgba(255, 70, 85, 0.1), rgba(0, 245, 255, 0.1));
    border: 1px solid rgba(255, 70, 85, 0.3);
    border-radius: 25px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.feature-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 70, 85, 0.3);
}

.feature-badge.lightning {
    border-color: rgba(255, 70, 85, 0.4);
}

.feature-badge.target {
    border-color: rgba(0, 245, 255, 0.4);
}

.feature-badge.trophy {
    border-color: rgba(0, 245, 255, 0.4);
}

.feature-icon {
    font-size: 1.2rem;
}

.feature-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-accent);
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 3rem auto;
    max-width: 1400px;
    padding: 0 20px;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: var(--border-subtle);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 100px;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--valorant-red), transparent);
    animation: scan 3s ease-in-out infinite;
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.stat-card:hover {
    border-color: var(--valorant-blue);
    box-shadow: var(--glow-secondary);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--valorant-gold);
    font-family: 'Orbitron', monospace;
    margin-bottom: 10px;
    line-height: 1.2;
}

.stat-label {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.3;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 80px 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: var(--border-subtle);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--valorant-red);
    box-shadow: var(--glow-primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.footer {
    text-align: center;
    padding: 60px 20px;
    border-top: var(--border-subtle);
    margin-top: 100px;
}

.online-indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: var(--border-subtle);
    border-radius: 25px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1000;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #32d74b !important;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(50, 215, 75, 0.6);
}


@media (max-width: 1400px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .stats-grid { 
        grid-template-columns: repeat(2, 1fr);
        margin: 2rem auto;
        gap: 12px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
    }
    
    .stat-label {
        font-size: 0.85rem !important;
    }
    
    .feature-highlights {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .feature-item {
        max-width: 100% !important;
    }
    
    .hero-actions { flex-direction: column; align-items: center; }
    .features-grid { grid-template-columns: 1fr; margin: 40px 0; }
}

@media (max-width: 480px) {
    .stats-grid { 
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .stat-card {
        padding: 10px;
    }
    
    .stat-number {
        font-size: 1.2rem !important;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--valorant-blue);
    box-shadow: 0 0 10px rgba(0, 206, 255, 0.3);
}

.form-group textarea {
    min-height: 60px;
    resize: vertical;
}

.form-group small {
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Input with paste button */
.input-with-button {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-button input {
    padding-right: 110px;
    flex: 1;
}

.paste-btn {
    position: absolute;
    right: 8px;
    background: var(--valorant-gold);
    color: #1a1a1a;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.paste-btn:hover {
    background: #FFD700;
    transform: scale(1.05);
}

/* Custom Select Styles */
.custom-select-wrapper {
    position: relative;
}

.custom-select {
    position: relative;
}

.custom-select-trigger {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.custom-select-trigger:hover,
.custom-select.open .custom-select-trigger {
    border-color: var(--valorant-blue);
    box-shadow: 0 0 10px rgba(0, 206, 255, 0.3);
}

.custom-select-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
    color: var(--text-secondary);
}

.custom-select.open .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 2px solid var(--valorant-blue);
    border-radius: 8px;
    margin-top: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.custom-select.open .custom-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.custom-option:hover {
    background: var(--valorant-blue);
    color: white;
}

.custom-option.selected {
    background: rgba(0, 206, 255, 0.2);
    color: var(--valorant-blue);
}

.custom-option .rank-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.custom-option span {
    font-size: 14px;
}

.custom-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Scrollbar styling for options */
.custom-select-options::-webkit-scrollbar {
    width: 6px;
}

.custom-select-options::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

.custom-select-options::-webkit-scrollbar-thumb {
    background: var(--valorant-blue);
    border-radius: 3px;
}

/* Animation keyframes */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pulse-success {
    animation: pulseSuccess 0.6s ease-in-out;
}

@keyframes pulseSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(0.95); }
}

@keyframes floatUp {
    0% { 
        opacity: 0;
        transform: translateY(10px) scale(0.8);
    }
    20% {
        opacity: 1;
        transform: translateY(-5px) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0.9);
    }
}

@keyframes floatUpCompact {
    0% { 
        opacity: 0;
        transform: translateY(15px) scale(0.7);
    }
    15% {
        opacity: 1;
        transform: translateY(-5px) scale(1.05);
    }
    30% {
        opacity: 1;
        transform: translateY(-10px) scale(1);
    }
    85% {
        opacity: 1;
        transform: translateY(-25px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-45px) scale(0.8);
    }
}

/* Fixed notification */
#fixedNotification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00C9A7, #00A88C);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    z-index: 999999999;
    box-shadow: 0 8px 30px rgba(0, 201, 167, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    max-width: 400px;
    display: none;
    animation: slideDownNotification 0.4s ease-out;
}

#fixedNotification.error {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    box-shadow: 0 8px 30px rgba(255, 71, 87, 0.4);
}

@keyframes slideDownNotification {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideUpNotification {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

/* Notification animations */
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Lobbies Section Styles */
#lobbies-section {
    min-height: 100vh;
    padding-top: 0;
    background: linear-gradient(135deg, 
        #0F1419 0%, 
        #1A1E23 25%, 
        #0D1B2A 50%, 
        #1B263B 75%, 
        #0F1419 100%);
    background-attachment: fixed;
    position: relative;
}

#lobbies-section::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 122, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 69, 58, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(50, 215, 75, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.dev-header {
    background: 
        repeating-linear-gradient(
            45deg,
            #f59e0b 0px,
            #f59e0b 10px,
            #000 10px,
            #000 20px
        ),
        linear-gradient(45deg, #0F1419, #1E2328);
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.3);
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    border-bottom: var(--border-subtle);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.dev-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            rgba(245, 158, 11, 0.15) 0px,
            rgba(245, 158, 11, 0.15) 8px,
            transparent 8px,
            transparent 16px
        );
    animation: slide-stripes 3s linear infinite;
    pointer-events: none;
}

.dev-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 20, 25, 0.85);
    pointer-events: none;
}

.dev-header > *, .dev-header span, .platform-text {
    position: relative;
    z-index: 2;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.3) !important;
}

.header-status {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.lobby-status {
    background: rgba(83, 232, 139, 0.2);
    border: 1px solid rgba(83, 232, 139, 0.4);
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    animation: pulse-lobby-count 2s infinite;
}

@keyframes pulse-lobby-count {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(83, 232, 139, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(83, 232, 139, 0.5);
    }
}

.maintenance-badges {
    display: flex;
    gap: 10px;
    align-items: center;
}

.badge-development {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #000;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    animation: pulse-development 3s infinite;
    border: 1px solid rgba(16, 185, 129, 0.5);
}

@keyframes slide-stripes {
    0% { transform: translateX(-32px); }
    100% { transform: translateX(0px); }
}

@keyframes pulse-development {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(16, 185, 129, 0.5);
    }
}

@media (max-width: 768px) {
    .dev-header {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
    }
    
    .maintenance-badges {
        justify-content: center;
    }
}

.main-content {
    min-height: calc(100vh - 50px);
}

.hero-stats {
    padding: 40px 0;
    text-align: center;
    border-bottom: var(--border-subtle);
    margin-bottom: 40px;
}

.gaming-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: var(--text-accent);
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.gaming-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.lobbies-section {
    margin-top: 0;
}

.share-lobby-btn {
    position: fixed;
    bottom: 85px;
    right: 20px;
    background: var(--gradient-secondary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--glow-secondary);
    transition: all 0.3s ease;
    z-index: 1000;
}

.share-lobby-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 206, 255, 0.6);
}

.refresh-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--glow-primary);
    transition: all 0.3s ease;
    z-index: 1000;
}

.refresh-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 70, 85, 0.6);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: var(--border-subtle);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 80%;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 20px;
    border-bottom: var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--text-accent);
    font-family: 'Orbitron', monospace;
    margin: 0;
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--valorant-red);
}

.modal-body {
    padding: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-footer {
    padding: 20px;
    border-top: var(--border-subtle);
    text-align: right;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.btn-back {
    background: var(--bg-card);
    border: var(--border-subtle);
    color: var(--text-accent);
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-back:hover {
    background: var(--valorant-red);
    color: white;
    transform: translateX(-2px);
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: var(--text-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.sticky-metrics {
    position: sticky;
    top: 20px;
    z-index: 100;
    margin-bottom: 30px;
}

.stats-grid-mini {
    display: flex;
    justify-content: center;
    gap: 20px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: var(--border-subtle);
    border-radius: 12px;
    padding: 15px;
}

.stat-card-mini {
    text-align: center;
}

.stat-number-mini {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--valorant-gold);
    font-family: 'Orbitron', monospace;
}

.stat-label-mini {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 40px;
}

/* Lobby Card Styles - From platform.php */
.lobby-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: var(--border-subtle);
    border-radius: 12px !important;
    padding: 18px !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lobby-card:hover {
    border-color: var(--valorant-blue);
    box-shadow: var(--glow-secondary);
}

.lobby-header {
    margin-bottom: 12px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lobby-code {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--valorant-gold);
    margin: 12px 0 !important;
}

.lobby-code-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0 !important;
}

.btn-copy-compact {
    padding: 6px 12px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    min-width: auto !important;
    border: 2px solid #00C9A7 !important;
    background: linear-gradient(135deg, #00C9A7, #00A88C) !important;
    color: white !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 201, 167, 0.3) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    white-space: nowrap !important;
}

.btn-copy-compact:hover {
    background: linear-gradient(135deg, #00E4B8, #00C9A7) !important;
    border-color: #00E4B8 !important;
    box-shadow: 0 4px 12px rgba(0, 201, 167, 0.5) !important;
    transform: translateY(-1px) !important;
}

.btn-copy-compact:active {
    transform: translateY(0px) !important;
    box-shadow: 0 2px 6px rgba(0, 201, 167, 0.4) !important;
}

.lobby-info {
    gap: 6px !important;
    margin-bottom: 12px !important;
}

.lobby-info-item {
    font-size: 12px !important;
    padding: 4px 0 !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lobby-info-item > span:first-child {
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.lobby-description {
    font-size: 13px !important;
    margin: 8px 0 !important;
    line-height: 1.3 !important;
    background: var(--bg-secondary);
    border-radius: 6px;
    padding: 8px;
    color: var(--text-muted) !important;
}

.lobby-ranks {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rank-icon.small {
    width: 28px !important;
    height: 28px !important;
    display: inline-block;
    vertical-align: middle;
}

.game-mode-badge {
    background: linear-gradient(135deg, var(--valorant-red), #FF6B7A);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gaming-flex {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lobby-footer {
    margin-top: 12px !important;
    font-size: 11px !important;
}

.lobby-timer {
    color: #ff4757 !important;
    font-weight: 500;
    text-shadow: 0 0 2px rgba(255, 71, 87, 0.3);
}

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 70, 85, 0.1);
    border-left: 4px solid var(--valorant-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.create-lobby-section {
    text-align: center;
    padding: 40px 0;
    border-top: var(--border-subtle);
}

.btn-large {
    padding: 15px 40px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .stats-grid-mini {
        gap: 15px;
    }
    
    .lobbies-grid {
        grid-template-columns: 1fr;
    }
}

/* New Lobby Highlight Animation */
@keyframes newLobbyGlow {
    0% { 
        box-shadow: 0 0 20px var(--valorant-green); 
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 30px var(--valorant-green); 
        transform: scale(1.02);
    }
    100% { 
        box-shadow: 0 0 20px var(--valorant-green); 
        transform: scale(1);
    }
}

/* Refresh Animation */
.refresh-pulse {
    animation: refreshPulse 0.6s ease-in-out;
}

@keyframes refreshPulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}

/* Neon green description like platform.php */
.lobby-description {
    font-size: 13px !important;
    margin: 8px 0 !important;
    line-height: 1.3 !important;
    color: #00ff41 !important;
    text-shadow: 0 0 3px #00ff41, 0 0 6px rgba(0, 255, 65, 0.5);
    font-weight: 500 !important;
    padding: 6px 12px;
    border-left: 3px solid #00ff41;
    background: rgba(0, 255, 65, 0.02);
    border-radius: 4px;
    box-shadow: -3px 0 6px rgba(0, 255, 65, 0.2);
}

.lobby-description.empty {
    color: var(--text-muted) !important;
    text-shadow: none !important;
    font-style: italic;
    border-left: 3px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
    opacity: 0.7;
    box-shadow: -3px 0 6px rgba(255, 255, 255, 0.05);
}