/* styles.css - Updated with red and black color scheme */
:root {
    --primary-bg: #0A0A0A; /* Changed to black */
    --accent-purple: #CC0000; /* Changed to dark red */
    --accent-cyan: #FF3333; /* Changed to bright red */
    --accent-red: #FF5555; /* Adjusted red */
    --accent-yellow: #FFAA33; /* Adjusted to reddish-orange */
    --text-main: #E0E0E0;
    --text-secondary: #A0A0A0;
    --card-bg: rgba(20, 20, 20, 0.8); /* Darkened */
    --header-bg: rgba(10, 10, 10, 0.95); /* Darkened */
    --transition: all 0.3s ease;
    --neon-glow: 0 0 9px var(--accent-purple), 0 0 18px var(--accent-purple);
    --game-font: 'Orbitron', 'Segoe UI', sans-serif;
    --text-font: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--text-font);
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(66, 0, 0, 0.13) 0%, transparent 25%), /* Changed to dark red */
        radial-gradient(circle at 85% 30%, rgba(255, 51, 51, 0.11) 0%, transparent 25%); /* Changed to red */
    z-index: -1;
}

.particles-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(204, 0, 0, 0.4); /* Changed to red */
    box-shadow: 0 0 8px rgba(204, 0, 0, 0.8); /* Changed to red */
    animation: float var(--duration, 15s) infinite linear;
}

/* Red particles */
.particle.cyan {
    background: rgba(255, 51, 51, 0.4); /* Changed to red */
    box-shadow: 0 0 8px rgba(255, 51, 51, 0.8); /* Changed to red */
}
@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(204, 0, 0, 0.3); /* Changed to red */
    transition: var(--transition);
}

header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    background: rgba(10, 10, 10, 0.98); /* Darkened */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: var(--game-font);
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: var(--neon-glow);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.logo:hover::after {
    left: 100%;
}

.logo i {
    margin-right: 10px;
    font-size: 28px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    padding: 5px 0;
}

nav ul li a i {
    margin-right: 8px;
    font-size: 18px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, var(--accent-purple), var(--accent-cyan));
    transition: width 0.3s;
    z-index: -1;
}

nav ul li a:hover {
    color: var(--accent-cyan);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid rgba(204, 0, 0, 0.3); /* Changed to red */
    font-size: 20px;
    cursor: pointer;
    color: var(--accent-purple);
    width: 40px;
    height: 40px;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.mobile-menu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(204, 0, 0, 0.2), transparent); /* Changed to red */
    transition: var(--transition);
}

.mobile-menu-btn:hover::before {
    left: 100%;
}

.mobile-menu-btn:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.5); /* Changed to red */
}
/* Hero Section */
.hero {
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(204, 0, 0, 0.1) 0%, transparent 70%); /* Changed to red */
    z-index: -1;
}

.hero h1 {
    font-family: var(--game-font);
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: gradientShift 5s ease infinite;
    background-size: 200% auto;
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-family: var(--game-font);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-cyan));
    color: white;
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.4); /* Changed to red */
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.6); /* Changed to red */
}

.btn-secondary {
    background: transparent;
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: rgba(255, 51, 51, 0.1); /* Changed to red */
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.4); /* Changed to red */
}

.btn-coming-soon {
    position: relative;
    cursor: not-allowed;
    opacity: 0.8;
}

.btn-coming-soon::after {
    content: 'Coming Soon';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-red);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-family: var(--text-font);
    white-space: nowrap;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: rgba(15, 15, 15, 0.5); /* Darkened */
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-family: var(--game-font);
    font-size: 2.5rem;
    color: var(--text-main);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-purple), var(--accent-cyan));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(204, 0, 0, 0.2); /* Changed to red */
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--accent-purple), var(--accent-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-purple);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--accent-cyan);
    height: 80px;
    width: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: rgba(255, 51, 51, 0.1); /* Changed to red */
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-family: var(--game-font);
    margin-bottom: 15px;
    color: var(--accent-purple);
}

/* Modes Section */
.modes {
    padding: 100px 0;
    background: rgba(15, 15, 15, 0.5); /* Darkened */
}

.modes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mode-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(204, 0, 0, 0.2); /* Changed to red */
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--accent-purple), var(--accent-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.mode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-purple);
}

.mode-card:hover::before {
    transform: scaleX(1);
}

