:root {
            --bg-deep: #05080a;
            --glass: rgba(255, 255, 255, 0.03);
            --glass-border: rgba(255, 255, 255, 0.1);
            --accent: #2dd4bf;
            --accent-glow: rgba(45, 212, 191, 0.28);
            --accent-alt: #f43f5e;
            --text-bright: #f9fafb;
            --text-dim: #9ca3af;
            --font-main: 'Press Start 2P', cursive;
            --font-game: 'Press Start 2P', cursive;
            --logo-blue: #7dd3fc;
            --badge-blue: #60a5fa;
            --badge-blue-bg: rgba(96, 165, 250, 0.16);
            --badge-blue-border: rgba(96, 165, 250, 0.35);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }

        /* ----- BARRA DE ROLAGEM ESTILIZADA ----- */
        ::-webkit-scrollbar {
            width: 12px;
        }
        ::-webkit-scrollbar-track {
            background: var(--bg-deep);
            border-left: 1px solid var(--glass-border);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--accent);
            border-radius: 6px;
            border: 3px solid var(--bg-deep);
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--logo-blue);
        }

        html, body {
            width: 100%;
            min-height: 100%;
            overflow-x: hidden;
            overflow-y: hidden;
        }

        body {
            background-color: var(--bg-deep);
            color: var(--text-dim);
            font-family: var(--font-main);
            line-height: 2;
            position: relative;
            font-size: 12px;
            cursor: url('https://i.postimg.cc/5ybs0P38/154-Sem-Titulo-20260312041737.png'), auto;
        }

        a, button, .game-card-link, canvas, .member, .btn-social {
            cursor: url('https://i.postimg.cc/5ybs0P38/154-Sem-Titulo-20260312041737.png'), pointer !important;
        }

        body::before {
            content: "";
            position: fixed;
            inset: 0;
            background:
                linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.08) 50%),
                linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
            background-size: 100% 4px, 4px 100%;
            z-index: 100;
            pointer-events: none;
        }

        img { display: block; max-width: 100%; -webkit-user-drag: none; user-select: none; }
        a { text-decoration: none; color: inherit; }

        /* ----- TELA DE PRESS START ----- */
        #start-screen {
            position: fixed;
            inset: 0;
            background-color: #05080a;
            z-index: 9999999;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: url('https://i.postimg.cc/5ybs0P38/154-Sem-Titulo-20260312041737.png'), pointer;
            transition: opacity 0.5s ease;
        }
        
        #start-screen h2 {
            font-size: 3rem;
            color: #fff;
            margin-bottom: 30px;
            text-shadow: 4px 4px 0 var(--logo-blue), -2px -2px 0 var(--accent-alt);
            text-align: center;
            line-height: 1.4;
        }

        .blink-text {
            font-size: 1.2rem;
            color: var(--accent);
            animation: blinkAnim 1s infinite;
        }

        @keyframes blinkAnim {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }

        .typewriter-cursor {
            border-right: 2px solid var(--accent);
            animation: blinkAnim 0.7s infinite;
            margin-left: 2px;
        }

        #particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle at 50% 10%, #0d1a1d 0%, #05080a 100%); }

        .container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 80px 20px; }

        @keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }
        @keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(1deg); } }
        @keyframes shakeSoft { 0% { transform: translate(0, 0); } 25% { transform: translate(-0.6px, 0.4px); } 50% { transform: translate(0.6px, -0.4px); } 75% { transform: translate(-0.4px, -0.3px); } 100% { transform: translate(0, 0); } }
        @keyframes pulseRed { 0%, 100% { transform: scale(1); box-shadow: 0 10px 0 #991b1b, 0 15px 30px rgba(239, 68, 68, 0.4); } 50% { transform: scale(1.03); box-shadow: 0 10px 0 #991b1b, 0 20px 40px rgba(239, 68, 68, 0.55); } }
        @keyframes glitch-anim { 0% { transform: translate(0); text-shadow: 2px 0 #0ff, -2px 0 #f0f; } 20% { transform: translate(-2px, 1px); text-shadow: -2px 0 #0ff, 2px 0 #f0f; } 40% { transform: translate(2px, -1px); text-shadow: 2px 0 #0ff, -2px 0 #f0f; } 60% { transform: translate(-2px, -1px); text-shadow: -2px 0 #0ff, 2px 0 #f0f; } 80% { transform: translate(2px, 1px); text-shadow: 2px 0 #0ff, -2px 0 #f0f; } 100% { transform: translate(0); text-shadow: none; } }

        header { text-align: center; margin-bottom: 100px; opacity: 0; transform: translateY(20px); animation: fadeIn 1s ease forwards; }
        .header-brand { display: flex; flex-direction: column; align-items: center; margin-bottom: 30px; }
        .logo-img { width: 160px; height: 160px; border-radius: 48px; object-fit: cover; border: 2px solid var(--glass-border); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275); animation: float 5s ease-in-out infinite; }
        .logo-img:hover, .logo-img.tap-shake { transform: scale(1.03) rotate(-1.5deg); border-color: var(--accent); animation: shakeSoft 0.9s infinite linear; }
        
        .amanari-logo-text { font-family: var(--font-game); font-size: 42px; text-transform: uppercase; letter-spacing: -2px; margin-top: 18px; margin-bottom: 10px; display: inline-block; background: linear-gradient(to bottom, #fff 50%, var(--logo-blue) 50%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 10px rgba(125, 211, 252, 0.4)); }
        .studio-text { font-family: var(--font-game); font-size: 12px; color: var(--logo-blue); opacity: 0.8; letter-spacing: 2px; line-height: 1.8; }
        .bio { min-height: 50px; max-width: 700px; margin: 0 auto 40px; font-size: 0.8rem; color: #fff; opacity: 0.9; line-height: 2.1; }
        
        .social-bar { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
        .btn-social { display: flex; align-items: center; gap: 12px; padding: 14px 24px; background: var(--glass); border: 1px solid var(--glass-border); color: var(--text-bright); border-radius: 50px; font-size: 0.72rem; font-weight: 600; transition: all 0.3s ease; line-height: 1.8; }
        .btn-social:hover { background: var(--accent); color: var(--bg-deep); transform: translateY(-4px); box-shadow: 0 10px 20px var(--accent-glow); }

        section { margin-bottom: 120px; opacity: 0; transform: translateY(30px); animation: fadeIn 0.8s ease 0.3s forwards; }
        .section-title { color: var(--text-bright); font-size: 1.6rem; margin-bottom: 50px; display: flex; align-items: center; gap: 15px; font-weight: 800; line-height: 1.4; transition: all 0.2s ease; }
        .section-title:hover { animation: glitch-anim 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite; color: var(--accent); }
        .section-title::before { content: ""; width: 8px; height: 35px; background: var(--accent); border-radius: 10px; }

        .games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
        .game-card-link { display: block; border-radius: 35px; position: relative; transition: 0.3s ease; }
        .game-card-link * { pointer-events: none; }
        .game-card { background: var(--glass); border: 2px solid var(--glass-border); border-radius: 35px; overflow: hidden; transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease; height: 100%; display: flex; flex-direction: column; position: relative; }
        .game-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.05) 50%); background-size: 100% 4px; pointer-events: none; z-index: 2; }
        .game-card-link:hover .game-card { transform: translateY(-8px); border-color: var(--accent); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px var(--accent-glow), inset 0 0 20px rgba(45, 212, 191, 0.1); }
        
        .game-thumb { width: 100%; height: 280px; background: #000; overflow: hidden; display: flex; align-items: center; justify-content: center; }
        .game-thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.55s ease, filter 0.55s ease; background: #080c0e; }
        .game-card-link:hover .game-thumb img { transform: scale(1.04); filter: saturate(1.12) contrast(1.04); }
        .game-content { padding: 28px; flex-grow: 1; display: flex; flex-direction: column; text-align: center; background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.25)); }
        .game-badge { align-self: center; background: rgba(244, 63, 94, 0.15); color: var(--accent-alt); border: 1px solid rgba(244, 63, 94, 0.3); padding: 6px 12px; border-radius: 50px; font-size: 0.58rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; line-height: 1.6; }
        .game-badge-comercial { background: var(--badge-blue-bg); color: var(--badge-blue); border-color: var(--badge-blue-border); }
        .game-card h3 { color: var(--text-bright); margin-bottom: 22px; font-size: 0.9rem; font-weight: 800; line-height: 1.7; }
        
        .play-btn-visual { display: block; width: 100%; padding: 16px; background: rgba(45, 212, 191, 0.1); color: var(--accent); border-radius: 20px; font-size: 0.75rem; font-weight: 700; border: 1px solid rgba(45, 212, 191, 0.2); transition: all 0.3s ease; margin-top: auto; line-height: 1.7; font-family: var(--font-main); cursor: pointer; }
        .game-card-link:hover .play-btn-visual, .play-btn-visual:hover { background: rgba(45, 212, 191, 0.22); color: var(--text-bright); box-shadow: 0 0 14px rgba(45, 212, 191, 0.28); }

        .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 30px; justify-items: center; }
        .member { text-align: center; width: 100%; transition: all 0.35s ease; }
        .avatar-box { position: relative; margin-bottom: 18px; display: inline-block; }
        .avatar { width: 130px; height: 130px; border-radius: 45px; border: 2px solid var(--glass-border); object-fit: cover; transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275); background: #111; }
        .member:hover .avatar, .member.tap-shake .avatar { border-radius: 50%; border-color: var(--accent); transform: scale(1.06) rotate(2deg); }
        .member p { font-size: 0.72rem; font-weight: 600; color: var(--text-bright); line-height: 1.6; }

        .game-area { background: var(--glass); border: 1px solid var(--glass-border); padding: 40px 20px; border-radius: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; }
        
        .hud-top { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 30px; margin-bottom: 25px; font-family: var(--font-game); font-size: 0.85rem; color: #fff; text-shadow: 2px 2px 0 #000; width: 100%; max-width: 400px; text-align: left; }
        .hud-accent { color: #facc15; }
        .canvas-wrapper { position: relative; width: 100%; max-width: 800px; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 4px #111; overflow: hidden; }
        .lives-hud { position: absolute; top: 14px; right: 14px; z-index: 20; display: flex; gap: 8px; pointer-events: none; font-size: 14px; text-shadow: 2px 2px 0 #000; }
        .life-heart { line-height: 1; filter: drop-shadow(0 2px 0 #000); }
        .life-heart.off { opacity: 0.25; filter: grayscale(1) drop-shadow(0 2px 0 #000); }
        .scanlines { position: absolute; inset: 0; z-index: 10; pointer-events: none; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.15)); background-size: 100% 4px; }
        canvas#gameCanvas { background: #1e1b4b; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; image-rendering: pixelated; touch-action: none; user-select: none; outline: none; }
        
        .game-hint { margin-top: 30px; font-size: 0.75rem; color: var(--accent); display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
        .game-subhint { margin-top: 10px; font-size: 0.58rem; color: #cbd5e1; text-align: center; opacity: 0.9; line-height: 1.8; }
        
        .shop-controls { margin-top: 30px; width: 100%; max-width: 650px; display: flex; flex-direction: column; gap: 20px; }
        .shop-group { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; width: 100%; }
        .shop-divider { width: 100%; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); border-radius: 2px; margin: 5px 0; }
        .shop-btn { border: none; border-radius: 50px; padding: 14px 22px; font-family: var(--font-game); font-size: 0.65rem; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 10px; text-transform: uppercase; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,0.3); transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s; position: relative; overflow: hidden; }
        .shop-btn::after { content: ""; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent); transform: skewX(-20deg); transition: 0.5s; }
        .shop-btn:hover::after { left: 150%; }
        .shop-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(0,0,0,0.5); }
        .shop-btn:active { transform: translateY(2px); box-shadow: 0 4px 10px rgba(0,0,0,0.4); }
        .shop-btn i { width: 18px; height: 18px; flex-shrink: 0; }

        .btn-skin { background: linear-gradient(90deg, #8b5cf6, #ec4899); box-shadow: 0 8px 20px rgba(236, 72, 153, 0.25); }
        .btn-acc { background: linear-gradient(90deg, #2563eb, #06b6d4); box-shadow: 0 8px 20px rgba(6, 182, 212, 0.25); }
        .btn-buy-skin { background: linear-gradient(90deg, #f97316, #eab308); box-shadow: 0 8px 20px rgba(234, 179, 8, 0.25); }
        .btn-buy-acc { background: linear-gradient(90deg, #f43f5e, #f97316); box-shadow: 0 8px 20px rgba(244, 63, 94, 0.25); }

        .panic-wrapper { text-align: center; margin-top: 60px; margin-bottom: 40px; }
        .btn-panic { background-color: #ef4444; color: #fff; border: none; padding: 20px 40px; font-size: 1.1rem; font-weight: 900; border-radius: 16px; text-transform: uppercase; letter-spacing: 2px; box-shadow: 0 10px 0 #991b1b, 0 15px 30px rgba(239, 68, 68, 0.4); transition: all 0.15s ease; animation: pulseRed 2s infinite; font-family: var(--font-main); line-height: 1.5; cursor: pointer; }
        .btn-panic:hover { transform: translateY(4px); box-shadow: 0 6px 0 #991b1b, 0 10px 20px rgba(239, 68, 68, 0.4); background-color: #dc2626; }
        .btn-panic:active { transform: translateY(10px); box-shadow: 0 0 0 #991b1b, 0 0 0 rgba(239, 68, 68, 0.4); }

        #fnaf-jumpscare { display: none; position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 99999; background-color: black; align-items: center; justify-content: center; }
        #fnaf-jumpscare img { width: 100%; height: 100%; object-fit: cover; }

        @media (max-width: 768px) {
            body { font-size: 11px; }
            #start-screen h2 { font-size: 2rem; }
            .amanari-logo-text { font-size: 24px; }
            .bio { font-size: 0.72rem; }
            .logo-img { width: 140px; height: 140px; }
            .container { padding: 50px 15px; }
            .section-title { font-size: 1.2rem; }
            .btn-social { font-size: 0.65rem; padding: 12px 18px; }
            .btn-panic { font-size: 0.9rem; padding: 14px 24px; }
            .lives-hud { top: 10px; right: 10px; font-size: 12px; }
            .shop-btn { padding: 12px 16px; font-size: 0.55rem; }
        }
        @media (max-width: 480px) {
            .social-bar { flex-direction: column; }
            .amanari-logo-text { font-size: 20px; }
            .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
            .avatar { width: 100px; height: 100px; }
            .game-thumb { height: 220px; }
            .game-content { padding: 22px; }
            .hud-top { font-size: 0.7rem; gap: 10px 15px; }
            .shop-group { grid-template-columns: 1fr; gap: 10px; } 
        }