/* Ticker Styles */
.ticker {
    background-color: #0f172a;
    color: #cbd5e1;
    overflow: hidden;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-family: var(--font-mono);
    position: relative;
    z-index: 50;
    border-bottom: 1px solid #1e293b;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
}

.ticker-space {
    margin-right: 4rem;
}

.ticker-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Navigation */
.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-button {
    padding: 0.5rem 1rem;
    background-color: #0f172a;
    color: white;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-button:hover {
    background-color: #2563eb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.status-badge-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #0f172a;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.75;
    color: #64748b;
}

/* Terminal Component */
.terminal {
    background-color: #0f172a;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.2);
    border: 1px solid #334155;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.terminal-header {
    height: 2rem;
    background-color: #1e293b;
    border-bottom: 1px solid #334155;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
}

.terminal-title {
    font-size: 0.75rem;
    color: #94a3b8;
    font-family: var(--font-mono);
}

.terminal-dots {
    display: flex;
    gap: 0.375rem;
}

.terminal-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
}

.terminal-dot.red { background-color: #ef4444; }
.terminal-dot.yellow { background-color: #eab308; }
.terminal-dot.green { background-color: #10b981; }

.terminal-content {
    padding: 1.25rem;
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #cbd5e1;
}

.terminal-footer {
    background-color: #020617;
    padding: 0.75rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    border-top: 1px solid #1e293b;
}

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

.terminal-metric-label {
    font-size: 0.5625rem;
    color: #64748b;
}

.terminal-metric-value {
    font-weight: 700;
}

.terminal-metric-value.precision { color: #10b981; }
.terminal-metric-value.recall { color: #10b981; }
.terminal-metric-value.latency { color: #2563eb; }

/* Floating Cards */
.hero-orbits {
    pointer-events: none;
    transform-style: preserve-3d;
    --hero-tilt-x: 0deg;
    --hero-tilt-y: 0deg;
    transition: transform 0.9s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    will-change: transform;
    transform: rotateX(var(--hero-tilt-x)) rotateY(var(--hero-tilt-y));
}

.floating-card-orbit {
    pointer-events: none;
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    filter: drop-shadow(0 25px 35px rgba(15, 23, 42, 0.25));
}

.floating-card-orbit::after {
    content: "";
    position: absolute;
    inset: -30%;
    border-radius: 999px;
    border: 1px dashed rgba(59, 130, 246, 0.25);
    opacity: 0.4;
    animation: orbitSpin 15s linear infinite, orbitPulse 6s ease-in-out infinite;
    pointer-events: none;
}

.floating-card {
    --glare-x: 50%;
    --glare-y: 35%;
    --magnet-strength: 0;
    --card-glow-alpha: 0.25;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 240px;
    padding: 0.85rem 1.2rem;
    background: rgba(255, 255, 255, 0.95);
    background-image:
        linear-gradient(140deg, rgba(226, 232, 240, 0.45), rgba(255, 255, 255, 0.2)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    background-size: 200% 200%;
    animation: cardAurora 12s ease infinite;
    border-radius: 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow:
        0 30px 50px -25px rgba(15, 23, 42, 0.42),
        0 0 30px rgba(59, 130, 246, var(--card-glow-alpha));
    backdrop-filter: blur(18px) saturate(140%);
    cursor: grab;
    user-select: none;
    pointer-events: auto;
    touch-action: none;
    transition:
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s ease,
        border-color 0.3s ease;
    will-change: transform, box-shadow;
    overflow: hidden;
    transform-style: preserve-3d;
    z-index: 1;
}

.floating-card::before {
    content: "";
    position: absolute;
    inset: -60% -20% auto -20%;
    height: 140%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
    opacity: 0;
    transform: translate3d(0, 0, 60px);
    transition: opacity 0.4s ease;
    pointer-events: none;
    mix-blend-mode: screen;
}

.floating-card::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: inherit;
    background: radial-gradient(circle at var(--glare-x) var(--glare-y),
            rgba(255, 255, 255, 0.55),
            transparent 50%);
    opacity: 0.25;
    mix-blend-mode: screen;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.floating-card.is-hovered::before,
.floating-card.is-hovered::after,
.floating-card.is-dragging::before,
.floating-card.is-dragging::after {
    opacity: 0.9;
}

.floating-card.is-dragging {
    cursor: grabbing;
    transition: none;
    z-index: 5;
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow:
        0 45px 60px -25px rgba(15, 23, 42, 0.6),
        0 0 50px rgba(14, 165, 233, 0.45);
}

.floating-card-echo {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(59, 130, 246, 0.25);
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12), transparent 65%);
    filter: blur(0.5px);
    opacity: 0;
    transform: translate3d(var(--echo-x, 0), var(--echo-y, 0), 0) scale(0.85);
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.floating-card-echo.is-visible {
    opacity: 0.5;
    transform: translate3d(var(--echo-x, 0), var(--echo-y, 0), 0) scale(1.08);
}

.floating-card-echo.is-fading {
    opacity: 0;
    transform: translate3d(var(--echo-x, 0), var(--echo-y, 0), 0) scale(1.25);
}

.floating-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow:
        inset 0 1px 4px rgba(255, 255, 255, 0.65),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.floating-card-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7b869d;
}

.floating-card-description {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1f2a44;
    line-height: 1.2;
    margin-top: 0.15rem;
}

.floating-card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* Experience Timeline */
.timeline-container {
    position: relative;
    margin-left: 1rem;
}

@media (min-width: 768px) {
    .timeline-container {
        margin-left: 3rem;
    }
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 0.5rem;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, #2563eb, #cbd5e1, transparent);
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -9px;
    top: 0;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-color: #2563eb;
    border: 4px solid white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.1);
}

.timeline-item.past .timeline-dot {
    background-color: #cbd5e1;
}

.job-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.company-name {
    font-size: 1.125rem;
    color: #334155;
    font-weight: 500;
}

.job-badge {
    font-size: 0.875rem;
    font-family: var(--font-mono);
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.job-badge.current {
    color: #2563eb;
    background-color: #eff6ff;
}

.job-badge.past {
    color: #64748b;
    background-color: #e2e8f0;
}

.job-achievements {
    list-style-type: disc;
    margin-left: 1rem;
    color: #475569;
    line-height: 1.625;
    font-size: 0.875rem;
}

.job-achievements li {
    margin-top: 0.25rem;
}

/* Experience Tabs */
.experience-shell {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 28px 60px -36px rgba(37, 99, 235, 0.28), 0 12px 32px -24px rgba(15, 23, 42, 0.35);
}

.experience-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08), transparent 40%), radial-gradient(circle at 80% 10%, rgba(56, 189, 248, 0.08), transparent 40%);
    pointer-events: none;
}

.exp-layout {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
    z-index: 1;
}

@media (min-width: 1024px) {
    .exp-layout {
        grid-template-columns: 0.9fr 2.1fr;
        padding: 1.75rem;
    }
}

.exp-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.exp-tab {
    width: 100%;
    text-align: left;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
    color: #0f172a;
    cursor: pointer;
    transition: all 200ms ease;
    position: relative;
}

.exp-tab::after {
    content: "";
    position: absolute;
    right: 0.8rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.7), rgba(6, 182, 212, 0.7));
    opacity: 0;
    transform: scaleY(0.6);
    transition: all 200ms ease;
}

