/* ======================================================
   SPIDER-MAN: BRAND NEW DAY THEME
   Portfolio CSS - Abhishek Verma
   ====================================================== */

/* ===== CSS Variables ===== */
:root {
    /* Spider-Man Brand New Day Colors */
    --spidey-red: #d32f2f;
    --spidey-red-dark: #b71c1c;
    --spidey-red-light: #ef5350;
    --spidey-blue: #1565c0;
    --spidey-blue-dark: #0d47a1;
    --spidey-blue-light: #42a5f5;
    --spidey-gold: #ffd600;
    --spidey-gold-dark: #f9a825;
    --spidey-web: #e0e0e0;
    --spidey-black: #1a1a2e;
    --spidey-dark: #16213e;
    
    /* Theme Colors */
    --primary: var(--spidey-red);
    --primary-dark: var(--spidey-red-dark);
    --primary-light: var(--spidey-red-light);
    --secondary: var(--spidey-blue);
    --secondary-dark: var(--spidey-blue-dark);
    --accent: var(--spidey-gold);
    
    /* Background & Surface */
    --bg-primary: #0a0a1a;
    --bg-secondary: #111128;
    --bg-card: #1a1a3e;
    --bg-card-hover: #222255;
    
    /* Text */
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0cc;
    --text-muted: #7878a0;
    
    /* Borders */
    --border-color: rgba(211, 47, 47, 0.2);
    --border-glow: rgba(211, 47, 47, 0.4);
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(211, 47, 47, 0.1);
    --shadow-md: 0 5px 25px rgba(211, 47, 47, 0.15);
    --shadow-lg: 0 10px 50px rgba(211, 47, 47, 0.2);
    --shadow-glow: 0 0 30px rgba(211, 47, 47, 0.3);
    
    /* Gradients */
    --gradient-spidey: linear-gradient(135deg, var(--spidey-red) 0%, var(--spidey-blue) 100%);
    --gradient-hero: linear-gradient(135deg, var(--spidey-red-dark) 0%, var(--spidey-blue-dark) 50%, var(--spidey-black) 100%);
    --gradient-card: linear-gradient(145deg, rgba(211, 47, 47, 0.05), rgba(21, 101, 192, 0.05));
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-code: 'Fira Code', monospace;
    --font-comic: 'Bangers', cursive;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #f8f0f0;
    --bg-secondary: #fff5f5;
    --bg-card: #ffffff;
    --bg-card-hover: #fff8f8;
    --text-primary: #1a1a2e;
    --text-secondary: #444466;
    --text-muted: #666688;
    --border-color: rgba(211, 47, 47, 0.15);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 50px rgba(0, 0, 0, 0.1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Web pattern overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(211, 47, 47, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(21, 101, 192, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Web Canvas */
#webCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spider-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.web-line {
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--spidey-red), var(--spidey-web));
    animation: webDrop 1.5s ease-in-out infinite;
}

.spider-icon {
    font-size: 40px;
    animation: spiderSwing 2s ease-in-out infinite;
}

.loader-text {
    font-family: var(--font-comic);
    font-size: 1.2rem;
    color: var(--spidey-red);
    letter-spacing: 2px;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes webDrop {
    0%, 100% { height: 40px; }
    50% { height: 100px; }
}

@keyframes spiderSwing {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ===== Custom Cursor ===== */
.cursor {
    width: 12px;
    height: 12px;
    background: var(--spidey-red);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--spidey-red);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s, width 0.3s, height 0.3s;
    opacity: 0.5;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 30px rgba(211, 47, 47, 0.15);
    border-bottom: 1px solid rgba(211, 47, 47, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-family: var(--font-comic);
    font-size: 2rem;
    letter-spacing: 3px;
    color: var(--text-primary);
}

.spider-bracket {
    color: var(--spidey-red);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.web-icon {
    font-size: 0.7rem;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
    color: var(--spidey-red);
}

.nav-link:hover .web-icon,
.nav-link.active .web-icon {
    opacity: 1;
    transform: scale(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--spidey-red);
    background: rgba(211, 47, 47, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-spidey);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    background: rgba(211, 47, 47, 0.1);
    border: 1px solid rgba(211, 47, 47, 0.2);
    color: var(--spidey-red);
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--spidey-red);
    color: white;
    transform: rotate(180deg);
    box-shadow: var(--shadow-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--gradient-spidey);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--spidey-red);
    border: 2px solid var(--spidey-red);
}

.btn-outline:hover {
    background: var(--spidey-red);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--spidey-red);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(211, 47, 47, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(21, 101, 192, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 214, 0, 0.03) 0%, transparent 60%),
        var(--bg-primary);
}

/* Web Corners */
.web-corner {
    position: absolute;
    width: 150px;
    height: 150px;
    opacity: 0.1;
    z-index: 0;
}

.web-corner-tl { top: 0; left: 0; }
.web-corner-tr { top: 0; right: 0; transform: scaleX(-1); }
.web-corner-bl { bottom: 0; left: 0; transform: scaleY(-1); }
.web-corner-br { bottom: 0; right: 0; transform: scale(-1); }

.web-corner::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, var(--spidey-web) 1px, transparent 1px) 0 0 / 30px 30px,
        linear-gradient(-45deg, var(--spidey-web) 1px, transparent 1px) 0 0 / 30px 30px;
    mask-image: radial-gradient(circle at 0% 0%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 0% 0%, black 0%, transparent 70%);
}

