/* Game Carousel Module Styles - Fixed Card Sizing */

.featured-game {
    margin: 4rem 0;
    padding: 2rem 0;
}

.featured-game h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.game-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-container {
    overflow: visible;
    position: relative;
    padding: 1rem 0;
}

.carousel-track {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

.game-card {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    min-height: 520px;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-red);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
    z-index: 5;
}

.game-logo {
    width: 250px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 1rem;
    display: block;
    border-radius: 8px;
    border: 2px solid #000000;
    background-color: rgba(0, 0, 0, 0.3);
}

.game-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--page-primary);
    font-family: 'Playfair Display', serif;
    height: 2.5rem;
    line-height: 1.25rem;
    overflow: hidden;
}

.game-tagline {
    font-size: 0.9rem;
    color: #d1d5db;
    margin-bottom: 1rem;
    line-height: 1.4;
    height: 4.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-features {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
    text-align: left;
    flex-grow: 1;
}

.game-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem;
    font-size: 0.85rem;
    background-color: rgba(26, 15, 10, 0.4);
    border-radius: 4px;
    border-left: 2px solid transparent;
    margin-bottom: 0.4rem;
}

.game-features li.feature-available {
    border-left-color: #10b981;
}

.game-features li.feature-coming_soon {
    border-left-color: #f59e0b;
}

.game-features li.feature-in_progress {
    border-left-color: #3b82f6;
}

.feature-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
    line-height: 1;
}

.feature-text {
    color: #e5e7eb;
    font-size: 0.85rem;
    line-height: 1.3;
}

.game-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.75rem;
}

.game-actions .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    width: 100%;
    text-align: center;
}

/* Carousel Arrows - Always visible */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(87, 61, 42, 0.8);
    border: 1px solid var(--border-primary);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--page-primary);
}

.carousel-arrow:hover {
    background-color: var(--accent-red);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* Carousel Indicators - Always visible */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.carousel-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(87, 61, 42, 0.5);
    border: 2px solid var(--border-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicators .indicator:hover {
    background-color: rgba(87, 61, 42, 0.8);
    transform: scale(1.2);
}

.carousel-indicators .indicator.active {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
}

/* Responsive - Keep Fixed Card Size */
@media (max-width: 1400px) {
    .carousel-track {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .game-carousel {
        padding: 0 50px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 640px) {
    .game-carousel {
        padding: 0 10px;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
    }
}
.game-logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: #6b7280;
}

.game-logo-placeholder svg {
    margin-bottom: 0.5rem;
}

.game-logo-placeholder span {
    font-size: 0.75rem;
    color: #9ca3af;
}