.exp-tab.is-active::after {
    opacity: 1;
    transform: scaleY(1);
    background-size: 180% 180%;
    animation: exp-tab-bar 6s ease-in-out infinite;
}

.exp-tab:hover {
    border-color: #cbd5e1;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 30px -20px rgba(15, 23, 42, 0.3);
}

.exp-tab.is-active {
    border-color: rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(229, 239, 255, 0.95));
    box-shadow: 0 18px 40px -26px rgba(37, 99, 235, 0.32);
}

.exp-tab-label {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.exp-tab-sub {
    font-size: 0.9rem;
    color: #475569;
    margin-top: 0.1rem;
}

.exp-pane-wrap {
    position: relative;
}

.exp-pane {
    display: none;
    padding: 1.35rem;
    border-radius: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 15px 45px -30px rgba(15, 23, 42, 0.4);
    position: relative;
    overflow: hidden;
    transition: transform 200ms ease, box-shadow 200ms ease, border 200ms ease;
}

.exp-pane.is-active {
    display: block;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 20px 50px -32px rgba(37, 99, 235, 0.28);
    border-color: rgba(37, 99, 235, 0.32);
}

.exp-pane-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.exp-pane-kicker {
    font-size: 0.85rem;
    font-family: var(--font-mono);
    color: #2563eb;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.exp-pane-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin-top: 0.15rem;
}

.exp-pane-metrics {
    display: grid;
    grid-auto-flow: column;
    gap: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 0.85rem;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.exp-metric {
    text-align: right;
}

.exp-metric-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #94a3b8;
}

.exp-metric-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.exp-metric-value.good {
    color: #16a34a;
}

.exp-list {
    list-style: disc;
    padding-left: 1.2rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.exp-list li + li {
    margin-top: 0.35rem;
}

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

.exp-tags span {
    padding: 0.35rem 0.7rem;
    border-radius: 0.8rem;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #0f172a;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Soft glow + sheen */
.exp-pane::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.08), rgba(34, 211, 238, 0.08), rgba(37, 99, 235, 0.08));
    opacity: 0;
    filter: blur(18px);
    transition: opacity 220ms ease;
    pointer-events: none;
}

.exp-pane.is-active::before {
    opacity: 1;
    animation: exp-pane-sheen 10s ease-in-out infinite;
}

@keyframes exp-tab-bar {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes exp-pane-sheen {
    0% { background-position: 0% 50%; }
    50% { background-position: 80% 50%; }
    100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .exp-tab,
    .exp-pane {
        transition: none;
    }
    .exp-pane::before,
    .exp-tab::after {
        animation: none;
    }
}

/* Project Cards */
/* Projects Panorama */
.projects-shell {
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1rem 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.96));
    box-shadow: 0 28px 60px -36px rgba(37, 99, 235, 0.28), 0 12px 32px -24px rgba(15, 23, 42, 0.35);
}

.project-belt {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 340px);
    gap: 1rem;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0.5rem 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    cursor: grab;
    scroll-behavior: smooth;
}

.project-belt::-webkit-scrollbar {
    height: 6px;
}

.project-belt::-webkit-scrollbar-track {
    background: transparent;
}

.project-belt::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.project-belt::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.project-panel {
    position: relative;
    scroll-snap-align: start;
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1rem;
    padding: 1.1rem;
    min-height: 320px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 16px 40px -28px rgba(15, 23, 42, 0.4);
    transition: transform 220ms ease, box-shadow 220ms ease, border 220ms ease;
    cursor: default;
    display: flex;
    flex-direction: column;
}

.project-belt.dragging {
    cursor: grabbing;
    user-select: none;
}

.project-belt.dragging * {
    user-select: none;
}

.project-panel.is-active {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 20px 50px -30px rgba(37, 99, 235, 0.28);
}

.project-panel:hover {
    transform: translateY(-4px);
}

.project-visual {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.18), transparent 55%), radial-gradient(circle at 70% 70%, rgba(34, 211, 238, 0.18), transparent 55%);
    display: grid;
    place-items: center;
    position: relative;
    margin-bottom: 0.65rem;
    overflow: hidden;
}

.project-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.65), transparent);
    opacity: 0;
    transform: translateX(-40%);
    transition: opacity 220ms ease, transform 220ms ease;
}

.project-panel:hover .project-visual::after {
    opacity: 1;
    transform: translateX(20%);
}

.project-visual-ring {
    position: absolute;
    inset: -8px;
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    animation: project-ring 12s ease-in-out infinite;
}

.project-visual.amber { background: radial-gradient(circle at 30% 30%, rgba(234, 179, 8, 0.22), transparent 55%), radial-gradient(circle at 70% 70%, rgba(251, 191, 36, 0.22), transparent 55%); }
.project-visual.purple { background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.22), transparent 55%), radial-gradient(circle at 70% 70%, rgba(217, 70, 239, 0.22), transparent 55%); }
.project-visual.pink { background: radial-gradient(circle at 30% 30%, rgba(236, 72, 153, 0.22), transparent 55%), radial-gradient(circle at 70% 70%, rgba(236, 72, 153, 0.18), transparent 55%); }
.project-visual.cyan { background: radial-gradient(circle at 30% 30%, rgba(14, 165, 233, 0.2), transparent 55%), radial-gradient(circle at 70% 70%, rgba(34, 211, 238, 0.2), transparent 55%); }
.project-visual.red { background: radial-gradient(circle at 30% 30%, rgba(248, 113, 113, 0.22), transparent 55%), radial-gradient(circle at 70% 70%, rgba(244, 63, 94, 0.2), transparent 55%); }
.project-visual.green { background: radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.2), transparent 55%), radial-gradient(circle at 70% 70%, rgba(34, 197, 94, 0.2), transparent 55%); }

.project-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #475569;
    margin-bottom: 0.55rem;
}

.project-chip.success {
    color: #16a34a;
    background: rgba(22, 163, 74, 0.08);
    border-color: rgba(22, 163, 74, 0.2);
}

.project-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.project-blurb {
    margin: 0.55rem 0 0.8rem;
    color: #475569;
    line-height: 1.65;
    font-size: 0.95rem;
}

.project-meta {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    font-size: 0.83rem;
    color: #0f172a;
    font-weight: 650;
    margin-bottom: 0.65rem;
}

.project-meta span {
    padding: 0.35rem 0.55rem;
    border-radius: 0.75rem;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.32);
}

