:root {
    --bg-main: #fff5f8;
    --pink-soft: #ffdde6;
    --pink-accent: #f48fb1;
    --text-main: #4a2b38;
    --text-light: #8e6573;
    --gold: #d4af37;
    --glass-bg: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(255, 255, 255, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container para layout Rotacionado de TV 90 Graus */
.presentation-container {
    width: 100vh; /* A largura agora puxa a altura da tela física */
    height: 100vw; /* A altura puxa a largura física para preencher as bordas mortas */
    max-width: none;
    position: absolute;
    top: 50%;
    left: 50%;
    /* Faz a mágica do giro - se ficar de cabeça para baixo mudar para 90deg */
    transform: translate(-50%, -50%) rotate(-90deg); 
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    background-color: var(--bg-main);
}

/* Background Effects (Imagem com Degrade e Vidro Fosco) */
.presentation-container {
    background-image: url('fundo.jpg');
    background-size: cover;
    background-position: center;
}

/* Camada FOSCA e DEGRADÊ sobre a imagem de fundo */
.presentation-container::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Degrade do branco transparente até o rosa quente Nixx */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(244, 143, 177, 0.85) 100%);
    /* Efeito de Vidro Fosco (Blur) mais intenso a pedido da usuária */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    pointer-events: none;
}

/* Ocultando IDs de divs antigas que sobraram no HTML */
.glow-bg, .noise-overlay {
    display: none;
}

/* Header */
.top-bar {
    position: relative;
    z-index: 10;
    padding: 2.5rem 2rem 1.5rem; 
    text-align: center;
}

.brand-logo-img {
    height: 240px; /* Aumentado a pedido da usuária */
    max-width: 90%;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(244, 143, 177, 0.4));
}

/* Main typography & layout */
.main-content {
    flex: 1;
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Slide system */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 4rem; /* mais respiro lateral agora que é grandão */
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease-in-out;
    visibility: hidden;
}

.slide.slide-active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.campaign-label {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem; /* label maior */
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.sparkle {
    font-size: 1rem;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
    animation: twinkle 4s infinite alternate;
}

.main-title {
    font-family: 'Cinzel', serif;
    font-size: 8rem; /* fonte agigantada */
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-main);
    text-shadow: 0 5px 20px rgba(255,255,255,0.6);
}

.highlight-text {
    font-weight: 700;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    display: inline-block;
}

.subtitle {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-light);
    max-width: 90%;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Promo Styles */
.promo-title {
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--text-main);
    text-shadow: 0 4px 15px rgba(255,255,255,0.6);
}

.promo-subtitle {
    font-size: 2.2rem;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
}

/* Individual Partner Presentation Features */
.partner-showcase {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 2rem; /* Mais borda interna pra foto grandona */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 50px rgba(216, 27, 96, 0.3);
    max-width: 900px; /* Expandindo o maximo horizontal */
    width: 85%; /* Usa quase a tela toda */
    height: 520px; /* Altura gigantesca na TV */
    margin: 0 auto 3rem;
    border: 4px solid var(--pink-accent); /* Borda mais grossa */
    position: relative;
    overflow: hidden;
}

/* Container do QR Code no Slide */
.partner-qr-container {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 5;
    border: 2px solid var(--pink-soft);
    animation: fadeInRight 1s ease-out;
}

.qr-code-img {
    width: 100px;
    height: 100px;
}

