body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(
    135deg,
    #aa151b 0%,     /* глубокий красный */
    #d7261e 10%,    /* яркий красный */
    #ffcc00 35%,    /* ярко-жёлтый начинает занимать больше места */
    #ffd633 55%,    /* мягкий золотистый — расширяем центр */
    #ffcc00 70%,    /* продолжаем золотую зону */
    #d7261e 90%,    /* возвращаемся к красному */
    #aa151b 100%    /* глубокий красный в конце */
);
    min-height: 100vh;
    overflow-x: hidden;
}

a{
    cursor: pointer;
}

#text-escuchar {
    height: 100px;
    margin: 0 !important;
    font-size: 2rem;
}
.cursor-none{
    cursor: default !important;
}



.transcript{
    color: #fffbe6;
    padding: 0;
    margin: 0;
    font-size: 18px;
    font-weight: normal;
}

.ico-img{
    width: 50px;
    height: auto;
}

.link-card{
    text-decoration: none !important;
}

.el-palabra{
    font-size: 2rem !important;
}


.center{
    text-align: center;
}

.contact-info {
    padding: 40px;
    color: white;
}
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}
.contact-item-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
}
.contact-item-text h4 {
    color: white;
    margin-bottom: 5px;
}
.contact-item-text p {
    color: rgba(255, 255, 255, 0.8);
}

.button-game {
    width: 250px;
    height: auto;
    font-weight: bold;
    padding: 5px 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.5rem;
    color: white;
    margin: 5px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.game-card{
    width: 300px;
    margin: 0 auto;
}

.img-palabras {
    width: 250px;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
}

.text-tarnsform-h3{
    text-transform: uppercase;
}

.correct{
    background: rgb(10, 200, 0, 0.7) !important;
}

.wrong{
    background: rgb(190, 0, 0, 0.7) !important;
    color: #ffffff99;
}

.none{
    display: none !important;
}


/* Page system */
.page {
    display: none;
    min-height: 100vh;
    padding: 40px 20px 20px;
}
.page.active {
    display: block;
}

.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}
.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.shape:nth-child(1) {
    width: 120px;
    height: 80px;
    border-radius: 15px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    transform: rotate(15deg);
}
.shape:nth-child(2) {
    width: 90px;
    height: 140px;
    border-radius: 12px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    transform: rotate(-20deg);
}
.shape:nth-child(3) {
    width: 100px;
    height: 60px;
    border-radius: 10px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    transform: rotate(25deg);
}
.shape:nth-child(4) {
    width: 80px;
    height: 120px;
    border-radius: 8px;
    top: 10%;
    right: 30%;
    animation-delay: 1s;
    transform: rotate(-10deg);
}
.shape:nth-child(5) {
    width: 110px;
    height: 70px;
    border-radius: 14px;
    bottom: 40%;
    right: 20%;
    animation-delay: 3s;
    transform: rotate(30deg);
}
.shape:nth-child(6) {
    width: 95px;
    height: 95px;
    border-radius: 20px;
    top: 40%;
    left: 5%;
    animation-delay: 5s;
    transform: rotate(-15deg);
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(var(--start-rotation, 0deg));
    }
    50% {
        transform: translateY(-20px)
            rotate(calc(var(--start-rotation, 0deg) + 180deg));
    }
}

.glass {
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.glass:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

/* Header styles */
header {
    padding: 20px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
/* Navigation styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 45px;
}
.logo {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}
.logo-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}
.logo:hover .logo-icon svg {
    transform: scale(1.1) translateY(-2px);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.4));
}
.nav-links {
    display: flex;
    gap: 30px;
}
.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 12px 24px 13px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}
.nav-links a:hover
/*,.nav-links a.active*/
{
    color: white;
    background: rgba(0, 0, 0, 0.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.section-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px 45px;
    gap: 20px;
}

.ico-jugar {
    width: 30px;
    height: auto;
    padding-right: 20px;
}

.cta-button {
    min-width: 160px;
    display: flex;
    align-items: center;
    font-size: 20px;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;

}
.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


/* Team section styles */
.team-section {
    margin-bottom: 60px;
}
.team-section h2 {
    font-size: 2.5rem;
    color: white;
    text-align: center;
/*    margin-bottom: 50px;*/
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.team-member {
    padding: 40px 30px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
}
.team-member:hover {
    transform: translateY(-10px);
}
.team-avatar {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}
.team-member:hover .team-avatar {
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.25);
}
.team-member h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: white;
}
.team-member .role {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}
.team-member .bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}
.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.team-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.team-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: white;
}


/* About page styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: center;
}
.about-text {
    padding: 40px;
    color: white;
}
.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.stat-card {
    text-align: center;
    padding: 30px;
    color: white;
}
.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}



/* Footer styles */
#footer {
    margin-top: 60px;
    padding: 0px;
}
.footer-content {
    padding: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 5px 10px;
}
.footer-links a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}
.copyright a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}





/* Responsive design */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-menu {
    flex-direction: column;
    padding: 20px 30px;
    }
}
@media (max-width: 768px) {
    /* Adjust padding for mobile */
    .page {
        padding: 30px 20px 20px;
    }
    .content-wrapper {
        min-height: auto;
    }
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    .hero-content {
        text-align: center;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    nav {
        flex-direction: column;
        gap: 20px;
        padding: 20px 30px;
    }
    .nav-links {
        gap: 15px;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .nav-links a {
        display: block;
        text-align: center;
        width: 100%;
        max-width: 200px;
        font-size: 14px;
        padding: 10px 20px;
    }
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-links {
        gap: 15px;
        flex-direction: column;
    }
    .footer-links a {
        display: block;
        text-align: center;
    }
    button[type="submit"] {
        width: 100%;
    }
    .map-container {
        height: 350px;
    }
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    .logo {
        font-size: 22px;
    }
}

@media (max-width: 500px) {
    .game-card {
        width: auto;
    }
}