:root {
    /* NOVA PALETA QUENTE E CONFORTO VISUAL */
    --bg-color: #f7f1e3; /* Um tom "creme/aveia" super confortável e quente */
    --text-main: #1e64fa; /* Um marrom escuro quente, no lugar do preto, para texto */
    --text-sub: #6d5b4f; /* Marrom médio para subtextos */
    --primary-color: #0d24ee; /* Laranja vibrante do seu logo, mantido */
    --secondary-color: #a066ff; /* Roxo mais "quente" e suave */
    --accent-light: #fff8f0; /* Creme quase branco para fundo de elementos */
    --border-color: #e2d8c3; /* Cor para bordas sutis */
    --font-rounded: 'Quicksand', sans-serif;
    --font-base: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-base);
    overflow-x: hidden;
}

/* BACKGROUND GLOW - Agora mais quente e difuso */
.bg-glow {
    position: fixed;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.08) 0%, rgba(160, 102, 255, 0.05) 50%, transparent 80%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    transition: 0.2s ease-out; /* Movimento mais suave */
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    position: sticky;
    top: 0;
    background: rgba(247, 241, 227, 0.9); /* Usando a cor de fundo com transparência */
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.logo-text {
    font-family: var(--font-rounded);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-main);
}

.logo-text span { color: var(--primary-color); }

.navbar nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: 0.3s;
}

.navbar a:hover { color: var(--primary-color); }

.lang-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 1rem;
}

.lang-dropbtn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--font-base);
    font-size: 0.9rem;
    font-weight: 700;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-dropbtn:hover {
    background: var(--accent-light);
}

.lang-dropbtn .arrow {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.lang-dropdown.show .arrow {
    transform: rotate(180deg);
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 120%;
    background-color: var(--accent-light);
    min-width: 110px;
    box-shadow: 0 8px 20px rgba(61, 49, 42, 0.1);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    z-index: 100;
    overflow: hidden;
}

.lang-dropdown-content a {
    color: var(--text-main);
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-family: var(--font-base);
    font-weight: 600;
    transition: background 0.2s;
}

.lang-dropdown-content a:hover {
    background-color: var(--border-color); /* A bit darker hover effect */
}

.lang-dropdown.show .lang-dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-contact {
    background: var(--primary-color);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.15);
}

/* HERO */
.hero {
    padding: 140px 8% 100px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.status-badge {
    background: var(--accent-light);
    color: var(--primary-color);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.hero h1 {
    font-family: var(--font-rounded);
    font-size: clamp(2.5rem, 8vw, 4.8rem);
    color: var(--text-main);
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero h1 span { color: var(--secondary-color); }

.hero p {
    font-size: 1.25rem;
    color: var(--text-sub);
    margin: 2rem 0 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background: var(--text-main);
    color: white;
    text-decoration: none;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.3s;
    box-shadow: 0 4px 20px rgba(61, 49, 42, 0.15);
}

.btn-primary:hover { transform: scale(1.05); background: var(--secondary-color); }

/* ABOUT SECTION */
.about-section { padding: 100px 8%; }

.about-card {
    background: var(--accent-light);
    border-radius: 35px;
    padding: 4rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    box-shadow: 0 25px 50px rgba(61, 49, 42, 0.04);
    border: 1px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    cursor: pointer;    
}

.about-card:hover {
    /* Faz o card subir 15 pixels para frente/cima */
    transform: translateY(-15px);
    
    /* Aumenta a sombra para dar a sensação de que ele se descolou da página */
    box-shadow: 0 40px 70px rgba(61, 49, 42, 0.08);
    
    /* Opcional: deixa a borda um pouco mais visível no foco */
    border-color: var(--primary-color);
}

.about-content h2 {
    font-family: var(--font-rounded);
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--text-sub);
    font-size: 1.1rem;
}

.mini-status {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    background: #5dc461; /* Verde mais quente e amigável */
    border-radius: 50%;
    display: inline-block;
    animation: blink 1.5s infinite;
}

.game-placeholder {
    font-size: 6rem;
    background: #eadfc5; /* Fundo interno do placeholder mais quente */
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 35px;
    border: 1px solid var(--border-color);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 5rem 0;
    background: #efe7d3; /* Fundo do footer ligeiramente mais escuro que o body */
    border-top: 1px solid var(--border-color);
}

footer p { color: var(--text-sub); font-size: 0.95rem; }
footer strong { color: var(--text-main); }

.footer-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-links a { color: var(--text-sub); text-decoration: none; font-size: 0.95rem; font-weight: 500;}
.footer-links a:hover { color: var(--primary-color); }

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ENTRY SCREEN */
.no-scroll {
    overflow: hidden;
}

.entry-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color); /* Same background to keep colors consistent */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    cursor: pointer;
}

.entry-screen.hidden {
    transform: translateY(-100%);
}

.entry-content {
    text-align: center;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.entry-content:hover {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.entry-image {
    max-width: 280px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 15px 25px rgba(61, 49, 42, 0.15));
}

.entry-text {
    font-family: var(--font-rounded);
    font-size: 3rem;
    color: var(--text-main);
    font-weight: 700;
    animation: floatText 4s ease-in-out infinite;
    animation-delay: 0.3s; /* Delay para não ficar perfeitamente alinhado com o personagem, dando um ar mais orgânico */
}

@keyframes floatText {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.character-wrapper {
    position: relative;
    display: inline-block;
    animation: floatEntry 4s ease-in-out infinite;
}

.speech-bubble {
    position: absolute;
    top: 5px;
    left: 200px;
    background-color: var(--accent-light);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 20px;
    font-family: var(--font-rounded);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 15px rgba(61, 49, 42, 0.1);
    border: 2px solid var(--border-color);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    z-index: 10;
    white-space: nowrap;
}

.speech-bubble.visible {
    opacity: 1;
    transform: translateY(0);
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 15px;
    width: 12px;
    height: 12px;
    background-color: var(--accent-light);
    border-bottom: 2px solid var(--border-color);
    border-right: 2px solid var(--border-color);
    transform: rotate(45deg);
}

@keyframes floatEntry {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* MOBILE */
@media (max-width: 900px) {
    .about-card { flex-direction: column; text-align: center; padding: 3rem; gap: 2rem;}
    .navbar nav { display: none; }
    .hero { padding: 120px 8% 80px; }
    .entry-text { font-size: 2.2rem; }
    .entry-image { max-width: 200px; }
}