:root {
    --brand-wine: #7B1F2E;
    --brand-blush: #E8A4AD;
    --bg-base: #F5EDE8;
    --surface: rgba(250, 244, 240, 0.663);
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'DM Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background-color: var(--bg-base);
    color: var(--brand-wine);
    font-family: var(--font-body);
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
}

/* =========================================
   EFECTO DE SHADER / LÍQUIDO (ANIME.JS)
========================================= */
.particles-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    filter: blur(80px);
    opacity: 0.65;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.p1 {
    width: 60vmin;
    height: 60vmin;
    background: var(--brand-blush);
    top: -10%;
    left: -10%;
}

.p2 {
    width: 50vmin;
    height: 50vmin;
    background: rgba(123, 31, 46, 0.15);
    bottom: -10%;
    right: -10%;
}

.p3 {
    width: 70vmin;
    height: 70vmin;
    background: var(--brand-blush);
    top: 20%;
    left: 30%;
    opacity: 0.3;
}

/* =========================================
   CONTENIDO PRINCIPAL
========================================= */
.main-content {
    position: relative;
    z-index: 10;
    width: min(100%, 560px);
    background: var(--surface);
    border: 1px solid rgba(123, 31, 46, 0.08);
    border-radius: 28px;
    box-shadow: 0 28px 90px rgba(123, 31, 46, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 22px;
    opacity: 0;
}

.header-branding {
    width: 100%;
    text-align: center;
}

.eyebrow {
    display: block;
    font-size: 11px;
    letter-spacing: 0.55em;
    color: var(--brand-wine);
    font-weight: 700;
    margin-bottom: 18px;
}

.main-logo-img {
    max-width: 80%;
    height: auto;
    max-height: 118px;
    margin: 0 auto;
    display: block;
}

.studio-label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.8em;
    color: var(--brand-wine);
    margin-top: 14px;
    margin-bottom: 3rem;
}

.visual-logos {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 3.5rem;
}

.logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 130px;
    max-width: 180px;
    width: 45%;
}

.discipline-logo {
    width: 100%;
    height: auto;
    max-height: 72px;
}

/* =========================================
   CONTADOR
========================================= */
.countdown-section {
    width: 100%;
    text-align: center;
}

.opening-text {
    font-size: 12px;
    letter-spacing: 0.35em;
    color: var(--brand-wine);
    margin-bottom: 22px;
    text-transform: uppercase;
    font-weight: 700;
}

.timer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    justify-items: center;
    width: 100%;
}

.t-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.t-unit span {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 10vw, 5.5rem);
    color: var(--brand-wine);
    line-height: 1;
}

.t-unit label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--brand-wine);
    margin-top: 10px;
    font-weight: 700;
}

/* =========================================
   FOOTER
========================================= */
.bottom-info {
    margin-top: 44px;
    width: 100%;
    display: grid;
    gap: 12px;
    place-items: center;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--brand-wine);
    font-weight: 700;
}

.bottom-info p {
    margin: 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-wine);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.social-links a svg {
    display: block;
    width: 1.75rem;
    height: 1.75rem;
}

.social-links a:hover {
    border-color: var(--brand-wine);
    transform: translateY(-1px);
}

@media (min-width: 540px) {
    .timer {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (min-width: 768px) {
    body {
        padding: 28px 24px;
    }

    .main-content {
        width: min(100%, 760px);
        padding: 48px 34px;
    }

    .visual-logos {
        gap: 40px;
    }

    .logo-box {
        width: auto;
        min-width: 160px;
    }

    .discipline-logo {
        max-height: 82px;
    }

    .opening-text {
        margin-bottom: 28px;
    }
}

@media (min-width: 1024px) {
    .main-content {
        width: min(100%, 980px);
        padding: 56px 48px;
    }

    .visual-logos {
        gap: 64px;
    }

    .timer {
        gap: 32px;
    }
}
