/* Root Variables - The Design System */
:root {
    /* Cyber/Space Black Backgrounds */
    --bg-dark: #050505;
    /* Deep space */
    --bg-darker: #020202;
    /* Void */
    --bg-card: rgba(15, 15, 15, 0.6);
    /* Dark frosted glass */
    --bg-card-hover: rgba(25, 25, 25, 0.8);

    /* Aggressive Tech Accents */
    --primary-accent: #ff6b00;
    /* Volumetric fiery orange */
    --primary-accent-hover: #ffa600;
    /* Bright plasma yellow */
    --secondary-accent: #ffaa00;
    /* Cyber gold */

    /* Futuristic Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    --secondary-gradient: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    --accent-glow: rgba(255, 107, 0, 0.4);
    --secondary-glow: rgba(255, 170, 0, 0.4);

    /* Text */
    --text-main: #f0f0f0;
    /* Crisp white */
    --text-muted: #888888;
    /* Tech grey */

    /* Sci-Fi Glass Variables */
    --glass-bg: rgba(10, 10, 10, 0.5);
    --glass-border: rgba(255, 107, 0, 0.2);
    --border-subtle: rgba(255, 255, 255, 0.03);
    --glass-highlight: rgba(255, 170, 0, 0.15);

    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    --glass-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
    --glossy-glow: 0 0 30px rgba(255, 107, 0, 0.5);
    --neon-box-shadow: 0 0 5px var(--accent-glow);

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'Space Mono', monospace;

    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
}

/* Base Reset & Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- Parallax 3D Setup --- */
.parallax-wrapper {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    perspective: 10px;
    /* The core of CSS 3D parallax */
    transform-style: preserve-3d;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.parallax-bg {
    transform: translateZ(-20px) scale(3.5);
    background: radial-gradient(circle at 50% 10%, #1a0a00 0%, #050505 50%, #020202 100%);
    z-index: -2;
    min-height: 100vh;
}

.parallax-foreground {
    transform: translateZ(0);
    /* Normal layer */
    position: relative;
    z-index: 1;
}

/* Ambient glowing dust (cinematic particles) */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    transform: translateZ(0);
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.text-gradient {
    color: var(--primary-accent);
}

.text-accent {
    color: var(--primary-accent);
}

a {
    color: var(--primary-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-accent);
    text-shadow: 0 0 8px var(--secondary-glow);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- Ultra Premium Space/3D Opening Animation --- */
#premium-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    background: transparent;
    perspective: 1200px;
    /* Add 3D perspective to the container */
}

/* The two dark curtains acting as 3D Hangar Doors */
#premium-loader .curtain {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50vh;
    background-color: var(--bg-darker);
    z-index: 1;
    transform-origin: top;
    transition: transform 1.5s cubic-bezier(0.77, 0, 0.175, 1);
    backface-visibility: hidden;
}

#premium-loader .curtain.top {
    top: 0;
    transform-origin: top;
    border-bottom: 2px solid var(--primary-accent);
    box-shadow: 0 4px 20px var(--accent-glow);
}

#premium-loader .curtain.bottom {
    bottom: 0;
    transform-origin: bottom;
    border-top: 2px solid var(--primary-accent);
    box-shadow: 0 -4px 20px var(--accent-glow);
}

/* Hangar Door Swing Open */
#premium-loader.loaded .curtain.top {
    transform: rotateX(90deg);
}

#premium-loader.loaded .curtain.bottom {
    transform: rotateX(-90deg);
}

/* Once fully loaded, hide loader so we can click through */
#premium-loader.hidden {
    display: none;
}

.loader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateZ(-500px) scale(0.5);
    /* Start deeply zoomed out */
    transition: opacity 0.5s ease, transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Loader moves into view while loading, then disappears */
.loader-content.zoomed-in {
    transform: translateZ(0) scale(1);
}

#premium-loader.loaded .loader-content {
    opacity: 0;
    transform: translateZ(500px) scale(1.5);
    /* Fly past the screen */
}

.loader-info-wrapper {
    display: grid;
    grid-template-areas: "center";
    place-items: center;
    height: 120px;
}

.loader-counter {
    grid-area: center;
    font-family: var(--font-mono);
    font-size: 6rem;
    font-weight: 200;
    color: var(--text-main);
    letter-spacing: -2px;
    margin: 0;
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.loader-logo {
    grid-area: center;
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: 0.2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    margin: 0;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.loader-bar-container {
    width: 250px;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    margin-top: 1rem;
}

.loader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--primary-gradient);
    box-shadow: 0 0 15px var(--accent-glow);
    transition: width 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    .loader-counter {
        font-size: 4rem;
    }

    .loader-logo {
        font-size: 2.8rem;
    }

    .loader-bar-container {
        width: 180px;
    }
}

