/* Advanced Portfolio - Black & White Theme */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

:root {
    --primary: #ffffff;
    --primary-dark: #e5e5e5;
    --primary-light: #f5f5f5;
    --secondary: #d4d4d4;
    --accent: #ffffff;
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #121212;
    --text-primary: #ffffff;
    --text-secondary: #d4d4d4;
    --text-muted: #737373;
    --border: #1a1a1a;
    --glow: rgba(255, 255, 255, 0.5);
    --glow-strong: rgba(255, 255, 255, 0.8);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

::selection {
    background: white;
    color: black;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffffff, #a0a0a0);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffffff, #d0d0d0);
}

/* Enter Overlay */
#enter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Removed background: #000 to allow pseudo-element to show */
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
    overflow: hidden;
}

/* Background Image with Blur */
#enter-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; /* Fallback */
    background-image: url('https://cdn.discordapp.com/attachments/1442157040167424182/1462220795764936837/image.png?ex=696d66bc&is=696c153c&hm=f16463cb799ce7aef15ce6be49e4f4bfc62dd9f0ab4991856e3984fdccb1800e&');
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    opacity: 1; /* Made fully opaque as requested */
    z-index: -1;
}

#enter-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Zoom effect on the content when fading out */
#enter-overlay.fade-out .enter-content {
    transform: scale(1.5);
    opacity: 0;
}

.enter-content {
    text-align: center;
    animation: fadeIn 1s ease-out;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s;
    position: relative;
    z-index: 1;
}

.enter-logo {
    display: none; /* Removed as requested */
}

.enter-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.4);
    margin-right: -0.5em; /* Compensate for last letter spacing */
}

.enter-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    animation: pulse 2s infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    margin-right: -0.3em;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

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

/* Custom Cursor - Dot Style (No Crosshair) */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    margin-left: -4px;
    margin-top: -4px;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    /* Smoother transition for click scale */
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.cursor.click {
    /* Subtle scale up on click */
    transform: scale(0.5);
    opacity: 0.8;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    margin-left: -20px;
    margin-top: -20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    /* Added margin to transition to keep it centered during size change */
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                height 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                margin 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                background-color 0.3s,
                border-color 0.3s,
                box-shadow 0.3s;
}

.cursor-follower.click {
    width: 30px;
    height: 30px;
    margin-left: -15px;
    margin-top: -15px;
    border-color: white;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

a:hover ~ .cursor,
button:hover ~ .cursor,
.nav-link:hover ~ .cursor,
.btn:hover ~ .cursor {
    transform: scale(0.5);
    opacity: 0.5;
}

a:hover ~ .cursor-follower,
button:hover ~ .cursor-follower {
    width: 60px;
    height: 60px;
    margin-left: -30px;
    margin-top: -30px;
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Music Player */
.music-player {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
}

.music-player:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.player-content {
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.player-icon {
    width: 24px;
    height: 24px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s, transform 0.3s;
}

.icon-muted {
    display: none;
}

.music-player.muted .icon-playing {
    display: none;
}

.music-player.muted .icon-muted {
    display: block;
    color: #ef4444; /* Red color for muted state */
    animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.player-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
}

.player-visualizer span {
    width: 3px;
    background: white;
    border-radius: 3px;
    animation: visualize 1s ease-in-out infinite;
}

.music-player.muted .player-visualizer span {
    animation: none;
    height: 3px !important;
    background: #ef4444; /* Red visualizer when muted */
    opacity: 0.5;
}

.player-visualizer span:nth-child(1) { animation-delay: 0s; height: 6px; }
.player-visualizer span:nth-child(2) { animation-delay: 0.2s; height: 12px; }
.player-visualizer span:nth-child(3) { animation-delay: 0.4s; height: 8px; }
.player-visualizer span:nth-child(4) { animation-delay: 0.1s; height: 10px; }

@keyframes visualize {
    0%, 100% { height: 4px; }
    50% { height: 16px; }
}

.volume-container {
    width: 0; /* Hidden by default */
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0;
    transition: width 0.3s ease, padding 0.3s ease;
}

.music-player:hover .volume-container {
    width: 80px; /* Visible on hover */
    padding: 0 5px;
}

.volume-bar {
    width: 100%;
    height: 20px;
    display: flex;
    align-items: center;
    cursor: crosshair;
    position: relative;
}

.volume-bar::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.volume-level {
    height: 4px;
    background: white;
    border-radius: 2px;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

#youtube-player {
    display: none;
}

/* Particle Background */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.dev-icon {
    width: 24px;
    height: 24px;
    color: white;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
    transition: all 0.3s;
}

.nav-logo:hover .dev-icon {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.9));
    transform: translateY(-2px);
}

.logo-text {
    background: linear-gradient(135deg, #ffffff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 20px white, 0 0 40px white;
    animation: logoDotPulse 2s ease-in-out infinite;
}

@keyframes logoDotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, white, #808080);
    transition: width 0.3s;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: none;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 2rem 50px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, 50px) scale(1.1); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    animation: badgeFloat 3s ease-in-out infinite;
}

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

