/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-green: #00ff88;
    --accent-pink: #ff0080;
    --accent-blue: #00d4ff;
    --accent-purple: #9d4edd;
    --card-bg: rgba(20, 20, 30, 0.7);
    --card-border: rgba(255, 255, 255, 0.1);
    --gradient-1: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    --gradient-2: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    --gradient-3: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
    --gradient-4: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    --section-padding: clamp(60px, 10vw, 120px);
    --container-width: min(1400px, 90vw);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 400;
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-green);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    mix-blend-mode: difference;
    display: none;
}

.cursor-follower {
    position: fixed;
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    display: none;
}

@media (min-width: 1024px) {
    .cursor, .cursor-follower {
        display: block;
    }
}

/* ===== LOADING ANIMATION ===== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-text {
    font-size: clamp(24px, 5vw, 48px);
    font-weight: 900;
    margin-bottom: 40px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    overflow: hidden;
    animation: textShimmer 2s ease-in-out infinite alternate;
}

@keyframes textShimmer {
    0% {
        filter: hue-rotate(0deg);
        text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    }
    100% {
        filter: hue-rotate(90deg);
        text-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
    }
}

.loader-bar {
    width: min(300px, 80vw);
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    width: 0;
    background: var(--gradient-1);
    border-radius: 2px;
    animation: loadingBar 2s ease-in-out forwards;
}

@keyframes loadingBar {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: clamp(15px, 3vw, 25px) clamp(20px, 4vw, 60px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    padding: 12px clamp(20px, 4vw, 60px);
    background: rgba(10, 10, 10, 0.95);
}

.logo {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -1px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    padding: 5px 0;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover::after {
    transform: translateX(0);
}

.nav-links {
    display: flex;
    gap: clamp(15px, 2vw, 30px);
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(12px, 1.5vw, 14px);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--accent-green);
}

.nav-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== SECTIONS COMMON STYLES ===== */
section {
    padding: var(--section-padding) clamp(20px, 5vw, 40px);
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 900;
    margin-bottom: clamp(40px, 6vw, 80px);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -2px;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
}

/* ===== UPDATED HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.05;
    z-index: -2;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    animation: gridMove 40s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* ===== NEW HERO TITLE DESIGN ===== */
.hero-title-container {
    position: relative;
    display: inline-block;
    margin-bottom: clamp(20px, 4vw, 40px);
}

.hero-title {
    font-size: clamp(48px, 10vw, 120px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -3px;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.hero-title-main {
    display: block;
    color: var(--text-primary);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: titleRevealMain 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    transform: translateY(100%);
    opacity: 0;
    position: relative;
    text-shadow: 0 5px 15px rgba(0, 255, 136, 0.1);
}

.hero-title-sub {
    display: block;
    color: var(--text-primary);
    background: linear-gradient(135deg, #b0b0b0 0%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: titleRevealSub 1.2s cubic-bezier(0.77, 0, 0.175, 1) 0.4s forwards;
    transform: translateY(100%);
    opacity: 0;
    position: relative;
    text-shadow: 0 5px 15px rgba(255, 0, 128, 0.1);
}

@keyframes titleRevealMain {
    0% {
        transform: translateY(100%);
        opacity: 0;
        filter: blur(10px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes titleRevealSub {
    0% {
        transform: translateY(100%);
        opacity: 0;
        filter: blur(10px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
        filter: blur(0);
    }
}

/* ===== TITLE DECORATION ===== */
.hero-title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.decoration-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
    position: relative;
    overflow: hidden;
}

.decoration-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-pink), transparent);
    animation: slideLine 3s ease-in-out infinite;
}

.decoration-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    position: relative;
    animation: pulseDot 2s ease-in-out infinite;
}

.decoration-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--accent-green);
    animation: pulseRing 2s ease-in-out infinite;
}

@keyframes slideLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes pulseDot {
    0%, 100% { 
        transform: scale(1);
        background: var(--accent-green);
    }
    50% { 
        transform: scale(1.2);
        background: var(--accent-pink);
    }
}

@keyframes pulseRing {
    0%, 100% { 
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ===== TITLE GLOW EFFECT ===== */
.hero-title-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(0, 255, 136, 0.1) 0%,
        rgba(255, 0, 128, 0.05) 30%,
        transparent 70%
    );
    z-index: -1;
    opacity: 0;
    animation: glowIn 1.5s ease 0.8s forwards;
    pointer-events: none;
}

