/* Games Gallery Page Specific Styles */
.games-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100%" height="100%" fill="%230f3c36"/><circle cx="20" cy="20" r="8" fill="%23ff4500" opacity="0.3"/><circle cx="80" cy="80" r="8" fill="%23e63946" opacity="0.3"/><path d="M30,30 L70,70" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/><path d="M30,70 L70,30" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: cover;
    text-align: center;
    padding: 0 1rem;
}

.games-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.games-hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-orange);
    font-weight: 600;
}

.games-hero .hero-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.btn-play-now {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--accent-red);
    color: white;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-play-now:hover {
    background-color: #c52d3a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.btn-play-now i {
    margin-left: 0.8rem;
}

/* Games Sections */
.games-section {
    padding: 5rem 0;
}

.alt-bg {
    background-color: rgba(10, 40, 36, 0.95);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--accent-orange);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Featured Game Card */
.featured-game-card {
    display: flex;
    gap: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.featured-game-image {
    flex: 2;
    min-width: 300px;
    overflow: hidden;
}

.featured-game-info {
    flex: 3;
    padding: 2rem;
}

.game-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.game-title {
    font-size: 1.8rem;
    margin: 0;
    margin-right: 1rem;
}

.game-tag {
    display: inline-block;
    background-color: var(--accent-red);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.game-tagline {
    font-size: 1.2rem;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.game-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.game-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    flex-wrap: wrap;
}

.game-meta span {
    display: flex;
    align-items: center;
}

.game-meta i {
    margin-right: 0.5rem;
    color: var(--accent-orange);
}

.btn-play-featured {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background-color: var(--accent-orange);
    color: white;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-play-featured:hover {
    background-color: #e03e00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4);
}

.btn-play-featured i {
    margin-left: 0.5rem;
}

/* Games Filter */
.games-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-label {
    margin-right: 1rem;
    font-weight: 500;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-weight: 500;
}

.filter-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.filter-btn.active {
    background-color: var(--accent-orange);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-weight: 500;
}

.pagination-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.pagination-btn.active {
    background-color: var(--accent-orange);
}

.pagination-btn.next {
    background-color: var(--accent-red);
}


/* Game cards */
.game-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
    border-top: 3px solid transparent;
}

.game-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.game-card h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.game-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-play {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--accent-red);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.btn-play:hover {
    background-color: #c52d3a;
    transform: translateY(-3px);
}

/* Why Games Section */
.why-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.why-games-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
    height: 100%;
}

.why-games-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.why-icon {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
}

.why-games-card h3 {
    margin-bottom: 1rem;
    color: var(--accent-orange);
}

.why-games-card p {
    line-height: 1.6;
}

/* Creators Call Section */
.creators-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.creators-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-orange);
}

.creators-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-submit-concept {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--accent-red);
    color: white;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-submit-concept:hover {
    background-color: #c52d3a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
}

.btn-submit-concept i {
    margin-left: 0.8rem;
}

