/* ============================================
   A//INITIS - Premium Portfolio Design System
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Color Palette - Dark Warm Red */
    --bg-primary: #0f0808;
    --bg-secondary: #1a0f0f;
    --bg-tertiary: #2a1515;
    --bg-gradient: linear-gradient(135deg, #0f0808 0%, #2a1515 50%, #0f0808 100%);

    /* Accent Colors - Warm Reds */
    --accent-primary: #c44536;
    --accent-secondary: #8b2500;
    --accent-tertiary: #5c1a0a;
    --accent-gradient: linear-gradient(135deg, #c44536 0%, #8b2500 50%, #5c1a0a 100%);
    --accent-glow: 0 0 40px rgba(196, 69, 54, 0.4);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.45);
    --text-accent: var(--accent-primary);

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.06);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(196, 69, 54, 0.2);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
}

/* Selection */
::selection {
    background: var(--accent-primary);
    color: white;
}

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

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--text-primary);
}

/* ---------- Utility Classes ---------- */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: var(--transition-base);
}

.glass-card:hover {
    background: var(--glass-hover);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
    position: relative;
}

.section-title h2 {
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(247, 37, 133, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(247, 37, 133, 0.6);
    }
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

/* Animation Utility Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.animate-on-scroll.from-left {
    transform: translateX(-60px);
}

.animate-on-scroll.from-left.visible {
    transform: translateX(0);
}

.animate-on-scroll.from-right {
    transform: translateX(60px);
}

.animate-on-scroll.from-right.visible {
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

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

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

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) var(--space-md);
    transition: var(--transition-base);
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

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

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: var(--transition-base);
}

.nav-toggle:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--accent-glow);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform-origin: center;
}

/* Mobile Navigation */
@media (max-width: 768px) {

    /* Full-screen overlay menu */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-lg);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: none;
    }

    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background:
            radial-gradient(ellipse 80% 50% at 20% 30%, rgba(196, 69, 54, 0.2), transparent),
            radial-gradient(ellipse 60% 40% at 80% 70%, rgba(139, 37, 0, 0.15), transparent);
        animation: gradientMove 10s ease infinite;
        background-size: 200% 200%;
        pointer-events: none;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    /* Enhanced nav links for mobile */
    .nav-menu .nav-link {
        font-size: 2rem;
        font-weight: 700;
        color: var(--text-primary);
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.4s ease;
        position: relative;
        padding: var(--space-sm) var(--space-md);
    }

    .nav-menu.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation delays */
    .nav-menu.active li:nth-child(1) .nav-link {
        transition-delay: 0.1s;
    }

    .nav-menu.active li:nth-child(2) .nav-link {
        transition-delay: 0.15s;
    }

    .nav-menu.active li:nth-child(3) .nav-link {
        transition-delay: 0.2s;
    }

    .nav-menu.active li:nth-child(4) .nav-link {
        transition-delay: 0.25s;
    }

    .nav-menu.active li:nth-child(5) .nav-link {
        transition-delay: 0.3s;
    }

    /* Hover effect for mobile nav links */
    .nav-menu .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 3px;
        background: var(--accent-gradient);
        border-radius: var(--radius-full);
        transition: width 0.3s ease;
    }

    .nav-menu .nav-link:hover::before,
    .nav-menu .nav-link:focus::before {
        width: 100%;
    }

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

    /* Hamburger button visible on mobile */
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    /* Animated X when active */
    .nav-toggle.active {
        background: var(--glass-hover);
        border-color: var(--accent-primary);
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-6px);
    }
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: var(--space-xl) var(--space-md);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(10, 10, 15, 0.7) 0%,
            rgba(10, 10, 15, 0.5) 50%,
            rgba(10, 10, 15, 0.95) 100%);
    display: none;
}

/* Mesh Gradient Background */
.hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(247, 37, 133, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(114, 9, 183, 0.15), transparent),
        radial-gradient(ellipse 50% 30% at 50% 80%, rgba(58, 12, 163, 0.1), transparent);
    animation: gradientMove 15s ease infinite;
    background-size: 200% 200%;
    display: none;
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: var(--space-sm);
    line-height: 1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: var(--space-lg);
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 60px rgba(196, 69, 54, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: var(--glass-bg);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: float 2s ease-in-out infinite;
}

.scroll-indicator-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: var(--radius-full);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

/* ---------- Section Styling ---------- */
.section {
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.section-dark {
    background: var(--bg-primary);
}

.section-gradient {
    background: var(--bg-gradient);
}

.section-mesh {
    position: relative;
}

.section-mesh::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 50% 30% at 10% 20%, rgba(196, 69, 54, 0.08), transparent),
        radial-gradient(ellipse 40% 30% at 90% 80%, rgba(139, 37, 0, 0.08), transparent);
    pointer-events: none;
}

