        /* Variáveis para temas */
        :root {
            /* Tema Escuro (Padrão) */
            --primary: #004953;
            --secondary: #f9f07e;
            --dark: #151f28;
            --primary-transparent: rgba(0, 73, 83, 0.9);
            --dark-transparent: rgba(21, 31, 40, 0.8);
            --light: #ffffff;
            --gray: rgba(255, 255, 255, 0.5);
            --border-color: rgba(255, 255, 255, 0.1);
            --input-bg: rgba(255, 255, 255, 0.05);
            --border-radius: 8px;
            --font-primary: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            --card-bg: rgba(21, 31, 40, 0.5);
            --modal-overlay: rgba(0, 0, 0, 0.85);
            --primary-hover: #00636d;
        }

        .theme-light {
            /* Tema Claro */
            --primary: #00787b;
            --secondary: #f9cf00;
            --dark: #ffffff;
            --primary-transparent: rgba(0, 120, 123, 0.1);
            --dark-transparent: rgba(0, 0, 0, 0.05);
            --light: #1a1a1a;
            --gray: #666666;
            --border-color: rgba(0, 0, 0, 0.1);
            --input-bg: rgba(0, 0, 0, 0.05);
            --card-bg: rgba(255, 255, 255, 0.5);
            --modal-overlay: rgba(0, 0, 0, 0.7);
            --primary-hover: #00696b;
        }

        /* Animations */
        @keyframes ripple {
            0% { transform: scale(0); opacity: 0.5; }
            100% { transform: scale(1.5); opacity: 0; }
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }

        @keyframes glow {
            0% { box-shadow: 0 0 5px rgba(249, 240, 126, 0.3); }
            50% { box-shadow: 0 0 20px rgba(249, 240, 126, 0.5); }
            100% { box-shadow: 0 0 5px rgba(249, 240, 126, 0.3); }
        }

        @keyframes slideUp {
            0% { transform: translateY(100%); opacity: 0; }
            100% { transform: translateY(0); opacity: 1; }
        }

        @keyframes fadeIn {
            0% { opacity: 0; }
            100% { opacity: 1; }
        }

        @keyframes pulse {
            0% { transform: scale(1); opacity: 0.7; }
            50% { transform: scale(1.05); opacity: 0.9; }
            100% { transform: scale(1); opacity: 0.7; }
        }

        /* Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: var(--font-primary);
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--dark);
            color: var(--light);
            overflow-x: hidden;
            position: relative;
            transition: background-color 0.3s ease, color 0.3s ease;
            min-height: 100vh;
        }

        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(0, 73, 83, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 80% 60%, rgba(0, 73, 83, 0.2) 0%, transparent 30%),
                radial-gradient(circle at 40% 80%, rgba(249, 240, 126, 0.05) 0%, transparent 25%);
            opacity: 0.6;
            z-index: -1;
        }

        .theme-light body::before {
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(0, 120, 123, 0.05) 0%, transparent 20%),
                radial-gradient(circle at 80% 60%, rgba(0, 120, 123, 0.1) 0%, transparent 30%),
                radial-gradient(circle at 40% 80%, rgba(249, 207, 0, 0.03) 0%, transparent 25%);
        }

        /* Hexagonal Navigation */
        .hex-nav {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .hex-menu {
            position: relative;
            width: 60px;
            height: 70px;
            background-color: var(--primary);
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: transform 0.3s, background-color 0.3s;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .hex-menu::before {
            content: "";
            position: absolute;
            width: 54px;
            height: 62px;
            background-color: var(--dark);
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
            z-index: -1;
        }

        .hex-menu img {
            width: 24px;
            height: 24px;
            filter: brightness(100) invert(0);
        }

        .theme-light .hex-menu img {
            width: 24px;
            height: 24px;
            filter: brightness(100) invert(1);
        }

        .hex-menu:hover {
            transform: scale(1.1);
            background-color: var(--secondary);
        }

        .hex-menu:hover img {
            filter: brightness(0) saturate(100%) invert(18%) sepia(62%) saturate(1646%) hue-rotate(158deg) brightness(93%) contrast(101%);
        }

        .hex-options {
            position: absolute;
            bottom: 85px;
            display: flex;
            flex-direction: column;
            align-items: center;
            visibility: hidden;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.3s;
        }

        .hex-options.active {
            visibility: visible;
            opacity: 1;
            transform: translateY(0);
        }

        .hex-option, .hex-option-profile {
            width: 50px;
            height: 58px;
            background-color: var(--primary);
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            cursor: pointer;
            transition: transform 0.3s, background-color 0.3s;
            position: relative;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .hex-option::before {
            content: "";
            position: absolute;
            width: 44px;
            height: 50px;
            background-color: var(--dark);
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
            z-index: -1;
        }

        .hex-option-profile::before {
            content: "";
            position: absolute;
            width: 44px;
            height: 50px;
            background-color: var(--dark);
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
            z-index: -1;
        }

        .hex-option img {
            width: 20px;
            height: 20px;
            filter: brightness(100) invert(0);
            transition: filter 0.3s;
        }

        .theme-light .hex-option img {
            width: 20px;
            height: 20px;
            filter: brightness(100) invert(1);
            transition: filter 0.3s;
        }

        .hex-option-profile img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
            transition: filter 0.3s;
        }

        .hex-option:hover, .hex-option-profile:hover {
            transform: scale(1.1);
            background-color: var(--secondary);
        }

        .hex-option:hover img, .hex-option-profile:hover img {
            filter: brightness(0) saturate(100%) invert(18%) sepia(62%) saturate(1646%) hue-rotate(158deg) brightness(93%) contrast(101%);
        }

        .tooltip {
            position: absolute;
            left: -80px;
            background-color: var(--dark-transparent);
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 12px;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            border: 1px solid var(--primary);
        }

        .hex-option:hover .tooltip, .hex-menu:hover .tooltip {
            opacity: 1;
        }

        /* Content Layout */
        .content-wrapper {
            max-width: 100%;
            margin: 0 auto;
            overflow-x: hidden;
            padding: 0 0 100px 0;
        }

        /* Header */
        .fluid-header {
            position: fixed;
            top: 0;
            left: 0;
            height: 10%;
            width: 100%;
            z-index: 900;
            background: linear-gradient(to bottom, var(--dark) 60%, transparent);
            padding: 15px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .vibe-logo {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: var(--secondary);
            font-size: 22px;
            position: relative;
            overflow: hidden;
            margin-right: 12px;
        }

        .vibe-logo img {
            width: 100%;
            height: auto;
        }

        .filter-circles {
            display: flex;
            background-color: rgba(255, 255, 255, 0.08);
            border-radius: 20px;
            padding: 4px;
        }

        .theme-light .filter-circles {
            background-color: rgba(0, 0, 0, 0.08);
        }

        .filter-circle {
            width: 80px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 4px;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
            font-size: 12px;
            font-weight: 600;
            color: var(--light);
        }

        .filter-circle.active {
            background-color: var(--primary);
            color: var(--secondary);
        }

        /* Logo menu (hidden by default) */
        .logo-menu { position: absolute; top: 64px; left: 12px; background: var(--card-bg); padding:8px; border-radius:10px; box-shadow:0 8px 30px rgba(0,0,0,0.5); z-index:1200; }
        .logo-menu.hidden { display:none; }
        .logo-menu-item { padding:8px 12px; cursor:pointer; color:var(--light); border-radius:8px; }
        .logo-menu-item:hover { background: rgba(255,255,255,0.04); }

        /* Stories carousel sticky and centered on mobile */
        .stories-desktop { display:flex; gap:12px; padding:12px; overflow-x:auto; align-items:center; justify-content:flex-start; }
        .stories-desktop .story-card { flex: 0 0 auto; }

        @media (max-width: 768px) {
            .fluid-header { padding: 10px 12px; }
            /* Em mobile não queremos que as stories fiquem sticky — devem rolar com o feed */
            .stories-desktop {
                position: relative; /* default flow */
                top: auto;
                background: transparent;
                z-index: auto;
                margin: 8px 0;
                justify-content: center;
                padding: 10px;
            }
            .stories-desktop .story-card { width: 72px; height: 130px; }
            .stories-inline-break { display:block; }
        }

        /* Wavy Feed */
        .wave-container {
            position: relative;
            padding-top: 50px;
            overflow: hidden;
        }

        .wave-divider {
            height: 30px;
            width: 100%;
            position: relative;
            overflow: hidden;
            margin: 15px 0;
        }

        .wave-divider svg {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .wave-divider svg path {
            fill: var(--primary-transparent);
        }

        /* Posts Stream */
        .stream-container {
            display: flex;
            flex-direction: column;
            margin: 0 auto;
            max-width: 600px;
            padding: 0 15px;
        }

        .stream-post {
            position: relative;
            background-color: var(--card-bg);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            margin-bottom: 25px;
            overflow: hidden;
            transform: perspective(1000px) rotateX(0deg);
            transition: transform 0.3s, box-shadow 0.3s;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            animation: fadeIn 0.5s ease-out;
            border: 1px solid var(--border-color);
        }

        .stream-post:hover {
            transform: perspective(1000px) rotateX(2deg);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }

        .stream-post::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            opacity: 0.8;
        }

        .post-header {
            display: flex;
            align-items: center;
            padding: 15px;
            position: relative;
        }

        .profile-hex {
            width: 54px;
            height: 60px;
            position: relative;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .hex-border {
            position: absolute;
            width: 100%;
            height: 100%;
            background-color: var(--primary);
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
            z-index: 1;
        }

        .hex-mask {
            position: absolute;
            width: 90%;
            height: 90%;
            top: 5%;
            left: 5%;
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
            overflow: hidden;
            z-index: 2;
        }

        .profile-pic {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .post-info {
            flex: 1;
        }

        .user-name {
            font-weight: bold;
            font-size: 16px;
            margin-bottom: 2px;
            display: inline-block;
            position: relative;
            color: var(--light);
        }

        .user-name::after {
            content: "";
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--secondary);
            transition: width 0.3s;
        }

        .user-name:hover::after {
            width: 100%;
        }

        .post-date {
            font-size: 13px;
            color: var(--gray);
        }

        .follow-button {
            background-color: transparent;
            border: 2px solid var(--primary);
            color: var(--light);
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .follow-button::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background-color: var(--primary);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.5s, height 0.5s;
            z-index: -1;
        }

        .follow-button:hover::before {
            width: 300px;
            height: 300px;
        }

        .follow-button.following {
            background-color: var(--primary);
            color: var(--secondary);
        }

        .post-content {
            padding: 5px 15px 15px;
            word-wrap: break-word;
            color: var(--light);
        }

        .post-content a {
            color: var(--secondary);
            text-decoration: none;
            position: relative;
            transition: all 0.3s;
        }

        .post-content a:hover {
            text-shadow: 0 0 8px rgba(249, 240, 126, 0.6);
        }

        .post-content a::after {
            content: "";
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 1px;
            background-color: var(--secondary);
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.3s;
        }

        .post-content a:hover::after {
            transform: scaleX(1);
            transform-origin: left;
        }

        .post-image {
            width: 100%;
            max-height: 400px;
            object-fit: cover;
            border-radius: 8px;
            margin-top: 10px;
            cursor: pointer;
            transition: transform 0.3s;
        }

        .post-image:hover {
            transform: scale(1.02);
        }

        .post-actions {
            display: flex;
            padding: 15px;
            border-top: 1px solid var(--border-color);
        }

        .action-button {
            display: flex;
            align-items: center;
            background: none;
            border: none;
            color: var(--gray);
            margin-right: 25px;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
        }

        .action-button::before {
            content: "";
            position: absolute;
            width: 30px;
            height: 30px;
            background-color: transparent;
            border-radius: 50%;
            transform: scale(0);
            transition: transform 0.3s, background-color 0.3s;
            z-index: -1;
        }

        .action-button:hover::before {
            transform: scale(1);
            background-color: rgba(255, 255, 255, 0.1);
        }

        .theme-light .action-button:hover::before {
            background-color: rgba(0, 0, 0, 0.05);
        }

        .action-button.liked {
            color: var(--secondary);
        }

        .action-button.liked::before {
            background-color: rgba(249, 240, 126, 0.1);
        }

        .action-icon {
            width: 18px;
            height: 18px;
            margin-right: 8px;
            transition: transform 0.3s;
        }

        .action-button:hover .action-icon {
            transform: scale(1.2);
        }

        .action-count {
            font-size: 14px;
        }

        /* Like animation and ripple */
        .action-button.liked .action-icon {
            animation: pulse 0.6s ease-out;
        }

        .ripple {
            position: absolute;
            pointer-events: none;
            border-radius: 50%;
            transform: translate(-50%, -50%) scale(0);
            opacity: 0.9;
            animation: ripple 0.6s ease-out forwards;
            z-index: 2;
        }

        /* Lazy image placeholder fade-in */
        .lazy-img {
            opacity: 0;
            transition: opacity 0.4s ease-out, transform 0.4s ease-out;
            will-change: opacity, transform;
        }

        .lazy-img.loaded {
            opacity: 1;
            transform: none;
        }

        /* Post Menu Wrapper */
        .post-menu-wrapper {
            position: relative;
        }



        .post-menu-options.hidden {
            display: none;
        }

        .post-menu-options button {
            display: block;
            width: 100%;
            padding: 10px 15px;
            background: transparent;
            border: none;
            color: var(--light);
            text-align: left;
            cursor: pointer;
            transition: background-color 0.2s;
            border-bottom: 1px solid var(--border-color);
        }

        .post-menu-options button:last-child {
            border-bottom: none;
        }

        .post-menu-options button:hover {
            background-color: rgba(255, 255, 255, 0.05);
        }

        .theme-light .post-menu-options button:hover {
            background-color: rgba(0, 0, 0, 0.05);
        }

        /* Create Post Button */
        .create-post-button {
            position: fixed;
            bottom: 20px;
            left: 20px;
            width: 60px;
            height: 60px;
            border-radius: 30px;
            background-color: var(--primary);
            color: var(--secondary);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 100;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            transition: all 0.3s;
        }

        .create-post-button:hover {
            transform: scale(1.1);
            animation: glow 2s infinite;
        }

        .create-post-button::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background-color: var(--primary);
            opacity: 0.5;
            animation: ripple 2s infinite;
        }

        .create-post-button img {
            width: 24px;
            height: 24px;
            filter: brightness(0) saturate(100%) invert(93%) sepia(18%) saturate(692%) hue-rotate(6deg) brightness(103%) contrast(91%);
        }

        /* Modals */
        .creation-modal, .dm-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--modal-overlay);
            backdrop-filter: blur(5px);
            z-index: 2000;
            opacity: 0;
            transition: opacity 0.3s;
            position: fixed;
            bottom: 0px;
        }

        .creation-modal.active, .dm-modal.show {
            display: flex;
            opacity: 1;
        }

        .creation-container, .dm-container {
            position: fixed;
            bottom: 0px;
            left: 0;
            width: 100%;
            background-color: var(--dark);
            border-top-left-radius: 25px;
            border-top-right-radius: 25px;
            padding: 25px;
            transform: translateY(100%);
            transition: transform 0.5s;
            box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
            border-top: 3px solid var(--primary);
        }

        .dm-container {
            top: 50%;
            left: 50%;
            bottom: auto;
            transform: translate(-50%, -50%) scale(0.9);
            width: 90%;
            max-width: 400px;
            border-radius: 20px;
            border: 2px solid var(--primary);
        }

        .creation-modal.active .creation-container {
            transform: translateY(0);
        }

        .dm-modal.show .dm-container {
            transform: translate(-50%, -50%) scale(1);
        }

        .creation-header, .dm-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
        }

        .creation-title, .dm-title {
            font-size: 20px;
            font-weight: bold;
            color: var(--secondary);
        }

        .dm-title {
            font-size: 24px;
            position: relative;
            display: inline-block;
        }

        .dm-title::after {
            content: "";
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--primary), transparent);
        }



        .creation-modal.active {
            display: flex;
        }



        .creation-header {
            padding: 16px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 0;
        }

        .creation-title {
            font-size: 18px;
            color: var(--light);
            margin: 0;
        }

        .close-modal {
            background: none;
            border: none;
            color: var(--gray);
            font-size: 24px;
            cursor: pointer;
            padding: 8px;
            transition: all 0.3s ease;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .close-modal:hover {
            background: rgba(255, 255, 255, 0.1);
            color: var(--light);
        }

        .creation-form {
            padding: 16px;
        }

        .text-input-container {
            margin-bottom: 16px;
        }

        .creation-input {
            width: 100%;
            min-height: 120px;
            padding: 12px;
            background: var(--input-bg);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: var(--light);
            font-size: 16px;
            resize: none;
        }

        .creation-input:focus {
            outline: none;
            border-color: var(--primary);
        }

        .input-controls {
            margin-top: 12px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .input-actions {
            display: flex;
            gap: 8px;
        }

        .action-btn,
        .media-button-small {
            padding: 8px;
            background: var(--input-bg);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: var(--gray);
            cursor: pointer;
            transition: all 0.2s;
            height: 40px;
        }

        .action-btn:hover,
        .media-button-small:hover {
            background: var(--border-color);
            color: var(--light);
        }

        .media-buttons {
            display: flex;
            gap: 8px;
        }

        .new-badge-small {
            font-size: 10px;
            padding: 2px 4px;
            background: var(--primary);
            color: var(--secondary);
            border-radius: 4px;
            margin-left: 4px;
        }

        .char-counter {
            margin-left: auto;
            color: var(--gray);
            font-size: 14px;
        }

        .media-preview {
            display: none;
            margin-bottom: 16px;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
        }

        .media-preview.active {
            display: block;
        }

        .media-preview img {
            max-width: 100%;
            max-height: 300px;
            object-fit: contain;
            border-radius: 8px;
        }

        .remove-media {
            position: absolute;
            top: 8px;
            right: 8px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            border: none;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            transition: all 0.2s;
        }

        .remove-media:hover {
            background: rgba(0, 0, 0, 0.9);
            transform: scale(1.1);
        }

        .emoji-picker {
            display: none;
            background: var(--input-bg);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 8px;
            margin-bottom: 16px;
        }

        .emoji-picker.active {
            display: block;
        }

        .emoji-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
            gap: 4px;
        }

        .emoji-btn {
            padding: 8px;
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
            border-radius: 4px;
            transition: background 0.2s;
        }

        .emoji-btn:hover {
            background: var(--border-color);
        }

        .creation-submit {
            width: 100%;
            padding: 12px;
            background: var(--primary);
            border: none;
            border-radius: 8px;
            color: var(--secondary);
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s;
        }

        .creation-submit:disabled {
            background: var(--input-bg);
            cursor: not-allowed;
        }

        .creation-submit:not(:disabled):hover {
            background: var(--primary-hover);
        }

        @media (max-width: 480px) {
            .input-controls {
                flex-wrap: wrap;
            }
            
            .char-counter {
                width: 100%;
                text-align: right;
            }
        }

        /* Loading Indicator */
        .loading-container {
            display: flex;
            justify-content: center;
            padding: 30px 0;
            display: none;
        }

        .loading-container.active {
            display: flex;
        }

        .hex-loader {
            width: 50px;
            height: 58px;
            position: relative;
            animation: float 1.5s ease-in-out infinite;
        }

        .hex-loader::before {
            content: "";
            position: absolute;
            width: 100%;
            height: 100%;
            background-color: var(--primary);
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
            animation: glow 1.5s infinite;
        }

        .hex-loader::after {
            content: "";
            position: absolute;
            top: 4px;
            left: 4px;
            width: calc(100% - 8px);
            height: calc(100% - 8px);
            background-color: var(--dark);
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
        }

        .hex-loader .dot {
            position: absolute;
            width: 8px;
            height: 8px;
            background-color: var(--secondary);
            border-radius: 50%;
            z-index: 10;
            animation: pulse 1.5s infinite;
        }

        .hex-loader .dot:nth-child(1) {
            top: 5px;
            left: 50%;
            transform: translateX(-50%);
            animation-delay: 0s;
        }

        .hex-loader .dot:nth-child(2) {
            top: 25%;
            right: 10px;
            animation-delay: 0.2s;
        }

        .hex-loader .dot:nth-child(3) {
            bottom: 25%;
            right: 10px;
            animation-delay: 0.4s;
        }

        .hex-loader .dot:nth-child(4) {
            bottom: 5px;
            left: 50%;
            transform: translateX(-50%);
            animation-delay: 0.6s;
        }

        .hex-loader .dot:nth-child(5) {
            bottom: 25%;
            left: 10px;
            animation-delay: 0.8s;
        }

        .hex-loader .dot:nth-child(6) {
            top: 25%;
            left: 10px;
            animation-delay: 1s;
        }

        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 50px 20px;
            color: var(--gray);
        }

        .empty-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            opacity: 0.5;
        }

        .empty-text {
            font-size: 16px;
            margin-bottom: 20px;
        }

        .empty-action {
            background-color: var(--primary);
            color: var(--secondary);
            border: none;
            border-radius: 30px;
            padding: 10px 20px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
            display: inline-block;
        }

        .empty-action:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        /* Poll Widget */
        .poll-widget {
            background: var(--input-bg);
            border-radius: 12px;
            padding: 15px;
            margin: 15px 0;
        }

        .poll-question {
            font-weight: bold;
            margin-bottom: 15px;
            color: var(--light);
        }

        .poll-option {
            margin: 10px 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .progress-container {
            flex-grow: 1;
            position: relative;
            height: 35px;
            border-radius: 8px;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.1);
        }

        .theme-light .progress-container {
            background: rgba(0, 0, 0, 0.1);
        }

        .progress-bar {
            height: 100%;
            background: var(--primary);
            transition: width 0.3s ease;
            position: relative;
        }

        .percentage {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--dark);
            font-weight: bold;
            font-size: 12px;
        }

        .vote-button {
            background: var(--primary);
            color: var(--secondary);
            border: none;
            padding: 6px 12px;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s;

                }

                /* Poll Creation Section (composer) */
                .poll-creation-section {
                    background: var(--card-bg, var(--input-bg));
                    border-radius: 12px;
                    padding: 12px;
                    margin: 10px 0 0 0;
                    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
                    display: none;
                }

                .poll-creation-section.active {
                    display: block;
                }

                .poll-header {
                    display: flex;
                    gap: 8px;
                    align-items: center;
                    margin-bottom: 10px;
                }

                .poll-question-input {
                    flex: 1;
                    background: transparent;
                    border: 1px solid rgba(255,255,255,0.06);
                    padding: 8px 10px;
                    border-radius: 8px;
                    color: var(--light);
                    font-size: 14px;
                }

                .remove-poll {
                    background: transparent;
                    border: 1px solid rgba(255,255,255,0.06);
                    color: var(--danger, #e55353);
                    width: 36px;
                    height: 36px;
                    border-radius: 50%;
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    cursor: pointer;
                }

                .poll-options {
                    display: flex;
                    flex-direction: column;
                    gap: 8px;
                    margin-bottom: 10px;
                }

                .poll-option {
                    background: rgba(0,0,0,0.03);
                    border: 1px solid rgba(255,255,255,0.04);
                    padding: 8px 10px;
                    border-radius: 8px;
                    color: var(--light);
                    font-size: 14px;
                }

                .option-text {
                    color: var(--light);
                    margin-left: 8px;
                    font-size: 14px;
                    display: inline-block;
                    vertical-align: middle;
                }

                .poll-option::placeholder {
                    color: rgba(255,255,255,0.45);
                }

                .add-poll-option {
                    background: transparent;
                    border: none;
                    color: var(--primary);
                    font-weight: 600;
                    cursor: pointer;
                    padding: 6px 8px;
                }

                .poll-actions {
                    display: flex;
                    gap: 12px;
                    align-items: center;
                    justify-content: flex-start;
                }

                .poll-actions label {
                    color: var(--muted, rgba(255,255,255,0.6));
                    font-size: 13px;
                }
        }

        .vote-button.voted {
            background: var(--secondary);
            color: var(--primary);
        }

        /* Hashtag Dropdown */
        .hashtag-dropdown {
            position: absolute;
            background-color: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--primary);
            border-radius: 12px;
            max-height: 200px;
            overflow-y: auto;
            overflow-x: hidden;
            z-index: 9999;
            font-size: 14px;
            width: 100%;
            backdrop-filter: blur(6px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
            animation: dropdownFade 0.2s ease-out;
        }

        @keyframes dropdownFade {
            0% { opacity: 0; transform: translateY(-10px); }
            100% { opacity: 1; transform: translateY(0); }
        }

        .theme-light .hashtag-dropdown {
            background-color: rgba(255, 255, 255, 0.95);
        }

        .hashtag-suggestion {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 14px;
            cursor: pointer;
            color: var(--secondary);
            transition: background-color 0.2s, transform 0.2s;
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
            white-space: nowrap;
        }

        .theme-light .hashtag-suggestion {
            color: var(--primary);
            border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        }

        .hashtag-suggestion:last-child {
            border-bottom: none;
        }

        .hashtag-suggestion:hover {
            background-color: rgba(255, 255, 255, 0.08);
            transform: scale(1.01);
        }

        .theme-light .hashtag-suggestion:hover {
            background-color: rgba(0, 0, 0, 0.05);
        }

        .hashtag-name {
            flex: 1;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .hashtag-count {
            margin-left: 12px;
            font-size: 12px;
            color: #aaa;
        }

        /* Ghost User Card */
        .ghost-user-card {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            width: calc(100% - 40px);
            max-width: 480px;
            background: linear-gradient(145deg, var(--primary), #2a2a3d);
            border-radius: 20px;
            padding: 24px;
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
            z-index: 1000;
            display: flex;
            align-items: center;
            animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            border: 2px solid var(--secondary);
            backdrop-filter: blur(8px);
        }

        .ghost-card-content {
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .ghost-text h3 {
            color: var(--secondary);
            font-size: 22px;
            margin-bottom: 8px;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .ghost-text p {
            color: var(--light);
            font-size: 16px;
            margin-bottom: 18px;
            opacity: 0.9;
        }

        .ghost-actions {
            display: flex;
            gap: 12px;
        }

        .ghost-button {
            padding: 12px 20px;
            border-radius: 30px;
            font-weight: 600;
            text-align: center;
            flex: 1;
            transition: all 0.3s ease;
            text-decoration: none;
            letter-spacing: 0.5px;
            font-size: 15px;
        }

        .ghost-button.primary {
            background: linear-gradient(135deg, var(--secondary), #f5c542);
            color: var(--primary);
            box-shadow: 0 4px 12px rgba(245, 197, 66, 0.3);
        }

        .ghost-button.secondary {
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--secondary);
            border: 2px solid var(--secondary);
        }

        .theme-light .ghost-button.secondary {
            background-color: rgba(0, 0, 0, 0.1);
        }

        .ghost-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
        }

        .ghost-button.primary:hover {
            background: linear-gradient(135deg, #f5c542, var(--secondary));
        }

        .ghost-button.secondary:hover {
            background-color: rgba(255, 255, 255, 0.15);
        }

        .theme-light .ghost-button.secondary:hover {
            background-color: rgba(0, 0, 0, 0.15);
        }

        /* Post Menu */
        .post-menu-wrapper {
            position: relative;
            margin-left: auto;
            display: flex;
            align-items: center;
        }

        .post-menu-options {
            position: absolute;
            right: 0;
            bottom: 120%;
            background: var(--dark);
            border: 1px solid var(--primary);
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            padding: 8px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            min-width: 120px;
        }

        .theme-light .post-menu-options {
            background: var(--light);
            border: 1px solid var(--gray);
        }

        .post-menu-options button {
            background: none;
            border: none;
            text-align: left;
            padding: 8px 12px;
            cursor: pointer;
            font-size: 14px;
            color: var(--light);
        }

        .theme-light .post-menu-options button {
            color: var(--dark);
        }

        .post-menu-options button:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

        .theme-light .post-menu-options button:hover {
            background-color: rgba(0, 0, 0, 0.05);
        }

        .hidden {
            display: none;
        }

        /* Responsive */
        @media (min-width: 768px) {
            .stream-container {
                padding: 0 30px;
            }

            .creation-container {
                width: 600px;
                left: 50%;
                transform: translateX(-50%) translateY(100%);
                border-top-left-radius: 20px;
                border-top-right-radius: 20px;
            }

            .creation-modal.active .creation-container {
                transform: translateX(-50%) translateY(0);
            }
        }

        @media (max-width: 480px) {
            .post-header {
                padding: 12px;
            }

            .profile-hex {
                width: 45px;
                height: 50px;
            }

            .post-content {
                padding: 0 12px 12px;
                font-size: 14px;
            }

            .user-name {
                font-size: 15px;
            }

            .follow-button {
                padding: 4px 10px;
                font-size: 12px;
            }

            .action-button {
                margin-right: 15px;
            }

            .hex-nav {
                bottom: 15px;
                right: 15px;
            }
            
            .ghost-user-card {
                padding: 20px 16px;
            }
            
            .ghost-actions {
                flex-direction: column;
            }
            
            .ghost-button {
                padding: 12px 15px;
                font-size: 14px;
            }
            
            .ghost-text h3 {
                font-size: 18px;
            }
            
            .ghost-text p {
                font-size: 14px;
                margin-bottom: 15px;
            }
        }

        /* Theme light adjustments */
        .theme-light .action-button.liked::before {
            background-color: rgba(249, 207, 0, 0.1);
        }

        .theme-light .filter-circle {
            color: var(--dark);
        }

        .theme-light .stream-post {
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .theme-light .empty-state {
            color: #666;
        }

        .theme-light .post-date {
            color: #666;
        }

        .verified-badge-post img {
            width: 16px;
            height: 16px;
            animation: pulse 2s infinite;
        }

        /* Theme toggle button */
        .theme-toggle {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
            background: var(--primary);
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }

        .theme-toggle:hover {
            transform: scale(1.1);
            background: var(--primary-hover);
        }

        .theme-toggle img {
            width: 24px;
            height: 24px;
            filter: invert(1);
        }

        .theme-light .theme-toggle img {
            filter: invert(0);
        }

        /* Selected media styles */
        .selected-file, .selected-gif {
            display: none;
            margin: 10px 0;
        }

        .selected-file.active, .selected-gif.active {
            display: block;
        }

        .preview-image, .preview-gif {
            max-width: 100%;
            max-height: 200px;
            border-radius: 8px;
            object-fit: contain;
        }

        .remove-media {
            position: absolute;
            top: 5px;
            right: 5px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            border: none;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            cursor: pointer;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .remove-media:hover {
            background: rgba(255, 0, 0, 0.8);
        }

        /* Char counter color states */
        .char-counter.warning {
            color: #ffa500;
        }

        .char-counter.danger {
            color: #ff4444;
        }

        /* Scrollbar styling for better UX */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--input-bg);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-hover);
        }

        /* GIF search styles */
        .loading-gifs, .no-gifs, .gif-error {
            text-align: center;
            padding: 20px;
            color: var(--gray);
        }

        .gif-item {
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .gif-item:hover {
            transform: scale(1.02);
        }

        .gif-item img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }

        /* Shared content indicator */
        .shared-content-indicator {
            background: rgba(0, 120, 212, 0.1);
            border: 1px solid var(--primary);
            border-radius: 8px;
            padding: 12px;
            margin-bottom: 16px;
        }

        .shared-content-message {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--primary);
            font-size: 14px;
        }

        .close-indicator {
            background: none;
            border: none;
            color: var(--gray);
            cursor: pointer;
            margin-left: auto;
            font-size: 16px;
        }

        .close-indicator:hover {
            color: var(--light);
        }
        /* Adicione ao seu CSS */
.lazy-img {
    background-color: #f0f0f0;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-img.loaded {
    opacity: 1;
}