/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --text-primary: #0a0a0a;
    --text-secondary: #6b7280;
    --text-accent: #3b82f6;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #3b82f6, #a855f7, #ec4899);
}

.dark {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ededed;
    --text-secondary: #9ca3af;
    --border-color: #374151;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: default;
}

body * {
    cursor: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

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

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.dark .navbar.scrolled {
    background: rgba(26, 26, 26, 0.8);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle, .mobile-toggle {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.theme-toggle:hover, .mobile-toggle:hover {
    background: var(--bg-tertiary);
}

.mobile-toggle {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 64px;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.hero-container {
    text-align: center;
    z-index: 1;
    position: relative;
    transform-style: preserve-3d;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    border: 2px solid #3b82f6;
    color: #3b82f6;
}

.btn-secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--text-secondary);
    font-size: 2rem;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.hero-bg::before {
    background: #3b82f6;
    top: 25%;
    left: 25%;
}

.hero-bg::after {
    background: #a855f7;
    bottom: 25%;
    right: 25%;
    animation-delay: 3s;
}

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

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

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
}

.text-accent {
    color: var(--text-accent);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.placeholder-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: var(--gradient-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: bold;
    color: white;
    box-shadow: var(--shadow-lg);
}

.profile-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-card {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-accent);
}

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

/* Skills Section */
.skills-section {
    position: relative;
}

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

.skill-card {
    background: var(--bg-secondary);
    padding: 0;
    border-radius: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    min-height: 420px;
    height: fit-content;
    overflow: visible;
    border: 1px solid transparent;
    position: relative;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--text-accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--text-accent);
}

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

.skill-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 2rem 1.5rem;
    border-bottom: 2px solid var(--bg-primary);
    background: linear-gradient(180deg, var(--bg-primary), transparent);
    flex-shrink: 0;
}

.skill-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

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

.skill-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.skill-count {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    background: var(--bg-primary);
    padding: 0.35rem 1rem;
    border-radius: 2rem;
}

.skill-list {
    list-style: none;
    padding: 1.5rem 2rem;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    flex: 1 1 auto;
}

.visible-skills {
    padding-bottom: 0.5rem;
}

.hidden-skills {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-top: 0;
    padding-bottom: 0;
}

.skill-card.expanded .hidden-skills {
    padding-bottom: 0.5rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    background: var(--bg-primary);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
    border: 1px solid transparent;
}

.skill-item i {
    font-size: 1.1rem;
    min-width: 20px;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateX(5px);
    background: var(--bg-secondary);
    border-color: var(--text-accent);
}

.skill-item:hover i {
    transform: scale(1.2);
}

.skill-expand-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    background: var(--bg-primary);
    color: var(--text-accent);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border-top: 2px solid var(--bg-secondary);
}

.skill-expand-btn:hover {
    background: var(--text-accent);
    color: white;
}

.expand-icon {
    transition: transform 0.3s ease;
    font-size: 0.85rem;
}

.skill-card.expanded .expand-icon {
    transform: rotate(180deg);
}

/* Dark mode adjustments */
body.dark-mode .skill-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .skill-card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-card {
        min-height: auto;
    }
    
    .skill-list {
        grid-template-columns: 1fr;
        padding: 1rem 1.5rem;
    }
    
    .skill-card-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .skill-icon {
        width: 4rem;
        height: 4rem;
        font-size: 2rem;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1201px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--bg-primary);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    transform-style: preserve-3d;
    position: relative;
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
}

.project-image {
    height: 250px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    transition: transform 0.3s ease;
    transform: translateZ(30px);
    overflow: hidden;
    position: relative;
    background: #ffffff;
}

.project-image img.project-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    position: absolute;
    inset: 0;
    background: #ffffff;
}

