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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #8B7BC0;
    background-image: url('assets/web/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1.25rem;
    color: #fff;
}

.container {
    width: 100%;
    max-width: 420px;
    text-align: center;
}

/* Error message */
.error-msg {
    background: rgba(220, 50, 50, 0.9);
    color: #fff;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Header */
.header {
    margin-bottom: 2rem;
}

.logo {
    max-width: 180px;
    height: auto;
    margin: 0 auto 0.5rem;
    display: block;
}

.titulo {
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 0.15rem;
}

.subtitulo {
    font-size: 1.3rem;
    font-weight: 700;
}

/* Links */
.links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-btn {
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.link-btn:hover,
.link-btn:active {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.link-btn:active {
    transform: scale(0.99);
}

.link-btn img {
    width: 100%;
    height: auto;
    display: block;
}

/* Text-only link fallback */
.link-btn-text {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

/* Footer CTA */
.cta {
    margin-top: 2.5rem;
    text-align: center;
}

.cta-texto {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cta-subtexto {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cta-email {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.85;
}

.cta-email:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Consent banner */
.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 30, 50, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 1000;
}

.consent-banner p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    max-width: 420px;
}

.consent-buttons {
    display: flex;
    gap: 0.5rem;
}

.consent-btn {
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.consent-btn:hover {
    opacity: 0.85;
}

.consent-accept {
    background: #fff;
    color: #1a1a2e;
}

.consent-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
