        /* --- VISUAALINEN TYYLITTELY (CSS) --- */

        :root {
            --bg-color: #020202;       /* Melkein täysin musta */
            --text-color: #ececec;     /* Kirkkaampi valkoinen */
            --accent-color: #4da6ff;   /* Neon-tekninen sininen */
            --accent-dim: rgba(77, 166, 255, 0.3);
            --panel-bg: rgba(10, 10, 10, 0.85); /* Läpinäkyvä paneeli */
            --border-color: #333;
            --font-main: 'Share Tech Mono', monospace; /* Teknisempi fontti */
            --font-heading: 'Oxanium', sans-serif;   /* Sci-fi/Raskas fontti otsikoille */
        }

        /* Tuodaan fontit Googlelta */
        @import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@700;800&family=Share+Tech+Mono&display=swap');

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            cursor: none; /* Piilotetaan normaali kurssori */
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            font-family: var(--font-main);
            line-height: 1.6;
            overflow-x: hidden;
            letter-spacing: 0.5px;
        }

        /* --- GRAAFISET KERROKSET (OVERLAYS) --- */

        /* 1. Yleinen taustatekstuuri (Karkea metalli/betoni) */
        body::before {
            content: "";
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            /* placeholders.co:n kautta simuloitu tekstuuri. Korvaa omalla kuvallasi. */
            background-image: url('https://www.transparenttextures.com/patterns/dark-metal.png');
            opacity: 0.3;
            z-index: -10; /* Kaiken takana */
            pointer-events: none;
        }

        /* 2. Vignette (Tummenetut reunat luovat putkinäön/kauhun tunteen) */
        .vignette {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.9) 100%);
            z-index: 100; /* Melkein kaiken päällä */
            pointer-events: none;
        }

        /* 3. Scanlines (Vanha monitori -efekti) */
        .scanlines {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(
                to bottom,
                rgba(255, 255, 255, 0) 50%,
                rgba(0, 0, 0, 0.1) 50%
            );
            background-size: 100% 4px; /* Viivojen tiheys */
            z-index: 101;
            pointer-events: none;
            opacity: 0.3;
        }

        /* 4. Mukautettu Kurssori (Taskulamppu-efekti) */
        #custom-cursor {
            position: fixed;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(77, 166, 255, 0.15) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
            transform: translate(-50%, -50%);
            z-index: 999; /* Kaiken päällä */
            mix-blend-mode: screen; /* Valaisee taustan */
        }
        
        #cursor-dot {
            position: fixed;
            width: 8px;
            height: 8px;
            background-color: var(--accent-color);
            border-radius: 50%;
            pointer-events: none;
            transform: translate(-50%, -50%);
            z-index: 1000;
        }

        /* --- ASETTELU JA ELEMENTIT --- */

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 40px;
            position: relative;
            z-index: 10; /* Teksti nousee grafiikan yläpuolelle */
        }

        section {
            padding: 100px 0;
            position: relative;
        }

        h1, h2, h3 {
            font-family: var(--font-heading);
            text-transform: uppercase;
            color: #ffffff;
            text-shadow: 0 0 10px var(--accent-dim);
            margin-bottom: 20px;
        }

        /* --- HEADER / NAV --- */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%);
            z-index: 1000;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 80px;
        }

        .studio-logo {
            font-size: 1.4rem;
            color: var(--accent-color);
            text-decoration: none;
            font-family: var(--font-heading);
            font-weight: 800;
        }

        .nav-links {
            list-style: none;
            display: flex;
            gap: 30px;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-color);
            font-size: 0.9rem;
            transition: 0.3s;
            position: relative;
        }

        .nav-links a:hover {
            color: #fff;
            text-shadow: 0 0 5px #fff;
        }

        /* Navigaation glitch-efekti hoverissa */
        .nav-links a::after {
            content: attr(data-text);
            position: absolute;
            left: 0;
            opacity: 0;
            color: red;
            z-index: -1;
        }

        .nav-links a:hover::after {
            animation: glitch 0.3s infinite;
            opacity: 0.5;
        }

        /* Hero-säiliön pitää olla suhteellinen, jotta video voi olla absoluuttinen sen sisällä */
        .hero {
            height: 100vh;
            width: 100%;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            background-color: transparent; /* Tärkeää: ei peittävää mustaa tässä */
        }

        /* Videon asetukset */
        #hero-video {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100%;
            height: 100%;
            object-fit: cover; /* Täyttää koko ruudun ilman venymistä */
            transform: translate(-50%, -50%);
            z-index: -2; /* Alin kerros */
            opacity: 0.6; /* Säädä tätä (0.0 - 1.0) nähdäksesi videon selkeämmin */
        }

        /* Varmista että vignette ei ole liian tumma keskeltä */
        .vignette {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: radial-gradient(circle, transparent 20%, rgba(0,0,0,0.8) 100%);
            z-index: 1; /* Videon yläpuolella, mutta tekstin alapuolella */
            pointer-events: none;
        }

        /* Tekstisisältö pitää nostaa videon ja efektien päälle */
        .hero-content {
            position: relative;
            z-index: 10; 
        }

        .hero-content h1 {
            font-size: 4rem;
            line-height: 1;
            margin-bottom: 15px;
        }

        .ue5-badge {
            display: inline-block;
            padding: 8px 20px;
            background-color: rgba(0,0,0,0.5);
            border: 1px solid var(--accent-color);
            color: var(--accent-color);
            font-size: 0.8rem;
            margin-top: 20px;
            box-shadow: 0 0 15px var(--accent-dim);
        }

        /* --- PROJEKTIT --- */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 40px;
        }

        .project-card {
            background-color: var(--panel-bg);
            border: 1px solid #222;
            position: relative;
            transition: 0.3s;
            overflow: hidden;
        }

        .project-card:hover {
            border-color: var(--accent-color);
            transform: scale(1.02);
            box-shadow: 0 0 30px rgba(77, 166, 255, 0.2);
        }

        /* Pelin kuva placeholderina. Tässä pitäisi olla renderöity kuva UE5:stä. */
        .project-image-container {
            width: 100%;
            height: 250px;
            background-color: #111;
            background-size: cover;
            background-position: center;
            filter: grayscale(100%);
            transition: 0.5s;
        }

        .project-card:hover .project-image-container {
            filter: grayscale(0%) contrast(110%);
        }

        .project-info {
            padding: 30px;
            border-top: 1px solid #222;
        }

        .project-meta {
            font-size: 0.8rem;
            color: var(--accent-color);
            margin-bottom: 10px;
            text-transform: uppercase;
        }

        /* --- CORE / ABOUT --- */
        .about {
            background-image: linear-gradient(to bottom, #000, #050505);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 60px;
            align-items: center;
        }

        .pillars {
            list-style: none;
            margin-top: 30px;
        }

        .pillars li {
            margin-bottom: 20px;
            padding: 20px;
            background-color: rgba(20, 20, 20, 0.5);
            border-left: 3px solid var(--border-color);
            transition: 0.3s;
        }

        .pillars li:hover {
            border-left-color: var(--accent-color);
            background-color: rgba(30, 30, 30, 0.5);
            transform: translateX(10px);
        }

        /* --- FOOTER --- */
        footer {
            padding: 80px 0;
            text-align: center;
            border-top: 1px solid #222;
            background-color: #000;
        }

        /* --- ANIMAATIOT --- */
        @keyframes glitch {
            0% { transform: translate(2px, 2px); }
            25% { transform: translate(-2px, -2px); }
            50% { transform: translate(2px, -2px); }
            75% { transform: translate(-2px, 2px); }
            100% { transform: translate(2px, 2px); }
        }