/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Arvo Font Class */
.font-arvo {
    font-family: 'Arvo', serif;
}

.font-arvo-bold {
    font-family: 'Arvo', serif;
    font-weight: 700;
}

.font-arvo-italic {
    font-family: 'Arvo', serif;
    font-style: italic;
}

.font-arvo-bold-italic {
    font-family: 'Arvo', serif;
    font-weight: 700;
    font-style: italic;
}

/* Poppins Font Class */
.font-poppins {
    font-family: 'Poppins', sans-serif;
}

.font-poppins-light {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

.font-poppins-regular {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.font-poppins-medium {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.font-poppins-semibold {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.font-poppins-bold {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.font-poppins-extrabold {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}

.font-poppins-black {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
}

.font-poppins-italic {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
}

.font-poppins-light-italic {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-style: italic;
}

.font-poppins-medium-italic {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-style: italic;
}

.font-poppins-semibold-italic {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-style: italic;
}

.font-poppins-bold-italic {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-style: italic;
}

/* Additional utility classes */
.text-arvo {
    font-family: 'Arvo', serif;
}

.text-poppins {
    font-family: 'Poppins', sans-serif;
}

/* Responsive font sizes */
.text-responsive-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-responsive-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-responsive-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-responsive-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-responsive-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-responsive-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-responsive-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-responsive-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-responsive-5xl {
    font-size: 3rem;
    line-height: 1;
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
    .text-responsive-xs {
        font-size: 0.7rem;
    }

    .text-responsive-sm {
        font-size: 0.8rem;
    }

    .text-responsive-base {
        font-size: 0.9rem;
    }

    .text-responsive-lg {
        font-size: 1rem;
    }

    .text-responsive-xl {
        font-size: 1.1rem;
    }

    .text-responsive-2xl {
        font-size: 1.3rem;
    }

    .text-responsive-3xl {
        font-size: 1.6rem;
    }

    .text-responsive-4xl {
        font-size: 1.9rem;
    }

    .text-responsive-5xl {
        font-size: 2.4rem;
    }
}

/* Floating Footer Styles */
.floating-footer {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.floating-footer-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-footer-button:hover {
    transform: translateY(-2px);
}

.floating-footer-button.active {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.1);
    }
}

/* Ensure footer stays above all content */
.footer-z-index {
    z-index: 9999;
}

/* Smooth transitions for footer interactions */
.footer-transition {
    transition: all 0.3s ease-in-out;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

@keyframes wave-hand {
    0% {
        transform: rotate(0.0deg)
    }

    10% {
        transform: rotate(14.0deg)
    }

    20% {
        transform: rotate(-8.0deg)
    }

    30% {
        transform: rotate(14.0deg)
    }

    40% {
        transform: rotate(-4.0deg)
    }

    50% {
        transform: rotate(10.0deg)
    }

    60% {
        transform: rotate(0.0deg)
    }

    100% {
        transform: rotate(0.0deg)
    }
}

.wave {
    animation-name: wave-hand;
    animation-duration: 2.5s;
    animation-iteration-count: infinite;
    transform-origin: 70% 70%;
    display: inline-block;
}

@keyframes gentle-wave {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-10px, -5px) scale(1.02);
    }
}

.gentle-wave-animation {
    animation: gentle-wave 6s ease-in-out infinite;
}

.blinking-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    margin-left: 8px;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.9);
    }
}

/* Attention Card Icon Animation - Floating and Tilted Effect */
@keyframes attentionIconFloat {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(-8deg);
    }

    25% {
        transform: translateY(-5px) translateX(3px) rotate(-5deg);
    }

    50% {
        transform: translateY(-7px) translateX(0px) rotate(-11deg);
    }

    75% {
        transform: translateY(-5px) translateX(-3px) rotate(-6deg);
    }
}

@keyframes attentionIconPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
    }

    50% {
        transform: scale(1.12);
        filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
    }
}

/* Arrow Slide Animation - Left to Right Movement */
@keyframes arrowSlideRight {

    0%,
    100% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(8px);
    }
}

/* Alternative: More pronounced slide with bounce */
@keyframes arrowSlideBounce {

    0%,
    100% {
        transform: translateX(0px);
        opacity: 1;
    }

    25% {
        transform: translateX(6px);
        opacity: 0.9;
    }

    50% {
        transform: translateX(10px);
        opacity: 0.8;
    }

    75% {
        transform: translateX(6px);
        opacity: 0.9;
    }
}


/* ========== SwitchUserModal animations ========== */
@keyframes switch-modal-in {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes switch-orbit-in {
    from {
        opacity: 0;
        transform: translateX(-16px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes switch-main-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

@keyframes switch-backdrop-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes switch-border-blink {

    0%,
    100% {
        border-color: #22c55e;
        box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.5);
    }

    50% {
        border-color: #4ade80;
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.25);
    }
}

.switch-modal-card {
    animation: switch-modal-in 0.35s ease-out forwards;
}

.switch-modal-backdrop {
    animation: switch-backdrop-in 0.25s ease-out forwards;
}

.switch-orbit-item {
    animation: switch-orbit-in 0.4s ease-out forwards;
}

.switch-main-avatar {
    animation: switch-main-pulse 2.5s ease-in-out infinite;
}

.switch-main-avatar-active {
    border: 3px solid #22c55e;
    animation: switch-main-pulse 2.5s ease-in-out infinite, switch-border-blink 1.5s ease-in-out infinite;
}

.switch-watch-scroll {
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
}

.switch-watch-scroll>* {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
