/* Variables */
:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-cyan: #00f3ff;
    --accent-violet: #bc13fe;
    --accent-green: #0aff0a;
    --accent-red: #ff3333;
    --font-heading: 'Roboto', sans-serif;
    --font-condensed: 'Roboto Condensed', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-bg: rgba(10, 10, 10, 0.9);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Accessibility: Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-cyan);
    color: #000;
    padding: 8px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Background Particles */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.container-wide {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Navigation */
.main-nav {
    position: sticky;
    top: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
    z-index: 100;
    padding: 0.5rem 0;
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-list a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    padding: 0.5rem;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-list a:hover,
.nav-list a:focus {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px var(--accent-cyan);
    outline: none;
}

.nav-list a.active {
    border-bottom: 2px solid var(--accent-violet);
}

/* Hero Section */
.hero-section {
    padding: 2rem 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #222;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-visual {
    text-align: center;
}

.hero-logo {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(188, 19, 254, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.game-logo-text {
    font-family: var(--font-condensed);
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    /* Increased spacing */
    letter-spacing: 2px;
    font-weight: 700;
    /* Removed text-transform: uppercase */
}

.logo-number {
    color: var(--accent-red);
    font-size: 2.5rem;
    vertical-align: middle;
}

.main-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    /* Increased spacing */
    text-transform: uppercase;
}

.title-gradient {
    background: linear-gradient(90deg, var(--accent-red), var(--accent-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.title-white {
    color: #ffffff;
}

.subtitle {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 1.5rem;
    /* Increased spacing */
    font-weight: 400;
}

.tagline {
    font-size: 1.25rem;
    border-left: 4px solid var(--accent-violet);
    padding-left: 1rem;
    max-width: 600px;
}

/* About Section */
.about-section {
    padding: 2rem 0;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(0, 243, 255, 0.05), transparent);
    border-bottom: 1px solid #222;
}

.about-text {
    font-size: 1.5rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    color: #ddd;
}

/* CTA Section */
.cta-section {
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid #222;
}

.cta-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-weight: 700;
}

.btn-primary {
    background: var(--accent-violet);
    color: #fff;
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.4);
}

.btn-primary:hover,
.btn-primary:focus {
    background: #d04bff;
    box-shadow: 0 0 25px rgba(188, 19, 254, 0.6);
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    transform: scale(1.05);
}

/* Media Section */
.media-section {
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid #222;
}

.video-placeholder {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    background: #111;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.video-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tagline {
        margin: 0 auto;
        border-left: none;
        border-top: 4px solid var(--accent-violet);
        padding-top: 1rem;
        padding-left: 0;
    }

    .nav-list {
        gap: 1rem;
        font-size: 0.8rem;
    }

    .main-title {
        font-size: 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo {
        animation: none;
    }

    .btn {
        transition: none;
    }

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Design-focused Section */
.design-section {
    padding: 4rem 0;
    background: #080808;
    border-bottom: 1px solid #222;
    overflow: hidden;
}

.design-header {
    text-align: center;
    margin-bottom: 3rem;
}

.design-hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #fff;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto;
}

.design-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.block-title {
    font-family: var(--font-condensed);
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.gap-list {
    list-style: none;
}

.gap-item {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #ddd;
    padding-left: 1.5rem;
    border-left: 2px solid var(--accent-violet);
}

.gap-item strong {
    color: #bfbfbf;
    display: inline;
    margin-bottom: 0;
}

.answer-block {
    display: flex;
    align-items: center;
    height: 100%;
}

.highlight-quote {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    border-left: 6px solid var(--accent-green);
    padding-left: 2rem;
    background: linear-gradient(90deg, rgba(10, 255, 10, 0.05), transparent);
    padding: 2rem;
    border-radius: 0 8px 8px 0;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* Responsive Design Section */
@media (max-width: 768px) {
    .design-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .highlight-quote {
        font-size: 1.75rem;
        padding: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .fade-in-up,
    .slide-in-left {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* Game Experience Section */
.experience-section {
    padding: 4rem 0;
    background: #050505;
    /* Slightly darker to distinguish */
    border-bottom: 1px solid #222;
    overflow: hidden;
}

.full-width {
    grid-column: 1 / -1;
    max-width: 800px;
    margin: 0 auto;
}

/* Gameplay Section */
.gameplay-section {
    padding: 4rem 0;
    background: #080808;
    /* Alternating background color */
    border-bottom: 1px solid #222;
    overflow: hidden;
}

.ordered-list {
    list-style: none;
    counter-reset: phase-counter;
}

.ordered-list .gap-item {
    counter-increment: phase-counter;
    position: relative;
    padding-left: 2.5rem;
    border-left: none;
}

.ordered-list .gap-item::before {
    content: counter(phase-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--accent-violet);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 1.5rem;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Prototype Download Section */
.prototype-section {
    padding: 4rem 0;
    background: #050505;
    /* Darker background */
    border-bottom: 1px solid #222;
    overflow: hidden;
}

.prototype-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.prototype-content {
    color: #ddd;
}

.prototype-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.prototype-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: #111;
    border: 1px solid #444;
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-violet);
    box-shadow: 0 0 8px rgba(188, 19, 254, 0.4);
}

.required {
    color: var(--accent-red);
    margin-left: 0.25rem;
}

.form-success {
    background: rgba(10, 255, 10, 0.1);
    border: 1px solid var(--accent-green);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 2rem;
}

.success-title {
    color: var(--accent-green);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.prototype-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: #111;
    border: 2px dashed #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-content {
    color: #555;
    font-family: var(--font-condensed);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Responsive Prototype Section */
@media (max-width: 768px) {
    .prototype-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .prototype-visual {
        min-height: 300px;
        order: -1;
        /* Show visual first on mobile if desired, or keep default */
    }
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: #080808;
    /* Alternating background */
    border-bottom: 1px solid #222;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-content {
    color: #ddd;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
    margin-bottom: 2rem;
}

.social-links {
    margin-top: 2rem;
}

.social-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
}

.social-link:hover,
.social-link:focus {
    color: var(--accent-violet);
    outline: none;
}

.social-link:focus {
    text-decoration: underline;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.contact-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
}

/* Responsive Contact Section */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-visual {
        min-height: 300px;
        order: -1;
    }
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: #000;
    /* Darker background for contrast */
    border-bottom: 1px solid #222;
}

.faq-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.faq-category {
    margin-bottom: 2rem;
}

.faq-category-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: var(--accent-violet);
}

.faq-item[open] {
    background: rgba(0, 255, 255, 0.02);
}

.faq-question {
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #fff;
    list-style: none;
    /* Remove default marker */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-cyan);
    transition: transform 0.3s;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
    color: var(--accent-violet);
}

.faq-question:focus {
    outline: 2px solid var(--accent-cyan);
    outline-offset: -2px;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #ccc;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0;
    padding-top: 1rem;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ul,
.faq-answer ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer strong {
    color: #fff;
}

.faq-answer a {
    color: var(--accent-cyan);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--accent-violet);
}