@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --font-sans: 'Inter', sans-serif;
    --font-title: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-sans);
    scroll-behavior: smooth;
    background-color: #0b0b0b;
    color: #f3f4f6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
}

/* Custom Gradients and Backgrounds */
.bg-grid-pattern {
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, #a3a3a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-panel-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel-hover:hover {
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0b0b0b;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #404040;
}

/* Fencing Epee/Sword Animation */
.sword-draw {
    position: relative;
    overflow: hidden;
}

.sword-draw::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sword-draw:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Navigation active link style */
.nav-link-active {
    color: #ffffff;
    font-weight: 600;
}

/* Input Styles */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

/* Scroll Animation Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Fencing Target Dot */
.fencing-target {
    position: relative;
}
.fencing-target::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #ef4444; /* red dot for touchpoint */
    border-radius: 50%;
    top: 50%;
    left: -16px;
    transform: translateY(-50%);
    box-shadow: 0 0 8px #ef4444;
}