.project-tags {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.project-tags span {
    padding: 0.3rem 0.55rem;
    border-radius: 0.7rem;
    background: rgba(37, 99, 235, 0.08);
    color: #1e3a8a;
    font-weight: 700;
    font-size: 0.82rem;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.project-tags {
    margin-top: auto;
}

.project-nav {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    box-shadow: 0 10px 25px -18px rgba(15, 23, 42, 0.35);
    transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
}

.project-nav:hover {
    transform: translateY(-1px);
    border-color: #cbd5e1;
    box-shadow: 0 16px 32px -22px rgba(15, 23, 42, 0.4);
}

.project-indicators {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 1.1rem;
}

.project-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #cbd5e1;
    transition: width 180ms ease, background 180ms ease;
}

.project-dot.is-active {
    width: 28px;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
}

@keyframes project-ring {
    0% { transform: rotate(0deg) scale(1); opacity: 0.7; }
    50% { transform: rotate(180deg) scale(1.04); opacity: 1; }
    100% { transform: rotate(360deg) scale(1); opacity: 0.7; }
}

@media (max-width: 640px) {
    .project-belt {
        grid-auto-columns: 85%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-panel,
    .project-nav {
        transition: none;
    }
    .project-visual-ring {
        animation: none;
    }
}

/* Live Labs specifics */
.live-labs-shell {
    padding: 1.25rem 0.9rem 1.6rem;
}

.live-labs-belt {
    grid-auto-columns: minmax(280px, 360px);
}

.live-lab {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 249, 0.94));
}

.live-lab.is-active {
    border-color: rgba(34, 211, 238, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 22px 55px -30px rgba(34, 211, 238, 0.32);
}

.live-lab-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.live-ring {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.live-ring-track {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.18);
    animation: live-spin 9s linear infinite;
}

.live-ring-core {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: white;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 30px -18px rgba(15, 23, 42, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.live-ring-chip {
    position: absolute;
    bottom: -0.65rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #0f172a;
    white-space: nowrap;
}

.live-ring.amber .live-ring-track { border-color: rgba(234, 179, 8, 0.32); }
.live-ring.purple .live-ring-track { border-color: rgba(168, 85, 247, 0.32); }
.live-ring.pink .live-ring-track { border-color: rgba(236, 72, 153, 0.32); }
.live-ring.cyan .live-ring-track { border-color: rgba(6, 182, 212, 0.32); }
.live-ring.red .live-ring-track { border-color: rgba(248, 113, 113, 0.32); }
.live-ring.green .live-ring-track { border-color: rgba(34, 197, 94, 0.32); }

.live-metric {
    text-align: right;
}

.live-metric-label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: #94a3b8;
    text-transform: uppercase;
}

.live-metric-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

@keyframes live-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .live-ring-track,
    .live-launch-glow {
        animation: none;
    }
}

/* Achievements */
.achievements-shell {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(226, 232, 240, 0.9));
    box-shadow: 0 28px 60px -36px rgba(37, 99, 235, 0.28), 0 12px 32px -24px rgba(15, 23, 42, 0.35);
    padding: 1.5rem;
}

.achievements-shell::before {
    content: "";
    position: absolute;
    inset: -25%;
    background: conic-gradient(from 120deg, rgba(37, 99, 235, 0.16), rgba(34, 211, 238, 0.12), rgba(59, 130, 246, 0.12), rgba(37, 99, 235, 0.16));
    filter: blur(70px);
    opacity: 0.55;
    animation: ach-glow 18s linear infinite;
    pointer-events: none;
}

.achievements-shell.mosaic::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(59, 130, 246, 0.12), transparent 32%),
        radial-gradient(circle at 86% 18%, rgba(34, 211, 238, 0.12), transparent 28%),
        radial-gradient(circle at 60% 70%, rgba(168, 85, 247, 0.1), transparent 34%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.15), rgba(226, 232, 240, 0.1));
    opacity: 0.9;
    pointer-events: none;
}

.ach-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ach-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.7;
    animation: ach-drift 18s ease-in-out infinite;
}

.ach-orb.one { top: 6%; left: 8%; background: rgba(59, 130, 246, 0.22); animation-delay: 0s; }
.ach-orb.two { top: 35%; right: 4%; background: rgba(34, 211, 238, 0.2); animation-delay: 3s; }
.ach-orb.three { bottom: -8%; left: 34%; background: rgba(168, 85, 247, 0.18); animation-delay: 7s; width: 240px; height: 240px; }

.ach-weave {
    position: absolute;
    inset: 0.5rem;
    pointer-events: none;
    opacity: 0.5;
}

.ach-path {
    fill: none;
    stroke: url(#ach-flow);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-dasharray: 12 14;
    animation: ach-dash 16s linear infinite;
}

.ach-mosaic {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr;
    grid-template-rows: repeat(2, minmax(200px, 1fr));
    gap: 1rem;
}

@media (max-width: 960px) {
    .ach-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }
}

.ach-hero {
    grid-row: span 2;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(226, 241, 255, 0.95));
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 1.25rem;
    padding: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 50px -32px rgba(37, 99, 235, 0.35);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    position: relative;
    overflow: hidden;
    padding-bottom: 1rem;
    min-height: 400px;
}

@media (max-width: 768px) {
    .ach-hero {
        grid-row: auto;
        min-height: auto;
        padding-bottom: 1.25rem;
    }
}

.ach-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), rgba(226, 232, 240, 0.08));
    opacity: 0;
    transition: opacity 200ms ease;
}

.ach-hero:hover::after {
    opacity: 1;
}

.ach-hero-rank {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: #1e3a8a;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    width: fit-content;
}

.ach-hero-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.ach-hero-meta {
    font-size: 0.95rem;
    color: #475569;
}

.ach-hero-desc {
    color: #1f2937;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0.35rem 0;
}

.ach-hero-tags {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.ach-hero-tags span {
    padding: 0.35rem 0.65rem;
    border-radius: 0.8rem;
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: #0f172a;
    font-weight: 700;
    font-size: 0.85rem;
}

.ach-badge {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    top: 8rem;
    border-radius: 24px;
    border: 1px solid rgba(234, 179, 8, 0.3);
    box-shadow: 0 22px 60px -30px rgba(234, 179, 8, 0.4);
    display: grid;
    place-items: center;
    overflow: hidden;
    animation: ach-bob 5s ease-in-out infinite;
    pointer-events: none;
}

@media (max-width: 768px) {
    .ach-badge {
        position: static;
        margin-top: 1.5rem;
        padding: 2rem 1rem;
        height: auto;
        min-height: 200px;
    }
}

.ach-badge-svg {
    width: 100%;
    height: 100%;
    max-width: 220px;
    max-height: 260px;
    filter: drop-shadow(0 8px 20px rgba(234, 179, 8, 0.6));
}

@media (max-width: 768px) {
    .ach-badge-svg {
        max-width: 140px;
        max-height: 180px;
    }
}

.ach-badge-ping {
    position: absolute;
    inset: 20px;
    border-radius: 20px;
    border: 2px solid rgba(234, 179, 8, 0.3);
    animation: ach-ping 3.6s ease-in-out infinite;
}


@keyframes ach-glow {
    0% {
        box-shadow: 0 22px 60px -30px rgba(234, 179, 8, 0.4);
        border-color: rgba(234, 179, 8, 0.3);
    }
    100% {
        box-shadow: 0 25px 70px -30px rgba(234, 179, 8, 0.6);
        border-color: rgba(234, 179, 8, 0.5);
    }
}

.ach-tiles-column {
    display: grid;
    gap: 1rem;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    grid-row: span 2;
}

.ach-tile {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 15px 40px -30px rgba(15, 23, 42, 0.35);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    transition: transform 200ms ease, box-shadow 200ms ease, border 200ms ease;
}

.ach-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 20px 50px -32px rgba(37, 99, 235, 0.28);
}

