/* === CSS RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito', system-ui, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: clip;
    color: var(--text);
    background: var(--bg);
}
img, video {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    object-fit: cover;
}
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }

/* === PREMIUM TOKENS (Light Theme) === */
:root {
    --bg: #f8f8fc;
    --text: #1a1a1e;
    --text-muted: #64748b;
    --accent: #ff4757; /* Vibrant red from typical mech/fighting games */
    --accent-glow: rgba(255, 71, 87, 0.3);
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --brutal-shadow: 4px 4px 0px 0px #000;
    --brutal-shadow-hover: 2px 2px 0px 0px #000;
}

/* === TYPOGRAPHY === */
h1, h2, h3, .game-title {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
}

/* === STRUCTURAL BASELINES === */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

section {
    padding: 100px 0;
    position: relative;
}

.zigzag-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--bg);
    clip-path: polygon(0 0, 5% 100%, 10% 0, 15% 100%, 20% 0, 25% 100%, 30% 0, 35% 100%, 40% 0, 45% 100%, 50% 0, 55% 100%, 60% 0, 65% 100%, 70% 0, 75% 100%, 80% 0, 85% 100%, 90% 0, 95% 100%, 100% 0);
    z-index: 10;
}

/* === PREMIUM UI BLOCKS === */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-glass);
}

.btn-brutal {
    background: var(--accent);
    color: #fff;
    padding: 1rem 2rem;
    border: 3px solid #000;
    font-family: 'Anton', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--brutal-shadow);
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-brutal:hover {
    transform: translate(2px, 2px);
    box-shadow: var(--brutal-shadow-hover);
}

.btn-brutal.secondary {
    background: #fff;
    color: #000;
}

/* === APP SCREENSHOT PROTECTOR === */
.screenshot-img {
    max-width: 320px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
    border: 1px solid var(--glass-border);
}

/* === NAVIGATION === */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(248, 248, 252, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}

.nav-name {
    font-family: 'Anton', sans-serif;
    font-size: 1.4rem;
    color: var(--text);
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 30px;
    }
}

.nav-link {
    font-weight: 700;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
}

.nav-cta .btn-brutal {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #000;
    transition: 0.3s;
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background: radial-gradient(circle at center, #fff 0%, #f0f4f8 50%, #e2e8f0 100%);
    overflow: hidden;
}

.hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
}

.mesh-ball {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: meshMove 20s infinite alternate ease-in-out;
}

@keyframes meshMove {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20%, 10%) scale(1.2); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.hero-content {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
    }
}

.hero-h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    color: transparent;
    -webkit-text-stroke: 2px #000;
    margin-bottom: 20px;
}

.hero-tagline {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
}

@media (min-width: 1024px) {
    .hero-badges {
        justify-content: flex-start;
    }
}

.hero-rating {
    background: #fff;
    padding: 8px 16px;
    border: 2px solid #000;
    font-weight: 800;
    box-shadow: 3px 3px 0 #000;
}

.hero-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.hero-tilted-img {
    transform: rotate(7deg);
    box-shadow: -20px 20px 60px rgba(0,0,0,0.15);
    transition: transform 0.5s ease;
    max-width: 280px;
}

.hero-tilted-img:hover {
    transform: rotate(0deg) scale(1.05);
}

/* === REVIEWS TICKER === */
.reviews-section {
    background: #fff;
    padding: 60px 0;
}

.ticker-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}

.ticker-track {
    display: flex;
    gap: 30px;
    animation: ticker 40s linear infinite;
    width: max-content;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-card {
    background: var(--bg);
    border: 2px solid #000;
    padding: 20px;
    min-width: 300px;
    max-width: 300px;
    white-space: normal;
    box-shadow: 4px 4px 0 #000;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 800;
}

.review-stars {
    color: #fbbf24;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.reviews-agg {
    text-align: center;
    margin-top: 40px;
}

.agg-badge {
    display: inline-block;
    padding: 15px 30px;
    border: 3px solid #000;
    background: #fff;
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
}

/* === SCREENSHOT GALLERY === */
.gallery-section {
    background: #f8f8fc;
}

.gallery-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
}

.gallery-item {
    width: 100%;
    max-width: 90vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-item img {
    width: 100%;
    max-width: 800px;
    border: 5px solid #fff;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border-radius: 20px;
}

.gallery-caption {
    margin-top: 25px;
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    color: var(--text);
}

/* === FEATURES ACCORDION === */
.features-section {
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: 0.55fr 0.45fr;
    }
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    border: 2px solid #000;
    background: var(--bg);
}

.accordion-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Anton', sans-serif;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: rgba(0,0,0,0.02);
}

.accordion-header i {
    font-size: 1.5rem;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s;
    padding: 0 20px;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 20px 20px 20px;
}

.accordion-item.active .accordion-header {
    background: var(--accent);
    color: #fff;
}

.features-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* === STATS SECTION === */
.stats-section {
    background: #f8f8fc;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    flex: 0 1 260px;
    background: #fff;
    padding: 2rem;
    text-align: center;
    border: 2px solid #000;
    box-shadow: 6px 6px 0 var(--border-color, #000);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
}

.stat-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.stat-number {
    display: block;
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* === DOWNLOAD CTA === */
.download-cta {
    background: var(--accent);
    color: #fff;
    padding: 100px 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 1024px) {
    .cta-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.cta-visual img {
    max-width: 100%;
    border-radius: 40px;
    border: 8px solid #fff;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.cta-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

/* === FOOTER === */
.footer {
    background: #1a1a1e;
    color: #fff;
    padding-top: 100px;
    padding-bottom: 40px;
    clip-path: ellipse(150% 100% at 50% 100%);
}

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

.footer-brand .nav-logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: #94a3b8;
    max-width: 250px;
}

.footer-col h4 {
    font-family: 'Anton', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form {
    display: flex;
    border: 2px solid #fff;
}

.newsletter-form input {
    background: transparent;
    border: none;
    padding: 12px;
    color: #fff;
    flex: 1;
    outline: none;
}

.newsletter-form button {
    background: #fff;
    color: #000;
    border: none;
    padding: 0 20px;
    font-family: 'Anton', sans-serif;
    cursor: pointer;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #94a3b8;
    transition: 0.3s;
}

.social-icon:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* === ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === BENTO BOXES (for grid layouts) === */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(150px, auto);
    gap: 20px;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
}

/* === LEGAL PAGES STYLES === */
.legal-content {
    max-width: 800px;
    margin: 150px auto 100px;
    padding: 0 5%;
}

.legal-content h1 {
    font-size: 3rem;
    margin-bottom: 40px;
}

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--text-muted);
}
