/* ==========================================================================
   SPIDER-VERSE MULTIVERSE PORTFOLIO DESIGN SYSTEM
   Creator: Dhika Satria Khrisna
   Palette: Miles Morales Crimson Red, Gwen Neon Purple, 2099 Electric Cyan, Midnight Brooklyn NYC
   ========================================================================== */

:root {
    /* Spider-Verse Palette */
    --spider-red: #ef4444;
    --spider-red-bright: #ff0055;
    --spider-red-glow: rgba(239, 68, 68, 0.45);
    --spider-red-soft: #fef2f2;

    --spider-cyan: #00f0ff;
    --spider-cyan-deep: #0284c7;
    --spider-cyan-glow: rgba(0, 240, 255, 0.4);
    --spider-cyan-soft: #f0f9ff;

    --spider-purple: #a855f7;
    --spider-purple-glow: rgba(168, 85, 247, 0.45);
    --spider-purple-soft: #faf5ff;

    --spider-amber: #f59e0b;
    --spider-green: #10b981;

    /* Backgrounds */
    --bg-midnight: #090d16;
    --bg-midnight-card: #111827;
    --bg-white-pure: #ffffff;
    --bg-comic-day: #f8fafc;

    /* Text Colors */
    --text-space-main: #ffffff;
    --text-space-sub: #cbd5e1;
    --text-dark-main: #0f172a;
    --text-dark-sub: #334155;
    --text-dark-muted: #64748b;

    /* Comic Box Shadows & Borders */
    --comic-border: 2.5px solid #0f172a;
    --comic-shadow: 4px 4px 0px #0f172a;
    --comic-shadow-lg: 7px 7px 0px #0f172a;
    --comic-shadow-red: 5px 5px 0px #ef4444;
    --card-shadow-deck: 0 25px 60px rgba(15, 23, 42, 0.14);

    /* Transitions */
    --trans-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --trans-fast: 0.18s ease;
}

/* Global Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-midnight);
}

body.spiderverse-theme {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark-main);
    background-color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    padding-bottom: 90px;
}

/* Interactive Spider Web Canvas */
#spider-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Typography Utilities */
.comic-font {
    font-family: 'Bangers', cursive;
    letter-spacing: 0.05em;
}

.script-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.6rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.01em;
    margin-bottom: 0.5rem;
}

.script-title-large {
    font-family: 'Dancing Script', cursive;
    font-size: 4.4rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.01em;
    margin-bottom: 0.5rem;
}

.script-title-huge {
    font-family: 'Dancing Script', cursive;
    font-size: 4.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #fecdd3 50%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.comic-glow-red {
    color: #0f172a;
    text-shadow: 2px 2px 0px rgba(239, 68, 68, 0.25);
}

.comic-glow-purple {
    color: #0f172a;
    text-shadow: 2px 2px 0px rgba(168, 85, 247, 0.25);
}

.comic-highlight-red {
    color: var(--spider-red);
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.comic-highlight-red::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(239, 68, 68, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.sub-label {
    display: inline-block;
    font-family: 'Bangers', cursive;
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: var(--spider-red);
    margin-bottom: 0.25rem;
}

.section-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

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

/* Buttons & CTA Groups */
.hero-action-buttons, .about-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn-spider-red, .btn-download-cv, .btn-spider-cyan, .btn-spider-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1.85rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 9999px;
    border: 2.5px solid #0f172a;
    box-shadow: 4px 4px 0px #0f172a;
    cursor: pointer;
    text-decoration: none;
    transition: var(--trans-fast);
    line-height: 1;
    white-space: nowrap;
}

.btn-spider-red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff !important;
}

.btn-spider-red:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #0f172a;
    color: #ffffff !important;
}

.btn-download-cv {
    background: #0284c7;
    color: #ffffff !important;
    border: 2.5px solid #0f172a;
    box-shadow: 4px 4px 0px #0f172a;
}

.btn-download-cv:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #00f0ff;
    background: #0369a1;
    color: #ffffff !important;
}

.btn-download-cv i {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-download-cv:hover i {
    transform: translateY(2px) scale(1.15);
}

.btn-spider-cyan {
    background: #ffffff;
    color: #0f172a !important;
    border: 2.5px solid #0f172a;
    box-shadow: 4px 4px 0px #00f0ff;
}

.btn-spider-cyan:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #00f0ff;
    color: #0f172a !important;
}

.btn-spider-dark {
    background: #ffffff;
    color: #0f172a !important;
    border: 2.5px solid #0f172a;
    box-shadow: 4px 4px 0px #0f172a;
}

.btn-spider-dark:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #0f172a;
    color: #0f172a !important;
}

.btn-spider-red-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1.5rem;
    background: #ef4444;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.88rem;
    border-radius: 9999px;
    border: 2px solid #0f172a;
    box-shadow: 3px 3px 0px #0f172a;
    cursor: pointer;
    transition: var(--trans-fast);
}