.qr-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partner-showcase.fake-img {
    height: 350px;
    background: linear-gradient(135deg, var(--gold-light), var(--pink-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-family: 'Cinzel', serif;
    color: white;
    font-weight: bold;
    text-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.showcase-img {
    max-width: 100%;
    max-height: 480px; /* A foto em si ocupará a tela toda na altura */
    object-fit: contain; 
    border-radius: 12px;
}

.showcase-name {
    font-family: 'Cinzel', serif;
    font-size: 4rem; /* Nome gigante */
    color: #fff;
    text-shadow: 0 5px 15px rgba(0,0,0,0.6);
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    font-weight: 800;
}

.showcase-prize {
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid var(--pink-soft);
    padding: 1.8rem 3rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 8px 30px rgba(216, 27, 96, 0.15);
}

.prize-icon {
    font-size: 3.5rem; /* Icone gigante */
}

.showcase-prize p {
    font-size: 2rem; /* Texto do premio super legivel de longe */
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
}

.showcase-prize small {
    font-size: 1.3rem; /* Subtexto tbm escalado */
    color: var(--text-light);
    font-weight: 500;
}

.partner-card h3 {
    color: var(--text-main);
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

.partner-card p {
    font-size: 1rem;
    color: var(--text-main);
}

/* Minimalist Decorator */
.minimal-decorator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}

.circle-line {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--pink-accent);
    position: relative;
    animation: spinSlower 15s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner-dot {
    width: 10px;
    height: 10px;
    background-color: var(--pink-accent);
    border-radius: 50%;
    animation: pulseCircle 4s infinite ease-in-out;
}

.circle-line::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 50px;
    background: linear-gradient(to top, var(--pink-accent), transparent);
}

.circle-line::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--pink-accent), transparent);
}

/* Bottom Bar / News Ticker */
.bottom-bar {
    position: relative;
    z-index: 10;
    height: 60px;
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.scrolling-text {
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

.scrolling-content {
    display: inline-block;
    font-size: 1rem;
    letter-spacing: 4px;
    font-weight: 600;
    color: var(--text-main);
    animation: scrollText 45s linear infinite;
    padding-left: 100%;
}

/* Animations Base */
@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(80px, -40px) scale(1.1); }
    66% { transform: translate(-40px, 80px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes driftPrimary {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(15vw, 10vh) rotate(45deg) scale(1.15); }
    100% { transform: translate(-10vw, 15vh) rotate(90deg) scale(1); }
}

@keyframes driftSecondary {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(-15vw, -10vh) rotate(-30deg) scale(1.2); }
    100% { transform: translate(10vw, -15vh) rotate(-60deg) scale(1); }
}

@keyframes pulseGlow {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0.8; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.3) rotate(15deg); }
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes pulseCircle {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 0.3; }
}

@keyframes spinSlower {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* New Intial Load Animations */
.fade-in {
    opacity: 0;
    animation: appear 2s ease forwards;
}

.float-up {
    opacity: 0;
    transform: translateY(30px);
    animation: floatUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Word by word animation */
.word-slide {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotate(-2deg);
    animation: wordSlide 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Delays */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1.1s; }
.delay-6 { animation-delay: 1.4s; }

@keyframes appear {
    to { opacity: 1; }
}

@keyframes floatUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes wordSlide {
    to { opacity: 1; transform: translateY(0) rotate(0deg); }
}

/* Floating Petals Decor */
.floating-petals {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.petal {
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 30% 30%, var(--pink-soft), var(--pink-accent));
    border-radius: 50% 0 50% 50%;
    opacity: 0;
    filter: blur(2px);
}

.p1 { top: 20%; left: -10%; animation: floatPetal 18s ease-in-out infinite; animation-delay: 2s; }
.p2 { top: 60%; right: -10%; width: 45px; height: 45px; animation: floatPetal 22s ease-in-out infinite reverse; animation-delay: 5s; }
.p3 { top: -10%; left: 60%; width: 20px; height: 20px; animation: floatPetal 15s ease-in-out infinite; animation-delay: 8s; }

@keyframes floatPetal {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.4; }
    50% { transform: translate(50vw, 40vh) rotate(180deg); opacity: 0.6; }
    90% { opacity: 0.4; }
    100% { transform: translate(100vw, 80vh) rotate(360deg); opacity: 0; }
}

/* Media query for standard landscape vs vertical */
@media (max-aspect-ratio: 1/1) {
    .main-title { font-size: 14vw; }
    .subtitle { font-size: 4vw; }
}

@media (min-width: 1080px) {
    .presentation-container {
        border-radius: 0;
        box-shadow: none;
        margin: 0;
    }
}
