/* Game Page Specific Styles */

/* Game Header */
.game-header {
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.game-title {
    font-size: 2rem;
    font-weight: 700;
    color: #293032;
    margin-bottom: 1rem;
}

.game-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.game-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #29c296;
    font-weight: 500;
}

/* Game Gallery */
.game-gallery {
    margin: 2rem 0;
}

.gallery-main {
    margin-bottom: 1rem;
}

.gallery-main img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.gallery-thumbs {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.gallery-thumbs img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.gallery-thumbs img:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Game Description */
.game-description {
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.game-description h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #293032;
    margin-bottom: 1rem;
}

.game-description h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #293032;
    margin: 1.5rem 0 1rem 0;
}

.game-description p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.game-description ul {
    color: #6c757d;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.game-description li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Game Area with Overlay */
.game-area {
    position: relative;
    margin: 2rem 0;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.game-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.overlay-content {
    text-align: center;
    max-width: 80%;
}

.overlay-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 4px solid #29c296;
}

.overlay-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.overlay-description {
    color: #e9ecef;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.play-btn {
    background: #29c296;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: #22a57e;
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(41, 194, 150, 0.3);
}

#game-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.fullscreen-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
}

.fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .game-header {
        padding: 1rem;
    }
    
    .game-title {
        font-size: 1.75rem;
    }
    
    .game-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .game-area {
        height: 400px;
    }
    
    .overlay-title {
        font-size: 1.5rem;
    }
    
    .overlay-description {
        font-size: 1rem;
    }
    
    .play-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .game-header {
        padding: 0.75rem;
    }
    
    .game-title {
        font-size: 1.5rem;
    }
    
    .game-area {
        height: 300px;
    }
    
    .overlay-content {
        max-width: 90%;
    }
    
    .overlay-title {
        font-size: 1.25rem;
    }
    
    .overlay-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .overlay-image {
        width: 80px;
        height: 80px;
    }
    
    .play-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .fullscreen-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
        top: 0.5rem;
        right: 0.5rem;
    }
}