/* --- Space Glass System --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(203, 166, 247, 0.2);
    border-left: 1px solid rgba(203, 166, 247, 0.1);
    border-radius: 1.25rem;
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.05);
    /* Softer, elegant shadow */
    padding: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
    transform-style: preserve-3d;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0),
            rgba(203, 166, 247, 0.1),
            transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.glass-panel:hover::before {
    opacity: 1;
}

.glass-panel:hover {
    box-shadow: 0 15px 50px 0 rgba(0, 0, 0, 0.4), var(--glossy-glow);
    border-color: rgba(203, 166, 247, 0.3);
    border-right-color: rgba(250, 200, 206, 0.2);
    border-bottom-color: rgba(250, 200, 206, 0.2);
}

/* Base tilt elements inside panel */
.glass-panel>* {
    transform: translateZ(30px);
}

/* Grayscale Image Utility */
.img-grayscale {
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.img-grayscale:hover {
    filter: grayscale(0%);
}

/* --- The Neon System --- */

.glossy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2.5rem;
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--primary-accent);
    background: transparent;
    border: 1px solid var(--primary-accent);
    border-radius: 4px;
    /* Harder sci-fi edges */
    box-shadow: var(--neon-box-shadow);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    z-index: 1;
}

.glossy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-accent);
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.glossy-btn:hover {
    color: #000;
    box-shadow: 0 0 20px var(--primary-accent), 0 0 40px var(--primary-accent);
}

.glossy-btn:hover::before {
    width: 100%;
}

.glossy-btn-secondary {
    color: var(--secondary-accent);
    border-color: var(--secondary-accent);
    box-shadow: 0 0 5px var(--secondary-glow), inset 0 0 5px var(--secondary-glow);
}

.glossy-btn-secondary::before {
    background: var(--secondary-accent);
}

.glossy-btn-secondary:hover {
    box-shadow: 0 0 20px var(--secondary-accent), 0 0 40px var(--secondary-accent);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-md) 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.3s ease;
}

.navbar.nav-hidden {
    transform: translateY(-100%);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-accent);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* --- Scroll Animations --- */
.animate-on-scroll {
    opacity: 0;
    /* Soft cinematic entrance */
    transform: translateY(40px) translateZ(-50px);
    transform-origin: center top;
    transition: opacity 1.5s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

/* Stagger delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* --- Text Cinematic Glow & 3D Imaging classes --- */
.cinematic-glow {
    animation: cinematic-pulse 4s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes cinematic-pulse {
    0% {
        text-shadow: 0 0 5px var(--accent-glow), 0 0 10px var(--accent-glow);
        transform: translateZ(10px) scale(1);
    }

    100% {
        text-shadow: 0 0 10px var(--primary-accent), 0 0 20px var(--primary-accent), 0 0 30px var(--secondary-accent);
        transform: translateZ(20px) scale(1.02);
    }
}

.img-3d-float {
    animation: float-3d 6s infinite alternate ease-in-out;
    transform-style: preserve-3d;
}

@keyframes float-3d {
    0% {
        transform: perspective(800px) translateZ(10px) rotateX(2deg) rotateY(-2deg);
    }

    100% {
        transform: perspective(800px) translateZ(30px) rotateX(-2deg) rotateY(2deg);
    }
}

/* --- Social Icons & Developer Theme --- */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    font-size: 1.25rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--primary-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--glossy-glow);
}

.dev-text {
    font-family: var(--font-mono);
    color: #4facfe;
    font-size: 0.9em;
}

.devicon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
}

.devicon-item i {
    font-size: 3.5rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.devicon-item span {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.devicon-item:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 107, 0, 0.3);
}

.devicon-item:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px currentColor);
}

.devicon-item:hover span {
    color: var(--text-main);
}

/* Responsive adjustments */
/* Mobile (<= 480px) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .section {
        padding: 3rem 0;
    }

    .social-links {
        justify-content: center;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    /* Reduce 3D Intensity for Mobile */
    .animate-on-scroll {
        transform: perspective(600px) rotateX(-5deg) translateY(20px) translateZ(-10px);
    }

    .cinematic-glow {
        animation: cinematic-pulse-mobile 4s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    }
}