.ach-tile.feature {
    grid-row: span 2;
    min-height: 320px;
    padding: 1.2rem;
}

.ach-tile.wide {
    grid-column: span 2;
}

@media (max-width: 960px) {
    .ach-tile.wide {
        grid-column: span 1;
    }
    .ach-tile.feature {
        grid-row: auto;
        min-height: auto;
    }
    .ach-tiles-column {
        grid-row: auto;
        grid-template-rows: none;
    }
}

.ach-tile-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.ach-pill {
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(37, 99, 235, 0.08);
    color: #1e3a8a;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.ach-ratio {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #0f172a;
    padding: 0.25rem 0.55rem;
    border-radius: 0.75rem;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.26);
}

.ach-tile-title {
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.ach-tile-meta {
    font-size: 0.9rem;
    color: #475569;
}

.ach-tile-desc {
    color: #1f2937;
    font-size: 0.95rem;
    line-height: 1.55;
}

.ach-tile.compact {
    padding: 0.85rem;
    gap: 0.25rem;
}

.ach-tile.bronze { border-color: rgba(217, 119, 6, 0.2); }
.ach-tile.blue { border-color: rgba(59, 130, 246, 0.2); }
.ach-tile.sky { border-color: rgba(14, 165, 233, 0.22); }
.ach-tile.purple { border-color: rgba(168, 85, 247, 0.22); }

.ach-medal {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 1rem;
    background: radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.12), transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(234, 88, 12, 0.12), transparent 45%),
        linear-gradient(135deg, rgba(255, 247, 237, 0.92), rgba(253, 230, 138, 0.28));
    border: 1px solid rgba(217, 119, 6, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 12px 30px -22px rgba(180, 83, 9, 0.55);
}

.ach-medal-trophy svg {
    width: 110px;
    height: 110px;
    display: block;
    filter: drop-shadow(0 12px 24px rgba(180, 83, 9, 0.45));
}

.ach-medal-trophy {
    position: relative;
    animation: ach-bob 5s ease-in-out infinite;
}

.ach-medal-trophy::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 999px;
    border: 2px solid rgba(217, 119, 6, 0.32);
    animation: ach-ping 3.6s ease-in-out infinite;
    pointer-events: none;
}

.ach-medal-label {
    font-weight: 800;
    color: #92400e;
    letter-spacing: 0.02em;
    text-align: center;
}

@keyframes ach-glow {
    0% { transform: rotate(0deg); opacity: 0.45; }
    50% { opacity: 0.6; }
    100% { transform: rotate(360deg); opacity: 0.45; }
}

@keyframes ach-drift {
    0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
    50% { transform: translate3d(12px, -8px, 0) scale(1.05); opacity: 0.55; }
    100% { transform: translate3d(-8px, 10px, 0) scale(1); opacity: 0.7; }
}

@keyframes ach-dash {
    0% { stroke-dashoffset: 0; opacity: 0.6; }
    50% { opacity: 0.9; }
    100% { stroke-dashoffset: -400; opacity: 0.6; }
}

@keyframes ach-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes ach-ping {
    0% { opacity: 0.9; transform: scale(0.95); }
    60% { opacity: 0.2; transform: scale(1.15); }
    100% { opacity: 0; transform: scale(1.25); }
}

@media (prefers-reduced-motion: reduce) {
    .ach-hero,
    .ach-tile,
    .ach-hero::after {
        transition: none;
    }
    .achievements-shell::before,
    .ach-orb,
    .ach-weave .ach-path,
    .ach-badge,
    .ach-badge-ping {
        animation: none;
    }
}

/* Blueprint (Architecture) */
#blueprint-canvas {
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

#blueprint-canvas * {
    user-select: none;
    -webkit-user-select: none;
}

#blueprint-canvas.dragging {
    cursor: grabbing;
}

.blueprint-zoom-btn {
    padding: 0.35rem 0.85rem;
    font-size: 0.875rem;
    color: #0f172a;
    background: #f8fafc;
    border: none;
    transition: background 0.15s ease, transform 0.15s ease;
}

.blueprint-zoom-btn:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

#blueprint-svg text {
    font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.flow-line {
    stroke: #cbd5e1;
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 12 16;
    opacity: 0.65;
    animation: flowDash 18s linear infinite;
}

.flow-line.flow-hot {
    stroke: url(#flow);
    stroke-width: 2.6;
    opacity: 0.9;
}

.flow-line.error-loop {
    stroke: #f97316;
    stroke-width: 2;
    stroke-dasharray: 6 10;
    opacity: 0.7;
}

.packet {
    fill: #38bdf8;
    filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.8));
}

.packet.alt {
    fill: #a855f7;
    filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.85));
}

.packet.hot {
    fill: #22c55e;
    filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.85));
}

.node-shell {
    fill: rgba(15, 23, 42, 0.04);
    stroke: rgba(15, 23, 42, 0.3);
    stroke-width: 1.5;
    filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.15));
}

.node-shell.accent {
    stroke: #2563eb;
    fill: rgba(37, 99, 235, 0.08);
}

.node-shell.danger {
    stroke: #f87171;
    fill: rgba(248, 113, 113, 0.08);
}

.node-halo {
    fill: none;
    stroke: rgba(59, 130, 246, 0.22);
    stroke-width: 2;
    stroke-dasharray: 6 12;
    animation: spinHalo 16s linear infinite;
}

.node-icon {
    fill: #0f172a;
    font-size: 20px;
    text-anchor: middle;
    dominant-baseline: middle;
}

.node-label {
    fill: #0f172a;
    font-size: 13px;
    font-weight: 700;
    text-anchor: middle;
    letter-spacing: 0.02em;
}

.node-sub {
    fill: #475569;
    font-size: 11px;
    text-anchor: middle;
    letter-spacing: 0.03em;
}

.node:hover .node-shell {
    stroke: #38bdf8;
    fill: rgba(56, 189, 248, 0.12);
}

.node.is-active .node-shell {
    stroke: #22c55e;
    fill: rgba(34, 197, 94, 0.12);
    filter: drop-shadow(0 18px 30px rgba(34, 197, 94, 0.25));
}

.node.is-active .node-icon,
.node:hover .node-icon {
    fill: #0f172a;
}

.llm .node-shell {
    fill: rgba(34, 197, 94, 0.08);
    stroke: #22c55e;
}

.beacon {
    fill: rgba(255, 255, 255, 0.45);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.25));
    animation: beaconPulse 2.6s ease-in-out infinite;
}

.beacon.hot {
    fill: rgba(168, 85, 247, 0.8);
}

.blueprint-pill {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.65rem 0.8rem;
    border-radius: 0.75rem;
    backdrop-filter: blur(2px);
}

.blueprint-tooltip {
    position: absolute;
    min-width: 220px;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.15);
    padding: 0.85rem 1rem;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    transform: translate(-50%, -110%);
    z-index: 40;
}

