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

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: #f7f6f8;
    color: #140d1b;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}


/* ── NAV ── */

.top-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #ede7f3;
    padding: 0.75rem 1.5rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 800;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-menu {
    display: none;
    gap: 2.25rem;
}

.desktop-menu a {
    text-decoration: none;
    color: #140d1b;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s;
}

.desktop-menu a:hover {
    color: #8c2bee;
}

.btn-join {
    background-color: #8c2bee;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(140, 43, 238, 0.2);
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-join:hover {
    background-color: #5b1c9f;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(140, 43, 238, 0.3);
}


/* ── HERO ── */

.hero {
    background-color: #f5efff;
    padding: 2rem 0;
    margin-bottom: 1rem;
}

.hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.hero-content {
    width: 100%;
}

.hero-label {
    color: #8c2bee;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.75rem;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-primary {
    color: #8c2bee;
}

.hero p {
    color: #4e3a61;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 520px;
    line-height: 1.6;
}

.btn-primary {
    background-color: #8c2bee;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(140, 43, 238, 0.25);
}

.btn-primary:hover {
    background-color: #5b1c9f;
    transform: scale(1.03);
    box-shadow: 0 12px 20px -3px rgba(140, 43, 238, 0.35);
    transition: all 0.2s ease;
}

.hero-image-area {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.hero-img-card {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: block;
    position: relative;
    z-index: 10;
}

.blob-pink {
    position: absolute;
    top: -1rem; left: -1rem;
    width: 6rem; height: 6rem;
    background: #fdf2f8;
    border-radius: 50%;
    filter: blur(40px);
}

.blob-purple {
    position: absolute;
    bottom: -1rem; right: -1rem;
    width: 8rem; height: 8rem;
    background: rgba(140, 43, 238, 0.2);
    border-radius: 50%;
    filter: blur(50px);
}


/* ── EVENTOS / NOTICIAS ── */

.ev-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.ev-title {
    font-weight: 800;
    font-size: 2.2rem;
    color: #1a1a1a;
    letter-spacing: -1px;
}

.ev-calendar-btn {
    text-decoration: none;
    color: #8c2bee;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.ev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    padding-bottom: 2rem;
}

.ev-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.ev-card:hover {
    transform: translateY(-8px);
}

.ev-img-wrapper {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.ev-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ev-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    background: #ffffff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.ev-content {
    padding: 1.2rem;
    flex-grow: 1;
}

.ev-date {
    color: #8c2bee;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    display: block;
}

.ev-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.ev-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.ev-footer {
    padding: 0.7rem 1.2rem;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f8f9fa;
    background-color: #fafafa;
}

.ev-location {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ev-btn-register {
    background: #8c2bee;
    color: #ffffff;
    border: none;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
}

.ev-btn-register:hover {
    background-color: #5b1c9f;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 133, 192, 0.4);
    cursor: pointer;
}


/* ── FOOTER ── */

.footer {
    background: #ffffff;
    border-top: 1px solid #ede7f3;
    padding: 1.5rem 0;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand, .rss-text, .footer-actions {
    flex: 1;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-subtext {
    color: #734c9a;
    font-size: 0.75rem;
    border-left: 1px solid #ede7f3;
    padding-left: 1rem;
}

.rss-text {
    text-align: center;
    font-size: 0.8rem;
    color: #734c9a;
}

.rss-text a {
    color: #8c2bee;
    font-weight: 700;
    text-decoration: none;
}

.footer-actions {
    display: flex;
    justify-content: flex-end;
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-links a {
    color: #734c9a;
    font-size: 1.1rem;
}


/* ── MEDIA QUERIES ── */

@media (min-width: 768px) {
    .desktop-menu { display: flex; }
}

@media (min-width: 1200px) {
    .hero-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 3rem;
        padding: 2.5rem 0;
    }
    .hero-content {
        flex: 0 0 500px;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
    .hero-image-area {
        flex: 1;
        max-width: none;
        margin: 0;
    }
    .hero-img-card {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 900px) {
    .nav-actions {
        gap: 1rem;
    }
}

@media (max-width: 850px) {
    .footer-wrapper {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-actions {
        justify-content: center;
    }
    .footer-brand {
        justify-content: center;
    }
    .brand-subtext {
        border-left: none;
        padding-left: 0;
    }
    .ev-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .ev-grid {
        grid-template-columns: 1fr;
    }
}