/* Game Page Specific Styles */

/* Game Header */
.game-header {
    padding: 2rem 0;
    color: white;
}

.game-breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.game-breadcrumb a {
    color: #ffd700;
    text-decoration: none;
}

.game-breadcrumb a:hover {
    text-decoration: underline;
}

.game-breadcrumb span {
    color: #ccc;
}

.game-title-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.game-icon {
    font-size: 4rem;
    background: rgba(255, 215, 0, 0.1);
    padding: 1rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.game-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.game-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.game-tag {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.game-tag.featured {
    background: #ffd700;
    color: #1a1a2e;
    border: none;
}

.game-features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 1.5rem;
}

/* Game Container */
.game-container {
    padding: 2rem 0;
    min-height: 70vh;
}

.game-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.game-frame {
    position: relative;
    width: 100%;
    height: 600px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 3px solid #ffd700;
}

.iframe-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    z-index: 10;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 215, 0, 0.3);
    border-top: 4px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.game-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.game-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.control-btn {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.age-reminder {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffd700;
    font-weight: bold;
}

/* Game Information */
.game-info-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.info-card h3 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-card h4 {
    color: #ffd700;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.info-card ul {
    list-style: none;
    padding-left: 0;
}

.info-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
}

.responsible-gaming-card {
    background: rgba(220, 38, 38, 0.1);
    border: 2px solid rgba(220, 38, 38, 0.3);
}

.responsibility-tips {
    margin-top: 1rem;
}

.tip {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.tip-icon {
    font-size: 1.2rem;
    color: #ffd700;
}

/* Other Games Section */
.other-games {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 3rem;
}

.all-games-link {
    text-align: center;
    margin-top: 2rem;
}

/* Mobile Responsive for Game Pages */
@media (max-width: 768px) {
    .game-title-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .game-icon {
        font-size: 3rem;
        padding: 0.8rem;
    }

    .game-title {
        font-size: 2rem;
    }

    .game-features-list {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 400px;
    }

    .game-controls {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .game-info-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .control-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .game-header {
        padding: 1rem 0;
    }

    .game-title {
        font-size: 1.8rem;
    }

    .game-frame {
        height: 350px;
        margin: 0 0.5rem;
    }

    .feature-item {
        padding: 0.8rem;
    }

    .game-container {
        padding: 1rem 0;
    }

    .info-card {
        padding: 1rem;
    }
}

/* Fullscreen mode */
.fullscreen-mode {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    border-radius: 0 !important;
    border: none !important;
}

.fullscreen-mode .game-iframe {
    border-radius: 0 !important;
}
