/* Red Horizon Marketing Site */
:root {
    --mars-red: #C1440E;
    --mars-dark: #8B2500;
    --space-black: #0a0a0a;
    --cream: #E8D5B7;
    --orange: #FF6B35;
    --cyan: #00FFAA;
    --dark-bg: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--space-black);
    color: var(--cream);
    overflow-x: hidden;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a0a0a 50%, #2a1510 100%);
    overflow: hidden;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent);
    background-size: 200% 200%;
    animation: twinkle 8s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.3; }
}

/* Shooting Stars */
.shooting-star {
    position: absolute;
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
    animation: shoot linear infinite;
    opacity: 0;
    transform: rotate(-45deg);
}

.shooting-star:nth-child(2) {
    top: 15%;
    left: 80%;
    animation-duration: 2.5s;
    animation-delay: 0s;
}

.shooting-star:nth-child(3) {
    top: 40%;
    left: 60%;
    animation-duration: 3s;
    animation-delay: 3s;
}

.shooting-star:nth-child(4) {
    top: 25%;
    left: 30%;
    animation-duration: 2.8s;
    animation-delay: 6s;
}

.shooting-star:nth-child(5) {
    top: 60%;
    left: 90%;
    animation-duration: 3.2s;
    animation-delay: 9s;
}

.shooting-star:nth-child(6) {
    top: 10%;
    left: 50%;
    animation-duration: 2.7s;
    animation-delay: 12s;
}

@keyframes shoot {
    0% {
        transform: translateX(0) translateY(0) rotate(-45deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    30% {
        opacity: 0.3;
    }
    100% {
        transform: translateX(-200px) translateY(200px) rotate(-45deg);
        opacity: 0;
    }
}

.mars-glow {
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(193, 68, 14, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

nav {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    z-index: 100;
}

.hero-logo {
    max-width: 800px;
    width: 90%;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(193, 68, 14, 0.4))
            drop-shadow(0 0 40px rgba(193, 68, 14, 0.2));
    animation: logo-glow 3s ease-in-out infinite;
}

@keyframes logo-glow {
    0%, 100% { 
        filter: drop-shadow(0 0 20px rgba(193, 68, 14, 0.4))
                drop-shadow(0 0 40px rgba(193, 68, 14, 0.2));
    }
    50% { 
        filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.5))
                drop-shadow(0 0 50px rgba(255, 107, 53, 0.3));
    }
}

.play-btn-nav {
    background: var(--mars-red);
    color: var(--cream);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid var(--orange);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.play-btn-nav:hover {
    background: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: var(--cream);
    text-shadow: 
        0 0 20px rgba(193, 68, 14, 0.8),
        0 0 40px rgba(193, 68, 14, 0.6),
        0 0 60px rgba(193, 68, 14, 0.4);
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.tagline {
    font-size: 32px;
    color: var(--orange);
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.subtitle {
    font-size: 20px;
    color: var(--cream);
    opacity: 0.8;
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--mars-red) 0%, var(--mars-dark) 100%);
    color: var(--cream);
    padding: 20px 50px;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    border: 3px solid var(--orange);
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(193, 68, 14, 0.6);
    border-color: var(--cyan);
}

.cta-button.pulse {
    animation: pulse-button 2s ease-in-out infinite;
}

@keyframes pulse-button {
    0%, 100% { box-shadow: 0 0 20px rgba(193, 68, 14, 0.4); }
    50% { box-shadow: 0 0 40px rgba(193, 68, 14, 0.8); }
}

.cta-button.large {
    font-size: 32px;
    padding: 25px 60px;
}

.rocket-icon {
    font-size: 32px;
    animation: rocket-float 2s ease-in-out infinite;
}

@keyframes rocket-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    text-align: center;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--cream);
    border-radius: 15px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--cream);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* Sections */
section {
    padding: 100px 20px;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    color: var(--cream);
    text-shadow: 0 0 20px rgba(193, 68, 14, 0.6);
    letter-spacing: 4px;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--orange);
    margin-bottom: 60px;
    opacity: 0.9;
}

/* Features Section */
#features {
    background: linear-gradient(180deg, var(--space-black) 0%, var(--dark-bg) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid rgba(193, 68, 14, 0.3);
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(193, 68, 14, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    border-color: var(--orange);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(193, 68, 14, 0.3);
}

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

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--orange);
}

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

/* Screenshots Section */
#screenshots {
    background: var(--dark-bg);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.screenshot {
    width: 100%;
    height: auto;
    border: 3px solid rgba(193, 68, 14, 0.3);
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.screenshot:hover {
    border-color: var(--orange);
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 50px rgba(193, 68, 14, 0.6);
    z-index: 10;
}

/* How to Play Section */
#how-to-play {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--space-black) 100%);
}

.controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.control-group {
    text-align: center;
}

.control-group h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--orange);
}

.key, .keys {
    display: inline-flex;
    gap: 10px;
    margin: 20px 0;
}

.key {
    background: rgba(193, 68, 14, 0.2);
    border: 2px solid var(--mars-red);
    padding: 15px 25px;
    font-size: 24px;
    font-weight: 700;
    color: var(--cream);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.control-group p {
    font-size: 16px;
    opacity: 0.8;
}

.gameplay-tips {
    background: rgba(193, 68, 14, 0.1);
    border-left: 4px solid var(--mars-red);
    padding: 40px;
    margin-top: 60px;
}

.gameplay-tips h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--orange);
}

.gameplay-tips ul {
    list-style: none;
    padding: 0;
}

.gameplay-tips li {
    font-size: 18px;
    line-height: 2;
    padding-left: 30px;
    position: relative;
}

.gameplay-tips li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--mars-red);
    font-size: 20px;
}

.gameplay-tips strong {
    color: var(--orange);
}

/* Final CTA Section */
#final-cta {
    background: linear-gradient(180deg, var(--space-black) 0%, #1a0a0a 100%);
    text-align: center;
    padding: 150px 20px;
}

#final-cta h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--cream);
    text-shadow: 0 0 30px rgba(193, 68, 14, 0.8);
}

#final-cta > .container > p {
    font-size: 24px;
    margin-bottom: 50px;
    color: var(--orange);
}

.browser-note {
    margin-top: 30px;
    font-size: 14px;
    opacity: 0.6;
}

/* Footer */
footer {
    background: var(--space-black);
    padding: 60px 20px;
    text-align: center;
    border-top: 2px solid rgba(193, 68, 14, 0.3);
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
    opacity: 0.8;
}

footer p {
    margin-bottom: 20px;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.footer-links a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cyan);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-logo {
        max-width: 90%;
        margin-bottom: 20px;
    }
    
    h1 {
        font-size: 36px;
        letter-spacing: 3px;
    }
    
    .tagline {
        font-size: 20px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .cta-button {
        font-size: 18px;
        padding: 15px 30px;
    }
    
    .cta-button.large {
        font-size: 24px;
        padding: 20px 40px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-grid,
    .screenshots-grid,
    .controls-grid {
        grid-template-columns: 1fr;
    }
    
    nav {
        padding: 20px 30px;
    }
    
    .logo {
        height: 40px;
    }
}
