* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0a0a0a;
    --white: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --bg-dark: #0a0e1a;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--white);
    line-height: 1.6;
    text-transform: lowercase;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.animated-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(135deg, #0f172a 0%, var(--bg-dark) 50%, #111827 100%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    will-change: transform;
    transform: translateZ(0);
}

.orb-1 {
    top: -10%;
    left: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    animation: float-slow 8s ease-in-out infinite;
}

.orb-2 {
    top: 30%;
    right: 15%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.13) 0%, transparent 70%);
    animation: float-delayed 10s ease-in-out infinite;
}

.orb-3 {
    bottom: 10%;
    left: 25%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    animation: float-slow-reverse 9s ease-in-out infinite;
}

.orb-4 {
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    animation: float-center 12s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(30px, -30px, 0) scale(1.05);
    }
}

@keyframes float-delayed {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-40px, 25px, 0) scale(1.1);
    }
}

@keyframes float-slow-reverse {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-30px, -20px, 0) scale(1.08);
    }
}

@keyframes float-center {
    0%, 100% {
        transform: translate3d(-50%, -50%, 0) scale(1);
    }
    50% {
        transform: translate3d(-50%, -50%, 0) scale(1.05);
    }
}

.grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: grid-move 8s linear infinite;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

.particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
    animation: particle-float linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(0) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-120vh) translateX(50px) scale(0);
        opacity: 0;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    background: rgba(10, 14, 26, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, background;
    transform: translateZ(0);
}