.project-placeholder {
    font-size: 5rem;
    z-index: 1;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-category {
    font-size: 0.75rem;
    color: var(--text-accent);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.project-tag {
    padding: 0.25rem 0.5rem;
    background: var(--bg-secondary);
    border-radius: 9999px;
    font-size: 0.75rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--text-accent);
}

/* Hobbies Section */
.gamepad-icon {
    text-align: center;
    font-size: 4rem;
    color: var(--text-accent);
    margin-bottom: 2rem;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.game-card {
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.game-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: var(--shadow-lg);
}

.game-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce-subtle 2s ease-in-out infinite;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

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

.game-name {
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-top: 0.5rem;
}

.interests-section {
    margin-top: 4rem;
    text-align: center;
}

.interests-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.interests-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.interest-tag {
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: 9999px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.interest-tag:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Blog Section */
.blog-section {
    background: var(--bg-primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--bg-secondary);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.blog-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-card:hover .blog-image::after {
    opacity: 1;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-category {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-accent);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-title {
    font-size: 1.375rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--text-accent);
}

.blog-excerpt {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-accent);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-card:hover .blog-read-more {
    gap: 0.75rem;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.blog-tag {
    padding: 0.25rem 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background: var(--text-accent);
    color: white;
}

.blog-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ========================================
   PROUD MOMENTS SECTION
   ======================================== */

.proud-moments-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

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

.moment-card {
    background: var(--bg-primary);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
    cursor: pointer;
}

.moment-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px) scale(1.02);
}

.moment-image {
    height: 300px;
    background: linear-gradient(135deg, 
        var(--gradient-primary), 
        rgba(59, 130, 246, 0.8),
        rgba(168, 85, 247, 0.8)
    );
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
}

.moment-image img.moment-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #ffffff;
}

.moment-image::before {
    content: none;
}

.moment-badge {
    display: none;
}

.moment-badge:empty {
    display: none;
}

@keyframes badge-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-10px) rotate(5deg) scale(1.05);
    }
}

.moment-overlay {
    display: none;
}

.moment-card:hover .moment-overlay {
    display: none;
}

.moment-content {
    padding: 2rem;
}

.moment-date {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--text-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.moment-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

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

.moment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.moment-tags .tag {
    padding: 0.4rem 0.9rem;
    background: var(--bg-tertiary);
    border-radius: 2rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.moment-card:hover .moment-tags .tag {
    background: var(--text-accent);
    color: white;
    border-color: var(--text-accent);
    transform: translateY(-2px);
}

/* Moments Stats Counter */
.moments-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--bg-primary);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
}

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

.stat-item::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-family: 'Segoe UI', sans-serif;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   RESUME SECTION
   ======================================== */

.resume-section {
    background: linear-gradient(135deg, 
        var(--bg-primary) 0%, 
        var(--bg-secondary) 50%,
        var(--bg-primary) 100%
    );
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.resume-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Animated Background Shapes */
.resume-bg-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.resume-shape-1,
.resume-shape-2,
.resume-shape-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: shape-float 8s ease-in-out infinite;
}

.resume-shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    top: -10%;
    right: -10%;
}

.resume-shape-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    bottom: -10%;
    left: -10%;
    animation-delay: 2s;
}

.resume-shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #10b981, #06b6d4);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes shape-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* Resume Card */
.resume-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: 2rem;
    padding: 4rem 3rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.dark .resume-card {
    background: rgba(26, 26, 26, 0.8);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Resume Icon */
.resume-icon-wrapper {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.resume-icon {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    animation: icon-bounce 2s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4);
}

.resume-icon i {
    font-size: 3.5rem;
    color: white;
}

@keyframes icon-bounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-5px) rotate(5deg);
    }
}

.icon-pulse {
    position: absolute;
    inset: -10px;
    border: 3px solid var(--text-accent);
    border-radius: 2rem;
    opacity: 0;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Resume Title */
.resume-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradient-shift-text 3s ease infinite;
}

@keyframes gradient-shift-text {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(20deg);
    }
}

.resume-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Feature Pills */
.resume-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: 2rem;
    border: 2px solid var(--border-color);
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: default;
}

.feature-pill:hover {
    background: var(--text-accent);
    color: white;
    border-color: var(--text-accent);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.feature-pill i {
    font-size: 1.1rem;
}

/* Resume Action Buttons */
.resume-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-resume-primary,
.btn-resume-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: 3rem;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-resume-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    border: none;
}

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