.mode-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.mode-icon {
    font-size: 30px;
    margin-right: 15px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.soft-icon {
    background: rgba(255, 51, 51, 0.1); /* Changed to red */
    color: var(--accent-cyan);
}

.medium-icon {
    background: rgba(255, 170, 51, 0.1); /* Changed to reddish-orange */
    color: var(--accent-yellow);
}

.hard-icon {
    background: rgba(255, 85, 85, 0.1); /* Adjusted red */
    color: var(--accent-red);
}

/* Make the Extreme card centered */
.extreme-wide {
    grid-column: 1 / -1;     /* Span across the full grid */
    justify-self: center;    /* Center the card itself */
    max-width: 700px;        /* Prevent it from being too wide */
    text-align: center;      /* Center all text inside */
}

/* Shorter description text */
.extreme-text {
    margin: 10px auto 20px;
    max-width: 600px;
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .extreme-wide {
        grid-column: span 1;    /* Normal width on mobile */
        min-height: auto;
    }
}
        
.mode-title {
    font-family: var(--game-font);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.mode-level {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.level-soft {
    background: rgba(255, 51, 51, 0.2); /* Changed to red */
    color: var(--accent-cyan);
}

.level-medium {
    background: rgba(255, 170, 51, 0.2); /* Changed to reddish-orange */
    color: var(--accent-yellow);
}

.level-hard {
    background: rgba(255, 85, 85, 0.2); /* Adjusted red */
    color: var(--accent-red);
}

.level-extreme {
    background: linear-gradient(45deg, rgba(204, 0, 0, 0.2), rgba(255, 85, 85, 0.2)); /* Changed to red */
    color: var(--accent-purple);
}

.pros-cons {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(204, 0, 0, 0.2); /* Changed to red */
}

.pros-cons h4 {
    font-family: var(--game-font);
    margin-bottom: 10px;
    color: var(--accent-cyan);
}

.pros-list, .cons-list {
    list-style: none;
    margin-bottom: 15px;
}

.pros-list li, .cons-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.pros-list li::before {
    content: '✓';
    color: var(--accent-cyan);
    margin-right: 10px;
    font-weight: bold;
}

.cons-list li::before {
    content: '⚠️';
    margin-right: 10px;
}

/* Customization Section */
.customization {
    padding: 100px 0;
}

.customization-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.customization-text {
    padding-right: 20px;
}

.customization-image {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.screenshot-card {
    background: rgba(204, 0, 0, 0.15); /* Changed to red */
    border: 1px solid rgba(204, 0, 0, 0.3); /* Changed to red */
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    max-width: 280px;
    flex: 1;
    box-shadow: 0 5px 20px rgba(204, 0, 0, 0.3); /* Changed to red */
    transition: transform 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-5px);
}

.screenshot-card img {
    width: 100%;
    border-radius: 8px;
    display: block;
    margin-bottom: 10px;
}

.screenshot-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}


/* Stats Section */
.stats {
    padding: 100px 0;
    background: rgba(15, 15, 15, 0.5); /* Darkened */
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px 20px;
    border: 1px solid rgba(204, 0, 0, 0.2); /* Changed to red */
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-purple);
}

.stat-item h3 {
    font-family: var(--game-font);
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(204, 0, 0, 0.1) 0%, transparent 70%); /* Changed to red */
    z-index: -1;
}

.cta h2 {
    font-family: var(--game-font);
    font-size: 2.5rem;
    margin-bottom: 30px;
}

/* Footer */
footer {
    background: var(--header-bg);
    padding: 70px 0 20px;
    border-top: 1px solid rgba(204, 0, 0, 0.3); /* Changed to red */
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-family: var(--game-font);
    margin-bottom: 20px;
    color: var(--accent-cyan);
    position: relative;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-column h3 i {
    margin-right: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-purple);
}

.footer-column p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-column ul li a i {
    margin-right: 8px;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-cyan));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a:hover {
    transform: translateY(-3px) rotate(5deg);
    color: white;
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.4); /* Changed to red */
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(204, 0, 0, 0.2); /* Changed to red */
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Advanced Particle Effect */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 15px 20px;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--header-bg);
        padding: 20px;
        border-top: 1px solid rgba(204, 0, 0, 0.3); /* Changed to red */
        backdrop-filter: blur(10px);
    }
    
    nav.active {
        display: block;
        animation: slideDown 0.5s ease;
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.coming-soon-note {
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
}