.btn-spider-red-sm:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px #0f172a;
}

.btn-live-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.45rem;
    background: #f8fafc;
    border: 2px solid #0f172a;
    box-shadow: 3px 3px 0px #0f172a;
    color: #0f172a;
    border-radius: 9999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--trans-fast);
}

.btn-live-link:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px #0f172a;
    background: #fef2f2;
}

.btn-block { width: 100%; }

/* Audio Floating Widget */
.audio-widget {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 999;
}

.sound-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    background: #ffffff;
    border: 2px solid #0f172a;
    border-radius: 9999px;
    color: #ef4444;
    font-family: 'Bangers', cursive;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    box-shadow: 3px 3px 0px #ef4444;
    cursor: pointer;
    transition: var(--trans-fast);
}

.sound-toggle-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px #ef4444;
}

.sound-toggle-btn.muted {
    opacity: 0.6;
    color: var(--text-dark-muted);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 6.5rem 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 30%, #1e1b4b 0%, #090d16 65%, #030712 100%);
    color: #ffffff;
    z-index: 1;
    overflow: hidden;
}

.hero-center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 5;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.spider-alert-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 1.25rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1.5px solid rgba(239, 68, 68, 0.5);
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fecdd3;
    margin-bottom: 2rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.spider-sense-dot {
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 12px #ef4444;
    animation: sensePulse 1.2s infinite;
}

@keyframes sensePulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 20px #ff0055; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

/* 3D Island Suspended with Web Cords */
.hero-island-3d {
    position: relative;
    width: 640px;
    height: 185px;
    perspective: 1200px;
    margin-bottom: 2.25rem;
    cursor: grab;
}

.web-corner-cord {
    position: absolute;
    width: 2px;
    height: 120px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
    z-index: 10;
    pointer-events: none;
}

.cord-top-left { top: -80px; left: 30px; transform: rotate(-25deg); }
.cord-top-right { top: -80px; right: 30px; transform: rotate(25deg); }
.cord-bottom-left { bottom: -60px; left: 40px; transform: rotate(15deg); }
.cord-bottom-right { bottom: -60px; right: 40px; transform: rotate(-15deg); }

.spider-plate {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(15, 23, 42, 0.85) 60%, rgba(0, 240, 255, 0.15) 100%);
    border: 2.5px solid rgba(239, 68, 68, 0.6);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.8),
        0 0 45px rgba(239, 68, 68, 0.35),
        inset 0 0 30px rgba(239, 68, 68, 0.2);
    transform: rotateX(18deg) rotateY(-6deg);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.hero-island-3d:hover .spider-plate {
    transform: rotateX(8deg) rotateY(0deg) translateY(-8px);
    border-color: #ff0055;
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(239, 68, 68, 0.5);
}

.spider-logo-watermark {
    position: absolute;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.04);
    pointer-events: none;
    transform: rotate(-15deg);
}

.comic-title {
    font-family: 'Bangers', cursive;
    font-size: 4rem;
    letter-spacing: 0.08em;
    color: #ffffff;
    text-shadow: 4px 4px 0px #ef4444, 0 0 30px rgba(239, 68, 68, 0.8);
    margin-bottom: 0.1rem;
}

.island-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #00f0ff;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0, 240, 255, 0.5);
}

.hero-motto {
    font-size: 1.15rem;
    color: #e2e8f0;
    max-width: 620px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-action-buttons {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Bangers', cursive;
    font-size: 1rem;
    color: #fecdd3;
    letter-spacing: 0.15em;
}

.scroll-arrow-bounce {
    animation: bounceDown 1.8s infinite;
    color: #ef4444;
    font-size: 1.1rem;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* Floating Hero Badges */
.orbit-badges-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 2;
}

.spider-badge-pill {
    position: absolute;
    padding: 0.55rem 1.25rem;
    background: rgba(15, 23, 42, 0.88);
    border: 1.5px solid rgba(239, 68, 68, 0.5);
    border-radius: 9999px;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(239, 68, 68, 0.25);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: floatHeroBadge 4.5s ease-in-out infinite alternate;
    animation-delay: var(--d);
}

.spider-badge-pill i { color: #ef4444; }

@keyframes floatHeroBadge {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-16px) rotate(1.5deg); }
    100% { transform: translateY(12px) rotate(-1.5deg); }
}

.sb-1 { top: 16%; left: 14%; }
.sb-2 { top: 26%; left: 7%; }
.sb-3 { top: 44%; left: 11%; }
.sb-4 { top: 62%; left: 16%; }
.sb-5 { top: 74%; left: 24%; }

.sb-6 { top: 15%; right: 16%; }
.sb-7 { top: 25%; right: 8%; }
.sb-8 { top: 43%; right: 11%; }
.sb-9 { top: 60%; right: 15%; }
.sb-10 { top: 72%; right: 22%; }