/* Game Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-content {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent-orange);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.8rem;
    margin-right: 1rem;
}

.modal-header .game-tag {
    font-size: 0.8rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-screenshots {
    margin-bottom: 1.5rem;
}

.screenshot {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.modal-description h4 {
    margin-bottom: 1rem;
    color: var(--accent-orange);
}

.modal-description p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-details {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.detail-item {
    margin-bottom: 0.8rem;
    display: flex;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-weight: 600;
    width: 130px;
    color: var(--accent-orange);
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.btn-play-modal {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--accent-red);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-play-modal:hover {
    background-color: #c52d3a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
}

.btn-play-modal i {
    margin-left: 0.8rem;
}

/* Media Queries */
@media screen and (max-width: 992px) {
    .featured-game-card {
        flex-direction: column;
    }
    
    .featured-game-image {
        min-width: 100%;
    }
    
    .why-games-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .games-hero {
        height: auto;
        min-height: 60vh;
        padding: 6rem 1rem;
    }
    
    .games-hero h1 {
        font-size: 2.2rem;
    }
    
    .games-hero .subtitle {
        font-size: 1.3rem;
    }
    
    .games-hero .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .games-section {
        padding: 3rem 0;
    }
    
    .featured-game-info {
        padding: 1.5rem;
    }
    
    .game-title {
        font-size: 1.5rem;
    }
    
    .game-tagline {
        font-size: 1.1rem;
    }
    
    .creators-content {
        padding: 2rem 1.5rem;
    }
    
    .creators-content h2 {
        font-size: 1.6rem;
    }
    
    .creators-content p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 576px) {
    .games-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-label {
        margin-right: 0;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .game-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-header h3 {
        font-size: 1.5rem;
    }
    
    .modal-header .game-tag {
        font-size: 0.8rem;
    }
    
    .detail-item {
        flex-direction: column;
    }
    
    .detail-label {
        width: 100%;
        margin-bottom: 0.3rem;
    }
}



/* ..................................................................................... */
/* Games Gallery Page Specific Styles */
.games-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100%" height="100%" fill="%230f3c36"/><path d="M0 0 L100 100" stroke="%23ff4500" stroke-width="1" opacity="0.2"/><path d="M50 0 L50 100" stroke="%23e63946" stroke-width="2" opacity="0.2"/><path d="M0 50 L100 50" stroke="%23ff4500" stroke-width="1" opacity="0.2"/></svg>');
    background-size: cover;
    text-align: center;
    padding: 0 1rem;
}

.games-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.games-section {
    padding: 5rem 0;
}

.alt-bg {
    background-color: rgba(10, 40, 36, 0.95);
}

/* Filter buttons */
.filter-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn.active {
    background-color: var(--accent-red);
    color: white;
}

.filter-btn:hover {
    background-color: #c52d3a;
    transform: translateY(-3px);
}

/* Game cards */
.game-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
    border-top: 3px solid transparent;
}

.game-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.game-card h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.game-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-play {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--accent-red);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.btn-play:hover {
    background-color: #c52d3a;
    transform: translateY(-3px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(15, 60, 54, 0.95);
    z-index: 1000;
}

.modal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--text-color);
    cursor: pointer;
}

.close-modal:hover {
    color: #ff6a33;
    transform: scale(1.1);
}

/* Pagination buttons */
.pagination-btn {
    display: inline-block;
    padding: 0.8rem;
    border-radius: 50%;
    background-color: var(--accent-red);
    color: white;
    font-weight: 500;
    transition: var(--transition);
}

.pagination-btn:hover {
    background-color: #c52d3a;
    transform: translateY(-3px);
}

.next {
    float: right;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .filter-btn {
        padding: 0.6rem 1.2rem;
    }
    
    .game-card {
        padding: 1.5rem;
    }
    
    .game-card h4 {
        font-size: 1.1rem;
    }
    
    .btn-play {
        padding: 0.7rem 1.3rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .close-modal {
        top: 15px;
        right: 15px;
        font-size: 1.5rem;
    }
    
    .pagination-btn {
        padding: 0.5rem;
    }
}

@media screen and (max-width: 768px) {
    .games-hero {
        height: 50vh;
    }
    
    .games-hero h1 {
        font-size: 2.2rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
    }
    
    .game-card {
        padding: 1rem;
    }
    
    .game-card h4 {
        font-size: 1rem;
    }
    
    .btn-play {
        padding: 0.6rem 1.2rem;
    }
    
    .close-modal {
        top: 10px;
        right: 10px;
        font-size: 1.2rem;
    }
    
    .pagination-btn {
        padding: 0.4rem;
    }
}

@media screen and (max-width: 576px) {
    .filter-btn {
        padding: 0.4rem;
    }
    
    .game-card {
        padding: 0.8rem;
    }
    
    .game-card h4 {
        font-size: 0.9rem;
    }
    
    .btn-play {
        padding: 0.5rem 1rem;
    }
    
    .close-modal {
        top: 5px;
        right: 5px;
        font-size: 1rem;
    }
    
    .pagination-btn {
        padding: 0.3rem;
    }
}