.blueprint-tooltip.hidden {
    opacity: 0;
    visibility: hidden;
}

.blueprint-tooltip-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.blueprint-tooltip-desc {
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.35;
}

/* LLM Ops Diagram */
#llm-canvas {
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

#llm-canvas * {
    user-select: none;
    -webkit-user-select: none;
}

#llm-canvas.dragging {
    cursor: grabbing;
}

.llm-zoom-btn {
    padding: 0.35rem 0.85rem;
    font-size: 0.875rem;
    color: #0f172a;
    background: #f8fafc;
    border: none;
    transition: background 0.15s ease, transform 0.15s ease;
}

.llm-zoom-btn:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.ops-flow {
    stroke: #cbd5e1;
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 14 16;
    opacity: 0.8;
    animation: flowDash 16s linear infinite;
}

.ops-flow.dashed {
    stroke-dasharray: 10 14;
    opacity: 0.7;
}

.ops-flow.dashed-red {
    stroke: #f97316;
    stroke-dasharray: 8 12;
    opacity: 0.75;
}

.ops-flow.ops-hot {
    stroke: url(#ft-flow);
    stroke-width: 2.6;
    opacity: 0.95;
}

.ops-packet {
    fill: #38bdf8;
    filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.8));
}

.ops-packet.alt {
    fill: #a855f7;
    filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.8));
}

.ops-packet.hot {
    fill: #22c55e;
    filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.8));
}

.ops-packet.orange {
    fill: #f97316;
    filter: drop-shadow(0 0 4px rgba(249, 115, 22, 0.8));
}

.ops-shell {
    fill: rgba(15, 23, 42, 0.035);
    stroke: rgba(15, 23, 42, 0.32);
    stroke-width: 1.5;
    filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.12));
}

.ops-shell.accent {
    stroke: #2563eb;
    fill: rgba(37, 99, 235, 0.08);
}

.ops-shell.success {
    stroke: #22c55e;
    fill: rgba(34, 197, 94, 0.08);
}

.ops-shell.alert {
    stroke: #f87171;
    fill: rgba(248, 113, 113, 0.08);
}

.ops-shell.warning {
    stroke: #f97316;
    fill: rgba(249, 115, 22, 0.08);
}

.ops-icon {
    fill: #0f172a;
    font-size: 20px;
    text-anchor: middle;
    dominant-baseline: middle;
}

.ops-label {
    fill: #0f172a;
    font-size: 13px;
    font-weight: 700;
    text-anchor: middle;
    letter-spacing: 0.02em;
}

.ops-sub {
    fill: #475569;
    font-size: 11px;
    text-anchor: middle;
    letter-spacing: 0.03em;
}

.ops-node.is-active .ops-shell {
    stroke: #22c55e;
    fill: rgba(34, 197, 94, 0.12);
    filter: drop-shadow(0 18px 30px rgba(34, 197, 94, 0.25));
}

.ops-node:hover .ops-shell {
    stroke: #38bdf8;
    fill: rgba(56, 189, 248, 0.12);
}

.plan-step {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #2563eb, #22c55e);
    color: white;
    font-weight: 800;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

@keyframes flowDash {
    to {
        stroke-dashoffset: -640;
    }
}

@keyframes spinHalo {
    to {
        transform: rotate(360deg);
    }
}

@keyframes beaconPulse {
    0% {
        transform: scale(0.92);
        opacity: 0.75;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 3rem 0;
    border-top: 1px solid #1e293b;
}

.footer-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-top: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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

/* Social Buttons */
.social-btn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background-color: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(51, 65, 85, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Live Labs Grid Overhaul */
.lab-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
}

@media (min-width: 640px) {
    .lab-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .lab-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.lab-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lab-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.lab-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.lab-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    transition: all 0.3s ease;
}

.lab-card:hover .lab-icon-wrapper {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

.lab-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
}

.lab-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: lab-pulse 2s infinite;
}

.lab-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.lab-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.lab-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

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

.lab-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
}

.lab-metric {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
}

@keyframes lab-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Bento Grid Redesign */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
}

@media (min-width: 640px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.bento-card {
    position: relative;
    background-color: #f8fafc; /* slate-50 */
    border-radius: 1.5rem; /* rounded-3xl */
    padding: 1.75rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    background-color: white;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1);
}

/* Theme-specific hover glows */
.bento-card.theme-blue:hover { box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25); border-color: rgba(37, 99, 235, 0.1); }
.bento-card.theme-amber:hover { box-shadow: 0 25px 50px -12px rgba(245, 158, 11, 0.25); border-color: rgba(245, 158, 11, 0.1); }
.bento-card.theme-purple:hover { box-shadow: 0 25px 50px -12px rgba(168, 85, 247, 0.25); border-color: rgba(168, 85, 247, 0.1); }
.bento-card.theme-pink:hover { box-shadow: 0 25px 50px -12px rgba(236, 72, 153, 0.25); border-color: rgba(236, 72, 153, 0.1); }
.bento-card.theme-cyan:hover { box-shadow: 0 25px 50px -12px rgba(6, 182, 212, 0.25); border-color: rgba(6, 182, 212, 0.1); }
.bento-card.theme-rose:hover { box-shadow: 0 25px 50px -12px rgba(244, 63, 94, 0.25); border-color: rgba(244, 63, 94, 0.1); }
.bento-card.theme-emerald:hover { box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.25); border-color: rgba(16, 185, 129, 0.1); }

.bento-icon-bg {
    position: absolute;
    right: -1rem;
    top: -1rem;
    opacity: 0.03;
    transform: rotate(12deg) scale(1);
    transition: all 0.5s ease;
    pointer-events: none;
}

.bento-icon-bg svg {
    width: 180px;
    height: 180px;
}

.bento-card:hover .bento-icon-bg {
    opacity: 0.08;
    transform: rotate(0deg) scale(1.1);
    right: -0.5rem;
    top: -0.5rem;
}

.bento-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.bento-status {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bento-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #cbd5e1;
}

