@tailwind base;
@tailwind components;
@tailwind utilities;

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.3s ease, box-shadow 0.3s ease;
}

.magnetic-btn:hover {
    transform: scale(1.03);
}

.btn-slide-bg {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-slide-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1664d9;
    /* Darker accent */
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.btn-slide-bg:hover::after {
    transform: translateY(0);
}

.drama-text {
    font-family: 'Fraunces', serif;
    font-style: italic;
}

/* Hide scrollbar for clear UI */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F2F0E9;
}

::-webkit-scrollbar-thumb {
    background: #1C2A3A;
    border-radius: 4px;
}