/* Welcome Page */

.welcome-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 50%, var(--accent-color) 100%);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.welcome-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.welcome-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.welcome-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.welcome-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

/* Section Blocks */
.welcome-section {
    margin-bottom: 70px;
    position: relative;
}

.welcome-section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-light);
}

.welcome-section-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.welcome-section-icon.events-icon {
    background: linear-gradient(135deg, #007BA4, #00AFCB);
}

.welcome-section-icon.news-icon {
    background: linear-gradient(135deg, #012E56, #007BA4);
}

.welcome-section-icon.surveys-icon {
    background: linear-gradient(135deg, #00AFCB, #007BA4);
}

.welcome-section-text h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.welcome-section-text p {
    color: var(--text-muted);
    margin: 4px 0 0 0;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.welcome-section-link {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.welcome-section-link:hover {
    color: var(--secondary-color);
    gap: 10px;
}

/* Survey Cards Welcome */
.survey-card-welcome {
    border: 1.5px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.survey-card-welcome:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.survey-card-welcome .survey-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 20px 24px;
    color: white;
}

.survey-card-welcome .survey-card-header h5 {
    font-weight: 700;
    margin: 0;
    font-size: 1.05rem;
}

.survey-card-welcome .survey-card-body {
    padding: 20px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.survey-card-welcome .survey-card-body p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.survey-card-welcome .survey-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.survey-card-welcome .survey-meta .badge {
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.survey-card-welcome .survey-org {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.survey-card-welcome .survey-org img {
    width: 22px;
    height: 22px;
    object-fit: cover;
}

.survey-card-welcome .survey-responses {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.survey-card-welcome .survey-card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
}

/* Ven, Sígueme Card */
.ven-sigueme-card {
    display: flex;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
    text-decoration: none;
    color: inherit;
    border: 2px solid #e0e7ef;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.ven-sigueme-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 123, 164, 0.15);
    border-color: var(--primary-color);
}

.ven-sigueme-img-wrapper {
    flex-shrink: 0;
    width: 180px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ven-sigueme-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.ven-sigueme-body {
    padding: 24px 32px 24px 8px;
    flex: 1;
}

.ven-sigueme-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
}

.ven-sigueme-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .ven-sigueme-card {
        flex-direction: column;
        border-radius: 16px;
        margin-bottom: 40px;
    }

    .ven-sigueme-img-wrapper {
        width: 100%;
        padding: 16px 16px 0;
    }

    .ven-sigueme-img-wrapper img {
        max-width: 160px;
    }

    .ven-sigueme-body {
        padding: 16px 20px 20px;
        text-align: center;
    }

    .ven-sigueme-title {
        font-size: 1.25rem;
    }

    .ven-sigueme-desc {
        font-size: 0.85rem;
    }
}

/* Empty state */
.welcome-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.welcome-empty i {
    font-size: 3rem;
    opacity: 0.3;
    margin-bottom: 12px;
    display: block;
}

.welcome-empty p {
    font-size: 1rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .welcome-hero {
        padding: 40px 24px;
        border-radius: 16px;
    }

    .welcome-hero h1 {
        font-size: 2rem;
    }

    .welcome-hero p {
        font-size: 1rem;
    }

    .welcome-section-header {
        flex-wrap: nowrap;
    }

    .welcome-section-text {
        min-width: 0;
        overflow: hidden;
    }

    .welcome-section-link {
        display: none;
    }

    .welcome-section-text h2 {
        font-size: 1.4rem;
    }
}
