/* Reset & Variables */
:root {
    --bg-dark: #010409;
    --bg-panel: #0D1117;
    --primary: #FFFFFF;
    --secondary: #9CA3AF;
    --accent: #6B7280;
    --text-main: #FFFFFF;
    --text-muted: #9CA3AF;
    --shadow-white: 0 0 10px rgba(255, 255, 255, 0.1), 0 0 20px rgba(255, 255, 255, 0.05);
    --shadow-gray: 0 0 10px rgba(156, 163, 175, 0.1), 0 0 20px rgba(156, 163, 175, 0.05);
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 18px;
}

/* Background Animation */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        linear-gradient(transparent 0%, rgba(255, 255, 255, 0.02) 2px, transparent 3px),
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.02) 2px, transparent 3px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) scale(2);
    animation: gridMove 20s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) scale(2); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px) scale(2); }
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

.highlight-link {
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 5px 15px;
    border-radius: 4px;
}

.highlight-link:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 5% 50px;
    position: relative;
    gap: 50px;
}

.hero-content {
    flex: 1;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 5px 15px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 30px;
}

.typing-container {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    background: rgba(13, 17, 23, 0.8);
    border-left: 3px solid var(--primary);
    padding: 15px;
    margin-bottom: 30px;
    color: var(--primary);
    min-height: 60px;
    display: flex;
    align-items: center;
}

.cursor {
    animation: blink 1s infinite;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    position: relative;
    padding: 15px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-main);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Visual - Card Stack */
.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-card-stack {
    position: relative;
    width: 300px;
    height: 400px;
}

.stack-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--bg-panel);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
    transition: 0.5s;
}

.card-header {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-body {
    color: var(--text-muted);
}

.card-1 { transform: translate(0, 0) rotate(0deg); z-index: 3; animation: float 6s ease-in-out infinite; }
.card-2 { transform: translate(20px, 20px) rotate(5deg); z-index: 2; opacity: 0.7; }
.card-3 { transform: translate(40px, 40px) rotate(10deg); z-index: 1; opacity: 0.4; }

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

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

.feature-card {
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

/* Cyber Border Effect */
.cyber-border {
    position: relative;
}
.cyber-border::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: scaleX(0);
    transition: 0.5s;
}
.cyber-border:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: rgba(13, 17, 23, 1);
    border-color: var(--primary);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: rgba(0,0,0,0.3);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    counter-reset: step;
}

.step-item {
    position: relative;
    padding: 20px;
    text-align: center;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(255,255,255,0.05);
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.step-content {
    position: relative;
    z-index: 1;
    margin-top: 30px;
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Perfect For */
.perfect-for {
    padding: 100px 0;
}

.audience-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.audience-card {
    background: var(--bg-panel);
    padding: 30px;
    border-radius: 15px;
    width: 250px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

.audience-card:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: var(--shadow-white);
}

.audience-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

/* Why Choose Stats */
.why-choose {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary);
    font-weight: 700;
}

.stat-label {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Download Section */
.download {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.download-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    background: #000;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
    width: 220px;
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: var(--shadow-white);
    transform: translateY(-5px);
}

.store-icon svg {
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.small-text {
    font-size: 0.7rem;
    color: #ccc;
}

.big-text {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 50px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.9rem;
}

/* Animations */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    width: 44px;
    height: 44px;
    border-radius: 4px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(1, 4, 9, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding-top: 80px;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 40px 20px;
}

.mobile-menu .nav-link {
    font-size: 1.5rem;
    padding: 15px 30px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: 0.3s;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link:active {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* Responsive - Tablet and below */
@media (max-width: 1024px) {
    .hero {
        gap: 30px;
        padding: 120px 3% 50px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-visual {
        height: 350px;
    }
    
    .game-card-stack {
        width: 250px;
        height: 350px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Navbar */
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    /* Hero Section */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 3% 40px;
        min-height: auto;
        gap: 30px;
    }
    
    .hero-content {
        width: 100%;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 4px 12px;
        margin-bottom: 15px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 8px;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .typing-container {
        font-size: 1rem;
        padding: 12px;
        margin-bottom: 20px;
        min-height: 50px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 10px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 25px;
        font-size: 0.9rem;
        margin: 0 auto;
    }
    
    /* Hero Visual */
    .hero-visual {
        width: 100%;
        height: 300px;
        margin-top: 20px;
    }
    
    .game-card-stack {
        width: 100%;
        max-width: 280px;
        height: 300px;
    }
    
    .stack-card {
        padding: 15px;
    }
    
    .card-header {
        font-size: 1.2rem;
    }
    
    .card-body {
        font-size: 0.9rem;
    }
    
    /* Features */
    .features {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
        padding: 0 10px;
        letter-spacing: 1px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .card-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* How It Works */
    .how-it-works {
        padding: 60px 0;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .step-item {
        padding: 15px;
    }
    
    .step-number {
        font-size: 3rem;
    }
    
    .step-content {
        margin-top: 20px;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    /* Perfect For */
    .perfect-for {
        padding: 60px 0;
    }
    
    .audience-grid {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .audience-card {
        width: 100%;
        max-width: 300px;
        padding: 25px 20px;
    }
    
    .audience-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    /* Stats */
    .why-choose {
        padding: 40px 0;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    /* Download */
    .download {
        padding: 60px 0;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .download-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 30px;
    }
    
    .store-btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
    }
    
    .store-icon svg {
        width: 28px;
        height: 28px;
        margin-right: 12px;
    }
    
    .big-text {
        font-size: 1.1rem;
    }
    
    .small-text {
        font-size: 0.65rem;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .footer-links a {
        margin: 0;
        padding: 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 6px;
        transition: 0.3s;
    }
    
    .footer-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--primary);
    }
    
    .footer-bottom {
        font-size: 0.85rem;
        padding-top: 20px;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .typing-container {
        font-size: 0.9rem;
        padding: 10px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    
    .game-card-stack {
        max-width: 240px;
        height: 280px;
    }
    
    .audience-card {
        padding: 20px 15px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}