.badge-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 10px white; }
    50% { box-shadow: 0 0 20px white, 0 0 40px white; }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title span {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, white, #808080);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.8)); }
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: none;
    border: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, white, #808080);
    color: black;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
}

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

.btn-primary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

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

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

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

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, white, #808080);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.visual-card {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 100px rgba(255, 255, 255, 0.05);
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0.1;
    animation: cardGlowRotate 10s linear infinite;
}

@keyframes cardGlowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.code-preview {
    position: relative;
    z-index: 1;
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.code-dots .dot.red {
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
}

.code-dots .dot.yellow {
    background: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
}

.code-dots .dot.green {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.code-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.code-content {
    padding: 2rem 1.5rem;
}

.code-content pre {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

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

.keyword {
    color: #c678dd;
}

.class-name {
    color: #e5c07b;
}

.method {
    color: #61afef;
}

.string {
    color: #98c379;
}

.comment {
    color: #5c6370;
    font-style: italic;
}

.annotation {
    color: #e06c75;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: scrollBounce 2s ease-in-out infinite;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
    visibility: hidden;
}

.scroll-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.mouse-icon {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

/* Section Styling */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

/* Profile Section */
.profile-section {
    margin-bottom: 4rem;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.4s;
}

.profile-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.profile-image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 50%;
    animation: profileGlow 3s ease-in-out infinite;
}

@keyframes profileGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 20px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.profile-info h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, white, #808080);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-title {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.profile-description {
    color: var(--text-muted);
    line-height: 1.7;
}

/* About Section */
.about {
    background: linear-gradient(180deg, transparent, rgba(20, 20, 20, 0.3));
}

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

.about-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, white, #808080);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
}

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

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.about-card:hover .card-icon {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.card-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Projects, Skills, Contact sections - continuing with black/white theme */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: none;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 70px rgba(255, 255, 255, 0.15);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #1a1a1a;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    transition: all 0.3s;
}

.project-link:hover {
    background: #e0e0e0;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.project-link svg {
    width: 24px;
    height: 24px;
    color: black;
}

.project-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    transition: transform 0.6s;
}

.project-card:hover .project-bg {
    transform: scale(1.1);
}

.bg-coldsmp { background: linear-gradient(135deg, #404040, #2a2a2a); }
.bg-donutrtp { background: linear-gradient(135deg, #505050, #353535); }
.bg-primalsmp { background: linear-gradient(135deg, #454545, #303030); }
.bg-discord { background: linear-gradient(135deg, #3a3a3a, #252525); }
.bg-ultrahearts { background: linear-gradient(135deg, #484848, #333333); }
.bg-proximity { background: linear-gradient(135deg, #3f3f3f, #2b2b2b); }

.project-content {
    padding: 2rem;
}

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

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    color: white;
    font-weight: 500;
}

.project-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.project-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.project-tech span {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

/* Skills Section */
.skills {
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.2), transparent);
}

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

.skill-category {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s;
}

.skill-category:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.1);
}

.skill-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skill-item > span {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.skill-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, white, #808080);
    border-radius: 10px;
    position: relative;
    animation: skillLoad 2s ease-out forwards;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

@keyframes skillLoad {
    from { width: 0 !important; }
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: skillShimmer 2s infinite;
}

@keyframes skillShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
}

.contact-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin: 0 auto 1rem;
    transition: all 0.3s;
}

.contact-card:hover .contact-icon {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.contact-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.contact-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #a0a0a0;
}

.contact-form {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1), 0 0 20px rgba(255, 255, 255, 0.2);
}

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

.contact-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

/* Footer - Inspired by Example */
.footer {
    padding: 3rem 0 2rem;
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid var(--border);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-logo .dev-icon {
    width: 28px;
    height: 28px;
}

.footer-tagline {
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 400px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: white;
}

.footer-section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}

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

.footer-availability {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    color: #10b981;
}

.availability-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: availabilityPulse 2s ease-in-out infinite;
}

@keyframes availabilityPulse {
    0%, 100% { box-shadow: 0 0 10px #10b981; }
    50% { box-shadow: 0 0 20px #10b981, 0 0 30px #10b981; }
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s;
}

.social-link:hover {
    background: white;
    border-color: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: white;
}

.social-link:hover svg {
    color: black;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        order: -1;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right 0.4s;
        border-left: 1px solid var(--border);
    }

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

    .nav-toggle {
        display: flex;
    }

    .profile-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 1.5rem;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    body {
        cursor: auto;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }
}

/* AOS Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}