.bento-card.theme-blue .bento-status-dot { background-color: #3b82f6; box-shadow: 0 0 8px rgba(59, 130, 246, 0.5); }
.bento-card.theme-amber .bento-status-dot { background-color: #f59e0b; box-shadow: 0 0 8px rgba(245, 158, 11, 0.5); }
/* Add other theme dots as needed */

.bento-metric {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(255,255,255,0.5);
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
}

.bento-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.bento-desc {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.bento-footer {
    margin-top: auto;
}

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

.bento-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    background: white;
    color: #475569;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.bento-card:hover .bento-tag {
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

/* Evolution Timeline */
.evo-section {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.evo-timeline {
    position: relative;
    max-width: 48rem; /* max-w-3xl */
    margin: 0 auto;
    padding: 2rem 1rem;
}

.evo-line-container {
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #e2e8f0;
    border-radius: 999px;
    z-index: 0;
}

@media (min-width: 768px) {
    .evo-line-container {
        left: 50%;
        transform: translateX(-50%);
    }
}

.evo-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0%;
    background: linear-gradient(to bottom, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 999px;
    transition: height 0.5s ease-out;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.evo-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    justify-content: flex-end;
    padding-left: 4rem;
}

@media (min-width: 768px) {
    .evo-item {
        justify-content: center;
        padding-left: 0;
    }
    
    .evo-item:nth-child(odd) {
        justify-content: flex-start;
        padding-right: 50%;
    }

    .evo-item:nth-child(even) {
        justify-content: flex-end;
        padding-left: 50%;
    }
}

.evo-node {
    position: absolute;
    left: 2rem;
    top: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: white;
    border: 4px solid #cbd5e1;
    transform: translateX(-50%);
    z-index: 10;
    transition: all 0.4s ease;
}

.evo-item.active .evo-node {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
    transform: translateX(-50%) scale(1.2);
}

@media (min-width: 768px) {
    .evo-node {
        left: 50%;
    }
}

.evo-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 24rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    transform: translateY(20px);
    overflow: hidden;
    cursor: pointer;
}

/* Mouse spotlight effect */
.evo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(59, 130, 246, 0.12) 0%, 
        transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

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

@media (min-width: 768px) {
    .evo-item:nth-child(odd) .evo-card {
        margin-right: 2rem;
        transform: translateX(-20px);
    }
    .evo-item:nth-child(even) .evo-card {
        margin-left: 2rem;
        transform: translateX(20px);
    }
}

.evo-item.active .evo-card {
    opacity: 1;
    transform: translate(0, 0);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
}

.evo-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 
        0 20px 40px -12px rgba(59, 130, 246, 0.2),
        0 0 0 1px rgba(59, 130, 246, 0.1) inset !important;
    border-color: rgba(59, 130, 246, 0.2);
}


.evo-date {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.evo-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.evo-subtitle {
    font-size: 0.875rem;
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.evo-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
}

/* Spotlight Grid */
.spotlight-section {
    padding: 4rem 0;
    background: #0f172a; /* Dark background for spotlight effect */
    color: white;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .spotlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.spotlight-card {
    position: relative;
    background: rgba(30, 41, 59, 0.5); /* slate-800/50 */
    border-radius: 1rem;
    padding: 2px; /* For the border effect */
    overflow: hidden;
}

.spotlight-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.15),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

.spotlight-grid:hover .spotlight-card::before {
    opacity: 1;
}

.spotlight-inner {
    background: #1e293b; /* slate-800 */
    border-radius: 0.9rem; /* slightly less than card */
    padding: 1.5rem;
    height: 100%;
    position: relative;
    z-index: 2;
}

.spotlight-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    margin-bottom: 1rem;
}

.spotlight-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 1rem;
}

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

.spotlight-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
}

.spotlight-card:hover .spotlight-tag {
    background: rgba(59, 130, 246, 0.15);
    color: #bfdbfe;
    border-color: rgba(59, 130, 246, 0.3);
}

/* Light Mode Spotlight */
.spotlight-section.light-mode {
    background: #f8fafc; /* slate-50 */
    color: #0f172a;
}

.spotlight-section.light-mode .spotlight-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.spotlight-section.light-mode .spotlight-card::before {
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        rgba(59, 130, 246, 0.06),
        transparent 40%
    );
}

.spotlight-section.light-mode .spotlight-inner {
    background: transparent;
}

.spotlight-section.light-mode .spotlight-title {
    color: #0f172a;
}

.spotlight-section.light-mode .spotlight-tag {
    background: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
}

.spotlight-section.light-mode .spotlight-card:hover .spotlight-tag {
    background: #eff6ff; /* blue-50 */
    color: #2563eb; /* blue-600 */
    border-color: #bfdbfe;
}

.spotlight-section.light-mode .spotlight-icon {
    background: #eff6ff;
    color: #3b82f6;
}

/* Certifications Grid */
.cert-section {
    padding: 4rem 0;
    background: white;
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cert-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: white;
    transition: all 0.3s ease;
}

.cert-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.cert-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: #f0fdf4; /* green-50 */
    color: #16a34a; /* green-600 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-content h4 {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.cert-content p {
    font-size: 0.875rem;
    color: #64748b;
}

/* Neural Network Skills Section */
.neural-section {
    padding: 6rem 0;
    background: #f8fafc; /* slate-50 */
    position: relative;
    overflow: hidden;
}

/* Background Particles (Static for performance, could be animated JS) */
.neural-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(#cbd5e1 1px, transparent 1px),
        radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 40px 40px, 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.5;
    z-index: 0;
}

.neural-container {
    position: relative;
    z-index: 10;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.neural-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .neural-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6rem 4rem;
    }
}

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

.neural-cluster {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* The Central Hub */
.neural-hub {
    position: relative;
    width: 5rem;
    height: 5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1px #e2e8f0, 0 10px 20px -5px rgba(0,0,0,0.05);
    z-index: 2;
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.neural-hub-icon {
    color: #3b82f6;
    transition: all 0.3s ease;
}

.neural-cluster:hover .neural-hub {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), 0 20px 40px -10px rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
    border-color: #3b82f6;
    z-index: 100;
}

.neural-cluster:hover .neural-hub-icon {
    transform: scale(1.1);
    color: #2563eb;
}

.neural-hub-label {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    font-size: 1.125rem;
    opacity: 0.8;
}

/* The Synapse Lines */
.neural-synapse {
    position: absolute;
    top: 2.5rem; /* Center of hub */
    left: 50%;
    width: 2px;
    height: 3rem;
    background: #e2e8f0;
    transform-origin: top center;
    z-index: 1;
    transition: all 0.3s ease;
}

/* We will use pseudo-elements on nodes to draw lines to the center */
.neural-nodes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    position: relative;
    width: 100%;
    margin-top: 0.5rem;
}

.neural-node {
    position: relative;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s ease;
    z-index: 2;
    cursor: default;
}

/* Connecting Lines (Visual Trick) */
/* Instead of complex SVG, we use a subtle gradient background on the cluster to simulate connection field */
.neural-cluster::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, #e2e8f0 0%, transparent 100%);
    z-index: 0;
    opacity: 0.5;
}

.neural-cluster:hover::before {
    background: linear-gradient(to bottom, #3b82f6 0%, transparent 100%);
    opacity: 1;
}

.neural-node:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    z-index: 100;
}

/* Pulse Animation for active state */
@keyframes neural-pulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.neural-cluster:hover .neural-hub {
    animation: neural-pulse 2s infinite;
}

/* Holographic Mission Log Experience Section */
.mission-section {
    padding: 6rem 0;
    background: #0f172a; /* slate-900 */
    position: relative;
    overflow: hidden;
    color: white;
}

/* Sci-fi Grid Background */
.mission-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    z-index: 0;
}

.mission-container {
    max-width: 56rem; /* max-w-4xl */
    margin: 0 auto;
    position: relative;
    z-index: 10;
    padding: 0 1.5rem;
}

.mission-timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid rgba(59, 130, 246, 0.2);
}

.mission-item {
    position: relative;
    margin-bottom: 4rem;
}

.mission-marker {
    position: absolute;
    left: -2.6rem; /* Adjust to center on border-left */
    top: 0;
    width: 1.25rem;
    height: 1.25rem;
    background: #0f172a;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    z-index: 20;
}

