* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #121212;
    color: #f5f5f5;
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative; /* Adicionado para conter o botão em relação ao container */
}

.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #990000, #660000);
    color: white;
    border-radius: 1rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.option-card {
    background: #1e1e1e;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s, color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.option-card:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 100px;
    height: 100px;
    background: #333;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background 0.3s;
}

.icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.option-card h2 {
    color: #f5f5f5;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.option-card p {
    color: #ccc;
    font-size: 1rem;
    transition: color 0.3s;
}

.buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.buttons a {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.buttons a:hover {
    opacity: 0.9;
}

/* Light mode toggle button */
.light-mode-toggle {
    position: absolute;
    top: 1rem; /* Ajustado para ficar mais próximo do topo */
    right: 1rem; /* Ajustado para ficar mais próximo da borda */
    padding: 0.5rem 1rem;
    background-color: #6366f1;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 10; /* Garante que o botão fique acima de outros elementos */
}

.light-mode-toggle:hover {
    background-color: #3b82f6;
}

/* Media Queries para ajustes no mobile */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem; /* Ajustado para melhor legibilidade */
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .light-mode-toggle {
        top: 0.5rem; /* Reduzido para evitar sobreposição com o hero */
        right: 0.5rem;
        padding: 0.4rem 0.8rem; /* Menor tamanho no mobile */
        font-size: 0.9rem; /* Texto menor para caber melhor */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .option-card {
        padding: 1.5rem;
    }

    .icon-circle {
        width: 80px;
        height: 80px;
    }

    .light-mode-toggle {
        top: 0.3rem;
        right: 0.3rem;
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* Light mode styles */
body.light-mode {
    background-color: #f5f5f5;
    color: #333;
}

body.light-mode .hero {
    background: linear-gradient(135deg, #6366f1, #3b82f6);
}

body.light-mode .option-card {
    background: white;
    color: #333;
}

body.light-mode .icon-circle {
    background: #f3f4f6;
}

body.light-mode .option-card h2 {
    color: #1f2937;
}

body.light-mode .option-card p {
    color: #6b7280;
}