@font-face {
    font-family: 'SF Pro Rounded';
    src: url('../fonts/sf-pro-rounded.ttf') format('truetype');
}

/* Base styles for desktop */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "SF Pro Rounded", sans-serif;
    background: linear-gradient(115.25deg, #FFFFFF 0%, #4EDAFF 100%);
    min-height: 100dvh;
    position: relative;
    overflow-x: hidden !important;
}

/* Loading Screen */
#loading {
    position: fixed;
    inset: 0;
    background: #FFFFFF;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 1s ease;
}

.loading-logo {
    max-width: 400px;
    height: auto;
    opacity: 0;
    animation: fadeInZoom 1s ease forwards;
    animation-delay: 0.3s;
}

/* App Container */
.app {
    opacity: 0;
    transition: opacity 1s ease;
}

.app-ready {
    opacity: 1;
}

/* Animaciones de Scroll */
.show-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.show-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInZoom {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Duck character - top right */
.duck-character {
    position: fixed;
    top: 0;
    right: 0;
    width: 120px;
    height: auto;
    z-index: 10;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.back-home-link {
    margin-top: 2rem;
    margin-left: 84px;
    border-radius: 200px;
    border-width: 4px;
    opacity: 1;
    border: 4px solid rgba(161, 235, 255, 1);
    padding: 8px 8px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.back-home-link a {
    display: block;
    text-decoration: none;
    line-height: 0;
}

.back-home-link img {
    display: block;
    transition: all 0.3s ease;
}

.back-home-link:hover {
    transform: scale(1.1);
    box-shadow: 8px 8px 8px 0px rgba(136, 230, 255, 1);
    background: linear-gradient(299.28deg, #FFFFFF -18.25%, #4EDAFF 92.72%);
}

.back-home-link:hover img {
    filter: brightness(1.1);
}

/* Duck decoration */
.duck {
    position: absolute;
}

.duck-top-right {
    top: 0;
    right: 0;
}

.main-title {
    font-size: 60px;
    font-weight: 700;
    color: #165566;
    text-align: center;
    flex: 1;
}

/* Content card */
.content-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    color: #662F4B;
    margin-bottom: 1.5rem;
}

.terms-section,
.refund-section,
.pricing-section,
.rights-section,
.content-section {
    margin-bottom: 2.5rem;
    color: #662F4B;
    font-weight: 300;
}

.terms-list,
.pricing-list,
.rights-list {
    list-style: none;
    padding-left: 0;
}

.terms-list li,
.pricing-list li,
.rights-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #662F4B;
    font-weight: 300;
}

span {
    font-family: 'SF Pro Rounded', sans-serif;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;

}

.content-section h3 {
    font-size: 18px;
    font-weight: 400;
    color: #662F4B;
}

.refund-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #662F4B;
}

.refund-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.refund-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #662F4B;
}

/* Bottom section styles */
.contenido {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.prices-bottom-title {
    font-family: "Chewy", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5rem;
    color: #165566;
    margin-bottom: 2rem;
}

.cartel-container {
    margin-bottom: 2rem;
}

.cartel {
    width: 180px;
    height: 145px;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.cartel:hover {
    transform: scale(1.05);
}

.contact-btn {
    margin-bottom: 2rem;
}

.contact-btn a {
    background: #e3348d;
    color: #fff;
    font-weight: 700;
    font-family: "SF Pro Rounded", sans-serif;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.contact-btn a:hover {
    transform: translateY(-2px);
}

.mail {
    width: 16px;
    height: 16px;
}

.follow {
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-family: "Chewy", sans-serif;
    font-size: 18px;
    color: #3d95ac;
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 3;
    margin-bottom: 40px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-icon img {
    width: 24px;
    height: 24px;
    transition: all 0.4s ease;
    z-index: 2;
    position: relative;
}

.social-icon::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    top: 4px;
    left: 12px;
    background: rgba(201, 250, 255, 1);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 50%;
}

.social-icon:hover {
    transform: scale(1.2) !important;
    box-shadow: 8px 8px 8px 0px rgba(136, 230, 255, 1);
    background: linear-gradient(299.28deg, #FFFFFF -18.25%, #4EDAFF 82.72%);
    rotate: -15deg;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover img {
    color: #ffffff;
    transform: scale(1.1);
}

/* Character decoration - bottom right */
.character-right {
    position: fixed;
    width: 160px;
    height: auto;
    right: 10%;
    bottom: 0;
    z-index: 10;
}

/* Tablet styles */
@media (min-width: 481px) and (max-width: 884px) {
    .container {
        padding: 1.5rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .content-card {
        padding: 2rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .prices-bottom-title {
        font-size: 2rem;
    }

    .cartel {
        width: 160px;
        height: 130px;
    }

    .social-icon {
        width: 55px;
        height: 55px;
    }

    .social-icon img {
        width: 22px;
        height: 22px;
    }

    .character-right {
        width: 140px;
    }

    ::-webkit-scrollbar {
        display: none;
    }
}

/* Mobile styles */
@media (max-width: 480px) {
    .loading-logo {
        max-width: 250px;
        justify-self: center !important;
    }

    .container {
        padding: 1rem;
    }

    /* Back button*/
    .back-home-link {
        margin-top: 1rem;
        margin-left: 14px;
        border-radius: 200px;
        border-width: 4px;
        opacity: 1;
        border: 4px solid rgba(161, 235, 255, 1);
        padding: 4px 4px;
    }

    .duck-top-right {
        width: 140px;
        height: 140px;
    }

    .header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .back-button {
        align-self: flex-start;
    }

    .back-arrow {
        width: 24px;
        height: 24px;
    }

    .main-title {
        font-size: 1.5rem;
    }

    .content-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .terms-list li,
    .pricing-list li,
    .rights-list li,
    .refund-content ul li,
    .refund-content p {
        font-size: 0.9rem;
    }

    .contenido {
        padding: 1rem;
    }

    .prices-bottom-title {
        font-size: 1.8rem;
        margin-top: 4rem;
    }

    .cartel {
        width: 140px;
        height: 115px;
    }

    .contact-btn a {
        padding: 10px 22px;
        font-size: 0.9rem;
    }

    .follow {
        font-size: 16px;
    }

    .social-icons {
        gap: 12px;
    }

    .social-icon {
        width: 50px;
        height: 50px;
    }

    .social-icon img {
        width: 20px;
        height: 20px;
    }

    .character-right {
        display: none;
    }

    ::-webkit-scrollbar {
        display: none;
    }
}

/* Language switcher */
.language-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 120px;
    height: 60px;
    background-color: #c8f0d4;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.language-switcher.english {
    background-color: #b3d9ff;
}

.flag-container {
    position: absolute;
    width: 48px;
    height: 48px;
    top: 6px;
    left: 6px;
    transition: transform 0.3s ease;
    border-radius: 50%;
    overflow: hidden;
}

.language-switcher.english .flag-container {
    transform: translateX(60px);
}

.flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Custom Scroll Bar*/
::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    background: #E8F7FC;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #4EDAFF;
    border-radius: 10px;
    border: 3px solid #E8F7FC;
}

::-webkit-scrollbar-thumb:hover {
    background: #36B5E8;
}