@font-face {
    font-family: 'Instrument Serif';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/InstrumentSerif-Italic.ttf') format('truetype');
}

@font-face {
    font-family: 'Instrument Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/InstrumentSerif-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/InterTight-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/InterTight-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/InterTight-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/InterTight-SemiBold.ttf') format('truetype');
}

/* Base Styles */
body {
    font-family: 'Inter Tight', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter Tight', sans-serif;
}

.font-serif {
    font-family: 'Instrument Serif', serif;
}

/* Custom Scrollbar for Sidebar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: rgba(11, 12, 16, 0.1);
    border-radius: 20px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: rgba(11, 12, 16, 0.2);
}

/* Animations */
@keyframes aurora-1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(5%, 10%) scale(1.1) rotate(5deg);
    }

    66% {
        transform: translate(-5%, 5%) scale(0.9) rotate(-5deg);
    }
}

@keyframes aurora-2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(-5%, -5%) scale(1.1) rotate(-5deg);
    }

    66% {
        transform: translate(5%, -10%) scale(0.9) rotate(5deg);
    }
}

@keyframes aurora-3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(2%, 2%) scale(1.05) rotate(2deg);
    }
}

.animate-aurora-1 {
    animation: aurora-1 25s ease-in-out infinite alternate;
}

.animate-aurora-2 {
    animation: aurora-2 30s ease-in-out infinite alternate;
}

.animate-aurora-3 {
    animation: aurora-3 20s ease-in-out infinite alternate;
}

.bg-noise {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.5'/%3E%3C/svg%3E");
}

.shadow-glow {
    box-shadow: 0 0 40px -10px rgba(11, 12, 16, 0.15);
}

.shadow-sharp {
    box-shadow: 0 4px 20px -2px rgba(11, 12, 16, 0.08);
    /* Softer, spread out shadow */
}

/* Glass & Texture */
.shadow-glass {
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 2px 4px -1px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    /* Inner highlight */
}

.btn-texture {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    background-blend-mode: overlay;
}

/* Text Selection */
::selection {
    background-color: #EBE9E4;
    /* surface-sand */
    color: #0B0C10;
    /* ink */
}

/* Form Elements */
.form-input {
    width: 100%;
    background-color: rgba(11, 12, 16, 0.02) !important;
    border: 1px solid rgba(11, 12, 16, 0.08) !important;
    padding: 1rem 1.25rem !important;
    font-size: 1rem !important;
    color: #0B0C10 !important;
    transition: all 0.3s ease !important;
    border-radius: 12px !important;
}

.form-input:focus {
    outline: none !important;
    background-color: white !important;
    border-color: #0B0C10 !important;
    box-shadow: 0 4px 12px rgba(11, 12, 16, 0.05) !important;
}

.form-input::placeholder {
    color: rgba(11, 12, 16, 0.3) !important;
}