.mission-card {
    background: rgba(30, 41, 59, 0.4); /* slate-800/40 */
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mission-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(30, 41, 59, 0.6);
    box-shadow: 0 0 30px -10px rgba(59, 130, 246, 0.2);
    transform: translateX(10px);
}

/* Scanline Effect */
.mission-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.1), transparent);
    transform: translateY(-100%);
    transition: transform 0.5s;
    pointer-events: none;
}

.mission-card:hover::after {
    animation: mission-scan 1.5s linear infinite;
}

@keyframes mission-scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.mission-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

@media (min-width: 640px) {
    .mission-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.mission-role {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    font-family: 'Space Grotesk', sans-serif; /* Assuming font exists or fallback */
}

.mission-company {
    color: #60a5fa; /* blue-400 */
    font-weight: 600;
}

.mission-meta {
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
    color: #94a3b8; /* slate-400 */
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mission-objectives {
    list-style: none;
    padding: 0;
    margin: 0;
    space-y: 0.75rem;
}

.mission-objectives li {
    position: relative;
    padding-left: 1.5rem;
    color: #cbd5e1; /* slate-300 */
    line-height: 1.6;
}

.mission-objectives li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

.mission-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.mission-tag {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #93c5fd; /* blue-300 */
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-family: 'Fira Code', monospace;
}

/* Branching Arc Roadmap Experience Section */
.arc-section {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.arc-container {
    max-width: 72rem; /* max-w-6xl */
    margin: 0 auto;
    position: relative;
    padding: 0 1.5rem;
}

.arc-timeline {
    position: relative;
    padding: 2rem 0;
}

/* Central Line */
.arc-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0; /* slate-200 */
    transform: translateX(-50%);
    z-index: 0;
}

.arc-line-progress {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 0%; /* Animated via JS */
    background: #3b82f6; /* blue-500 */
    transform: translateX(-50%);
    z-index: 1;
    transition: height 0.1s linear;
}

.arc-item {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0; /* Fade in */
    transform: translateY(20px);
    transition: all 0.6s ease;
}

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

/* Alternating Layout */
.arc-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.arc-content-wrapper {
    width: 45%;
    position: relative;
}

.arc-spacer {
    width: 10%; /* Space for the line */
    position: relative;
    display: flex;
    justify-content: center;
}

/* The Node on the line */
.arc-node {
    width: 1rem;
    height: 1rem;
    background: white;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    position: relative;
    z-index: 10;
    margin-top: 2rem; /* Align with card top */
    transition: all 0.3s ease;
}

.arc-item.active .arc-node {
    border-color: #3b82f6;
    background: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

/* The Curved Branch */
.arc-branch {
    position: absolute;
    top: 2.5rem; /* Center of node + offset */
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
    transition: width 0.5s ease 0.2s;
    width: 0;
}

/* Right side items (even) */
.arc-item:nth-child(even) .arc-branch {
    left: -20%; /* Start from the line area */
    width: 0; /* Animated to ~20% */
}

/* Left side items (odd) */
.arc-item:nth-child(odd) .arc-branch {
    right: -20%;
    width: 0;
}

/* Active state for branches - simplified to straight lines for reliability, 
   or we can use SVG for true arcs. Let's stick to CSS pseudo-elements for "Arc" look */
   
/* Actually, let's make the branch connect the node to the card */
.arc-item:nth-child(even) .arc-content-wrapper::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: -2rem; /* Connect to the spacer */
    width: 2rem;
    height: 2px;
    background: #e2e8f0;
    transition: background 0.3s;
}

.arc-item:nth-child(odd) .arc-content-wrapper::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    right: -2rem;
    width: 2rem;
    height: 2px;
    background: #e2e8f0;
    transition: background 0.3s;
}

.arc-item.active:nth-child(even) .arc-content-wrapper::before,
.arc-item.active:nth-child(odd) .arc-content-wrapper::before {
    background: #3b82f6;
}

/* The Card */
.arc-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.arc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -12px rgba(59, 130, 246, 0.15);
    border-color: #e2e8f0;
}

/* Stats / Achievements */
.arc-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #e2e8f0;
}

.arc-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #eff6ff; /* blue-50 */
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: #1e293b;
    font-weight: 500;
    border: 1px solid #dbeafe;
}

.arc-stat-val {
    font-weight: 800;
    color: #2563eb; /* blue-600 */
    font-size: 1rem;
}

.arc-stat-pill.good .arc-stat-val {
    color: #16a34a; /* green-600 */
}

.arc-stat-pill.good {
    background: #f0fdf4; /* green-50 */
    border-color: #dcfce7;
}