.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.7s ease;
}

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

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

.btn-resume-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--text-accent);
    color: var(--text-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Decorative Stats */
.resume-decorative-stats {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.deco-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.deco-line {
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Side Floating Elements */
.resume-side-elements {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 3;
}

.floating-doc {
    width: 80px;
    height: 100px;
    background: var(--bg-primary);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px solid var(--border-color);
    animation: doc-float 3s ease-in-out infinite;
    position: absolute;
    right: 0;
}

.floating-doc:nth-child(2) {
    animation-delay: 1s;
}

.floating-doc:nth-child(3) {
    animation-delay: 2s;
}

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

.floating-doc i {
    font-size: 2rem;
    color: var(--text-accent);
}

.floating-doc span {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-secondary);
}

/* ========================================
   BORED SECTION
   ======================================== */
.bored-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        var(--bg-primary) 0%, 
        var(--bg-secondary) 100%);
}

.bored-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.bored-emoji {
    font-size: 8rem;
    margin-bottom: 2rem;
    display: inline-block;
    animation: emoji-bounce 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.bored-emoji:hover {
    animation: emoji-spin 1s ease-in-out;
    transform: scale(1.2);
}

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

@keyframes emoji-spin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.3);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.bored-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.bored-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.bored-btn {
    display: inline-block;
    padding: 1.5rem 3rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

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

.bored-btn:hover::before {
    width: 400px;
    height: 400px;
}

.bored-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

.bored-btn span {
    position: relative;
    z-index: 1;
}

/* Background Shapes */
.bored-bg-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: shape-float 8s ease-in-out infinite;
}

.bored-bg-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.bored-bg-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: 10%;
    animation-delay: 2s;
}

.bored-bg-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes shape-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Section Hover Effects with Default Cursor */
body {
    cursor: default;
}

/* Cursor effects for different sections */
.hero {
    position: relative;
    overflow: hidden;
}

.hero:hover {
    cursor: pointer;
}

section {
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Subtle section hover - no visible effects */
.section:hover {
    transform: scale(1);
}

/* Section-specific subtle effects */
.about-section:hover,
.skills-section:hover,
.projects-section:hover,
.blog-section:hover,
.hobbies-section:hover,
.contact-section:hover {
    box-shadow: none;
}

/* Interactive elements cursor */
a, button, .project-card, .blog-card, .game-card, .skill-card {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Professional Liquid Glass Effect for Buttons Only */
.btn,
button,
.hero-buttons .btn,
.blog-cta .btn,
.contact-form button {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Liquid glass shimmer effect */
.btn::before,
button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.5) 50%,
        transparent 100%
    );
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 2;
}

.btn:hover::before,
button:hover::before {
    left: 100%;
}