@keyframes cinematic-pulse-mobile {
    0% {
        text-shadow: 0 0 3px var(--accent-glow), 0 0 6px var(--accent-glow);
        transform: translateZ(5px) scale(1);
    }

    100% {
        text-shadow: 0 0 6px var(--primary-accent), 0 0 12px var(--primary-accent), 0 0 20px var(--secondary-accent);
        transform: translateZ(10px) scale(1.01);
    }
}

/* Tablet (<= 768px) */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .navbar .container {
        position: relative;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;

        /* Hidden state */
        opacity: 0;
        visibility: hidden;
        clip-path: circle(0% at top right);
        transition: all 0.5s cubic-bezier(0.86, 0, 0.07, 1);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        clip-path: circle(150% at top right);
    }

    .nav-link {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 2px;
        position: relative;
        padding: 0.5rem 1rem;
        transition: all 0.3s ease;
        display: inline-block;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 4px;
        background: var(--primary-gradient);
        transition: width 0.3s ease;
        border-radius: 4px;
    }

    .nav-link:hover,
    .nav-link.active {
        color: white;
        text-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
        background: transparent;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
        display: block;
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--primary-accent);
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--primary-accent);
    }

    .section {
        padding: 4rem 0;
    }

    h1 {
        font-size: 2.5rem !important;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    /* Ensure the button container is also centered on mobile/tablet */
    .hero-content>div[style*="display: flex"] {
        justify-content: center;
    }

    /* Reduce 3D Intensity for Tablet */
    .img-3d-float {
        animation: float-3d-tablet 6s infinite alternate ease-in-out;
    }

    /* Reduce Hangar Door Depth */
    #premium-loader .loader-content {
        transform: translateZ(-300px) scale(0.6);
    }
}

@keyframes float-3d-tablet {
    0% {
        transform: perspective(600px) translateZ(5px) rotateX(1deg) rotateY(-1deg);
    }

    100% {
        transform: perspective(600px) translateZ(15px) rotateX(-1deg) rotateY(1deg);
    }
}

/* Laptop (<= 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* TV (> 1920px) */
@media (min-width: 1921px) {
    .container {
        max-width: 1600px;
    }

    html {
        font-size: 18px;
    }
}

/* --- Cinematic Animated 3D Footer --- */
.animated-footer {
    position: relative;
    margin-top: auto;
    background: transparent;
    border-top: 1px solid var(--border-subtle);
    padding-top: 0;
    overflow: hidden;
    transform-style: preserve-3d;
    z-index: 10;
}

/* Ambient Radial Core (Lighting) */
.footer-glow-orb {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(255, 107, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: orb-pulse 8s infinite alternate ease-in-out;
}

@keyframes orb-pulse {
    0% {
        transform: translateX(-50%) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translateX(-50%) scale(1.1);
        opacity: 1;
    }
}

/* 1. Infinite Marquee Strip */
.marquee-container {
    background: var(--primary-gradient);
    padding: 0.75rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-bottom: 1px solid rgba(255, 107, 0, 0.5);
    transform: translateZ(10px);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.2);
}

.marquee-content {
    display: inline-block;
    animation: marquee-scroll 20s linear infinite;
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 1.25rem;
    color: #000;
    letter-spacing: 2px;
}

/* Duplicate content inside for seamless loop */
.marquee-content span {
    margin: 0 2rem;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 2. Content Grid */
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    position: relative;
    z-index: 1;
    transform: translateZ(30px);
}

.footer-brand h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    text-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

/* 3. 3D Tilt Navigation Cards */
.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.nav-tilt-card {
    background: rgba(15, 15, 15, 0.4);
    border: 1px solid var(--border-subtle);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.nav-tilt-card i {
    margin-right: 0.5rem;
    color: var(--primary-accent);
    transition: transform 0.3s ease;
}

.nav-tilt-card:hover {
    color: var(--text-main);
    border-color: rgba(255, 107, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2);
}

.nav-tilt-card:hover i {
    transform: translateX(5px);
    text-shadow: 0 0 10px var(--primary-accent);
}

/* 4. Magnetic Social Orbs */
.social-links-grid {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.social-orb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-orb::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: var(--primary-accent);
    border-radius: 50%;
    transition: transform 0.4s ease;
    z-index: -1;
}

.social-orb:hover {
    color: #000;
    border-color: var(--primary-accent);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.6);
    transform: translateY(-10px) scale(1.1);
}

.social-orb:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .social-links-grid {
        justify-content: center;
    }
}