/* ---------- Portfolio Section ---------- */
.portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

/* Main portfolio item - full width showcase */
.portfolio-item {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    padding: var(--space-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    overflow: hidden;
    position: relative;
    /* CSS variables for mouse position, set via JS */
    --mouse-x: 50%;
    --mouse-y: 50%;
}

/* Mouse-following spotlight glow effect */
.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
            rgba(196, 69, 54, 0.15),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.portfolio-item:hover::before {
    opacity: 1;
}

/* Ensure content stays above the glow */
.portfolio-item>* {
    position: relative;
    z-index: 1;
}

.portfolio-item:nth-child(even) {
    grid-template-columns: 1fr 1.2fr;
}

.portfolio-item:nth-child(even) .portfolio-gallery {
    order: 2;
}

.portfolio-item:nth-child(even) .portfolio-content {
    order: 1;
}

.portfolio-item:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

/* Image Gallery - Stacked 3D Effect */
.portfolio-gallery {
    position: relative;
    height: 400px;
    perspective: 1000px;
}

.gallery-main {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    z-index: 3;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-item:hover .gallery-main img {
    transform: scale(1.05);
}

/* Stacked background images */
.gallery-stack {
    position: absolute;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    /* Smooth, organic transition for the sliding effect */
    transition:
        transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.4s ease,
        z-index 0s 0.3s,
        box-shadow 0.4s ease;
}

.gallery-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-stack-1 {
    width: 45%;
    height: 55%;
    bottom: -10%;
    right: -8%;
    z-index: 2;
    transform: rotate(6deg) translate(0, 0);
    opacity: 0.9;
    transform-origin: bottom right;
}

.gallery-stack-2 {
    width: 25%;
    height: 70%;
    top: -8%;
    right: -5%;
    z-index: 1;
    transform: rotate(-4deg) translate(0, 0);
    opacity: 0.85;
    aspect-ratio: 9/16;
    transform-origin: top right;
}

/* Hover state: Images slide out and layer on top */
.portfolio-item:hover .gallery-stack-1 {
    /* Slide diagonally outward (right and down) then pop on top */
    transform: rotate(10deg) translate(35px, 25px) scale(1.08);
    opacity: 1;
    z-index: 5;
    box-shadow:
        var(--shadow-lg),
        0 0 30px rgba(196, 69, 54, 0.3);
    transition:
        transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.4s ease,
        z-index 0s 0s,
        box-shadow 0.4s ease;
}

.portfolio-item:hover .gallery-stack-2 {
    /* Slide diagonally outward (right and up) then pop on top */
    transform: rotate(-8deg) translate(30px, -30px) scale(1.08);
    opacity: 1;
    z-index: 4;
    box-shadow:
        var(--shadow-lg),
        0 0 25px rgba(196, 69, 54, 0.25);
    transition:
        transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.4s ease,
        z-index 0s 0s,
        box-shadow 0.4s ease;
}

/* Subtle scale on stack images when hovered directly */
.gallery-stack:hover img {
    transform: scale(1.05);
}

/* Gallery overlay for main image */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(15, 8, 8, 0.2) 60%,
            rgba(15, 8, 8, 0.7) 100%);
    z-index: 1;
    pointer-events: none;
    transition: var(--transition-base);
}

.portfolio-item:hover .gallery-overlay {
    background: linear-gradient(180deg,
            rgba(196, 69, 54, 0.1) 0%,
            rgba(15, 8, 8, 0.1) 60%,
            rgba(15, 8, 8, 0.5) 100%);
}

/* Image navigation dots */
.gallery-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.gallery-dot.active,
.gallery-dot:hover {
    background: var(--accent-primary);
    transform: scale(1.3);
}

/* Portfolio Content */
.portfolio-content {
    padding: var(--space-sm);
}

.portfolio-title {
    font-size: 2rem;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
    font-weight: 700;
}

.portfolio-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.portfolio-title a:hover {
    color: var(--accent-primary);
}

