/* Game Page Specific Styles */

/* Game Container */
.game-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#Game {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Game Header */
.game-header {
    padding: 120px 0 40px;
    text-align: center;
}

.game-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Game Controls */
.game-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.btn-fullscreen {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-fullscreen i {
    font-size: 1.1rem;
}

/* Game Details */
.game-details {
    margin-bottom: 80px;
    display: flex;
    gap: 50px;
}

.game-info {
    flex: 1;
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.game-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.game-features .feature {
    display: flex;
    align-items: center;
}

.game-features .feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255, 94, 58, 0.3);
}

.game-features .feature-icon i {
    font-size: 1.2rem;
    color: var(--light-text);
}

.game-features .feature-text h3 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.game-features .feature-text p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.game-description {
    flex: 2;
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.game-description p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.game-description h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 30px 0 15px;
}

.game-description ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.game-description ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.game-description ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

/* More Games Section */
.more-games {
    margin-bottom: 80px;
}

.more-games h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
}

.more-games .divider {
    margin-bottom: 40px;
}

.small-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Responsive Styles for Game Page */
@media (max-width: 992px) {
    .game-details {
        flex-direction: column;
    }
    
    .game-info {
        margin-bottom: 30px;
    }
    
    .small-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .game-header {
        padding: 100px 0 30px;
    }
    
    .game-header h1 {
        font-size: 2rem;
    }
    
    .game-features {
        grid-template-columns: 1fr;
    }
    
    .game-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .game-controls .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .small-grid {
        grid-template-columns: 1fr;
    }
    
    .game-header h1 {
        font-size: 1.8rem;
    }
    
    .game-info, 
    .game-description {
        padding: 20px;
    }
}

/* Fullscreen Game Container */
.fullscreen-game {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: #000;
}

.fullscreen-game iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.exit-fullscreen {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition);
}

.exit-fullscreen:hover {
    background: rgba(255, 255, 255, 0.4);
}