/* Individual Game Page Styles */

/* Game Header */
.game-header {
    display: flex;
    align-items: center;
    padding: 100px 40px 40px;
}

.game-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.game-header-left {
    flex: 1;
    position: relative;
}

.game-header-left h1 {
    font-size: clamp(60px, 10vw, 120px);
    font-weight: 500;
    line-height: 0.8;
    margin-bottom: 20px;
    color: white;
}

.japanese-text {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    color: white;
    margin-bottom: 40px;
    text-align: right;
    margin-top: 10px;
}

.game-icon {
  margin-top: -160px;
  z-index: 2;
  position: relative;
  transform: rotate(13deg);
    width: 150px;
    height: 150px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.game-screenshot {
    width: 100%;
    max-width: 600px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.game-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Game Description */
.game-description {
    padding: 60px 40px;
}

.description-content {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.description-left {
    flex: 0 0 300px;
}

.description-left h2 {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.1;
}

.description-right {
    flex: 1;
}

.description-right p {
    font-size: 18px;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 16px;
}

.description-right p a {
  color: inherit;
  text-decoration: none;
}

/* Game Features */
.game-features {
    padding: 100px 40px;
    background-color: #1a1a1a;
    color: white;
}

.game-features h2 {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #2a2a2a;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
}

/* Game Stats */
.game-stats {
    padding: 80px 40px;
    background-color: #f5f5f5;
    color: #333;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    margin-bottom: 10px;
    color: #333;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.7;
    margin-bottom: 5px;
}

.stat-stars {
    font-size: 20px;
    color: #ffd700;
}


.play-btn {
  display: inline-flex;
    background: white;
    color: #667eea;
    padding: 16px 50px;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Related Games */
.related-games {
    padding: 100px 40px;
    background-color: #f5f5f5;
    color: #333;
}

.related-games h2 {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

.related-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.related-game {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.related-game:hover {
    transform: translateY(-10px);
}

.related-game img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-game-info {
    padding: 20px;
}

.related-game-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.related-game-info p {
    font-size: 14px;
    opacity: 0.7;
}

/* Responsive Design for Game Pages */
@media (max-width: 1024px) {
    .game-header-content {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }
    
    .description-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        align-items: center;
    }
    
    .description-left {
        flex: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .game-icon {
      margin-top: -100px;
    }
    .game-description,
    .game-features,
    .game-stats,
    .how-to-play,
    .play-now,
    .related-games {
        padding: 80px 20px;
    }

    .game-header {
      padding: 140px 20px 60px;
    }
    
    .game-screenshot {
        height: 250px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .step-number {
        min-width: auto;
    }
    
    .related-games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {

    .game-screenshot {
        height: 200px;
    }
    
    .features-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .related-games-grid {
        grid-template-columns: 1fr;
    }
}