/* ==========================================================================
   SHAKIR HOSSAIN — OFFICIAL HIGH-GRAPHICS PORTFOLIO STYLESHEET
   Aesthetics: Deep Space Dark Luxe, Holographic Neon, Glassmorphism
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Orbitron:wght@500;700;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg-dark: #040711;
    --bg-card: rgba(11, 17, 33, 0.75);
    --border-glow: rgba(0, 243, 255, 0.25);
    
    --neon-cyan: #00f3ff;
    --neon-purple: #a855f7;
    --neon-magenta: #ec4899;
    --neon-green: #00ff88;
    --neon-amber: #f59e0b;
    --neon-blue: #3b82f6;

    --font-heading: 'Orbitron', 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* RESET & BASE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: #e2e8f0;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #03060c;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--neon-green), var(--neon-magenta));
}

/* SELECTION */
::selection {
    background: var(--neon-cyan);
    color: #040711;
}

/* QUANTUM CANVAS BACKGROUND */
#quantum-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* CYBER SCANLINES & GRID OVERLAY */
.cyber-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
}

.ambient-glow-1 {
    position: fixed;
    top: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    animation: pulseAmbient 10s ease-in-out infinite alternate;
}

.ambient-glow-2 {
    position: fixed;
    bottom: -150px;
    right: -150px;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, transparent 70%);
    filter: blur(90px);
    z-index: 1;
    pointer-events: none;
    animation: pulseAmbient 12s ease-in-out infinite alternate-reverse;
}

@keyframes pulseAmbient {
    0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
    50% { transform: scale(1.15) translate(30px, -20px); opacity: 0.9; }
    100% { transform: scale(0.9) translate(-20px, 30px); opacity: 0.6; }
}

/* CUSTOM NEON CURSOR */
.custom-cursor {
    width: 10px;
    height: 10px;
    background: var(--neon-cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.08s ease-out;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px var(--neon-cyan), 0 0 24px var(--neon-cyan);
}

.custom-cursor-follower {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--neon-purple);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

@media (max-width: 1024px) {
    .custom-cursor, .custom-cursor-follower {
        display: none !important;
    }
}

/* TYPOGRAPHY HELPERS */
.font-orbitron {
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}
.font-mono-code {
    font-family: var(--font-mono);
}

/* HOLOGRAPHIC & GRADIENT TEXT */
.holo-gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #00f3ff 25%, #a855f7 50%, #ec4899 75%, #00ff88 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: holoShift 8s ease infinite;
}

.gradient-text-cyan-purple {
    background: linear-gradient(135deg, #00f3ff, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes holoShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* GLASSMORPHISM CARDS */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
    border-radius: 16px;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
    border-color: rgba(0, 243, 255, 0.35);
    box-shadow: 0 12px 40px 0 rgba(0, 243, 255, 0.15), 0 0 20px rgba(168, 85, 247, 0.1);
    transform: translateY(-4px);
}

/* ANIMATED BORDER LIGHT */
.animated-glow-border {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.animated-glow-border::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(0, 243, 255, 0.8),
        rgba(168, 85, 247, 0.8),
        transparent 65%
    );
    animation: rotateBorder 6s linear infinite;
    z-index: -1;
}

.animated-glow-border::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    background: #090e1d;
    border-radius: 17px;
    z-index: -1;
}

@keyframes rotateBorder {
    100% {
        transform: rotate(360deg);
    }
}

/* CYBER HUD CORNERS */
.hud-corner {
    position: relative;
}
.hud-corner::before,
.hud-corner::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: var(--neon-cyan);
    pointer-events: none;
    z-index: 5;
}
.hud-corner::before {
    top: 8px;
    left: 8px;
    border-top: 2px solid var(--neon-cyan);
    border-left: 2px solid var(--neon-cyan);
}
.hud-corner::after {
    bottom: 8px;
    right: 8px;
    border-bottom: 2px solid var(--neon-cyan);
    border-right: 2px solid var(--neon-cyan);
}

/* CYBER BUTTONS */
.btn-cyber-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #040711;
    background: linear-gradient(135deg, var(--neon-cyan), #00d0db);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    text-decoration: none;
}

.btn-cyber-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 35px rgba(0, 243, 255, 0.7);
    color: #000;
}

.btn-cyber-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.btn-cyber-primary:hover::before {
    left: 100%;
}

.btn-cyber-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #ffffff;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.5);
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.btn-cyber-secondary:hover {
    background: rgba(168, 85, 247, 0.25);
    border-color: var(--neon-purple);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.45);
    transform: translateY(-2px);
    color: #fff;
}

.btn-cyber-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-cyber-ghost:hover {
    color: #00f3ff;
    border-color: rgba(0, 243, 255, 0.4);
    background: rgba(0, 243, 255, 0.08);
}

/* PULSING BADGE */
.live-dot {
    width: 8px;
    height: 8px;
    background-color: var(--neon-green);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 8px var(--neon-green);
}

.live-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.4);
    animation: pulseRing 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulseRing {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* FLOATING TECH BADGE */
.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    transition: all 0.25s ease;
}

.tech-pill:hover {
    background: rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.4);
    color: var(--neon-cyan);
    transform: translateY(-2px);
}

/* ANIMATIONS */
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.animate-float {
    animation: floatY 4s ease-in-out infinite;
}
