:root {
    --primary-color: #00ff88;
    /* Neon Green/Teal */
    --secondary-color: #9d4eff;
    /* Purple */
    --accent-color: #ff0055;
    /* Red for horror hints */
    --bg-dark: #050505;
    --bg-card: #111111;
    --text-light: #ffffff;
    --text-dim: #a0a0a0;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    opacity: 0.5;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}

.highlight {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 35px;
    border-radius: 4px;
    /* More blocky for retro feel */
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.7);
    background: #fff;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0));
    backdrop-filter: blur(5px);
}

.logo img {
    height: 45px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    border: 1px solid var(--primary-color);
    padding: 8px 24px;
    color: var(--primary-color);
    border-radius: 4px;
}

.btn-nav:hover {
    background: var(--primary-color);
    color: #000;
}

.btn-nav::after {
    display: none;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    background: #000;
    overflow: hidden;
}

/* Vignette & scanlines for horror vibe */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: repeating-linear-gradient(
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 3px
    ); */
    background: radial-gradient(circle, transparent 20%, #000 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Use one of the new images as dark bg, potentially filtered */
    background: url('img/bBdHgF (1).png') no-repeat center center/cover;
    opacity: 0.4;
    z-index: 0;
    filter: saturate(0.5) contrast(1.2);
    animation: pulseBg 10s infinite alternate;
}

@keyframes pulseBg {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
}

.hero-logo {
    width: 180px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.3));
}

.hero-content h1 {
    font-size: 6rem;
    margin-bottom: 20px;
    position: relative;
    color: #fff;
    letter-spacing: -2px;
}

.subtitle {
    font-size: 1.8rem;
    color: var(--text-dim);
    margin-bottom: 50px;
    font-weight: 300;
}

.cta-group {
    display: flex;
    gap: 20px;
}

/* About Section */
.about-section {
    padding: 120px 0;
    background: #080808;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    font-size: 1.25rem;
    color: #ccc;
    margin-bottom: 25px;
    text-align: justify;
}

.about-text .quote {
    font-style: italic;
    color: var(--primary-color);
    font-size: 1.4rem;
    border-left: 3px solid var(--primary-color);
    padding-left: 20px;
    margin-top: 40px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 20px 20px 0px rgba(255, 255, 255, 0.05);
    filter: grayscale(0.2);
    transition: var(--transition);
}

.about-image:hover img {
    filter: grayscale(0);
    transform: translate(-10px, -10px);
    box-shadow: 30px 30px 0px rgba(0, 255, 136, 0.1);
}

/* Features Section (New) */
.features-section {
    padding: 120px 0;
    background: #0b0b0b;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    cursor: default;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    color: var(--text-dim);
    font-size: 1rem;
}

/* Gallery Section */
.gallery-section {
    padding: 120px 0;
    background: #050505;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* The "X" layout: 3rd item centered in a new row independently */
    .gallery-item:nth-child(3) {
        grid-column: 1 / -1;
        width: calc(50% - 10px);
        margin: 0 auto;
    }
}

.gallery-item {
    height: 250px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.8);
}

.gallery-item:hover img {
    transform: scale(1.15);
    filter: brightness(1);
}

/* Download Section */
.download-section {
    padding: 150px 0;
    text-align: center;
    background: linear-gradient(180deg, #050505 0%, #0f1a15 100%);
}

.download-card {
    display: inline-block;
    max-width: 900px;
    width: 100%;
}

.download-card h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.download-card p {
    color: var(--text-dim);
    margin-bottom: 50px;
    font-size: 1.4rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.specs {
    display: flex;
    justify-content: center;
    gap: 40px;
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.specs span i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Footer */
footer {
    background: #020202;
    padding: 80px 0 30px;
    border-top: 1px solid #111;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.footer-logo img {
    height: 35px;
    filter: grayscale(1);
    opacity: 0.5;
}

.social-links a {
    color: #444;
    font-size: 1.5rem;
    margin-left: 25px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

.copyright {
    text-align: center;
    color: #333;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: white;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(10px, 9999px, 30px, 0);
    }

    20% {
        clip: rect(80px, 9999px, 99px, 0);
    }

    40% {
        clip: rect(10px, 9999px, 50px, 0);
    }

    60% {
        clip: rect(60px, 9999px, 80px, 0);
    }

    80% {
        clip: rect(90px, 9999px, 100px, 0);
    }

    100% {
        clip: rect(30px, 9999px, 60px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(60px, 9999px, 80px, 0);
    }

    20% {
        clip: rect(10px, 9999px, 40px, 0);
    }

    40% {
        clip: rect(70px, 9999px, 90px, 0);
    }

    60% {
        clip: rect(20px, 9999px, 60px, 0);
    }

    80% {
        clip: rect(50px, 9999px, 70px, 0);
    }

    100% {
        clip: rect(90px, 9999px, 100px, 0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .cta-group {
        flex-direction: column;
    }
}