.portfolio-subtitle {
    font-size: 1.1rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.portfolio-description {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.portfolio-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.feature-tag::before {
    content: '✦';
    color: var(--accent-primary);
    font-size: 0.65rem;
}

.portfolio-item:hover .feature-tag {
    border-color: rgba(196, 69, 54, 0.3);
    background: rgba(196, 69, 54, 0.1);
}

/* Tech Stack Icons */
.tech-stack {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.tech-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    font-size: 1.4rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.tech-icon:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.portfolio-link:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateX(8px);
}

.portfolio-link svg {
    width: 18px;
    height: 18px;
    transition: var(--transition-fast);
}

.portfolio-link:hover svg {
    transform: translateX(4px);
}

/* Responsive Portfolio */
@media (max-width: 1024px) {

    .portfolio-item,
    .portfolio-item:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .portfolio-item:nth-child(even) .portfolio-gallery,
    .portfolio-item:nth-child(even) .portfolio-content {
        order: unset;
    }

    .portfolio-gallery {
        height: 300px;
    }

    .gallery-stack-1,
    .gallery-stack-2 {
        display: none;
    }
}

@media (max-width: 640px) {
    .portfolio-item {
        padding: var(--space-md);
    }

    .portfolio-gallery {
        height: 250px;
    }

    .portfolio-title {
        font-size: 1.5rem;
    }
}

/* Keep old card style for compatibility */
.portfolio-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: var(--transition-base);
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.portfolio-image {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
}

.portfolio-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(15, 8, 8, 0.3) 50%,
            rgba(15, 8, 8, 0.9) 100%);
    transition: var(--transition-base);
}

.portfolio-card:hover .portfolio-image-overlay {
    background: linear-gradient(180deg,
            rgba(196, 69, 54, 0.15) 0%,
            rgba(15, 8, 8, 0.5) 50%,
            rgba(15, 8, 8, 0.95) 100%);
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.tech-tag {
    padding: 4px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    transition: var(--transition-fast);
}

.portfolio-card:hover .tech-tag {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.feature-item::before {
    content: '✦';
    color: var(--accent-primary);
    font-size: 0.7rem;
}

/* ---------- Audio Section ---------- */
.audio-section {
    background: var(--bg-secondary);
}

.audio-player-container {
    max-width: 900px;
    margin: 0 auto;
}

.audio-visualizer {
    height: 120px;
    margin-bottom: var(--space-md);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.audio-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.audio-time {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent-primary);
    text-align: center;
    margin-bottom: var(--space-md);
}

.playlist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-sm);
    list-style: none;
}

.playlist-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
}

.playlist-item:hover {
    background: var(--glass-hover);
    border-color: var(--accent-primary);
    transform: translateX(8px);
}

.playlist-item.playing {
    background: var(--accent-gradient);
    border-color: transparent;
}

.playlist-item.playing .track-title {
    color: white;
}

.track-title {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 1rem;
}

.play-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-bg);
    color: var(--accent-primary);
    transition: var(--transition-fast);
}

.playlist-item:hover .play-icon {
    background: var(--accent-primary);
    color: white;
}

.playlist-item.playing .play-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* ---------- Video Section ---------- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-md);
}

.video-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: var(--transition-base);
}

.video-card:hover {
    transform: scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.video-card:hover .video-thumbnail {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transition-base);
}

.video-card:hover .video-overlay {
    background: rgba(247, 37, 133, 0.2);
}

.video-play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--accent-glow);
    transition: var(--transition-bounce);
}

.video-card:hover .video-play-btn {
    transform: scale(1.15);
    box-shadow: 0 0 60px rgba(247, 37, 133, 0.6);
}

.video-play-btn svg {
    width: 28px;
    height: 28px;
    color: white;
    margin-left: 4px;
}

/* ---------- About Section ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    aspect-ratio: 4/5;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
    transition: var(--transition-base);
}

.about-image:hover::before {
    top: -10px;
    right: -10px;
}

.about-content h2 {
    margin-bottom: var(--space-sm);
}

.about-content p {
    margin-bottom: var(--space-md);
}

.skills-section {
    margin-top: var(--space-lg);
}

.skills-title {
    font-size: 1.2rem;
    color: var(--accent-primary);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.skill-tag {
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.skill-tag:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.languages-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xs);
}

.language-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) 0;
    color: var(--text-secondary);
}

.language-item::before {
    content: '→';
    color: var(--accent-primary);
}

.language-level {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ---------- Contact Section ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-info h2 {
    margin-bottom: var(--space-sm);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    transition: var(--transition-base);
}

.contact-item:hover .contact-icon {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

.contact-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-sm);
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(247, 37, 133, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23888'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

.btn-submit {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--accent-glow);
}

/* ---------- Footer ---------- */
.footer {
    padding: var(--space-lg) var(--space-md);
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-sm);
    list-style: none;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

/* ---------- Chat Button (Floating) ---------- */
.chat-fab {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--accent-glow);
    transition: var(--transition-bounce);
    z-index: 999;
}

.chat-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 0 60px rgba(247, 37, 133, 0.5);
}

.chat-fab svg {
    width: 28px;
    height: 28px;
    color: white;
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: var(--space-xl) 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    .playlist {
        grid-template-columns: 1fr;
    }

    .languages-list {
        grid-template-columns: 1fr;
    }
}

