/* Variables del estilo original */
:root {
    --bg-color: #fafafa;
    --surface: #ffffff;
    --text-color: #222222;
    --muted: #5f6a76;
    --border: #e6e8ec;
    --shadow: 0 20px 70px rgba(34, 34, 34, 0.08);
    --radius: 24px;
}

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

html {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
}

/* Layout general */
body {
    min-height: 100vh;
    background: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

/* Contenedor principal */
.container {
    width: min(100%, 700px);
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Cabecero */
.logo {
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    display: block;
    margin: 0 auto;
}

/* Títulos */
h1 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--muted);
}

/* Mensaje central */
.message {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-top: 0.5rem;
}

/* Footer */
.page-footer {
    width: min(100%, 700px);
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-image {
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    object-fit: cover;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--muted);
}

.footer-text a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.footer-text a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 12px;
    }

    .container {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .footer-image {
        border-radius: 14px;
    }
}

.prev-edition {
    margin-top: 2rem;
    font-size: 1.1rem;
    text-align: center;
    color: #333;
    line-height: 1.5;
}

.prev-edition a {
    color: #ff7b00; /* tono cálido estilo festival */
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.25s ease;
}

.prev-edition a:hover {
    color: #d96a00;
    border-bottom: 2px solid #d96a00;
}