/* Floating Webs */
.floating-webs {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.web-strand {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.15;
    animation: floatWeb calc(8s + var(--i) * 2s) ease-in-out infinite;
}

.web-strand:nth-child(1) { top: 10%; left: 5%; }
.web-strand:nth-child(2) { top: 20%; right: 10%; }
.web-strand:nth-child(3) { bottom: 30%; left: 15%; }
.web-strand:nth-child(4) { bottom: 15%; right: 5%; }
.web-strand:nth-child(5) { top: 50%; left: 50%; }

@keyframes floatWeb {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
    75% { transform: translateY(-25px) rotate(3deg); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.comic-badge {
    display: inline-block;
    background: var(--spidey-gold);
    color: var(--spidey-black);
    font-family: var(--font-comic);
    font-size: 0.9rem;
    padding: 5px 20px;
    border-radius: var(--radius-sm);
    letter-spacing: 3px;
    margin-bottom: 15px;
    transform: rotate(-2deg);
    box-shadow: 3px 3px 0 var(--spidey-red);
}

.hero-greeting {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.hero-greeting .wave {
    display: inline-block;
    animation: wave 2.5s infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60%, 100% { transform: rotate(0deg); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 15px;
}

.spidey-text {
    display: block;
    background: var(--gradient-spidey);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-comic);
    font-size: 5rem;
    letter-spacing: 5px;
    text-shadow: none;
}

.spidey-text-outline {
    display: block;
    font-family: var(--font-comic);
    font-size: 4.5rem;
    letter-spacing: 8px;
    -webkit-text-stroke: 2px var(--spidey-blue);
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(21, 101, 192, 0.3));
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--spidey-gold);
    margin-bottom: 20px;
    min-height: 2rem;
    font-family: var(--font-code);
}

.cursor-blink {
    animation: blink 0.8s infinite;
    color: var(--spidey-red);
    font-weight: 700;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 30px;
    max-width: 500px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: var(--transition);
    background: var(--bg-card);
}

.social-link:hover {
    background: var(--spidey-red);
    border-color: var(--spidey-red);
    color: white;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: var(--shadow-glow);
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
}

.spidey-frame {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    animation: spinSlow 30s linear infinite;
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.web-border {
    width: 100%;
    height: 100%;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 4px solid var(--spidey-red);
    box-shadow: 
        0 0 30px rgba(211, 47, 47, 0.3),
        0 0 60px rgba(21, 101, 192, 0.1),
        inset 0 0 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.profile-img:hover img {
    transform: scale(1.05);
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    width: 55px;
    height: 55px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.spidey-badge {
    background: var(--bg-card);
    border: 2px solid var(--spidey-red);
    color: var(--spidey-red);
    box-shadow: var(--shadow-md);
}

.badge-1 { top: 10%; left: -10%; animation-delay: 0s; }
.badge-2 { top: 5%; right: -5%; animation-delay: 1s; }
.badge-3 { bottom: 15%; left: -15%; animation-delay: 2s; }
.badge-4 { bottom: 5%; right: -10%; animation-delay: 0.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    z-index: 3;
}

.scroll-web-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--spidey-red), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 30px; }
    50% { opacity: 1; height: 50px; }
}

.hero-scroll-indicator i {
    animation: bounceDown 2s ease-in-out infinite;
    color: var(--spidey-red);
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--spidey-red);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.comic-title {
    font-family: var(--font-comic);
    letter-spacing: 4px;
    background: var(--gradient-spidey);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.2rem;
    position: relative;
}

.comic-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-spidey);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ===== About Section ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 3px solid var(--spidey-red);
    box-shadow: var(--shadow-lg);
}