/* Header */
.arc-role {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.arc-company {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.arc-date {
    font-size: 0.875rem;
    color: #94a3b8;
    background: #f8fafc;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

/* List */
.arc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    space-y: 0.75rem;
}

.arc-list li {
    position: relative;
    padding-left: 1.25rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.arc-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background: #cbd5e1;
    border-radius: 50%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .arc-line, .arc-line-progress {
        left: 1.5rem;
    }
    
    .arc-item, .arc-item:nth-child(odd) {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .arc-spacer {
        width: 3rem;
        flex-shrink: 0;
        justify-content: flex-start;
        padding-left: 1rem; /* Center node on line */
    }
    
    .arc-content-wrapper {
        width: calc(100% - 3rem);
    }
    
    .arc-item:nth-child(even) .arc-content-wrapper::before,
    .arc-item:nth-child(odd) .arc-content-wrapper::before {
        left: -1rem;
        right: auto;
        width: 1rem;
    }
}

/* Zigzag Roadmap Experience Section */
.zigzag-section {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.zigzag-container {
    max-width: 64rem; /* max-w-5xl */
    margin: 0 auto;
    position: relative;
    padding: 2rem 1.5rem;
}

/* The SVG Layer */
.zigzag-svg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.zigzag-path-bg {
    fill: none;
    stroke: #e2e8f0; /* slate-200 */
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 10, 10;
}

.zigzag-path-active {
    fill: none;
    stroke: #3b82f6; /* blue-500 */
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    transition: stroke-dashoffset 0.1s linear;
}

/* Items */
.zigzag-item {
    display: flex;
    flex-direction: row; /* Always row */
    gap: 3rem; /* Space between line and card */
    margin-bottom: 6rem;
    position: relative;
    z-index: 10;
}

.zigzag-item:last-child {
    margin-bottom: 0;
}

/* The Left Column for Marker */
.zigzag-marker-col {
    width: 4rem; /* Fixed width for the line area */
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    padding-top: 2rem; /* Align with card top */
}

.zigzag-marker {
    width: 1.5rem;
    height: 1.5rem;
    background: white;
    border: 4px solid #cbd5e1;
    border-radius: 50%;
    z-index: 20;
    transition: all 0.3s ease;
    position: relative; /* Relative to col */
}

.zigzag-item.active .zigzag-marker {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

/* Content */
.zigzag-content {
    flex: 1;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.zigzag-item.reveal.active .zigzag-content {
    opacity: 1;
    transform: translateY(0);
}

/* Card Styling */
.zigzag-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Mouse spotlight effect */
.zigzag-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(59, 130, 246, 0.12) 0%, 
        transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.zigzag-card:hover::after {
    opacity: 1;
}

/* Add a little arrow pointing to the marker */
.zigzag-card::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: -0.5rem;
    width: 1rem;
    height: 1rem;
    background: white;
    border-left: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    transform: rotate(45deg);
    z-index: 2;
}

.zigzag-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px -12px rgba(59, 130, 246, 0.2),
        0 0 0 1px rgba(59, 130, 246, 0.1) inset;
    border-color: rgba(59, 130, 246, 0.2);
}

.zigzag-card:hover::before {
    border-color: rgba(59, 130, 246, 0.2);
}

/* Stats */
.zigzag-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #e2e8f0;
}

.zigzag-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #eff6ff;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: #1e293b;
    font-weight: 500;
    border: 1px solid #dbeafe;
}

.zigzag-stat-val {
    font-weight: 800;
    color: #2563eb;
    font-size: 1rem;
}

.zigzag-stat-pill.good {
    background: #f0fdf4;
    border-color: #dcfce7;
}

.zigzag-stat-pill.good .zigzag-stat-val {
    color: #16a34a;
}

/* Header */
.zigzag-role {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.zigzag-company {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zigzag-date {
    font-size: 0.875rem;
    color: #94a3b8;
    background: #f8fafc;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

/* List */
.zigzag-list {
    list-style: none;
    padding: 0;
    margin: 0;
    space-y: 0.75rem;
}

.zigzag-list li {
    position: relative;
    padding-left: 1.25rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.zigzag-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background: #cbd5e1;
    border-radius: 50%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .zigzag-item {
        gap: 1rem;
    }
    
    .zigzag-marker-col {
        width: 2rem;
    }
    
    .zigzag-marker {
        width: 1rem;
        height: 1rem;
        border-width: 3px;
    }
    
    .zigzag-svg-container {
        /* Keep SVG on mobile but maybe simplify curve in JS */
    }
}

/* Holographic 3D Carousel Projects Section */
.holo-section {
    padding: 8rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    perspective: 1000px; /* Essential for 3D */
}

.holo-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.holo-stage {
    position: relative;
    width: 320px; /* Base card width */
    height: 420px; /* Base card height */
    margin: 0 auto;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.holo-spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); /* Smooth spin */
    cursor: grab;
}

.holo-spinner.dragging {
    cursor: grabbing;
    transition: none; /* Instant follow during drag */
}

.holo-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 
        0 20px 50px -12px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    backface-visibility: hidden; 
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    user-select: none;
    overflow: hidden;
    cursor: pointer;
}

/* Mouse spotlight effect */
.holo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(59, 130, 246, 0.12) 0%, 
        transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

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

.holo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(59, 130, 246, 0.2) inset,
        0 0 40px rgba(59, 130, 246, 0.1);
}

/* Shine effect */
.holo-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 70%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease;
    pointer-events: none;
    z-index: 2;
}

.holo-card:hover::after {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.holo-icon-bg {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.holo-icon-bg i {
    width: 1.75rem;
    height: 1.75rem;
}

.holo-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.holo-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: #f1f5f9;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
}

.holo-status-dot {
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.holo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
}

.holo-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    flex-grow: 1;
}

.holo-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.holo-tag {
    font-size: 0.75rem;
    color: #64748b;
    background: #f8fafc;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

/* Theme Colors */
.holo-card.theme-blue .holo-icon-bg { background: #eff6ff; border-color: #dbeafe; color: #3b82f6; }
.holo-card.theme-amber .holo-icon-bg { background: #fffbeb; border-color: #fef3c7; color: #f59e0b; }
.holo-card.theme-purple .holo-icon-bg { background: #f3e8ff; border-color: #e9d5ff; color: #a855f7; }
.holo-card.theme-pink .holo-icon-bg { background: #fce7f3; border-color: #fbcfe8; color: #ec4899; }
.holo-card.theme-cyan .holo-icon-bg { background: #ecfeff; border-color: #cffafe; color: #06b6d4; }
.holo-card.theme-rose .holo-icon-bg { background: #fff1f2; border-color: #ffe4e6; color: #f43f5e; }
.holo-card.theme-emerald .holo-icon-bg { background: #ecfdf5; border-color: #d1fae5; color: #10b981; }

/* Controls */
.holo-controls {
    margin-top: 4rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.holo-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.holo-btn:hover {
    background: #f8fafc;
    color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Mobile Fallback */
@media (max-width: 768px) {
    .holo-stage {
        /* On mobile, we might just stack them or use a simpler carousel */
        /* But let's try to keep the 3D effect, just scaled down */
        transform: scale(0.8);
    }
    
    .holo-section {
        padding: 4rem 0;
    }
}

/* Trophy Gallery Wall */
.trophy-gallery {
    padding: 8rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.trophy-gallery::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.trophy-gallery::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(148,163,184,0.05)"/></svg>');
    background-size: 60px 60px;
    opacity: 0.4;
    pointer-events: none;
}

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

@media (min-width: 640px) {
    .trophy-container {
        padding: 0 1.5rem;
    }
}

.trophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    perspective: 1500px;
    position: relative;
    z-index: 1;
}

.trophy-case {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.5),
        0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.trophy-case::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(59, 130, 246, 0.15) 0%, 
        transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.trophy-case:hover::before {
    opacity: 1;
}

.trophy-case::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
}

.trophy-case:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 0 0 1px rgba(59, 130, 246, 0.2),
        0 20px 60px -10px rgba(59, 130, 246, 0.3),
        0 0 100px rgba(59, 130, 246, 0.1);
}

.trophy-case.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
    border-color: rgba(59, 130, 246, 0.3);
}

.trophy-case.featured:hover {
    box-shadow: 
        0 0 0 1px rgba(59, 130, 246, 0.4),
        0 30px 80px -15px rgba(59, 130, 246, 0.4),
        0 0 120px rgba(59, 130, 246, 0.2);
}

.trophy-rank {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.trophy-rank::before {
    content: '🏆';
    font-size: 1rem;
}

.trophy-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
}

.trophy-case.featured .trophy-title {
    font-size: 2.25rem;
}

.trophy-meta {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trophy-meta::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #3b82f6;
    border-radius: 50%;
}

.trophy-desc {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.trophy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.trophy-tag {
    font-size: 0.8125rem;
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.08);
    padding: 0.375rem 0.875rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.trophy-tag:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

/* Glow effect for featured */
.trophy-case.featured .trophy-rank {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.3);
    color: #d97706;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.15);
}

.trophy-case.featured .trophy-rank::before {
    content: '👑';
    animation: trophy-pulse 2s ease-in-out infinite;
}

@keyframes trophy-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Shine effect */
.trophy-case .trophy-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 70%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.trophy-case:hover .trophy-shine {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .trophy-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }
    
    .trophy-case.featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .trophy-gallery {
        padding: 4rem 0;
        min-height: auto;
    }
    
    .trophy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .trophy-case {
        padding: 2rem;
    }
    
    .trophy-title {
        font-size: 1.5rem;
    }
    
    .trophy-case.featured .trophy-title {
        font-size: 1.75rem;
    }
}
