/* BeeVocab - Universal Font & Modern Cyberpunk Responsive CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    --bg-main: #060913;
    --bg-card: #0d1322;
    --bg-card-hover: #131b31;
    --neon-cyan: #00f2fe;
    --neon-teal: #4facfe;
    --neon-amber: #f6d365;
    --neon-rose: #ff0844;
    --neon-green: #00f5a0;
    --neon-purple: #b000ff;
    --font-universal: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans', 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
}

html, body {
    background-color: var(--bg-main);
    color: #e2e8f0;
    font-family: var(--font-universal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Ensure all form elements and headings inherit the universal font */
input, button, select, textarea, optgroup, option, h1, h2, h3, h4, h5, h6, p, span, a, label {
    font-family: inherit;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #090d1a;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #00f2fe;
}

/* Neon Glows & Borders */
.neon-glow-cyan {
    text-shadow: 0 0 12px rgba(0, 242, 254, 0.45);
}
.neon-glow-purple {
    text-shadow: 0 0 12px rgba(176, 0, 255, 0.45);
}
.neon-border-cyan {
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}
.neon-border-cyan:focus, .neon-border-cyan:hover {
    border-color: #00f2fe;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
}

/* 3D Flip Card Animation */
.perspective-1000 {
    perspective: 1000px;
}
.transform-style-3d {
    transform-style: preserve-3d;
}
.backface-hidden {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.rotate-y-180 {
    transform: rotateY(180deg);
}
.card-flip-inner {
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.card-flip-inner.is-flipped {
    transform: rotateY(180deg);
}

/* Animations */
@keyframes pulseGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}
.animate-pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-slide-up {
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* TV & Large Display Scaling */
@media (min-width: 1920px) {
    body {
        font-size: 1.125rem;
    }
    .tv-scale-up {
        zoom: 1.15;
    }
}

/* Code / IPA Font */
.font-mono-ipa {
    font-family: 'JetBrains Mono', monospace;
}