.comic-frame {
    position: relative;
}

.comic-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid var(--spidey-red);
    border-radius: var(--radius-lg);
    z-index: 2;
    pointer-events: none;
}

.comic-dots {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.1) 1px, transparent 1px);
    background-size: 4px 4px;
    pointer-events: none;
    z-index: 1;
}

.about-img-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-spidey);
    color: white;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    z-index: 3;
    box-shadow: var(--shadow-md);
}

.spidey-exp-badge {
    border: 2px solid var(--spidey-gold);
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-comic);
    display: block;
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    font-weight: 500;
}

/* About Cards */
.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.spidey-card:hover {
    border-color: var(--spidey-red);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.about-card i {
    font-size: 1.8rem;
    color: var(--spidey-red);
    margin-bottom: 10px;
}

.about-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.about-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Speech Bubble */
.speech-bubble {
    position: relative;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 25px;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    left: 30px;
    top: -12px;
    width: 20px;
    height: 20px;
    background: var(--bg-card);
    border-top: 2px solid var(--border-color);
    border-left: 2px solid var(--border-color);
    transform: rotate(45deg);
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-text:last-child {
    margin-bottom: 0;
}

/* About Details */
.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
    align-items: baseline;
}

.detail-label {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.detail-value {
    color: var(--text-secondary);
}

.detail-value.available {
    color: #4caf50;
    font-weight: 600;
    padding: 2px 10px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

/* Personal Strengths */
.personal-strengths {
    margin-bottom: 25px;
}

.personal-strengths h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    font-family: var(--font-comic);
    letter-spacing: 2px;
    color: var(--spidey-red);
}

.strength-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.strength-tag {
    padding: 5px 15px;
    background: rgba(211, 47, 47, 0.1);
    border: 1px solid rgba(211, 47, 47, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--spidey-red-light);
    transition: var(--transition);
}

.strength-tag:hover {
    background: var(--spidey-red);
    color: white;
    transform: scale(1.05);
}

/* ===== Skills Section ===== */
.skills-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.spidey-category {
    color: var(--text-primary);
    font-family: var(--font-comic);
    letter-spacing: 2px;
}

.spidey-category i {
    color: var(--spidey-red);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.spidey-skill:hover {
    border-color: var(--spidey-red);
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.skill-icon {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-sm);
    background: rgba(211, 47, 47, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--spidey-red);
    flex-shrink: 0;
}

.skill-icon img {
    width: 28px;
    height: 28px;
}

.skill-name {
    flex: 1;
    font-weight: 500;
    font-size: 0.9rem;
    min-width: 80px;
}

.skill-bar {
    flex: 2;
    height: 8px;
    background: rgba(211, 47, 47, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-spidey);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: white;
    border-radius: 2px;
    opacity: 0.8;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 15px;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: default;
}

.spidey-tool:hover {
    border-color: var(--spidey-red);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--bg-card-hover);
}

.tool-item i {
    font-size: 2rem;
    color: var(--spidey-red);
}

.tool-item img {
    width: 36px;
    height: 36px;
}

.tool-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    font-weight: 500;
}

/* ===== Projects Section ===== */
.projects {
    background: var(--bg-secondary);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--spidey-red);
    border-color: var(--spidey-red);
    color: white;
    box-shadow: var(--shadow-md);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.spidey-project:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--spidey-red);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--spidey-gold);
    color: var(--spidey-black);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-comic);
    letter-spacing: 1px;
    z-index: 3;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(211, 47, 47, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: white;
    color: var(--spidey-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-card:hover .project-link {
    transform: translateY(0);
}

.project-link:hover {
    background: var(--spidey-blue);
    color: white;
    transform: scale(1.1) !important;
}

.project-info {
    padding: 25px;
}

.project-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.tag {
    padding: 3px 12px;
    background: rgba(211, 47, 47, 0.1);
    color: var(--spidey-red-light);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(211, 47, 47, 0.2);
}

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.projects-cta {
    text-align: center;
    margin-top: 20px;
}

/* ===== Experience Section ===== */
.timeline-container {
    max-width: 900px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 50px;
}

.spidey-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-spidey);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: -40px;
    top: 5px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 2;
}

