/* Core Theme & Variables */
:root {
    --color-primary: #0ea5e9;
    --color-secondary: #6366f1;
    --color-dark: #020617;
    --font-cyber: 'Orbitron', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-tech: 'Rajdhani', sans-serif;
}

/* Global Reset adjustments */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-dark);
    color: #cbd5e1;
    overflow-x: hidden;
}

/* Glassmorphism Classes */
/* Glassmorphism Classes */
.glass-nav {
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px -15px rgba(14, 165, 233, 0.3);
    background: rgba(15, 23, 42, 0.8);
}

.glass-header {
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-window {
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Project Card Specifics */
.project-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px -10px rgba(14, 165, 233, 0.3);
}

/* Animations */
.reveal-section {
    opacity: 1 !important;
    transform: none !important;
}

.cursor-blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.gradient-text {
    background: linear-gradient(to right, #0ea5e9, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #020617;
}

::-webkit-scrollbar-thumb {
    background: #0ea5e9;
    border-radius: 4px;
}

/* Base Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
    }

    50% {
        box-shadow: 0 0 40px rgba(14, 165, 233, 0.5);
    }
}

@keyframes scan {
    0% {
        top: 0%;
    }

    100% {
        top: 100%;
    }
}

/* Utility Classes */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s ease-in-out infinite;
    pointer-events: none;
    z-index: -10;
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(14, 165, 233, 0.5);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.8);
    animation: scan 10s linear infinite;
    opacity: 0.3;
    pointer-events: none;
    z-index: 50;
}

/* Text Selection override for Cyber feel */
::selection {
    background-color: var(--color-primary);
    color: #000;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Scroll Animations */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.9);
}

.revealed {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* Enhanced Hover Effects for Cards - REMOVED (Consolidated above) */

/* Skill Bar Animation */
.skill-progress {
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}