/* ==================== ANTI-COPY PROTECTION ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hide default cursor */
}

/* Custom Magnetic Cursor */
.cursor,
.cursor-follower {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.15s ease-out, width 0.3s ease, height 0.3s ease;
}

.cursor {
    width: 8px;
    height: 8px;
    background-color: #fff;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    transform: translate(-50%, -50%);
    transition: transform 0.3s cubic-bezier(0.75, -0.5, 0.25, 1.5), width 0.3s ease, height 0.3s ease;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Hide cursor on mobile */
@media (max-width: 768px) {
    * {
        cursor: auto !important;
    }
    .cursor,
    .cursor-follower {
        display: none;
    }
}

/* Disable text selection only for UI elements */
button, .nav-brand, img, canvas {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html {
    scroll-behavior: auto;
    scroll-padding-top: 80px;
}

/* Enhanced smooth scrolling */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: auto; /* We use custom smooth scroll instead */
    }
}

body {
    overscroll-behavior: smooth;
}

:root {
    /* Dark Mode Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-tertiary: #6b6b6b;
    --accent-primary: #ffffff;
    --accent-secondary: #333333;
    --border-color: #2a2a2a;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --glow-color: rgba(255, 255, 255, 0.1);
    
    /* Fonts */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

body.light-mode {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #ebebeb;
    --text-primary: #0a0a0a;
    --text-secondary: #4a4a4a;
    --text-tertiary: #7a7a7a;
    --accent-primary: #000000;
    --accent-secondary: #e0e0e0;
    --border-color: #d0d0d0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --glow-color: rgba(0, 0, 0, 0.05);
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition-smooth);
}

/* ==================== 3D BACKGROUND ==================== */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at center, transparent 0%, var(--bg-primary) 100%);
    pointer-events: none;
}

body.light-mode #bg-canvas {
    opacity: 0.3;
}

body.light-mode .bg-overlay {
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.5) 0%, var(--bg-primary) 100%);
}

/* ==================== TEXT PARTICLES CANVAS ==================== */
#text-particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    display: none; /* Hidden - using CSS animation instead */
}

/* Hero title smooth animation styles */
.hero-title {
    transition: none; /* Disable default transitions for smooth JS animation */
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.8);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 600;
}

.terminal-prompt {
    color: var(--text-secondary);
}

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

.nav-controls {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-mono);
    font-weight: 600;
}

.control-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
}

.control-btn svg {
    transition: var(--transition-fast);
}

body.dark-mode .sun-icon {
    display: none;
}

body.light-mode .moon-icon {
    display: none;
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 150vh; /* Taller for smooth scroll animation */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

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

/* Other hero elements should scroll normally */
.hero-badge,
.hero-subtitle,
.hero-description,
.hero-tags,
.profile-stats,
.hero-cta {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #50fa7b;
    animation: pulse 2s infinite;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: var(--font-mono);
    animation: fadeIn 1s ease-out 0.2s both;
}

.hero-title {
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    animation: fadeIn 1s ease-out 0.4s both;
    text-align: center;
    width: 100%;
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-family: var(--font-mono);
    line-height: 1.8;
    animation: fadeIn 1s ease-out 0.6s both;
}

.hero-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 0.8s both;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.hero-tag:hover {
    transform: translateY(-3px);
    border-color: var(--accent-primary);
    background: var(--bg-tertiary);
}

.hero-tag svg {
    color: var(--text-tertiary);
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 1s both;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-family: var(--font-mono);
    transition: var(--transition-smooth);
}

.stat-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.stat-badge svg {
    color: var(--text-secondary);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 1.2s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-mono);
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.cta-button.primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 2px solid var(--text-primary);
}

.cta-button.primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px var(--shadow-color);
}

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

.cta-button.secondary:hover {
    transform: translateY(-3px);
    border-color: var(--text-primary);
    background: var(--bg-secondary);
}

.cta-button svg {
    transition: var(--transition-fast);
}

.cta-button:hover svg {
    transform: translateX(5px);
}

.cta-button.secondary:hover svg {
    transform: scale(1.2);
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--text-tertiary);
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    white-space: nowrap;
}