/* Glassmorphism effect on button hover */
.btn:hover,
button:hover {
    transform: translateY(-2px);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    box-shadow: 
        0 12px 40px 0 rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Primary button enhanced glass effect */
.btn-primary {
    background: var(--text-accent);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: rgba(59, 130, 246, 0.85);
    box-shadow: 
        0 12px 40px 0 rgba(59, 130, 246, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 30px rgba(59, 130, 246, 0.3);
}

/* Secondary button enhanced glass effect */
.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-accent);
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 
        0 12px 40px 0 rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Contact form button */
.contact-form button:hover {
    background: rgba(59, 130, 246, 0.9);
    box-shadow: 
        0 12px 40px 0 rgba(59, 130, 246, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Remove card effects - keep them simple */
.project-card::before,
.blog-card::before,
.game-card::before,
.skill-card::before {
    display: none;
}

/* Simple card hover effects */
.project-card:hover,
.blog-card:hover,
.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.skill-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Ripple effect for sections */
.section-ripple {
    position: absolute;
    border-radius: 50%;
    background: var(--text-accent);
    opacity: 0.3;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    0% {
        width: 20px;
        height: 20px;
        opacity: 0.5;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* Enhanced Scrolling Effects */
.scroll-zoom {
    transition: transform 0.3s ease-out;
}

.scroll-rotate {
    transition: transform 0.6s ease-out;
}

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease-out;
}

.scroll-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease-out;
}

.scroll-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.7s ease-out;
}

.scroll-slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-fade-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-fade-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.scroll-blur {
    filter: blur(10px);
    opacity: 0;
    transition: all 0.6s ease-out;
}

.scroll-blur.visible {
    filter: blur(0);
    opacity: 1;
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

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

.electricity-effect {
    position: relative;
    overflow: hidden;
}

.electricity-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(59, 130, 246, 0.1) 50%,
        transparent 70%
    );
    animation: electricityFlow 3s linear infinite;
}

@keyframes electricityFlow {
    0% { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    100% { transform: translateX(50%) translateY(50%) rotate(360deg); }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Mobile-specific scroll progress */
@media (max-width: 768px) {
    .scroll-progress {
        height: 4px;
    }
}

/* Parallax Elements */
.parallax-layer {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Disable parallax on mobile for performance */
@media (max-width: 768px) {
    .parallax-layer {
        transform: none !important;
    }
}

/* Smooth Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger Animation */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-item.active {
    opacity: 1;
    transform: translateY(0);
}

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

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-heading {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.contact-text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

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

.contact-value {
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a.contact-value:hover {
    color: var(--text-accent);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: none;
}

.btn-full {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    padding: 3rem 0;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--text-accent);
    transform: translateY(-5px) rotate(5deg);
}

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

.footer-small {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .section-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .skills-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 0.75rem 0;
        font-size: 1.125rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }

    .mobile-toggle {
        display: block;
    }
    
    /* Hero Section */
    .hero {
        min-height: 80vh;
        padding: 8rem 0 4rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Sections */
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .placeholder-image {
        width: 150px;
        height: 150px;
        font-size: 3rem;
        margin: 0 auto;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Skills Section */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-card {
        padding: 1.5rem;
    }
    
    /* Projects & Blog */
    .projects-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Contact Section */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        order: 2;
    }
    
    .contact-info {
        order: 1;
    }
    
    /* Games Grid */
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .game-card {
        padding: 1.5rem;
    }
    
    .game-emoji {
        font-size: 2.5rem;
    }
    
    /* Proud Moments */
    .moments-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .moment-card {
        border-radius: 1rem;
    }
    
    .moment-image {
        height: 250px;
    }
    
    .moment-badge {
        display: none;
    }
    
    .moment-content {
        padding: 1.5rem;
    }
    
    .moment-title {
        font-size: 1.25rem;
    }
    
    .moments-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
    }
    
    /* Resume Section */
    .resume-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .resume-card {
        padding: 3rem 2rem;
        border-radius: 1.5rem;
    }
    
    .resume-icon {
        width: 100px;
        height: 100px;
    }
    
    .resume-icon i {
        font-size: 3rem;
    }
    
    .resume-title {
        font-size: 2rem;
    }
    
    .resume-subtitle {
        font-size: 1rem;
    }
    
    .resume-features {
        gap: 0.75rem;
    }
    
    .feature-pill {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .resume-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-resume-primary,
    .btn-resume-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .resume-side-elements {
        display: none;
    }
    
    .resume-shape-1,
    .resume-shape-2,
    .resume-shape-3 {
        width: 250px;
        height: 250px;
    }
    
    /* Bored Section */
    .bored-section {
        padding: 5rem 0;
    }
    
    .bored-emoji {
        font-size: 5rem;
    }
    
    .bored-title {
        font-size: 2.5rem;
    }
    
    .bored-subtitle {
        font-size: 1rem;
    }
    
    .bored-btn {
        padding: 1.25rem 2.5rem;
        font-size: 1.1rem;
    }
    
    .bored-bg-shape {
        opacity: 0.05;
    }
    
    /* Footer */
    .social-links {
        gap: 1.5rem;
    }
    
    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Hero */
    .hero {
        min-height: 70vh;
        padding: 6rem 0 3rem;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 10vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Sections */
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }
    
    /* Navigation */
    .navbar {
        padding: 1rem 0;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Skill Cards */
    .skill-card {
        padding: 1.25rem;
    }
    
    .skill-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .skill-title {
        font-size: 1.125rem;
    }
    
    .skill-list li {
        font-size: 0.875rem;
    }
    
    /* Project & Blog Cards */
    .project-card,
    .blog-card {
        padding: 1.25rem;
    }
    
    .project-emoji,
    .blog-icon {
        font-size: 2.5rem;
    }
    
    .project-title,
    .blog-title {
        font-size: 1.125rem;
    }
    
    .project-description,
    .blog-excerpt {
        font-size: 0.875rem;
    }
    
    /* Games Grid */
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Proud Moments */
    .moments-grid {
        gap: 1.25rem;
    }
    
    .moment-image {
        height: 200px;
    }
    
    .moment-badge {
        display: none;
    }
    
    .moment-content {
        padding: 1.25rem;
    }
    
    .moment-title {
        font-size: 1.125rem;
    }
    
    .moment-description {
        font-size: 0.875rem;
    }
    
    .moments-stats {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Resume Section */
    .resume-card {
        padding: 2.5rem 1.5rem;
    }
    
    .resume-icon {
        width: 80px;
        height: 80px;
    }
    
    .resume-icon i {
        font-size: 2.5rem;
    }
    
    .resume-title {
        font-size: 1.75rem;
    }
    
    .resume-subtitle {
        font-size: 0.9375rem;
    }
    
    .feature-pill {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .btn-resume-primary,
    .btn-resume-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .resume-shape-1,
    .resume-shape-2,
    .resume-shape-3 {
        width: 200px;
        height: 200px;
    }
    
    .game-card {
        padding: 1.25rem;
    }
    
    .gamepad-icon {
        font-size: 3rem;
    }
    
    /* Contact Form */
    .contact-heading {
        font-size: 1.5rem;
    }
    
    .contact-text {
        font-size: 0.9375rem;
    }
    
    .contact-item {
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 1rem;
        padding: 0.75rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    /* Interests Tags */
    .interest-tag {
        font-size: 0.8125rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Footer */
    .social-links {
        gap: 1rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }
    
    .footer-text {
        font-size: 0.875rem;
    }
    
    .footer-small {
        font-size: 0.75rem;
    }
    
    /* Bored Section */
    .bored-section {
        padding: 4rem 0;
    }
    
    .bored-emoji {
        font-size: 4rem;
    }
    
    .bored-title {
        font-size: 2rem;
    }
    
    .bored-subtitle {
        font-size: 0.9rem;
    }
    
    .bored-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Small Mobile Phones */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .stats-grid,
    .games-grid {
        gap: 0.75rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover effects on touch devices */
    .btn:hover::before,
    button:hover::before {
        display: none;
    }
    
    /* Larger touch targets */
    .btn,
    button,
    .nav-link,
    a {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover transformations */
    .project-card:hover,
    .blog-card:hover,
    .game-card:hover,
    .skill-card:hover {
        transform: none;
    }
    
    /* Add tap highlight */
    .btn,
    button,
    a,
    .project-card,
    .blog-card {
        -webkit-tap-highlight-color: rgba(59, 130, 246, 0.2);
    }
}

/* Landscape Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 5rem 0 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Sharper text rendering */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* ========================================
   3D INTERACTIVE EFFECTS (Spline-like)
   ======================================== */

/* 3D Scene Container */
.spline-scene {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Floating 3D Shapes */
.floating-shape {
    position: absolute;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.shape-sphere {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(168, 85, 247, 0.3));
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
    animation: float-sphere 8s ease-in-out infinite;
}

.shape-cube {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(168, 85, 247, 0.25));
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(236, 72, 153, 0.3);
    animation: float-cube 10s ease-in-out infinite;
    transform-style: preserve-3d;
}

.shape-torus {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 30px solid rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
    animation: float-torus 12s ease-in-out infinite;
}

@keyframes float-sphere {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    25% {
        transform: translate3d(30px, -20px, 50px) rotate(90deg);
    }
    50% {
        transform: translate3d(-20px, 20px, -30px) rotate(180deg);
    }
    75% {
        transform: translate3d(20px, 30px, 40px) rotate(270deg);
    }
}

@keyframes float-cube {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: translate3d(-30px, 20px, 40px) rotateX(90deg) rotateY(90deg);
    }
    50% {
        transform: translate3d(30px, -30px, -40px) rotateX(180deg) rotateY(180deg);
    }
    75% {
        transform: translate3d(-20px, 30px, 50px) rotateX(270deg) rotateY(270deg);
    }
}

@keyframes float-torus {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotateZ(0deg);
    }
    33% {
        transform: translate3d(40px, -30px, 30px) rotateZ(120deg);
    }
    66% {
        transform: translate3d(-40px, 30px, -30px) rotateZ(240deg);
    }
}

/* Interactive Blob Morphing */
.morphing-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, 
        rgba(59, 130, 246, 0.2), 
        rgba(168, 85, 247, 0.2),
        rgba(236, 72, 153, 0.2)
    );
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    filter: blur(40px);
    animation: blob-morph 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes blob-morph {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate3d(0, 0, 0) scale(1);
    }
    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: translate3d(20px, -20px, 20px) scale(1.1);
    }
    50% {
        border-radius: 50% 60% 30% 60% / 30% 70% 70% 40%;
        transform: translate3d(-20px, 20px, -20px) scale(0.9);
    }
    75% {
        border-radius: 70% 30% 50% 60% / 70% 50% 60% 40%;
        transform: translate3d(20px, 20px, 20px) scale(1.05);
    }
}

/* 3D Card Tilt Effect */
.tilt-3d {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.tilt-3d-inner {
    transform: translateZ(50px);
}

/* Parallax Layers */
.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Gradient Mesh Background */
.gradient-mesh {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
    animation: gradient-shift 15s ease infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gradient-shift {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(5%, 5%) rotate(5deg);
    }
    50% {
        transform: translate(-5%, 5%) rotate(-5deg);
    }
    75% {
        transform: translate(5%, -5%) rotate(3deg);
    }
}

/* Depth Layers Effect */
.depth-layer-1 { z-index: 1; }
.depth-layer-2 { z-index: 2; }
.depth-layer-3 { z-index: 3; }

/* Glass Morphism Floating Elements */
.glass-float {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    animation: gentle-float 6s ease-in-out infinite;
}

.dark .glass-float {
    background: rgba(26, 26, 26, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes gentle-float {
    0%, 100% {
        transform: translateY(0px) translateZ(0px);
    }
    50% {
        transform: translateY(-20px) translateZ(30px);
    }
}

/* Particle System */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.8), transparent);
    border-radius: 50%;
    pointer-events: none;
    animation: particle-float 3s ease-in-out infinite;
}

@keyframes particle-float {
    0% {
        transform: translate3d(0, 0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate3d(0, -100px, 50px);
        opacity: 0;
    }
}

/* Mouse Follower Effect */
.mouse-follower {
    position: fixed;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(59, 130, 246, 0.15), 
        rgba(168, 85, 247, 0.1),
        transparent
    );
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease-out;
    mix-blend-mode: screen;
}

/* 3D Perspective Container */
.perspective-container {
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px) translateZ(50px) rotateX(5deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Ripple Effect on Click */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    opacity: 0;
    pointer-events: none;
}

.ripple-effect:active::after {
    transform: translate(-50%, -50%) scale(2);
    opacity: 1;
}

/* Smooth Section Transitions */
.section {
    position: relative;
    transform-style: preserve-3d;
}

/* Disable 3D effects on mobile for performance */
@media (max-width: 768px) {
    .spline-scene,
    .floating-shape,
    .morphing-blob,
    .gradient-mesh,
    .mouse-follower {
        display: none;
    }
    
    .tilt-3d,
    .hover-lift {
        transform: none !important;
    }
}
