/* Additional styles for Tetris game page */

/* Navigation */
.game-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-link {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

.breadcrumb {
    color: #666;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

/* Game Header */
.game-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.game-info {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.game-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.game-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    line-height: 1.7;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* Game Main */
.game-main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    min-height: 60vh;
}

/* Game Instructions */
.game-instructions {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 3rem 2rem;
    margin: 2rem 0;
}

.instructions-content {
    max-width: 1000px;
    margin: 0 auto;
}

.game-instructions h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.instruction {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.instruction h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.instruction p {
    color: #666;
    line-height: 1.6;
}

/* Related Games */
.related-games {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.related-content {
    max-width: 600px;
    margin: 0 auto;
}

.related-games h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.related-content a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
}

.related-content a:hover {
    text-decoration: underline;
}

/* Body adjustments for game page */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .game-info h1 {
        font-size: 2rem;
    }

    .game-description {
        font-size: 1rem;
    }

    .game-main {
        padding: 1rem;
    }

    .game-instructions, .related-games {
        padding: 2rem 1rem;
    }

    .instructions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .instruction {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .game-info h1 {
        font-size: 1.5rem;
    }

    .feature-tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    .home-link {
        font-size: 1rem;
    }
}