:root {
--primary-color: #e94560; /* Vermelho do Drop */
    --secondary-color: #0f3460; /* Azul escuro profundo */
    --accent-color: #00d2ff;    /* Azul elétrico da IA */
    --bg-dark: #1a1a2e;         /* Fundo quase preto */
    --bg-card: #252542;         /* Fundo dos cards (um pouco mais claro que o fundo) */
    --text-light: #e0e0e0;      /* Texto suave/branco */
    --text-muted: #a0a0b5;      /* Texto secundário (cinza azulado) */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
background-color: var(--bg-dark);
    color: var(--text-light);
}

/* Container agora tem limite de tamanho em telas grandes */
.container {
    width: 100%;
    margin: auto;
    overflow: hidden;
}

h1, h2 {
    color: var(--accent-color); /* Títulos em azul elétrico */
}

/* Ajuste do Logo Retangular */
.logo-img {
    width: 100%;       /* Força a imagem a ocupar toda a largura do container */
    height: auto;      /* MANTÉM A PROPORÇÃO: evita que o logo fique "achatado" ou "esticado" */
    display: block;
    margin: 0 auto;
}

.hero {
    background: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
    padding: 80px 20px;
    border-bottom: 2px solid var(--primary-color);
}

.feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.post {
    background: var(--bg-card); /* Ajustado para Dark Mode */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3); /* Sombra mais escura */
}

.post img {
    width: 100%;
    border-radius: 5px;
}

/* Estilização da nova seção de Tutoriais */
.secao-titulo {
    text-align: center;
    margin: 50px 0 30px;
}

.secao-titulo h2 {
    font-size: 2rem;
}

.tutoriais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.card-tutorial {
    background: var(--text-light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05); /* Borda bem sutil */
}

.card-tutorial:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.icone-tutorial {
    font-size: 3rem;
    margin-bottom: 15px;
}

.card-tutorial h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.card-tutorial p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.link-tutorial {
    color: #e94560;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

.botao-tutorial {
display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    margin-top: 10px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn:hover, .botao-tutorial:hover {
    background: #ff5e78; /* Fica levemente mais claro ao passar o mouse */
}

.link-tutorial {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.link-tutorial:hover {
    color: var(--primary-color);
}

footer {
    text-align: center;
    padding: 40px;
    background: #1a1a2e;
    color: white;
    margin-top: 50px;
}