        :root {
            --bg-dark: #121212;
            --bg-card: #1e1e1e;
            --accent: #3498db;
            --text-main: #e0e0e0;
            --text-dim: #b0b0b0;
            --border: #333;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-main);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 0;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
        }

        /* Layout do Header */
        .header-layout {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }

        /* Divisões do Header para garantir centralização real */
        .header-left,
        .header-right {
            flex: 1;
            /* Ocupam o mesmo espaço nas pontas */
        }

        .header-center {
            flex: 2;
            display: flex;
            justify-content: center;
        }

        .header-right {
            display: flex;
            justify-content: flex-end;
        }

        .tool-card {
            position: relative;
            /* Para posicionar a estrela */
        }

        .fav-icon {
            position: absolute;
            top: 10px;
            right: 10px;
            color: #444;
            /* Cor apagada quando não é favorito */
            transition: 0.3s;
            cursor: pointer;
            font-size: 0.9rem;
        }

        .fav-icon.active {
            color: #f1c40f;
            /* Amarelo quando favoritado */
        }

        /* Esconder cards não favoritados quando o filtro estiver ativo */
        .hide-not-fav {
            display: none !important;
        }

        /* Estilo do Botão Ajude o Projeto (Azul da Foto) */
        .btn-help {
            background-color: #3498db;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 20px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .btn-help:hover {
            background-color: #2980b9;
            transform: scale(1.05);
        }

        /* Logo Centralizada */
        .logo {
            display: flex;
            flex-direction: column;
            /* Ícone em cima do texto se preferir, ou row para lado a lado */
            align-items: center;
            gap: 5px;
        }

        .logo i {
            font-size: 2.2rem;
            color: white;
        }

        .logo h1 {
            margin: 0;
            font-size: 1.8rem;
            letter-spacing: -1px;
        }

        /* Botão Favoritos */
        .btn-favorites {
            background: transparent;
            color: var(--text-dim);
            border: 1px solid var(--border);
            padding: 8px 15px;
            border-radius: 8px;
            font-size: 0.8rem;
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s;
        }

        .btn-favorites:hover {
            border-color: #f1c40f;
            color: #f1c40f;
        }

        .search-area input {
            width: 96%;
            padding: 15px;
            border-radius: 30px;
            border: 1px solid var(--border);
            background: var(--bg-card);
            color: white;
            margin: 30px 0;
            font-size: 1rem;
        }

        .tools-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 20px;
            margin-bottom: 40px;
        }

        .tool-card {
            background: var(--bg-card);
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            cursor: pointer;
            transition: 0.3s;
            border: 1px solid transparent;
        }

        .tool-card:hover,
        .tool-card.active {
            border-color: var(--accent);
            transform: translateY(-5px);
        }

        .tool-card i {
            display: block;
            font-size: 1rem;
            margin-bottom: 10px;
            color: var(--accent);
        }

        .workspace {
            background: var(--bg-card);
            padding: 30px;
            border-radius: 15px;
        }

        .editor-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin: 20px 0;
        }

        .editor-box label {
            display: block;
            margin-bottom: 10px;
            font-size: 0.8rem;
            color: var(--text-dim);
        }

        textarea {
            width: 90%;
            height: 300px;
            background: #151515;
            border: 1px solid var(--border);
            border-radius: 8px;
            color: #00ff00;
            /* Estilo terminal */
            font-family: 'Courier New', Courier, monospace;
            padding: 15px;
            resize: none;
        }

        .actions {
            display: flex;
            gap: 10px;
            justify-content: center;
        }

        .btn {
            padding: 12px 25px;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            font-weight: bold;
        }

        .primary {
            background: var(--accent);
            color: white;
        }

        .secondary {
            background: #444;
            color: white;
        }

        .tool-feedback {
            margin-top: 40px;
            text-align: center;
            border-top: 1px solid var(--border);
            padding-top: 20px;
        }

        .tool-card {
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        /* Efeito para quando não houver resultados */
        .no-results {
            text-align: center;
            padding: 20px;
            color: var(--text-dim);
            grid-column: 1 / -1;
            /* Ocupa a largura toda da grade */
        }