.section-line {
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(90deg, var(--border-color) 0%, transparent 100%);
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    padding: 6rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-paragraph {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-list {
    list-style: none;
}

.about-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    font-size: 1.125rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.about-item:last-child {
    border-bottom: none;
}

.item-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.code-window {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.window-header {
    background: var(--bg-tertiary);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.window-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f56;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
}

.window-title {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.window-content {
    padding: 2rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.6;
    overflow-x: auto;
}

.code-keyword {
    color: #ff79c6;
}

.code-class {
    color: #8be9fd;
}

.code-string {
    color: #f1fa8c;
}

.code-function {
    color: #50fa7b;
}

body.light-mode .code-keyword {
    color: #d73a49;
}

body.light-mode .code-class {
    color: #005cc5;
}

body.light-mode .code-string {
    color: #22863a;
}

body.light-mode .code-function {
    color: #6f42c1;
}

/* ==================== PROJECTS SECTION ==================== */
.projects-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-color);
    border-color: var(--accent-primary);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.project-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.project-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #50fa7b;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.project-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    padding: 0.375rem 0.875rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.875rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

.project-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.project-meta {
    display: flex;
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.meta-item svg {
    color: var(--text-tertiary);
}

/* ==================== HERO SOCIAL LINKS ==================== */
.hero-social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* ==================== TECH BANNER IN HERO ==================== */
.tech-banner-hero {
    width: 100%;
    overflow: hidden;
    margin: 2rem 0;
    padding: 1.5rem 0;
    position: relative;
}

.tech-banner-hero .tech-banner-track {
    display: flex;
    gap: 3rem;
    animation: scroll-banner 25s linear infinite;
    width: fit-content;
}

.tech-banner-hero .tech-banner-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.tech-banner-hero .tech-banner-icon {
    width: 32px;
    height: 32px;
    filter: grayscale(100%) brightness(0.8);
    transition: var(--transition-smooth);
}

.tech-banner-hero .tech-banner-item:hover .tech-banner-icon {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

.tech-banner-hero .tech-banner-name {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.tech-banner-hero .tech-banner-item:hover .tech-banner-name {
    color: var(--text-primary);
}

.tech-banner-hero:hover .tech-banner-track {
    animation-play-state: paused;
}

/* ==================== PROFILE VIEWS CORNER ==================== */
.profile-views-corner {
    position: fixed;
    top: 100px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-primary);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.profile-views-corner:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.profile-views-corner svg {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .profile-views-corner {
        top: 80px;
        left: 10px;
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .profile-views-corner svg {
        width: 16px;
        height: 16px;
    }
    
    .hero-social-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link svg {
        width: 20px;
        height: 20px;
    }
}

/* ==================== AUTO-SCROLLING TECH BANNER ==================== */
.tech-banner {
    width: 100%;
    overflow: hidden;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.tech-banner-track {
    display: flex;
    gap: 4rem;
    animation: scroll-banner 30s linear infinite;
    width: fit-content;
}

.tech-banner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.tech-banner-icon {
    width: 40px;
    height: 40px;
    filter: grayscale(100%) brightness(0.8);
    transition: var(--transition-smooth);
}

.tech-banner-item:hover .tech-banner-icon {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

.tech-banner-name {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.tech-banner-item:hover .tech-banner-name {
    color: var(--text-primary);
}

/* Pause animation on hover */
.tech-banner:hover .tech-banner-track {
    animation-play-state: paused;
}

/* Scrolling animation */
@keyframes scroll-banner {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Light mode adjustments */
body.light-mode .tech-banner {
    background: var(--bg-secondary);
}

body.light-mode .tech-banner-icon {
    filter: grayscale(100%) brightness(0.3);
}

body.light-mode .tech-banner-item:hover .tech-banner-icon {
    filter: grayscale(0%) brightness(1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tech-banner {
        padding: 1.5rem 0;
    }

    .tech-banner-track {
        gap: 3rem;
        animation-duration: 20s;
    }

    .tech-banner-icon {
        width: 32px;
        height: 32px;
    }

    .tech-banner-name {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .tech-banner {
        padding: 1rem 0;
    }

    .tech-banner-track {
        gap: 2rem;
        animation-duration: 15s;
    }

    .tech-banner-icon {
        width: 28px;
        height: 28px;
    }

    .tech-banner-name {
        font-size: 0.75rem;
    }
}

/* ==================== TECH SECTION ==================== */
.tech-section {
    padding: 6rem 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
}

.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.tech-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px var(--shadow-color);
    border-color: var(--accent-primary);
}

.tech-icon {
    width: 60px;
    height: 60px;
    transition: var(--transition-smooth);
}

.tech-card:hover .tech-icon {
    transform: rotateY(360deg);
}

.tech-name {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text-primary);
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.contact-text {
    text-align: center;
    max-width: 600px;
}

.contact-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-methods {
    width: 100%;
    max-width: 600px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-smooth);
    text-decoration: none;
    color: inherit;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-color);
    border-color: #5865F2;
}

.discord-card:hover {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1) 0%, transparent 100%);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5865F2;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-info {
    flex-grow: 1;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-username {
    font-size: 1.25rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.contact-hint {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-style: italic;
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .navbar .container {
        padding: 1rem 1.5rem;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-tags {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .about-section,
    .projects-section,
    .tech-section,
    .contact-section {
        padding: 4rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .profile-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-badge {
        width: 100%;
        justify-content: center;
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .tech-card {
        padding: 1.5rem 1rem;
    }
    
    .tech-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
    }
    
    .hero-tags {
        gap: 0.5rem;
    }
    
    .hero-tag {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-number {
        font-size: 1.25rem;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
    }
    
    .window-content {
        font-size: 0.75rem;
        padding: 1rem;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section,
.projects-section,
.tech-section,
.contact-section {
    animation: fadeInUp 0.8s ease-out;
}

/* ==================== UTILITIES ==================== */
.text-gradient {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== GLITCH EFFECT ==================== */
.glitch {
    position: relative;
}

.glitch:hover {
    animation: glitch-animation 0.3s infinite;
}

@keyframes glitch-animation {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* ==================== SELECTION ==================== */
::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

::-moz-selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

/* ==================== SCROLL REVEAL ANIMATIONS ==================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reveal from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Reveal from right */
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Reveal with scale */
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delay for multiple elements */
.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal:nth-child(4) { transition-delay: 0.4s; }
.reveal:nth-child(5) { transition-delay: 0.5s; }
.reveal:nth-child(6) { transition-delay: 0.6s; }
