:root {
    --bg-color: #0a0a0c;
    --text-color: #ffffff;
    --primary-color: #FF7A59;
    --glow-color: rgba(255, 122, 89, 0.4);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    overflow: hidden; /* Hide scrollbars for the cinematic view */
    background-image: radial-gradient(circle at 50% 50%, #1a1a24 0%, #0a0a0c 80%);
}

.landing-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

/* Background Layers */
.bg-layer {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    z-index: 0;
    pointer-events: none;
}

.stars {
    background-image: radial-gradient(2px 2px at 20px 30px, #ffffff, rgba(0,0,0,0)),
                      radial-gradient(2px 2px at 60px 80px, #ffffff, rgba(0,0,0,0)),
                      radial-gradient(1.5px 1.5px at 120px 40px, #ffffff, rgba(0,0,0,0)),
                      radial-gradient(2.5px 2.5px at 200px 120px, #ffffff, rgba(0,0,0,0));
    background-size: 250px 250px;
    opacity: 0.15;
    transition: transform 0.1s ease-out;
}

.grid {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: rotateX(65deg) translateY(-50px) translateZ(-250px);
    transform-origin: center bottom;
    opacity: 0.4;
}

/* Scene */
.scene-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 300px;
    z-index: 10;
    transition: transform 0.1s ease-out; /* Parallax effect */
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo-container {
    width: 350px;
    height: 350px;
    background: #ffffff; /* Fundo branco circular para abrigar a logo com estilo */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.1), inset 0 0 20px rgba(0,0,0,0.05);
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: opacity 1.5s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden; /* Corta qualquer quadrado que passe do limite redondo */
}

#logo-container.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

#main-logo {
    width: 90%;
    height: 90%;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: contrast(1.1) brightness(1.05);
}

/* Content */
.content {
    position: relative;
    z-index: 30;
    text-align: center;
    margin-top: 40px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #ffffff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 1.5s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

h2 {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 1.5s 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.5s 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

h1.visible, h2.visible {
    opacity: 1;
    transform: translateY(0);
    display: block !important;
}

.hidden {
    display: none !important;
}

/* Botão Iniciar */
.start-btn {
    padding: 14px 28px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.start-btn:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px var(--glow-color);
    transform: translateY(-2px);
}
