*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }

        :root {
            --accent: #8b2fc9;
            --accent-vivid: #65067c;
            --glass: rgba(255,255,255,0.06);
            --glass-border: rgba(255,255,255,0.10);
            --glass-hover: rgba(255,255,255,0.11);
            --text: #f4f0ff;
            --text-dim: rgba(244,240,255,0.6);
            --glow: 0 0 32px rgba(101,6,124,0.45);
            --glow-sm: 0 0 16px rgba(101,6,124,0.3);
        }

        body {
            min-height: 100vh;
            background: #06060b url('../bg.png') center/cover no-repeat fixed;
            color: var(--text);
            font-family: 'Syne', sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* Overlay escuro sobre bg.png */
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background: rgba(4, 2, 12, 0.72);
            z-index: 0;
            pointer-events: none;
        }

        .page {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 480px;
            padding: 2.5rem 1.2rem 3rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0;
        }

        /* PERFIL */
        .perfil {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 2rem;
        }
        .perfil-foto {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            object-fit: cover;
            border: 2.5px solid rgba(139,47,201,0.6);
            box-shadow: var(--glow);
        }
        .perfil-foto-placeholder {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            background: var(--glass);
            border: 2.5px solid var(--glass-border);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: var(--text-dim);
        }
        .perfil-nome {
            font-family: 'Kanit', monospace;
            font-size: 1.35rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            text-align: center;
        }
        .perfil-bio {
            font-size: 0.85rem;
            color: var(--text-dim);
            text-align: center;
            line-height: 1.6;
            max-width: 320px;
        }

        /* SEÇÃO BOTÕES */
        .secao-botoes {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            margin-bottom: 2.5rem;
        }
        .link-btn {
            width: 100%;
            padding: 0.9rem 1.4rem;
            background: var(--glass);
            border: 1px solid var(--glass-border);
            border-radius: 14px;
            color: var(--text);
            font-family: 'Syne', sans-serif;
            font-size: 0.95rem;
            font-weight: 600;
            text-align: center;
            text-decoration: none;
            display: block;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
            cursor: pointer;
        }
        .link-btn:hover {
            background: var(--glass-hover);
            border-color: rgba(139,47,201,0.5);
            transform: translateY(-2px);
            box-shadow: var(--glow-sm);
        }
        .link-btn:active {
            transform: translateY(0);
            box-shadow: none;
        }

        /* SEÇÃO POSTAGENS */
        .secao-posts {
            width: 100%;
            margin-bottom: 2.5rem;
        }
        .secao-posts-titulo {
            font-family: 'Syne', monospace;
            font-size: 0.7rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--text-dim);
            text-align: center;
            margin-bottom: 1rem;
        }

        /* Slider de postagens */
        .posts-slider-wrap {
            position: relative;
            width: 100%;
            overflow: hidden;
            border-radius: 16px;
        }
        .posts-track {
            display: flex;
            gap: 0.8rem;
            transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
            cursor: grab;
            user-select: none;
            padding: 0 0.2rem;
        }
        .posts-track:active { cursor: grabbing; }
        .post-card {
            flex-shrink: 0;
            width: calc(100% - 18px);
            background: var(--glass);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            overflow: hidden;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            cursor: pointer;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .post-card:hover {
            border-color: rgba(139,47,201,0.4);
            box-shadow: var(--glow-sm);
        }
        .post-card-img {
            width: 100%;
            aspect-ratio: 4/5;
            object-fit: cover;
            display: block;
        }
        .post-card-texto {
            padding: 0.9rem 1rem;
            font-size: 0.84rem;
            color: var(--text-dim);
            line-height: 1.55;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        .post-card-sem-img .post-card-texto {
            padding: 1.4rem 1.2rem;
            -webkit-line-clamp: 4;
            color: var(--text);
            font-size: 0.9rem;
        }

        /* Setas do slider */
        .slider-arrows {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1rem;
            margin-top: 1rem;
        }
        .slider-arrow {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--glass);
            border: 1px solid var(--glass-border);
            color: var(--text-dim);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.2s;
            backdrop-filter: blur(8px);
        }
        .slider-arrow:hover {
            background: var(--glass-hover);
            border-color: rgba(139,47,201,0.5);
            color: var(--text);
        }
        .slider-arrow.bounce {
            animation: arrowBounce 1.5s ease-in-out infinite;
        }
        @keyframes arrowBounce {
            0%, 100% { transform: translateX(0); }
            50% { transform: translateX(4px); }
        }
        .slider-dots-posts {
            display: flex;
            justify-content: center;
            gap: 6px;
            margin-top: 0.7rem;
        }
        .sdot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: rgba(244,240,255,0.2);
            transition: all 0.3s;
            cursor: pointer;
        }
        .sdot.active {
            background: var(--accent);
            width: 18px;
            border-radius: 6px;
        }

        /* REDES SOCIAIS */
        .redes {
            display: flex;
            gap: 1.2rem;
            margin-bottom: 2rem;
        }
        .rede-link {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--glass);
            border: 1px solid var(--glass-border);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            color: var(--text-dim);
            text-decoration: none;
            backdrop-filter: blur(10px);
            transition: all 0.2s;
        }
        .rede-link:hover {
            background: var(--glass-hover);
            color: var(--text);
            border-color: rgba(139,47,201,0.5);
            transform: translateY(-2px);
            box-shadow: var(--glow-sm);
        }

        /* RODAPÉ */
        .rodape {
            font-family: 'Syne', monospace;
            font-size: 0.65rem;
            color: rgba(244,240,255,0.25);
            text-align: center;
            letter-spacing: 0.08em;
        }

        /* MODAL */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.8);
            backdrop-filter: blur(10px);
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
        }
        .modal-overlay.open {
            display: flex;
            animation: fadeIn 0.2s ease;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        .modal-box {
            background: rgba(18,16,31,0.95);
            border: 1px solid rgba(139,47,201,0.3);
            border-radius: 20px;
            max-width: 420px;
            width: 100%;
            overflow: hidden;
            animation: slideUp 0.25s ease;
            max-height: 90vh;
            overflow-y: auto;
        }
        @keyframes slideUp {
            from { opacity: 0; transform: translateY(24px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .modal-img {
            width: 100%;
            aspect-ratio: 4/5;
            object-fit: cover;
            display: block;
        }
        .modal-texto {
            padding: 1.2rem 1.4rem 1.6rem;
            font-size: 0.9rem;
            color: var(--text-dim);
            line-height: 1.7;
        }

        /* Loading */
        .loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            padding: 4rem 0;
            color: var(--text-dim);
            font-size: 0.85rem;
        }
        .spinner {
            width: 32px;
            height: 32px;
            border: 2px solid rgba(139,47,201,0.2);
            border-top-color: var(--accent);
            border-radius: 50%;
            animation: spin 0.7s linear infinite;
        }
        @keyframes spin { to { transform: rotate(360deg); } }
