/* Global Styles */
:root {
    --primary-color: #00ff9d;
    --secondary-color: #ff00ff;
    --background-color: #000428;
    --text-color: #ffffff;
    --card-bg: rgba(0, 4, 40, 0.8);
    --border-color: rgba(0, 255, 157, 0.3);
    --section-bg: rgba(0, 4, 40, 0.9);
    --section-border: 1px solid var(--border-color);
    --section-radius: 12px;
    --section-shadow: 0 8px 32px rgba(0, 255, 157, 0.2);
    --section-padding: 3rem;
    --section-margin: 4rem 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Fire Background */
.fire-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.flame {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.8) 0%, rgba(255, 165, 0, 0.6) 50%, rgba(255, 255, 0, 0.4) 100%);
    border-radius: 50%;
    filter: blur(5px);
    animation: flicker 3s infinite alternate;
    opacity: 0.3;
}

@keyframes flicker {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(0.8); opacity: 0.2; }
}

/* Header Styles */
header {
    background-color: rgba(0, 4, 40, 0.9);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 255, 157, 0.2);
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
    margin: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    0% { text-shadow: 0 0 5px rgba(0, 255, 157, 0.5); }
    100% { text-shadow: 0 0 20px rgba(0, 255, 157, 0.8); }
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.language-selector select {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

/* Main Content Styles */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Section Styles */
section {
    margin: var(--section-margin);
    padding: var(--section-padding);
    background-color: var(--section-bg);
    border: var(--section-border);
    border-radius: var(--section-radius);
    box-shadow: var(--section-shadow);
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0.7;
}

section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Hero Section */
#hero {
    text-align: center;
    height: 30vh;
    width: 100%;
    padding: 1rem 2rem;
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(0, 4, 40, 0.9), rgba(0, 0, 0, 0.8));
    border: none;
    box-shadow: 0 10px 40px rgba(0, 255, 157, 0.3);
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 255, 157, 0.7);
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--background-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.4);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 157, 0.6);
}

/* Game Section */
.game-section {
    padding: 0;
    overflow: hidden;
}

.game-container {
    position: relative;
    width: 100%;
    height: 600px;
    background-color: #000;
    border-radius: 0 0 var(--section-radius) var(--section-radius);
}

.fullscreen-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.fullscreen-button:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}

/* Game Info Section */
.game-info-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

#game-rating {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

#rating-based {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.game-description {
    max-width: 900px;
    text-align: center;
}

.game-description p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Screenshots Section */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.screenshot-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.screenshot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 255, 157, 0.3);
}

.screenshot-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.screenshot-card:hover img {
    transform: scale(1.05);
}

.screenshot-card h3 {
    padding: 1rem 1rem 0.5rem;
    color: var(--primary-color);
}

.screenshot-card p {
    padding: 0 1rem 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 255, 157, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Strategy Section */
.strategy-content {
    max-width: 900px;
    margin: 0 auto;
}

.strategy-text h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.strategy-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* How to Play Section */
.controls-container {
    max-width: 800px;
    margin: 0 auto;
}

.controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.control-item {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border-color);
}

.control-key {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.control-action {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 255, 157, 0.3);
}

.team-member img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.team-member h3 {
    padding: 1rem 1rem 0.5rem;
    color: var(--primary-color);
}

.team-member p {
    padding: 0 1rem 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* History Section */
.history-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.history-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.history-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.history-date {
    width: 150px;
    text-align: right;
    padding-right: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
}

.history-item:nth-child(odd) .history-date {
    text-align: left;
    padding-right: 0;
    padding-left: 2rem;
}

.history-date::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.7);
}

.history-item:nth-child(odd) .history-date::after {
    right: auto;
    left: -10px;
}

.history-content {
    flex: 1;
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    position: relative;
}

.history-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* What Players Love Section */
.love-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.love-feature-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.love-feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.love-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 255, 157, 0.3);
}

.love-feature-card:hover::after {
    opacity: 1;
}

.love-feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.love-feature-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Why Players Love Section */
.why-love-content {
    max-width: 900px;
    margin: 0 auto;
}

.why-love-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-love-content p:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 157, 0.2);
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 255, 157, 0.3);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-header h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.rating {
    color: #ffcc00;
    font-size: 1.2rem;
}

.review-card p {
    margin-bottom: 1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

.reviewer {
    text-align: right;
    color: var(--primary-color);
    font-weight: 500;
}

/* Footer Styles */
footer {
    background-color: rgba(0, 4, 40, 0.9);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-block;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate {
    animation: fadeIn 0.8s ease forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .game-container {
        height: 500px;
    }
    
    .history-timeline::before {
        left: 30px;
    }
    
    .history-item {
        flex-direction: column;
    }
    
    .history-item:nth-child(odd) {
        flex-direction: column;
    }
    
    .history-date {
        width: 100%;
        text-align: left;
        padding-left: 60px;
        margin-bottom: 1rem;
    }
    
    .history-item:nth-child(odd) .history-date {
        padding-left: 60px;
    }
    
    .history-date::after {
        left: 20px;
        right: auto;
    }
    
    .history-item:nth-child(odd) .history-date::after {
        left: 20px;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .language-selector {
        margin-top: 1rem;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    .game-container {
        height: 400px;
    }
    
    section {
        padding: 2rem 1.5rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 2rem;
    }
    
    .game-container {
        height: 300px;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .screenshots-grid,
    .features-grid,
    .love-features-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
} 