/* Spider-Verse Web Divider */
.spider-web-divider {
    position: relative;
    width: 100%;
    height: 80px;
    background: linear-gradient(180deg, transparent 0%, #ffffff 100%);
    z-index: 3;
}

/* ==========================================================================
   2. ABOUT ME SECTION
   ========================================================================== */

.about-section {
    position: relative;
    background: #ffffff;
    color: var(--text-dark-main);
    padding: 5rem 0 3rem;
    z-index: 4;
}

.comic-card-frame {
    background: #ffffff;
    border: var(--comic-border);
    border-radius: 32px;
    padding: 3.5rem;
    box-shadow: var(--comic-shadow-lg);
    position: relative;
}

.comic-action-sticker {
    position: absolute;
    padding: 0.35rem 1rem;
    background: #facc15;
    color: #0f172a;
    font-family: 'Bangers', cursive;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    border: var(--comic-border);
    border-radius: 8px;
    box-shadow: var(--comic-shadow);
    z-index: 10;
}

.sticker-thwip { top: -18px; right: 40px; transform: rotate(12deg); background: #ef4444; color: #ffffff; }
.sticker-pow { bottom: -18px; left: 40px; transform: rotate(-8deg); background: #00f0ff; color: #0f172a; }

.about-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3.5rem;
    align-items: center;
}

.status-pill-spider {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: #fef2f2;
    border: 1.5px solid #fecdd3;
    border-radius: 9999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 800;
    color: #ef4444;
    margin-bottom: 1.25rem;
}

.pulse-dot-red {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 8px #ef4444;
}

.about-heading {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: #0f172a;
    line-height: 1.2;
}

.about-badge-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.role-badge {
    padding: 0.45rem 1rem;
    border: 1.5px solid #0f172a;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 2px 2px 0px #0f172a;
}

.badge-red { background: #fee2e2; color: #b91c1c; }
.badge-cyan { background: #e0f2fe; color: #0369a1; }
.badge-purple { background: #f3e8ff; color: #6b21a8; }
.badge-green { background: #dcfce7; color: #15803d; }

.about-bio {
    font-size: 1.05rem;
    color: var(--text-dark-sub);
    line-height: 1.8;
    margin-bottom: 2.25rem;
}

.about-bio strong {
    color: #0f172a;
    font-weight: 800;
}

.about-cta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.profile-comic-card {
    position: relative;
    width: 310px;
    height: 380px;
}

.spider-mask-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ef4444;
    border: 2.5px solid #0f172a;
    box-shadow: 3px 3px 0px #0f172a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    z-index: 10;
    animation: sensePulse 2s infinite;
}

.comic-inner-frame {
    width: 100%;
    height: 100%;
    background: #0f172a;
    border: 3px solid #0f172a;
    border-radius: 28px;
    box-shadow: 6px 6px 0px #ef4444, 10px 10px 0px #0f172a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.profile-comic-card:hover .comic-inner-frame {
    transform: translate(-3px, -3px) rotate(-1deg);
    box-shadow: 8px 8px 0px #ef4444, 14px 14px 0px #0f172a;
}

.profile-real-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: contrast(1.05) saturate(1.05);
    transition: transform 0.4s ease;
}

.profile-comic-card:hover .profile-real-photo {
    transform: scale(1.05);
}

.photo-overlay-badge {
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 1.25rem 1rem 1rem;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.95) 45%, #0f172a 100%);
    text-align: center;
}

.comic-name-tag {
    font-family: 'Bangers', cursive;
    font-size: 1.45rem;
    letter-spacing: 0.05em;
    color: #ffffff;
    text-shadow: 2px 2px 0px #ef4444;
    margin-bottom: 0.15rem;
}

.comic-role-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 800;
    color: #00f0ff;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   INFINITE OCEAN WAVE MARQUEE BANNER
   ========================================================================== */

.marquee-banner-wrap {
    margin-top: 4.5rem;
    padding: 1.5rem 0;
    background: #0f172a;
    border-top: 2.5px solid #ef4444;
    border-bottom: 2.5px solid #00f0ff;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(239, 68, 68, 0.2);
    position: relative;
    display: flex;
    align-items: center;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    will-change: transform;
    animation: marqueeInfiniteLoop 25s linear infinite;
}

.marquee-banner-wrap:hover .marquee-track {
    animation-play-state: paused;
}

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

/* Undulating Ocean Wave Motion for Individual Text Badges */
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1.15rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    color: #ffffff;
    font-family: 'Bangers', cursive;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, border-color 0.2s ease;
    animation: textOceanWave 2.8s ease-in-out infinite alternate;
    animation-delay: calc(var(--w, 0) * 0.35s);
}

.marquee-item i {
    color: #ef4444;
    font-size: 1rem;
}

.marquee-item:hover {
    border-color: #00f0ff;
    color: #00f0ff;
    background: rgba(0, 240, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.marquee-sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 0.95rem;
    margin: 0 1.25rem;
    animation: textOceanWave 2.8s ease-in-out infinite alternate-reverse;
    animation-delay: calc(var(--w, 0) * 0.35s);
}

@keyframes textOceanWave {
    0% {
        transform: translateY(-12px) rotate(-1.5deg);
    }
    50% {
        transform: translateY(0px) rotate(0deg);
    }
    100% {
        transform: translateY(12px) rotate(1.5deg);
    }
}

/* ==========================================================================
   3. MY TECH STACK SECTION (3D ORBITAL TECH CLOUD ANIMATION)
   ========================================================================== */

.skills-section {
    position: relative;
    padding: 6rem 0 5rem;
    background: #f8fafc;
    color: var(--text-dark-main);
    z-index: 4;
    overflow: visible;
}

.tech-stack-orbit-wrapper {
    position: relative;
    min-height: 290px;
    margin-bottom: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.tech-stack-center-content {
    position: relative;
    z-index: 5;
    text-align: center;
    background: rgba(248, 250, 252, 0.85);
    padding: 1rem 2rem;
    border-radius: 24px;
    backdrop-filter: blur(8px);
}

.tech-orbit-cloud {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 6;
}

.tech-orbit-pill {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    background: #ffffff;
    border: 2px solid #0f172a;
    border-radius: 9999px;
    box-shadow: 3px 3px 0px #0f172a;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: #0f172a;
    pointer-events: auto;
    cursor: pointer;
    transform: rotate(var(--rot, 0deg));
    animation: orbitPillFloat 3.8s ease-in-out infinite alternate;
    animation-delay: var(--delay, 0s);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}

.tech-orbit-pill:hover {
    transform: rotate(0deg) scale(1.18) !important;
    border-color: #ef4444;
    box-shadow: 5px 5px 0px #ef4444;
    color: #ef4444;
    z-index: 20;
}

.tech-orbit-pill i { color: #ef4444; font-size: 1rem; }

@keyframes orbitPillFloat {
    0% { transform: translateY(0px) rotate(var(--rot, 0deg)); }
    50% { transform: translateY(-14px) rotate(calc(var(--rot, 0deg) + 3deg)); }
    100% { transform: translateY(12px) rotate(calc(var(--rot, 0deg) - 3deg)); }
}

/* Coordinates matching elliptical orbit around "My Tech Stack" */
.pill-1 { top: 8%; left: 8%; }
.pill-2 { top: 2%; left: 26%; }
.pill-3 { top: -8%; left: 47%; transform: translateX(-50%) rotate(var(--rot, 0deg)); }
.pill-4 { top: 4%; right: 24%; }
.pill-5 { top: 10%; right: 7%; }
.pill-6 { top: 46%; left: 2%; }
.pill-7 { top: 46%; right: 2%; }
.pill-8 { bottom: 8%; left: 8%; }
.pill-9 { bottom: -4%; left: 28%; }
.pill-10 { bottom: -4%; right: 28%; }
.pill-11 { bottom: 8%; right: 8%; }

@media (max-width: 768px) {
    .tech-stack-orbit-wrapper {
        min-height: 420px;
    }
    .tech-orbit-pill {
        padding: 0.4rem 0.85rem;
        font-size: 0.75rem;
    }
    .pill-1 { top: 0%; left: 5%; }
    .pill-2 { top: 15%; left: 2%; }
    .pill-3 { top: 0%; right: 5%; left: auto; transform: rotate(var(--rot, 0deg)); }
    .pill-4 { top: 15%; right: 2%; }
    .pill-5 { top: 32%; right: 0%; }
    .pill-6 { top: 32%; left: 0%; }
    .pill-7 { bottom: 30%; right: 0%; }
    .pill-8 { bottom: 30%; left: 0%; }
    .pill-9 { bottom: 12%; left: 5%; }
    .pill-10 { bottom: 12%; right: 5%; }
    .pill-11 { bottom: 0%; left: 35%; }
}

.domain-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.domain-card {
    background: #ffffff;
    border: var(--comic-border);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    box-shadow: var(--comic-shadow);
    transition: var(--trans-fast);
}

.domain-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--comic-shadow-lg);
}

.card-spider-red:hover { border-color: #ef4444; }
.card-spider-cyan:hover { border-color: #0284c7; }
.card-spider-purple:hover { border-color: #a855f7; }
.card-spider-green:hover { border-color: #10b981; }

.domain-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    border: 2px solid #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    flex-shrink: 0;
    box-shadow: 2px 2px 0px #0f172a;
}

.red-bg { background: #fee2e2; color: #ef4444; }
.cyan-bg { background: #e0f2fe; color: #0284c7; }
.purple-bg { background: #f3e8ff; color: #a855f7; }
.green-bg { background: #dcfce7; color: #10b981; }

.domain-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    color: #0f172a;
}

.domain-tools {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

/* ==========================================================================
   4. JOURNEY & EXPERIENCE TIMELINE (SCROLLING SPIDER CRAWLER & LASER BEAM)
   ========================================================================== */

.journey-section {
    position: relative;
    padding: 6rem 0 5rem;
    background: #ffffff;
    color: var(--text-dark-main);
    z-index: 4;
}

.section-header-centered {
    margin-bottom: 3.5rem;
}

.journey-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4.5rem;
}

.j-stat-card {
    background: #ffffff;
    border: var(--comic-border);
    border-radius: 20px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: var(--comic-shadow);
    transition: var(--trans-fast);
    position: relative;
}

.j-stat-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--comic-shadow-lg);
}

.stat-icon-top {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.border-red .stat-icon-top { color: #ef4444; }
.border-cyan .stat-icon-top { color: #0284c7; }
.border-purple .stat-icon-top { color: #a855f7; }
.border-green .stat-icon-top { color: #10b981; }

.j-stat-number {
    font-family: 'Bangers', cursive;
    font-size: 3rem;
    letter-spacing: 0.05em;
    color: #0f172a;
}

.j-stat-plus {
    font-family: 'Bangers', cursive;
    font-size: 2.25rem;
    color: #ef4444;
}

.j-stat-label {
    display: block;
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 700;
    margin-top: 0.15rem;
}

/* Timeline Vertical Line & Spider Crawler Following Scroll */
.timeline-container {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 6px;
    background: #e2e8f0;
    transform: translateX(-50%);
    border-radius: 6px;
    overflow: visible;
    z-index: 1;
}

/* Dynamic Silk Line Extended by Spider as User Scrolls */
.timeline-silk-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 0%;
    background: linear-gradient(180deg, #ffffff 0%, #00f0ff 60%, #ef4444 100%);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.9), 0 0 24px rgba(239, 68, 68, 0.7);
    border-radius: 9999px;
    z-index: 2;
    transition: height 0.08s ease-out;
}

/* Flowing Laser Beam Moving Downward */
.timeline-laser-beam {
    position: absolute;
    top: -30%;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(180deg, transparent 0%, #ef4444 60%, #00f0ff 100%);
    box-shadow: 0 0 15px #ef4444, 0 0 25px #00f0ff;
    animation: laserBeamFlow 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    z-index: 3;
}

/* Hanging Spider Crawler that moves down following scroll */
.timeline-spider-crawler {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: #0f172a;
    border: 3px solid #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.8), 0 0 35px rgba(0, 240, 255, 0.5), 3px 3px 0px #0f172a;
    z-index: 10;
    cursor: pointer;
    transition: top 0.08s ease-out, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-spider-crawler:hover {
    transform: translate(-50%, -50%) scale(1.25);
    border-color: #00f0ff;
    box-shadow: 0 0 30px #00f0ff, 0 0 50px rgba(239, 68, 68, 0.9);
}

.spider-crawler-body {
    font-size: 1.5rem;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spiderCrawlWiggle 1.8s ease-in-out infinite alternate;
}

.timeline-spider-crawler:hover .spider-crawler-body {
    color: #00f0ff;
}

.spider-glow-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.35);
    animation: spiderRipplePulse 1.8s infinite;
    z-index: -1;
}

@keyframes spiderCrawlWiggle {
    0% { transform: rotate(-12deg) translateY(-2px); }
    100% { transform: rotate(12deg) translateY(2px); }
}

@keyframes spiderRipplePulse {
    0% { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(2); opacity: 0; }
}

.timeline-dot.active-glow {
    box-shadow: 0 0 25px #00f0ff, 0 0 45px #ef4444 !important;
    transform: scale(1.35);
}

.timeline-dot.passed-glow {
    border-color: #00f0ff !important;
    background: #00f0ff !important;
}

@keyframes flowLaserDown {
    0% {
        top: -35%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        top: 135%;
        opacity: 0;
    }
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 3.5rem;
}

.left-item {
    left: 0;
    padding-right: 3.5rem;
    text-align: right;
}

.right-item {
    left: 50%;
    padding-left: 3.5rem;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 1.5rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    border: 3.5px solid #0f172a;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.dot-pulse-ring {
    position: absolute;
    top: -6px; left: -6px; right: -6px; bottom: -6px;
    border-radius: 50%;
    border: 2px solid #ef4444;
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

.dot-red { background: #ef4444; }
.dot-cyan { background: #00f0ff; }
.dot-purple { background: #a855f7; }

.left-item .timeline-dot { right: -11px; }
.right-item .timeline-dot { left: -11px; }

.timeline-card {
    background: #ffffff;
    border: var(--comic-border);
    border-radius: 22px;
    padding: 1.75rem;
    box-shadow: var(--comic-shadow);
    display: inline-block;
    width: 100%;
    transition: var(--trans-fast);
}

.timeline-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--comic-shadow-lg);
}

.timeline-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.job-tag {
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 800;
    border: 1px solid #0f172a;
}

.tag-red { background: #fee2e2; color: #b91c1c; }
.tag-cyan { background: #e0f2fe; color: #0369a1; }
.tag-purple { background: #f3e8ff; color: #6b21a8; }

.timeline-role {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.timeline-company {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.timeline-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.timeline-tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.left-item .timeline-tech-pills { justify-content: flex-end; }

.timeline-tech-pills span {
    padding: 0.2rem 0.6rem;
    background: #f1f5f9;
    border: 1px solid #0f172a;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #334155;
    font-family: 'JetBrains Mono', monospace;
}

/* ==========================================================================
   5. SHOWCASE: COMPACT MULTIVERSE STACKING DECK & DYNAMIC SUNSET
   ========================================================================== */

.showcase-section {
    position: relative;
    padding: 4.5rem 0 5rem;
    background: linear-gradient(180deg, #f0f9ff 0%, #ede9fe 50%, #1e1b4b 100%);
    color: var(--text-dark-main);
    z-index: 5;
    transition: background 0.3s ease;
    overflow: visible;
}

/* Dynamic Sun Setting into Horizon (Centered Behind Stacking Deck) */
.sunset-sky-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.dynamic-sun {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    transition: transform 0.12s linear, filter 0.25s ease;
}

.sun-body {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #fde047 25%, #f59e0b 65%, #ea580c 100%);
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(245, 158, 11, 0.85), 0 0 110px rgba(234, 88, 12, 0.6);
    position: relative;
}

/* Radiant Sun Rays around the sun */
.sun-body::before {
    content: '';
    position: absolute;
    top: -15px; left: -15px; right: -15px; bottom: -15px;
    border-radius: 50%;
    border: 3px dashed rgba(253, 224, 71, 0.6);
    animation: rotateSunRays 25s linear infinite;
}

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

.sun-glow {
    position: absolute;
    top: -30px; left: -30px; right: -30px; bottom: -30px;
    background: radial-gradient(circle, rgba(253, 224, 71, 0.45), transparent 70%);
    border-radius: 50%;
    animation: sunPulse 3s ease-in-out infinite alternate;
}

@keyframes sunPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.25); opacity: 1; }
}

.showcase-header {
    margin-bottom: 2.75rem;
    position: relative;
    z-index: 2;
}

.spider-multiverse-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: #ef4444;
    color: #ffffff;
    font-family: 'Bangers', cursive;
    font-size: 1rem;
    letter-spacing: 0.05em;
    border: var(--comic-border);
    border-radius: 9999px;
    box-shadow: 2px 2px 0px #0f172a;
    margin-bottom: 0.5rem;
}

.showcase-instruction {
    font-size: 1rem;
    color: #475569;
    max-width: 580px;
    margin: 0.5rem auto 1.25rem;
    line-height: 1.6;
}

.scroll-down-text {
    font-family: 'Bangers', cursive;
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    color: #ef4444;
}

/* Stacking Deck Container (Single-Slot Compact Deck without eating vertical space) */
.card-deck-stack {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 0 1.25rem;
    position: relative;
    z-index: 2;
}

.stack-card {
    position: sticky;
    top: 130px;
    border-radius: 24px;
    background: #ffffff;
    border: 2px solid #0f172a;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12), 4px 4px 0px #0f172a;
    overflow: hidden;
    margin-bottom: 80px;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, opacity 0.28s ease;
    transform-origin: center top;
}

.stack-card:last-child {
    margin-bottom: 30px;
}

.stack-card-inner {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: center;
    padding: 1.85rem 2.25rem;
    gap: 2rem;
}

/* REAL SCREENSHOT BROWSER WINDOW MOCKUP */
.card-preview-col {
    display: flex;
    justify-content: center;
}

.browser-window-frame {
    width: 100%;
    height: 210px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    border: 2px solid #0f172a;
    box-shadow: 4px 4px 0px #0f172a;
    overflow: hidden;
    background: #ffffff;
}

.mock-top-bar {
    padding: 0.45rem 0.85rem;
    background: #f1f5f9;
    border-bottom: 2px solid #0f172a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.browser-dots {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.b-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid #0f172a;
}

.b-red { background: #ef4444; }
.b-yellow { background: #eab308; }
.b-green { background: #22c55e; }

.mock-url-pill {
    padding: 0.15rem 0.65rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-screenshot-wrapper {
    position: relative;
    flex: 1;
    width: 100%;
    overflow: hidden;
    background: #f8fafc;
}

.mock-screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.stack-card:hover .mock-screenshot-img {
    transform: scale(1.04);
}

.screenshot-hover-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 0.25rem 0.65rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid #ffffff;
    border-radius: 9999px;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

/* TERMINAL WINDOW FRAME */
.terminal-window-frame {
    width: 100%;
    height: 210px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    border: 2px solid #0f172a;
    box-shadow: 4px 4px 0px #0f172a;
    overflow: hidden;
    background: #0f172a;
}

.terminal-top-bar {
    background: #1e293b;
    border-bottom: 2px solid #334155;
    padding: 0.45rem 0.85rem;
}

.terminal-title {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-color: #334155 !important;
}

.mock-terminal-body {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    line-height: 1.45;
}

.term-green { color: #4ade80; }
.term-cyan { color: #38bdf8; }
.term-white { color: #f1f5f9; }
.term-yellow { color: #fde047; }
.term-purple { color: #c084fc; }

/* Card Details */
.project-category-tag {
    font-family: 'Bangers', cursive;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border: 1px solid #0f172a;
    border-radius: 6px;
    margin-bottom: 0.65rem;
    box-shadow: 2px 2px 0px #0f172a;
}

.tag-pink-badge { background: #ffe4e6; color: #9f1239; }
.tag-green-badge { background: #dcfce7; color: #166534; }
.tag-amber-badge { background: #fef3c7; color: #854d0e; }
.tag-cyan-badge { background: #e0f2fe; color: #075985; }
.tag-purple-badge { background: #f3e8ff; color: #6b21a8; }

.project-name {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.85rem;
    color: #0f172a;
}

.project-summary {
    font-size: 0.95rem;
    color: var(--text-dark-sub);
    line-height: 1.65;
    margin-bottom: 1.35rem;
}

.project-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.75rem;
}

.p-tag {
    padding: 0.3rem 0.75rem;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #475569;
}

.card-btn-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   6. INTERACTIVE GRAFFITI / STICKY WEB WALL
   ========================================================================== */

.wall-section {
    position: relative;
    padding: 6.5rem 0;
    background: #ffffff;
    color: var(--text-dark-main);
    z-index: 5;
}

.wall-interactive-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr 1fr;
    gap: 2.25rem;
    align-items: start;
}

.wall-feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sticky-note {
    border-radius: 20px;
    padding: 1.5rem;
    border: var(--comic-border);
    box-shadow: var(--comic-shadow);
    font-size: 0.9rem;
    line-height: 1.55;
    transform: rotate(var(--rot, 0deg));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sticky-note:hover {
    transform: scale(1.05) rotate(0deg);
    box-shadow: var(--comic-shadow-lg);
}

.left-feed .sticky-note:nth-child(1) { --rot: -2.5deg; }
.left-feed .sticky-note:nth-child(2) { --rot: 2.5deg; }
.left-feed .sticky-note:nth-child(3) { --rot: -1.8deg; }

.right-feed .sticky-note:nth-child(1) { --rot: 2.5deg; }
.right-feed .sticky-note:nth-child(2) { --rot: -2.5deg; }
.right-feed .sticky-note:nth-child(3) { --rot: 1.8deg; }

.note-pink { background: #ffe4e6; color: #9f1239; }
.note-yellow { background: #fef9c3; color: #854d0e; }
.note-green { background: #dcfce7; color: #166534; }
.note-blue { background: #e0f2fe; color: #075985; }
.note-lavender { background: #f3e8ff; color: #6b21a8; }

.note-time {
    font-size: 0.72rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
}

.note-author {
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.note-content {
    font-style: italic;
}

/* Center Form Card */
.wall-form-card {
    background: #ffffff;
    border: var(--comic-border);
    border-radius: 32px;
    padding: 2.75rem;
    box-shadow: var(--comic-shadow-lg);
    text-align: center;
    position: relative;
}

.spider-tag-small {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #facc15;
    color: #0f172a;
    font-family: 'Bangers', cursive;
    font-size: 0.85rem;
    border: 1px solid #0f172a;
    border-radius: 6px;
    box-shadow: 2px 2px 0px #0f172a;
    margin-bottom: 0.5rem;
}

.wall-form-sub {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.35rem;
    text-align: left;
}

.form-group label {
    font-family: 'Bangers', cursive;
    font-size: 0.9rem;
    color: #0f172a;
    letter-spacing: 0.05em;
}

.wall-input, .wall-textarea {
    padding: 0.95rem 1.25rem;
    border: 2px solid #0f172a;
    border-radius: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    color: #0f172a;
    outline: none;
    transition: var(--trans-fast);
    background: #f8fafc;
    box-shadow: 2px 2px 0px #0f172a;
}

.wall-input:focus, .wall-textarea:focus {
    border-color: #ef4444;
    background: #ffffff;
    box-shadow: 3px 3px 0px #ef4444;
}

/* ==========================================================================
   7. FOOTER & CONTACT CTA
   ========================================================================== */

.contact-section {
    position: relative;
    padding: 7.5rem 0 4rem;
    background: radial-gradient(circle at 50% 25%, #1e1b4b 0%, #090d16 65%, #030712 100%);
    color: #ffffff;
    z-index: 5;
    overflow: hidden;
}

.spider-signal-glyph-wrapper {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.spider-signal-glyph {
    position: relative;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.3) 0%, rgba(15, 23, 42, 0.95) 75%);
    border: 2.5px solid #ef4444;
    box-shadow: 0 0 45px rgba(239, 68, 68, 0.7), inset 0 0 25px rgba(239, 68, 68, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #ffffff;
}

.spider-web-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed rgba(0, 240, 255, 0.4);
    pointer-events: none;
}

.spider-web-ring.ring-1 {
    width: 120px;
    height: 120px;
    top: -17px;
    left: -17px;
    animation: spinRing 20s linear infinite;
}

.spider-web-ring.ring-2 {
    width: 154px;
    height: 154px;
    top: -34px;
    left: -34px;
    border-color: rgba(239, 68, 68, 0.3);
    animation: spinRing 30s linear infinite reverse;
}

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

.portal-orbit-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #00f0ff;
    border-radius: 50%;
    box-shadow: 0 0 14px #00f0ff;
    top: 50%;
    left: 50%;
    transform-origin: 0 -48px;
    animation: orbitPortalDot 3.5s linear infinite;
}

@keyframes orbitPortalDot {
    0% { transform: rotate(0deg) translate(-50%, -50%); }
    100% { transform: rotate(360deg) translate(-50%, -50%); }
}

.contact-subtext {
    font-size: 1.1rem;
    color: #e2e8f0;
    max-width: 660px;
    margin: 0 auto 2.75rem;
    line-height: 1.75;
}

.hire-cta-wrap {
    margin-bottom: 2rem;
}

.btn-spider-hire {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.1rem 3rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.06em;
    border-radius: 9999px;
    border: 2.5px solid #ffffff;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(239, 68, 68, 0.7), 4px 4px 0px #0f172a;
    transition: var(--trans-smooth);
    cursor: pointer;
}

.btn-spider-hire:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 55px rgba(255, 0, 85, 0.9), 6px 6px 0px #00f0ff;
    border-color: #00f0ff;
    color: #ffffff !important;
}

.btn-spider-hire i {
    font-size: 1.15rem;
    color: #fecdd3;
    transition: transform 0.25s ease;
}

.btn-spider-hire:hover i {
    color: #00f0ff;
    transform: scale(1.2);
}

/* 3-Column Spider-Verse Minimalist Bottom Footer Bar */
.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3.5rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 4.5rem;
    font-size: 0.88rem;
    color: #94a3b8;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: #f1f5f9;
}

.footer-left i { color: #ef4444; }

.footer-center {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-center a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 700;
    transition: var(--trans-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-center a:hover {
    color: #00f0ff;
}

.footer-center a i {
    color: #ef4444;
}

.footer-center a:hover i {
    color: #00f0ff;
}

.footer-cv-link {
    background: rgba(2, 132, 199, 0.2);
    padding: 3px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(0, 240, 255, 0.4);
    color: #00f0ff !important;
}

.footer-right {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #64748b;
}

/* ==========================================================================
   8. FLOATING SPIDER-HUD DOCK
   ========================================================================== */

.floating-dock-wrapper {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.floating-dock-pill {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    background: rgba(15, 23, 42, 0.94);
    border: 2px solid #ef4444;
    border-radius: 9999px;
    backdrop-filter: blur(24px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(239, 68, 68, 0.35);
}

.dock-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    color: #94a3b8;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    transition: all 0.2s ease;
    z-index: 2;
}

.dock-item i {
    font-size: 0.9rem;
}

.dock-item:hover {
    color: #ffffff;
}

.dock-item.active {
    color: #ffffff;
    background: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
}

/* ==========================================================================
   MODAL DEEP-DIVE
   ========================================================================== */

.modal-backdrop {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(9, 13, 22, 0.88);
    backdrop-filter: blur(16px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: #ffffff;
    border: var(--comic-border);
    border-radius: 28px;
    width: 100%;
    max-width: 860px;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--comic-shadow-lg);
    padding: 2.75rem;
    color: #0f172a;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-container {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 2px solid #0f172a;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    transition: var(--trans-fast);
}

.modal-close-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

.modal-code-block {
    background: #0f172a;
    border: 2px solid #334155;
    border-radius: 12px;
    padding: 1.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    overflow-x: auto;
    color: #fecdd3;
    line-height: 1.65;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 992px) {
    .hero-island-3d {
        width: 100%;
        max-width: 480px;
    }
    .comic-title { font-size: 3rem; }
    .about-grid { grid-template-columns: 1fr; }
    .journey-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .domain-cards-grid { grid-template-columns: 1fr; }
    .stack-card-inner { grid-template-columns: 1fr; }
    .wall-interactive-layout { grid-template-columns: 1fr; }
    .floating-dock-pill span { display: none; }
}

@media (max-width: 600px) {
    .script-title { font-size: 2.75rem; }
    .script-title-large { font-size: 3rem; }
    .script-title-huge { font-size: 3.25rem; }
    .spider-badge-pill { display: none; }
    .timeline-item { width: 100%; left: 0 !important; padding-left: 2rem !important; padding-right: 0 !important; text-align: left !important; }
    .timeline-line-track { left: 0; }
    .timeline-dot { left: -11px !important; }
}
