@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Outfit:wght@300;600;800&display=swap');

:root {
    --bg-dark: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --accent-pink: #f472b6;
    --accent-gold: #fbbf24;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top right, #1e1b4b, #0f172a);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    overflow-x: hidden;
    padding: 20px 0;
}

.container {
    max-width: 450px; /* Layout mais estreito, estilo mobile-first */
    width: 90%;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 30px 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: fadeIn 1s ease-out;
}

header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(to right, var(--accent-pink), #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 30px;
    font-weight: 300;
    color: var(--text-secondary);
    padding: 0 10px;
}

.timer-section {
    margin: 30px 0;
    padding: 20px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.timer-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 15px;
    display: block;
}

.timer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.timer-item {
    display: flex;
    flex-direction: column;
}

.timer-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.unit-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.carousel-section {
    position: relative;
    width: 100%;
    height: 350px; /* Altura fixa para mobile */
    margin-top: 30px;
    border-radius: 24px;
    overflow: hidden;
    background: #000; /* Fundo preto para as faixas laterais se a imagem for menor */
}

.carousel-container {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* GARANTE QUE A FOTO NÃO SEJA CORTADA */
    border-radius: 8px; /* Bordas internas sutis */
}

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

/* Responsividade extra */
@media (max-width: 400px) {
    .container { padding: 20px 15px; }
    header h1 { font-size: 1.8rem; }
    .timer-value { font-size: 1.5rem; }
    .carousel-section { height: 300px; }
}

