.hero-banner {
    margin-top: calc(var(--header-height) + 16px);
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.banner-slide {
    width: 100%;
    display: none;
    overflow: hidden;
    position: relative;
}

.banner-slide.active {
    display: block;
    animation: scaleIn 0.5s ease;
}

.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-slide a {
    display: block;
    width: 100%;
}

.banner-dots {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    border: none;
    position: relative;
}

.banner-dot::after {
    content: '';
    position: absolute;
    top: -19px;
    right: -19px;
    bottom: -19px;
    left: -19px;
}

.banner-dot.active {
    background: var(--color-primary);
    width: 24px;
}

.popular-section {
    padding: var(--spacing-md) 0 var(--spacing-xl);
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.pop-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 14px 14px;
    text-decoration: none;
    transition: all var(--transition-base);
    min-width: 0;
}

.pop-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow-sm), var(--shadow-lg);
    transform: translateY(-2px);
}

.pop-card:active {
    transform: translateY(0);
}

.pop-card-icon {
    position: relative;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.pop-card-icon-bg {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0e1e4a, #0a0a1a);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pop-card-icon-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pop-card-badge {
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid var(--color-bg-card);
    z-index: 1;
}

.pop-card-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pop-card-title {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.pop-card-fire {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.pop-card-title span {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Inter', system-ui, sans-serif;
    min-width: 0;
}

.pop-card-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: #a78bfa;
    font-family: 'Inter', system-ui, sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

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

@media (max-width: 480px) {
    .popular-grid { grid-template-columns: repeat(2, 1fr); }
}

.games-section {
    padding: var(--spacing-md) 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.features-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.stats-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.cta-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.cta-section .btn {
    background: white;
    color: var(--color-primary);
    font-size: var(--font-size-lg);
    padding: 1rem 2.5rem;
}

.cta-section .btn:hover {
    background: var(--color-bg-primary);
    color: white;
}

@media (max-width: 1024px) {
    .games-grid { grid-template-columns: repeat(4, 1fr); }
}

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

@media (max-width: 480px) {
    .games-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .banner-dots { display: none; }
}
