/* Estilos para la página de eventos */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 80px;
    backdrop-filter: blur(48px);
    z-index: 40;
    transition: all 0.5s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.4);
}

.header.scrolled {
    padding: 16px 80px;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.logo {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.025em;
    cursor: pointer;
    position: relative;
    color: #ffffff;
}

.logo::after {
    content: "VoragineTecnologica";
}

@media (max-width: 400px) {
    .logo::after {
        content: "VoragineTec";
    }
}

.nav {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-link {
    position: relative;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #9333ea, #2563eb);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.contact-btn {
    position: relative;
    padding: 12px 32px;
    border: 2px solid #ffffff;
    border-radius: 9999px;
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s ease;
    overflow: hidden;
    font-size: 16px;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -12px rgba(255, 255, 255, 0.2);
    color: #000000;
}

.contact-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 0;
    background: #ffffff;
    transition: all 0.6s ease;
    z-index: -1;
}

.contact-btn:hover::before {
    width: 100%;
}

/* Main Content */
.main-container {
    margin-top: 120px;
    padding: 40px 80px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.page-title {
    text-align: center;
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
    background: linear-gradient(to bottom right, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    text-align: center;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Grial Section */
.grial-section {
    text-align: center;
    margin: 80px 0;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.grial-section::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 1px;
    background: linear-gradient(to bottom right, rgba(220, 38, 38, 0.3), rgba(239, 68, 68, 0.3));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: subtract;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

.grial-container {
    position: relative;
    z-index: 2;
}

.grial-svg {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    opacity: 0.8;
    filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.4));
    animation: grial-glow 3s ease-in-out infinite alternate;
}

@keyframes grial-glow {
    from {
        filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.4));
        transform: scale(1);
    }
    to {
        filter: drop-shadow(0 0 30px rgba(220, 38, 38, 0.8));
        transform: scale(1.05);
    }
}

.grial-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(to right, #dc2626, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grial-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

.grial-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.event-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 40px;
    transition: all 0.3s ease;
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 1px;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: subtract;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

.event-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.event-date {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(147, 51, 234, 0.2);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 16px;
    color: #a855f7;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.event-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.event-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.event-btn {
    position: relative;
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(to right, #9333ea, #2563eb);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.event-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(147, 51, 234, 0.4);
}

/* Coming Soon Section */
.coming-soon {
    text-align: center;
    padding: 64px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    margin-top: 40px;
}

.coming-soon h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.coming-soon p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .header {
        padding: 20px 40px;
    }

    .main-container {
        padding: 32px 40px;
    }

    .page-title {
        font-size: 48px;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .grial-svg {
        width: 100px;
        height: 100px;
    }

    .grial-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 16px 20px;
    }

    .nav {
        gap: 24px;
    }

    .main-container {
        padding: 24px 20px;
        margin-top: 100px;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 18px;
        margin-bottom: 48px;
    }

    .event-card {
        padding: 24px;
    }

    .event-title {
        font-size: 24px;
    }

    .coming-soon {
        padding: 48px 24px;
    }

    .grial-section {
        margin: 60px 0;
        padding: 40px 20px;
    }

    .grial-svg {
        width: 80px;
        height: 80px;
    }

    .grial-title {
        font-size: 24px;
    }

    .grial-subtitle {
        font-size: 16px;
    }
}