.nav.scrolled {
    padding: 1.2rem 3rem;
    background: rgba(10, 14, 26, 0.85);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-logo {
    position: relative;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.05em;
    font-family: 'Space Grotesk', monospace;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-text {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo:hover .logo-text {
    transform: translateX(5px);
}

.logo-line {
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue) 0%, transparent 100%);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo:hover .logo-line {
    transform: scaleX(1);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    position: relative;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    transition: color 0.3s ease;
    overflow: hidden;
}

.link-text {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    display: inline-block;
}

.link-hover {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

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

.nav-link:hover .link-hover {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover .link-text {
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    margin-bottom: 3rem;
    animation: fadeSlideDown 1s ease-out 0.2s backwards;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 10px #22c55e;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.badge-text {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--white);
    font-weight: 500;
}

.hero-title {
    font-size: clamp(4rem, 18vw, 12rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 2rem;
    padding-bottom: 0.15em;
    font-family: 'Space Grotesk', monospace;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-blue) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeUp 1s ease-out 0.5s backwards;
}

.hero-subtitle-wrapper {
    animation: fadeSlideUp 1s ease-out 0.7s backwards;
}

.hero-tagline {
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    font-weight: 300;
    color: var(--gray-400);
    letter-spacing: 0.4em;
    margin-bottom: 1.5rem;
}

.tagline-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 3rem;
}

.deco-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.deco-dot {
    width: 4px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 50%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeSlideUp 1s ease-out 0.9s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: var(--white);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.5);
}

.btn-primary:hover svg {
    transform: rotate(15deg) scale(1.1);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-secondary:hover svg {
    transform: translateX(5px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeSlideUp 1s ease-out 1.1s backwards;
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', monospace;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-500);
    letter-spacing: 0.15em;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 1s ease-out 1.3s backwards;
}

.scroll-indicator span {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--gray-600);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-blue), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0%, 100% {
        opacity: 0;
        transform: scaleY(0);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.section-header {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.section-badge svg {
    width: 16px;
    height: 16px;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', monospace;
}

.section-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    margin: 0 auto;
}

.about {
    padding: 10rem 0;
    position: relative;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.8;
    color: var(--gray-300);
    text-transform: none;
}

.skills {
    padding: 10rem 0;
    position: relative;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.skill-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.6s ease;
    border-radius: 20px;
}

.skill-card:hover::before {
    opacity: 0.08;
}

.skill-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.skill-card:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.skill-glow {
    position: absolute;
    inset: -100px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.6s ease;
    filter: blur(40px);
}

.skill-card:hover .skill-glow {
    opacity: 0.15;
}

.skill-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
    color: var(--accent-blue);
    position: relative;
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-card:hover .skill-icon {
    transform: translateY(-10px) scale(1.1);
    color: var(--white);
}

.skill-icon svg {
    width: 100%;
    height: 100%;
}

.skill-title {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    color: var(--white);
}

.skill-card:hover .skill-title {
    transform: translateX(5px);
}

.skill-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-400);
    text-transform: none;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.skill-card:hover .skill-desc {
    color: var(--gray-300);
}

.works {
    padding: 10rem 0;
    position: relative;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.work-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    border-radius: 20px;
}

.work-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
}

.work-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-item:hover .work-image {
    transform: scale(1.15);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.95) 0%,
        rgba(139, 92, 246, 0.95) 100%
    );
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-info {
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-item:hover .work-info {
    transform: translateY(0);
}

.work-category {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.work-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.work-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.work-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.work-view {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.work-view:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.contact {
    padding: 10rem 0;
    position: relative;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--gray-400);
    text-transform: none;
    margin-bottom: 4rem;
}

.discord-copy {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.discord-copy::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.discord-copy:hover::before {
    opacity: 0.1;
}

.discord-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.discord-copy:hover .discord-shine {
    transform: rotate(45deg) translateX(100%);
}

.discord-copy:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
}

.discord-icon-wrapper {
    position: relative;
    z-index: 1;
}

.discord-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-blue);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.discord-copy:hover .discord-icon {
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.discord-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    position: relative;
    z-index: 1;
}

.discord-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.discord-handle {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--white);
    font-family: 'Space Grotesk', monospace;
    transition: transform 0.4s ease;
}

.discord-copy:hover .discord-handle {
    transform: translateX(5px);
}

.copy-hint {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--gray-600);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.discord-copy:hover .copy-hint {
    color: var(--gray-400);
}

.discord-copy.copied .copy-hint {
    color: #22c55e;
}

.footer {
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', monospace;
}

.footer-credit {
    font-size: 0.85rem;
    color: var(--gray-600);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.footer-credit span {
    color: var(--accent-blue);
    font-weight: 600;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--gray-700);
    letter-spacing: 0.1em;
}

.footer-powered {
    font-size: 0.75rem;
    color: var(--gray-600);
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

.footer-powered a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-powered a:hover {
    color: var(--accent-purple);
    text-decoration: underline;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.98);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-info {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1.5rem 2.5rem;
    background: rgba(10, 14, 26, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    min-width: 400px;
    max-width: 600px;
}

.lightbox-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0.5rem 0;
    font-family: 'Space Grotesk', monospace;
    letter-spacing: 0.05em;
}

.lightbox-description {
    font-size: 0.95rem;
    color: var(--gray-400);
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.lightbox-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-time {
    font-size: 0.85rem;
    color: var(--accent-blue);
    letter-spacing: 0.05em;
    font-weight: 500;
}

.lightbox-counter {
    font-size: 0.85rem;
    color: var(--gray-500);
    letter-spacing: 0.1em;
    font-family: 'Space Grotesk', monospace;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.close-line {
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.close-line:first-child {
    transform: rotate(45deg);
}

.close-line:last-child {
    transform: rotate(-45deg);
}

.lightbox-close:hover {
    background: var(--white);
    border-color: var(--white);
    transform: rotate(90deg);
}

.lightbox-close:hover .close-line {
    background: var(--black);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox-nav svg {
    width: 24px;
    height: 24px;
}

.lightbox-nav:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--black);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-400);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .nav {
        padding: 1.5rem 2rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 6rem 1.5rem 4rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

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

    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .work-overlay {
        padding: 1.5rem;
    }
    
    .work-title {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .work-description {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .work-time {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .work-view {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .discord-copy {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .discord-details {
        align-items: center;
    }

    .lightbox-info {
        min-width: auto;
        max-width: calc(100vw - 3rem);
        padding: 1.2rem 1.5rem;
        bottom: -100px;
    }
    
    .lightbox-title {
        font-size: 1.1rem;
    }
    
    .lightbox-description {
        font-size: 0.85rem;
    }
    
    .lightbox-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .lightbox-close,
    .lightbox-nav {
        width: 48px;
        height: 48px;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }
}

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

    .hero-tagline {
        letter-spacing: 0.2em;
    }
}