@keyframes glowIn {
    to { opacity: 1; }
}

/* ===== HOVER EFFECTS ===== */
.hero-title-main, .hero-title-sub {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.hero-title-container:hover .hero-title-main {
    transform: translateY(-5px);
    text-shadow: 
        0 10px 30px rgba(0, 255, 136, 0.3),
        0 0 0 var(--accent-green),
        0 0 10px rgba(0, 255, 136, 0.5);
    color: transparent;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-title-container:hover .hero-title-sub {
    transform: translateY(-5px);
    text-shadow: 
        0 10px 30px rgba(255, 0, 128, 0.3),
        0 0 0 var(--accent-pink),
        0 0 10px rgba(255, 0, 128, 0.5);
    color: transparent;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-title-container:hover .hero-title-glow {
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { 
        opacity: 0.5;
        filter: blur(20px);
    }
    50% { 
        opacity: 0.8;
        filter: blur(30px);
    }
}

.hero-title-container:hover .decoration-line::after {
    animation: slideLineFast 1s ease-in-out infinite;
}

@keyframes slideLineFast {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-tagline {
    font-size: clamp(18px, 3vw, 28px);
    color: var(--text-secondary);
    margin-bottom: clamp(30px, 5vw, 60px);
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease 1.2s forwards;
}

.hero-roles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: clamp(40px, 6vw, 80px);
    opacity: 0;
    animation: fadeUp 1s ease 1.5s forwards;
}

.role-chip {
    padding: 12px 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    font-size: clamp(14px, 1.8vw, 16px);
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.role-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0.2;
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.role-chip:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.role-chip:hover::before {
    left: 0;
}

/* ===== HERO BUTTONS - RESPONSIVE CENTERING ===== */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeUp 1s ease 1.8s forwards;
}

.btn {
    padding: clamp(14px, 2vw, 18px) clamp(30px, 4vw, 50px);
    font-size: clamp(14px, 1.8vw, 16px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-width: 200px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--bg-dark);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
}

.btn-secondary:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.btn-tertiary {
    background: transparent;
    color: var(--accent-purple);
    border: 2px solid var(--accent-purple);
    position: relative;
    overflow: hidden;
}

.btn-tertiary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(157, 78, 221, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-tertiary:hover {
    background: rgba(157, 78, 221, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent-purple);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.3);
}

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

.btn i {
    font-size: 16px;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.about-text {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-text strong {
    color: var(--accent-green);
    font-weight: 700;
}

.about-visual {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
    width: 100%;
}

.about-visual.visible {
    opacity: 1;
    transform: scale(1);
}

.visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0.3;
}

.visual-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px;
}

.visual-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    width: 100%;
    max-width: 300px;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-visual.visible .visual-item:nth-child(1) {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.4s;
}

.about-visual.visible .visual-item:nth-child(2) {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.6s;
}

.about-visual.visible .visual-item:nth-child(3) {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.8s;
}

.visual-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.visual-text {
    flex: 1;
    min-width: 0;
}

.visual-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--accent-green);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.visual-text p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-card {
    padding: clamp(30px, 4vw, 50px);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(50px);
    position: relative;
    overflow: hidden;
}

.skill-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.skill-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--accent-green);
    box-shadow: 0 30px 60px rgba(0, 255, 136, 0.2);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-icon {
    font-size: 60px;
    margin-bottom: 25px;
    display: inline-block;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.skill-card h3 {
    font-size: clamp(24px, 3vw, 28px);
    margin-bottom: 15px;
    color: var(--accent-green);
}

.skill-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: clamp(15px, 1.8vw, 17px);
}

/* ===== WORKS SECTION ===== */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
    gap: 30px;
    margin-top: 40px;
}

.work-item {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.work-item.visible {
    opacity: 1;
    transform: scale(1);
}

.work-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.8);
}

.work-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 20%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.6) 60%,
        rgba(0, 0, 0, 0.8) 80%,
        rgba(0, 0, 0, 0.95) 100%
    );
    z-index: 1;
}

.work-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    z-index: 2;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.work-item:hover .work-content {
    transform: translateY(0);
    opacity: 1;
}

.work-item:hover .work-image {
    transform: scale(1.1);
    filter: brightness(1);
}

.work-content h3 {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 10px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.work-content p {
    font-size: clamp(14px, 1.8vw, 16px);
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.work-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.work-tag {
    padding: 6px 12px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--accent-green);
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent-green);
    font-weight: 600;
}