.spidey-timeline-icon {
    background: var(--gradient-spidey);
    color: white;
    box-shadow: var(--shadow-md);
}

.edu-icon {
    background: linear-gradient(135deg, var(--spidey-blue), var(--spidey-blue-dark)) !important;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    transition: var(--transition);
}

.spidey-timeline-content:hover {
    border-color: var(--spidey-red);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.timeline-date {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(211, 47, 47, 0.1);
    color: var(--spidey-red);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.timeline-company {
    color: var(--spidey-blue-light);
    font-size: 0.95rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.timeline-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.timeline-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.timeline-tags span {
    padding: 3px 12px;
    background: rgba(21, 101, 192, 0.1);
    color: var(--spidey-blue-light);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(21, 101, 192, 0.2);
}

/* ===== Activities Section ===== */
.activities {
    background: var(--bg-secondary);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.activity-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.spidey-activity:hover {
    border-color: var(--spidey-red);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.spidey-activity::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-spidey);
}

.activity-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: rgba(211, 47, 47, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--spidey-red);
    margin-bottom: 15px;
}

.activity-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.activity-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.activity-date {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(211, 47, 47, 0.1);
    color: var(--spidey-red);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===== Contact Section ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-speech h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.spidey-highlight {
    color: var(--spidey-red);
    font-family: var(--font-comic);
    letter-spacing: 2px;
}

.contact-speech p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.spidey-contact-card:hover {
    border-color: var(--spidey-red);
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(211, 47, 47, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--spidey-red);
    flex-shrink: 0;
}

.card-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--text-primary);
}

.card-content a,
.card-content span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.card-content a:hover {
    color: var(--spidey-red);
}

.contact-social h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    font-family: var(--font-comic);
    letter-spacing: 2px;
    color: var(--spidey-red);
}

.social-links {
    display: flex;
    gap: 12px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 35px;
}

.spidey-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--spidey-red);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1rem;
}

/* ===== Footer ===== */
.footer {
    position: relative;
    background: var(--bg-secondary);
}

.spidey-footer {
    border-top: 3px solid var(--spidey-red);
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.footer-wave path {
    fill: var(--bg-secondary);
}

.footer-content {
    padding: 50px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-comic);
    font-size: 2rem;
    color: var(--spidey-red);
    letter-spacing: 3px;
    display: inline-block;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-family: var(--font-comic);
    letter-spacing: 2px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--spidey-red);
    padding-left: 8px;
}

.footer-newsletter h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-family: var(--font-comic);
    letter-spacing: 2px;
}

.footer-newsletter p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.spidey-footer-text {
    color: var(--spidey-red);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--spidey-red);
    border-color: var(--spidey-red);
    color: white;
    transform: translateY(-3px);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-spidey);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.spidey-back-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 0;
    }
    
    .hero-description {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-social {
        justify-content: center;
    }
    
    .image-wrapper {
        width: 300px;
        height: 300px;
    }
    
    .spidey-text {
        font-size: 3.5rem;
    }
    
    .spidey-text-outline {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding: 60px 30px;
        transition: var(--transition-slow);
        border-left: 3px solid var(--spidey-red);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .spidey-text {
        font-size: 3rem;
    }
    
    .spidey-text-outline {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .comic-title {
        font-size: 2.5rem;
    }
    
    .about-cards {
        grid-template-columns: 1fr;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 40px;
    }
    
    .timeline-icon {
        left: -35px;
        width: 35px;
        height: 35px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .image-wrapper {
        width: 250px;
        height: 250px;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }
    
    .cursor,
    .cursor-follower {
        display: none;
    }
}

@media (max-width: 480px) {
    .spidey-text {
        font-size: 2.2rem;
    }
    
    .spidey-text-outline {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .comic-badge {
        font-size: 0.75rem;
    }
    
    .contact-form-wrapper {
        padding: 20px;
    }
    
    .section {
        padding: 70px 0;
    }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-spidey);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--spidey-red);
}

/* ===== Selection ===== */
::selection {
    background: var(--spidey-red);
    color: white;
}

/* ===== Animations ===== */
@keyframes webShoot {
    0% { transform: scaleY(0); opacity: 0; }
    50% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(0); opacity: 0; }
}

/* Project card hidden state for filter */
.project-card.hidden {
    display: none;
}

/* Smooth reveal animation */
.project-card {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}