/* Lobby Page Styles */
.lobby {
    padding: 40px 0;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--brawl-yellow);
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

.star-1 { top: 10%; left: 10%; animation-delay: 0s; }
.star-2 { top: 20%; left: 80%; animation-delay: 0.5s; }
.star-3 { top: 60%; left: 30%; animation-delay: 1s; }
.star-4 { top: 80%; left: 70%; animation-delay: 1.5s; }
.star-5 { top: 40%; left: 50%; animation-delay: 2s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* Hero Section */
.hero-lobby {
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
    animation: slideIn 0.8s ease-out;
}

.hero-title {
    font-family: 'Lilita One', cursive;
    font-size: 4rem;
    color: var(--brawl-yellow);
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
    animation: bounce 2s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-card {
    background: var(--bg-card);
    padding: 25px 35px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    min-width: 150px;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--brawl-yellow);
    box-shadow: var(--shadow-glow);
}

.stat-card img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-family: 'Lilita One', cursive;
    font-size: 2.5rem;
    color: var(--brawl-yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Quick Access Section */
.quick-access {
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Lilita One', cursive;
    font-size: 2.5rem;
   Color: var(--brawl-yellow);
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.access-card {
    display: block;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    animation: slideIn 0.6s ease-out;
    animation-fill-mode: both;
}

.access-card:nth-child(1) { animation-delay: 0.1s; }
.access-card:nth-child(2) { animation-delay: 0.2s; }
.access-card:nth-child(3) { animation-delay: 0.3s; }
.access-card:nth-child(4) { animation-delay: 0.4s; }
.access-card:nth-child(5) { animation-delay: 0.5s; }

.access-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--brawl-yellow);
}

.access-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: var(--brawl-yellow);
    box-shadow: var(--shadow-glow);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.card-icon img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
}

.access-card h3 {
    font-family: 'Lilita One', cursive;
    font-size: 1.8rem;
    color: var(--brawl-yellow);
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.access-card p {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Card specific colors */
.brawlers-card::before { background: var(--rarity-chromatic); }
.meta-card::before { background: var(--brawl-red); }
.maps-card::before { background: var(--rarity-legendary); }
.codes-card::before { background: var(--brawl-green); }
.news-card::before { background: var(--brawl-blue); }

/* Featured Brawler Section */
.featured-brawler {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    margin-bottom: 50px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--brawl-yellow);
    animation: slideIn 0.8s ease-out;
}

.featured-brawler h2 {
    font-family: 'Lilita One', cursive;
    font-size: 2rem;
    color: var(--brawl-yellow);
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.featured-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.featured-image {
    width: 200px;
    height: 200px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

.featured-image img {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-full);
}

.featured-info h3 {
    font-family: 'Lilita One', cursive;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.featured-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.featured-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.featured-stat {
    background: rgba(255, 193, 7, 0.1);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--brawl-yellow);
}

.featured-stat span {
    font-weight: 700;
    color: var(--brawl-yellow);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-card {
        min-width: 120px;
        padding: 20px 25px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-content {
        flex-direction: column;
        text-align: center;
    }
    
    .featured-image {
        width: 150px;
        height: 150px;
    }
    
    .featured-image img {
        width: 130px;
        height: 130px;
    }
    
    .featured-stats {
        justify-content: center;
    }
}