/* ===== FIXED VIEW MORE BUTTON ===== */
.work-view-more {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--accent-green);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    z-index: 3;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    backdrop-filter: blur(5px);
}

.work-item:hover .work-view-more {
    opacity: 1;
    transform: translateY(0);
}

.work-view-more:hover {
    background: var(--gradient-1);
    color: var(--bg-dark);
    border-color: transparent;
    transform: translateY(0) scale(1.05);
}

/* ===== GALLERY MODAL ===== */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.gallery-container {
    width: 90%;
    max-width: 1200px;
    height: 80%;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-modal.active .gallery-container {
    transform: scale(1);
}

.gallery-header {
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-header h3 {
    font-size: clamp(24px, 4vw, 32px);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.close-gallery {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.close-gallery:hover {
    background: rgba(255, 255, 255, 0.1);
}

.gallery-content {
    padding: 30px;
    height: calc(100% - 120px);
    overflow-y: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    transition: transform 0.3s ease;
}

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

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-overlay h4 {
    color: var(--accent-green);
    margin-bottom: 5px;
}

.gallery-item-overlay p {
    color: var(--text-secondary);
    font-size: 12px;
}

/* ===== CONTACT SECTION ===== */
.contact-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 40px;
    margin-top: 60px;
}

.contact-item {
    padding: 30px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    text-align: center;
}

.contact-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-green);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h3 {
    font-size: 16px;
    color: var(--accent-green);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.contact-item p {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-primary);
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    padding: 0 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0);
}

.social-link.visible {
    opacity: 1;
    transform: scale(1);
}

.social-link:hover {
    background: var(--gradient-1);
    color: var(--bg-dark);
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

/* ===== FOOTER ===== */
footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===== ANIMATION UTILITIES ===== */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== DOWNLOAD TOAST ===== */
.download-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--card-bg);
    border: 1px solid var(--accent-green);
    border-radius: 10px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-green);
    font-size: 14px;
    font-weight: 600;
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-title {
        letter-spacing: -2px;
        font-size: clamp(40px, 10vw, 100px);
    }
    
    .about-content {
        gap: 50px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .hero-buttons {
        max-width: 800px;
    }
    
    .btn {
        min-width: 180px;
    }
    
    .decoration-line {
        width: 60px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 30px;
        gap: 25px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero {
        padding-top: 140px;
    }

    .hero-title {
        letter-spacing: -2px;
        font-size: clamp(40px, 12vw, 80px);
    }
    
    /* Hero buttons in column layout on mobile */
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        min-width: unset;
    }
    
    /* About visual improvements for mobile */
    .visual-content {
        padding: 20px;
        gap: 15px;
    }
    
    .visual-item {
        padding: 12px 15px;
        max-width: 280px;
    }
    
    .visual-icon {
        font-size: 24px;
    }
    
    .visual-text h4 {
        font-size: 15px;
    }
    
    .visual-text p {
        font-size: 12px;
    }
    
    .gallery-container {
        width: 95%;
        height: 90%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    /* Hero title adjustments for mobile */
    .hero-title-decoration {
        gap: 15px;
    }
    
    .decoration-line {
        width: 40px;
    }
    
    .decoration-dot {
        width: 6px;
        height: 6px;
    }
    
    .decoration-dot::before {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        letter-spacing: -1px;
        font-size: clamp(36px, 14vw, 60px);
    }
    
    .hero-title-main, .hero-title-sub {
        font-weight: 700;
    }

    .hero-roles {
        flex-direction: column;
        align-items: center;
    }

    .about-visual {
        height: 350px;
    }

    .visual-item {
        padding: 10px 12px;
    }
    
    /* Further mobile optimizations */
    .hero-buttons {
        max-width: 280px;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .about-visual {
        height: 320px;
    }
    
    .visual-content {
        padding: 15px;
    }
    
    .contact-info {
        gap: 20px;
    }
    
    .contact-item {
        padding: 20px 15px;
        min-height: 140px;
    }
    
    .contact-item p {
        font-size: 14px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    /* Hero title mobile optimizations */
    .hero-title-decoration {
        gap: 10px;
        margin-top: 10px;
    }
    
    .decoration-line {
        width: 30px;
    }
    
    .hero-title {
        gap: 2px;
    }
}

/* ===== UTILITY CLASSES ===== */
.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-center {
    text-align: center;
}