/* ---------- Icon Styling (DevIcons) ---------- */
.tech-icons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.tech-icons i {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    background: var(--glass-bg);
}

.tech-icons i:hover {
    color: var(--accent-primary);
    transform: translateY(-3px);
}

/* ---------- Loading States ---------- */
.skeleton {
    background: linear-gradient(90deg,
            var(--glass-bg) 25%,
            var(--glass-hover) 50%,
            var(--glass-bg) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ---------- Chat Widget ---------- */
.chat-widget {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    z-index: 9999;
    font-family: var(--font-primary);
}

.chat-widget .chat-fab {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--accent-glow);
    transition: var(--transition-bounce);
}

.chat-widget .chat-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 0 60px rgba(247, 37, 133, 0.5);
}

.chat-widget .chat-fab.active {
    transform: scale(0.9);
}

.chat-widget .chat-fab svg {
    width: 28px;
    height: 28px;
    color: white;
}

.chat-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
    display: none;
    animation: pulse 2s infinite;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 520px;
    max-height: calc(100vh - 120px);
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition-base);
    overflow: hidden;
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    padding: var(--space-md);
    background: var(--accent-gradient);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-shrink: 0;
}

.chat-header-content h3 {
    margin: 0;
    font-size: 1.2rem;
    color: white;
    font-weight: 700;
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #888;
    transition: var(--transition-fast);
}

.status-dot.connected {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.status-dot.disconnected {
    background: #ef4444;
}

.status-dot.connecting {
    background: #f59e0b;
    animation: pulse 1s infinite;
}

#statusText {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.chat-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-fast);
}

.chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.chat-form {
    padding: var(--space-md);
    height: 100%;
    overflow-y: auto;
}

.chat-form-intro {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
    text-align: center;
}

.chat-form .form-group {
    margin-bottom: var(--space-sm);
}

.chat-form .form-input,
.chat-form .form-textarea {
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    padding: 12px;
    font-size: 0.95rem;
}

.chat-form .form-textarea {
    min-height: 80px;
    resize: none;
}

.chat-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-top: var(--space-sm);
    text-align: center;
}

.chat-messages {
    flex: 1;
    padding: var(--space-md);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    gap: var(--space-sm);
}

.chat-messages.active {
    display: flex;
}

.chat-message {
    max-width: 85%;
    animation: fadeInUp 0.3s ease;
}

.chat-message.own {
    align-self: flex-end;
}

.chat-message.other {
    align-self: flex-start;
}

.chat-message.system {
    align-self: center;
    max-width: 100%;
}

.chat-message-bubble {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.chat-message.own .chat-message-bubble {
    background: var(--accent-gradient);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.other .chat-message-bubble {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.chat-message.system .chat-message-bubble {
    background: var(--glass-bg);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
    text-align: center;
    padding: 8px 16px;
}

.chat-message-info {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
    padding: 0 4px;
}

.chat-message.own .chat-message-info {
    text-align: right;
}

.chat-message-bubble a {
    color: inherit;
    text-decoration: underline;
}

.chat-message.own .chat-message-bubble a {
    color: white;
}

/* Image messages */
.chat-message.image-message .image-bubble {
    padding: 4px;
    background: var(--glass-bg);
}

.chat-image {
    max-width: 100%;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-base);
}

.chat-image.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    max-height: 90vh;
    z-index: 10001;
    border-radius: var(--radius-md);
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.8);
}

/* Typing indicator */
.typing-indicator {
    align-self: flex-start;
    display: none;
    padding: 4px 0;
}

.typing-indicator.active {
    display: block;
}

.typing-bubble {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    display: flex;
    gap: 4px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Chat input */
.chat-input-container {
    padding: var(--space-sm) var(--space-md);
    border-top: 1px solid var(--glass-border);
    background: var(--bg-primary);
    display: none;
}

.chat-input-container.active {
    display: block;
}

.chat-input-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-input-form .form-input {
    flex: 1;
    padding: 10px 14px;
    margin: 0;
}

.chat-file-btn,
.chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.chat-file-btn {
    background: var(--glass-bg);
    color: var(--text-muted);
}

.chat-file-btn:hover {
    background: var(--glass-hover);
    color: var(--accent-primary);
}

.chat-send-btn {
    background: var(--accent-gradient);
    color: white;
}

.chat-send-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--accent-glow);
}

/* Mobile responsive */
@media (max-width: 480px) {
    .chat-widget {
        bottom: var(--space-sm);
        right: var(--space-sm);
    }

    .chat-window {
        width: calc(100vw - 20px);
        height: calc(100vh - 100px);
        bottom: 70px;
        right: -10px;
        border-radius: var(--radius-md);
    }

    .chat-widget .chat-fab {
        width: 54px;
        height: 54px;
    }
}