* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --rockstar-red: #D32F2F;
    --dark-red: #C62828;
    --blood-red: #B71C1C;
    --black: #0A0A0A;
    --darker: #000000;
    --gray: #1C1C1C;
    --light: #F8F9FA;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: var(--black);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background */
.city-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.9) 100%),
        radial-gradient(ellipse at 30% 50%, rgba(211, 47, 47, 0.1) 0%, transparent 60%);
    z-index: 0;
}

#rockstarCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2;
    will-change: contents;
}

/* Navbar */
.navbar {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--rockstar-red);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo svg {
    filter: drop-shadow(0 0 15px rgba(211, 47, 47, 0.7));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-menu a:hover {
    color: var(--rockstar-red);
    text-shadow: 0 0 10px rgba(211, 47, 47, 0.5);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 20px;
}

.hero-badge {
    margin-bottom: 2rem;
}

.star {
    font-size: 6rem;
    color: var(--rockstar-red);
    text-shadow: 0 0 30px rgba(211, 47, 47, 0.8);
    animation: starPulse 2s ease-in-out infinite;
    will-change: transform;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(211, 47, 47, 0.5);
}

.gradient-text {
    background: linear-gradient(135deg, var(--rockstar-red), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.feature-tag {
    background: rgba(211, 47, 47, 0.1);
    border: 1px solid var(--rockstar-red);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--rockstar-red), var(--dark-red));
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.4);
    will-change: transform;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(211, 47, 47, 0.7);
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.large-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #ddd;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit {
    display: flex;
    gap: 1.5rem;
    background: rgba(211, 47, 47, 0.05);
    border-left: 3px solid var(--rockstar-red);
    padding: 1.5rem;
}

.benefit-icon {
    font-size: 2.5rem;
    min-width: 50px;
}

.benefit h4 {
    color: var(--rockstar-red);
    margin-bottom: 0.5rem;
}

.benefit p {
    color: #aaa;
}

/* Device Mockup */
.device-mockup {
    background: #1C1C1C;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(211, 47, 47, 0.3);
    border: 2px solid var(--rockstar-red);
}

.screen {
    background: #0A0A0A;
    border-radius: 5px;
    padding: 1.5rem;
}

.app-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--rockstar-red);
}

.app-logo {
    color: var(--rockstar-red);
    font-size: 1.5rem;
    font-weight: 700;
}

.app-name {
    color: var(--light);
    font-weight: 600;
}

.game-library {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lib-item {
    background: rgba(211, 47, 47, 0.1);
    border: 1px solid var(--rockstar-red);
    padding: 1rem;
    border-radius: 5px;
    transition: transform 0.3s, background 0.3s;
}

.lib-item:hover {
    background: rgba(211, 47, 47, 0.2);
    transform: translateX(5px);
}

.app-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4CAF50;
    font-size: 0.9rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border-radius: 50%;
    animation: statusBlink 2s ease-in-out infinite;
    will-change: opacity;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Games Section */
.games-section {
    padding: 80px 0;
    background: rgba(28, 28, 28, 0.3);
}

.games-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-large {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(211, 47, 47, 0.3);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s, box-shadow 0.3s;
    will-change: transform;
    opacity: 0;
    transform: translateY(20px);
}

.game-large.visible {
    opacity: 1;
    transform: translateY(0);
}

.game-large:hover {
    border-color: var(--rockstar-red);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(211, 47, 47, 0.4);
}

.game-large.featured {
    border-color: var(--rockstar-red);
    border-width: 3px;
}

.game-cover {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1C1C1C, #0A0A0A);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.game-icon {
    font-size: 8rem;
    position: absolute;
    opacity: 0.3;
}

.game-overlay {
    position: relative;
    z-index: 1;
    padding: 2rem;
    text-align: center;
}

.game-overlay h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--rockstar-red);
}

.game-desc {
    color: #ccc;
    margin-bottom: 1.5rem;
}

.game-meta {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.meta-tag {
    background: rgba(211, 47, 47, 0.2);
    border: 1px solid var(--rockstar-red);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.game-small {
    background: rgba(28, 28, 28, 0.8);
    border: 1px solid rgba(211, 47, 47, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s;
    will-change: transform;
    opacity: 0;
    transform: translateY(20px);
}

.game-small.visible {
    opacity: 1;
    transform: translateY(0);
}

.game-small:hover {
    border-color: var(--rockstar-red);
    transform: translateY(-5px);
}

.game-icon-sm {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.game-small h4 {
    color: var(--rockstar-red);
    margin-bottom: 0.5rem;
}

.game-small p {
    color: #aaa;
    font-size: 0.9rem;
}

/* Download Section */
.download-section {
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    color: #aaa;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.download-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.download-card-main,
.download-card-secondary {
    background: rgba(28, 28, 28, 0.8);
    border: 2px solid rgba(211, 47, 47, 0.3);
    border-radius: 10px;
    padding: 2.5rem;
    position: relative;
}

.download-card-secondary {
    display: none;
}

.download-card-main {
    border-color: var(--rockstar-red);
    border-width: 3px;
    max-width: 900px;
    width: 100%;
}

.download-card-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.download-card-header .platform-icon-large {
    font-size: 5rem;
    margin-bottom: 0;
    width: 80px;
    height: 80px;
}

.download-card-header h3 {
    margin-bottom: 0.5rem;
}

.download-card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}


.platform-icon-large {
    font-size: 5rem;
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
}

.platform-icon-large svg {
    width: 100%;
    height: 100%;
}

.download-card-main h3,
.download-card-secondary h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.download-card-header h3 {
    text-align: left;
}

.platform-desc {
    color: #aaa;
    margin-bottom: 0;
}

.download-info-box {
    background: rgba(211, 47, 47, 0.05);
    border: 1px solid var(--rockstar-red);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(211, 47, 47, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #aaa;
}

.info-value {
    color: var(--light);
    font-weight: 600;
}

.sys-requirements {
    background: rgba(211, 47, 47, 0.05);
    border-left: 3px solid var(--rockstar-red);
    padding: 1rem;
    margin: 1.5rem 0;
}

.sys-requirements h4 {
    color: var(--rockstar-red);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.sys-requirements ul {
    list-style: none;
    color: #aaa;
}

.sys-requirements li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
}

.download-btn-large {
    display: block;
    background: linear-gradient(135deg, var(--rockstar-red), var(--dark-red));
    color: white;
    padding: 1.25rem 2rem;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 1.5rem 0;
    box-shadow: 0 5px 20px rgba(211, 47, 47, 0.3);
    will-change: transform;
}

.download-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.6);
}


/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: rgba(28, 28, 28, 0.3);
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.faq-box {
    background: rgba(28, 28, 28, 0.8);
    border-left: 4px solid var(--rockstar-red);
    padding: 1.5rem;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.faq-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-box h3 {
    margin-bottom: 1rem;
    color: var(--rockstar-red);
}

.faq-box p {
    color: #ccc;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--darker);
    border-top: 2px solid var(--rockstar-red);
    padding: 2rem;
    text-align: center;
    margin-top: 80px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-note {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .games-showcase {
        grid-template-columns: 1fr;
    }
    
    .game-large {
        height: 350px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .download-card-content {
        grid-template-columns: 1fr;
    }
    
    .download-card-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .download-card-header .platform-icon-large {
        margin-bottom: 0;
    }
    
    .download-card-header h3 {
        text-align: center;
    }
    
    .download-card-main {
        max-width: 100%;
    }
}

