/* BRICS Games Page Styles */

.brics-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #D4AF37, #C19A6B, #B8860B);
    text-align: center;
    color: white;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.brics-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0 Q300,60 600,30 T1200,0 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.brics-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.brics-hero p {
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.brics-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 100px;
}

.pdf-viewer-section {
    background: var(--color-surface);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

.pdf-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.pdf-controls h2 {
    margin: 0;
    color: var(--color-text);
    font-size: 1.5rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.pdf-container {
    width: 100%;
    height: 80vh;
    min-height: 600px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
}

.pdf-container embed,
.pdf-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.info-section {
    background: var(--color-surface);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.info-section h2 {
    color: var(--color-text);
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.info-card {
    background: var(--color-background);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #D4AF37;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.info-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.info-card h3 {
    color: var(--color-text);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.info-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Tablet and Medium Screens */
@media (max-width: 1024px) {
    .brics-hero h1 {
        font-size: 3rem;
    }

    .brics-hero p {
        font-size: 1.3rem;
    }

    .brics-content {
        padding: 0 15px 80px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile and Small Screens */
@media (max-width: 768px) {
    .brics-hero {
        padding: 120px 0 60px;
    }

    .brics-hero h1 {
        font-size: 2.5rem;
    }

    .brics-hero p {
        font-size: 1.2rem;
    }

    .pdf-container {
        height: 70vh;
        min-height: 500px;
    }

    .pdf-viewer-section {
        padding: 20px;
        border-radius: 15px;
    }

    .pdf-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .pdf-controls h2 {
        text-align: center;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 30px;
        font-size: 1.1rem;
        background: linear-gradient(135deg, #D4AF37, #B8860B);
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    }

    /* Mobile helper text */
    .pdf-controls::after {
        content: '📱 Yaxshiroq ko\'rish uchun PDF yuklab oling';
        display: block;
        text-align: center;
        font-size: 0.9rem;
        color: var(--color-text-muted);
        margin-top: 10px;
        font-style: italic;
    }

    .info-section {
        padding: 25px;
        border-radius: 15px;
    }

    .info-section h2 {
        font-size: 1.8rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-card {
        padding: 20px;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .brics-hero {
        padding: 100px 0 50px;
    }

    .brics-hero h1 {
        font-size: 2rem;
    }

    .brics-hero p {
        font-size: 1rem;
    }

    .brics-content {
        padding: 0 10px 60px;
    }

    .pdf-viewer-section {
        padding: 15px;
        margin-bottom: 30px;
    }

    .pdf-controls h2 {
        font-size: 1.2rem;
    }

    .download-btn {
        padding: 14px 25px;
        font-size: 1rem;
        font-weight: 700;
    }

    .pdf-container {
        height: 65vh;
        min-height: 400px;
        border-radius: 8px;
    }

    .info-section {
        padding: 20px;
    }

    .info-section h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .info-card .icon {
        font-size: 2.5rem;
    }

    .info-card h3 {
        font-size: 1.1rem;
    }
}