/* Import Google Font Be Vietnam Pro & Inter hỗ trợ tiếng Việt hoàn hảo */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-glow: radial-gradient(rgba(6, 182, 212, 0.15), rgba(6, 182, 212, 0));
    --secondary-glow: radial-gradient(rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0));
}

body {
    font-family: 'Be Vietnam Pro', 'Inter', sans-serif;
    background-color: #0b0f19;
    color: #f3f4f6;
    overflow-x: hidden;
}

/* Glassmorphism Cards Base */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px border-white/20;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-panel-dark {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.glass-panel-light {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Custom interactive Hover effects */
.glass-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-hover:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 10px 40px 0 rgba(6, 182, 212, 0.15);
    transform: translateY(-4px);
}

/* Animated Background Blobs */
.glow-blob {
    filter: blur(80px);
    opacity: 0.5;
    mix-blend-mode: screen;
    pointer-events: none;
    position: absolute;
    border-radius: 50%;
}

.blob-cyan {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, rgba(6, 182, 212, 0) 70%);
}

.blob-indigo {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(99, 102, 241, 0) 70%);
}

.blob-emerald {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, rgba(16, 185, 129, 0) 70%);
}

/* Float Animations */
@keyframes float-1 {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
    100% { transform: translate(0px, 0px) scale(1); }
}

@keyframes float-2 {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(-40px, 40px) scale(0.9); }
    66% { transform: translate(50px, -20px) scale(1.15); }
    100% { transform: translate(0px, 0px) scale(1); }
}

@keyframes float-3 {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(20px, 30px) scale(1.1); }
    66% { transform: translate(-30px, -40px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

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

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

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

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

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(6, 182, 212, 0.4);
}

/* Custom Text Clip Gradient */
.text-gradient {
    background: linear-gradient(135deg, #22d3ee 0%, #818cf8 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Glow Button */
.btn-glow {
    position: relative;
    transition: all 0.3s ease;
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #06b6d4, #6366f1, #10b981);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}

.btn-glow:hover::after {
    opacity: 0.75;
}

/* Code mockup blinking cursor */
@keyframes blink {
    50% { opacity: 0; }
}
.cursor-blink::after {
    content: '|';
    animation: blink 1s infinite;
    color: #22d3ee;
}
