/* Load Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Playfair+Display:wght@400..900&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 50% 0%, #fff7ed 0%, #ffedd5 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Custom scrollbar hide for sign selection (Mobile) */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Gradient button style for signs */
.sign-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.6);
    min-height: 120px;
    touch-action: manipulation;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.sign-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(234, 88, 12, 0.15), 0 8px 10px -6px rgba(234, 88, 12, 0.1);
    border-color: rgba(234, 88, 12, 0.5);
    background: rgba(255, 255, 255, 0.9);
}

.sign-card:active {
    transform: scale(0.98);
}

.sign-card-active {
    box-shadow: 0 20px 25px -5px rgba(234, 88, 12, 0.25), 0 8px 10px -6px rgba(234, 88, 12, 0.2);
    border-color: #ea580c;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

/* Mobile-specific improvements */
@media (max-width: 640px) {

    /* Ensure touch targets are at least 44x44px */
    button,
    .sign-card {
        min-height: 44px;
        min-width: 44px;
    }

    /* Prevent text overflow on mobile */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Better spacing for mobile */
    .tab-button {
        white-space: nowrap;
    }

    /* Improve readability on small screens */
    body {
        font-size: 14px;
    }
}

/* Touch-friendly interactions */
.touch-manipulation {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Prevent horizontal scroll on mobile */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Better button interactions on mobile */
button:active {
    transform: scale(0.97);
    transition: transform 0.1s;
}

/* Improve form inputs on mobile */
input,
select,
textarea {
    font-size: 16px;
    /* Prevents zoom on iOS */
}

@media (max-width: 640px) {

    input,
    select,
    textarea {
        font-size: 16px;
    }
}