/* Estilos específicos para la página de inicio */

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background-color: var(--accent-color);
    border-radius: 10px;
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #198754 100%);
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.subsecretary-message {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* BOTÓN DE JUEGOS */
.game-button-wrapper {
    display: inline-block;
    position: relative;
    z-index: 50;
}

.btn-juegos {
    background: linear-gradient(to right, #ffc107, #ff9800);
    color: #212529 !important;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 100px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4);
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 100;
    pointer-events: auto !important;
}

.btn-juegos:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.5);
    background: linear-gradient(to right, #ffca2c, #ffa726);
    color: #000 !important;
    position: relative;
    z-index: 5;
}

/* VIDEO CONTAINER */
.video-container {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    background: #000;
    border: 8px solid rgba(255, 255, 255, 0.1);
}

.horizontal-video-wrapper {
    position: relative;
    aspect-ratio: 16/9;
}

.horizontal-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    z-index: 10;
    cursor: pointer;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.play-button {
    background: white;
    border: none;
    color: var(--primary-color);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    animation: pulse-white 2s infinite;
}

@keyframes pulse-white {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.play-button:hover {
    transform: scale(1.15);
    background-color: var(--accent-color);
    color: var(--dark-color);
}

/* VALUE CARDS */
.values-section {
    background-color: #f0f7f4;
}

.value-card {
    background: white;
    border-radius: 25px;
    padding: 45px 35px;
    height: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(25, 135, 84, 0.1));
    color: var(--primary-color);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: rotate(10deg);
}

/* TEAMWORK */
.teamwork-section {
    background: linear-gradient(to bottom, #f0f7f4, #ffffff);
}

.teamwork-icon {
    width: 100px;
    height: 100px;
    background: white;
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ZONA DE JUEGOS PLACEHOLDER */
.games-placeholder {
    background: linear-gradient(135deg, #4361ee 0%, #3f37c9 100%);
    border-radius: 35px;
    padding: 70px 50px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(67, 97, 238, 0.3);
}

.games-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 20%);
    pointer-events: none;
}

.games-placeholder .row {
    position: relative;
}

.game-icons {
    position: absolute;
    bottom: -30px;
    right: 20px;
    opacity: 0.15;
    font-size: 8rem;
    display: flex;
    gap: 30px;
    pointer-events: none;
    transform: rotate(-10deg);
}

/* CONTACT CARDS */
.contact-card {
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

@media (max-width: 991px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-section {
        padding: 80px 0;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .games-placeholder {
        padding: 40px 30px;
    }
}