.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Intro Section */
.intro-section {
    text-align: center;
    margin-bottom: 40px;
}

.intro-section h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.intro-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Search Section */
.search-section {
    position: relative;
    max-width: 600px;
    margin: 0 auto 50px;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    font-size: 1.1rem;
    border: 2px solid var(--page-secondary);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--white);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-red-hover);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
    pointer-events: none;
}

/* Games Grid */
.games-container {
    margin-bottom: 60px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.game-card {
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
    border: 1px solid var(--border-primary);

}

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

.game-card .game-logo {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
    border-radius: 8px;
}

.game-card .game-logo-placeholder {
    width: 100%;
    max-width: 200px;
    height: 150px;
    margin: 0 auto 20px;
    background: var(--bg-primary);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.game-card .game-tagline {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.game-card .game-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.game-card .game-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.game-card .game-features .feature-icon {
    flex-shrink: 0;
    font-size: 1rem;
}

.game-card .game-features .feature-text {
    color: var(--white);
    line-height: 1.4;
}

.game-card .game-features .feature-available .feature-icon {
    color: #48b461;
}

.game-card .game-features .feature-coming_soon .feature-icon {
    color: #f59e0b;
}

.game-card .game-features .feature-in_progress .feature-icon {
    color: #3b82f6;
}

.game-card .game-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.game-card .btn {
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.game-card .btn-primary {
    background: var(--accent-red);
    color: var(--white);
}

.game-card .btn-primary:hover {
    background: #b91c1c;
}

.game-card .btn-secondary {
    background: var(--page-secondary);
    color: var(--white);
}

.game-card .btn-secondary:hover {
    background: var(--bg-primary);
}

/* Pagination */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.pagination-btn {
    padding: 12px 25px;
    background: var(--accent-red);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.pagination-btn:hover:not(:disabled) {
    background: #b91c1c;
}

.pagination-btn:disabled {
    background: var(--page-secondary);
    cursor: not-allowed;
    opacity: 0.5;
}

.page-info {
    font-size: 1.1rem;
    color: var(--white);
}

/* Bottom Section */
.bottom-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid var(--page-secondary);
}

.bottom-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.bottom-blurb {
    background: var(--bg-primary);
    border: 1px solid var(--page-secondary);
    border-radius: 10px;
    padding: 40px;
}

.bottom-blurb h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.bottom-blurb p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Feature Boxes */
.feature-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-box {
    background: var(--bg-primary);
    border: 1px solid var(--page-secondary);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.feature-box:hover {
    background: var(--bg-primary);
    border-color: var(--danger);
    transform: translateY(-3px);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--accent-red);
    margin-bottom: 15px;
    display: block;
}

.feature-box span {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
    .bottom-content {
        grid-template-columns: 1fr;
    }
    
    .feature-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .intro-section h1 {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pagination-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .feature-boxes {
        grid-template-columns: 1fr;
    }
}
