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

:root {
    --jquery-blue: #0769AD;
    --jquery-dark: #0A4A77;
    --jquery-light: #1C9AD6;
    --warm-yellow: #F5D742;
    --soft-gray: #2D2D2D;
    --light-gray: #E8E8E8;
    --accent-orange: #FF6B35;
    --accent-green: #4CAF50;
    --web2-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --glossy-blue: linear-gradient(180deg, #1C9AD6 0%, #0769AD 50%, #0A4A77 100%);
}

body {
    font-family: 'IBM Plex Sans', -apple-system, sans-serif;
    background: #0D1117;
    color: #E6EDF3;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Sparkle Container */
#sparkle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #FFD700 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: sparkle-fade 0.6s ease-out forwards;
}

@keyframes sparkle-fade {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0); opacity: 0; }
}

/* Skip Intro */
#skip-intro {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    padding: 12px 24px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jquery-btn {
    background: var(--glossy-blue);
    border: 2px solid var(--jquery-light);
    color: white;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(7, 105, 173, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.jquery-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 105, 173, 0.6), inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Navigation */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--jquery-blue);
    z-index: 100;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(-100%);
}

#main-nav.visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-logo {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 24px;
    font-weight: 700;
    color: var(--jquery-light);
}

.nav-logo .dollar {
    color: var(--warm-yellow);
}

.nav-tabs {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-link {
    color: #8B949E;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
    font-size: 14px;
    border: 1px solid transparent;
    border-bottom: none;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(7, 105, 173, 0.3);
    border-color: var(--jquery-blue);
}

.firefox-badge {
    font-size: 11px;
    color: #FF7139;
    padding: 4px 10px;
    border: 1px dashed #FF7139;
    border-radius: 4px;
    opacity: 0.7;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(7, 105, 173, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(118, 75, 162, 0.2) 0%, transparent 50%),
        #0D1117;
    overflow: hidden;
}

.floating-dollars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-dollar {
    position: absolute;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 30px;
    color: var(--warm-yellow);
    opacity: 0.15;
    animation: float-dollar 20s linear infinite;
}

@keyframes float-dollar {
    0% { transform: translateY(100vh) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 20px;
}

.jquery-logo {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    transform: scale(0.5);
}

.logo-dollar {
    color: var(--warm-yellow);
    text-shadow: 0 0 30px rgba(245, 215, 66, 0.5);
}

.logo-text {
    background: var(--glossy-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#typewriter {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 36px;
    color: var(--light-gray);
    min-height: 50px;
    margin-bottom: 40px;
}

.typewriter-cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.code-snippets {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.snippet {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    padding: 12px 20px;
    background: rgba(7, 105, 173, 0.2);
    border: 1px solid var(--jquery-blue);
    border-radius: 8px;
    color: var(--jquery-light);
    opacity: 0;
    transform: translateY(30px);
}

.counter-box {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
}

#site-counter {
    font-family: 'VT323', monospace;
    font-size: 48px;
    color: var(--warm-yellow);
    text-shadow: 0 0 20px rgba(245, 215, 66, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fade-in 1s ease 3s forwards;
}

@keyframes fade-in {
    to { opacity: 1; }
}

.scroll-arrow {
    font-size: 24px;
    animation: bounce-arrow 2s infinite;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--jquery-light) 0%, var(--warm-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: #8B949E;
    font-size: 18px;
}

/* Manifesto Section */
#manifesto {
    padding: 100px 20px;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(7, 105, 173, 0.15) 0%, transparent 70%),
        #0D1117;
}

.comparison-container {
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.toggle-btn {
    padding: 15px 30px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 16px;
    border: 2px solid var(--jquery-blue);
    background: transparent;
    color: #8B949E;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: var(--jquery-blue);
    color: white;
    box-shadow: 0 4px 20px rgba(7, 105, 173, 0.4);
}

.code-panels {
    position: relative;
    min-height: 400px;
}

.code-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.code-panel.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.code-panel h3 {
    font-family: 'IBM Plex Mono', monospace;
    margin-bottom: 15px;
    color: var(--jquery-light);
}

.code-block {
    background: #161B22;
    border: 1px solid #30363D;
    border-radius: 12px;
    padding: 25px;
    overflow-x: auto;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.code-block code {
    color: #C9D1D9;
}

.line-count {
    margin-top: 15px;
    text-align: right;
    color: #8B949E;
    font-size: 14px;
}

.mind-blown {
    text-align: center;
    margin-top: 30px;
}

.blown-text {
    font-size: 32px;
    animation: pulse-blown 0.5s ease infinite;
}

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

/* Timeline Section */
#timeline {
    padding: 100px 20px;
    background: #0D1117;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    padding-bottom: 20px;
}

.timeline-track {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    min-width: max-content;
}

.timeline-item {
    width: 200px;
    flex-shrink: 0;
    position: relative;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background: var(--jquery-blue);
    border: 3px solid var(--jquery-light);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.3);
    box-shadow: 0 0 20px var(--jquery-light);
}

.timeline-item.highlight .timeline-marker {
    background: var(--warm-yellow);
    border-color: #FFE066;
}

.timeline-card {
    background: #161B22;
    border: 1px solid #30363D;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-card {
    border-color: var(--jquery-blue);
    transform: translateY(-5px);
}

.timeline-card h4 {
    font-family: 'VT323', monospace;
    font-size: 28px;
    color: var(--warm-yellow);
    margin-bottom: 8px;
}

.timeline-title {
    font-weight: 600;
    color: var(--jquery-light);
    margin-bottom: 10px;
}

.timeline-details {
    font-size: 13px;
    color: #8B949E;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.timeline-item.expanded .timeline-details {
    max-height: 200px;
}

/* Features Section */
#features {
    padding: 100px 20px;
    background: 
        radial-gradient(ellipse at 80% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
        #0D1117;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #161B22;
    border: 1px solid #30363D;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--jquery-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(7, 105, 173, 0.2);
}

.feature-card h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--jquery-light);
}

.demo-input {
    width: 100%;
    padding: 12px;
    background: #0D1117;
    border: 1px solid #30363D;
    border-radius: 8px;
    color: white;
    font-family: 'IBM Plex Mono', monospace;
    margin-bottom: 15px;
}

.demo-input:focus {
    outline: none;
    border-color: var(--jquery-blue);
}

.demo-buttons,
.animation-buttons,
.ajax-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.demo-btn,
.anim-btn,
.ajax-btn {
    padding: 8px 14px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    background: rgba(7, 105, 173, 0.2);
    border: 1px solid var(--jquery-blue);
    color: var(--jquery-light);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.demo-btn:hover,
.anim-btn:hover,
.ajax-btn:hover {
    background: var(--jquery-blue);
    color: white;
}

.demo-area {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    min-height: 60px;
}

.box {
    width: 80px;
    height: 50px;
    background: var(--glossy-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}

.box.glow {
    box-shadow: 0 0 20px var(--jquery-light), 0 0 40px var(--warm-yellow);
    animation: glow-pulse 1s infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px var(--jquery-light); }
    50% { box-shadow: 0 0 40px var(--warm-yellow); }
}

.code-preview {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: #8B949E;
    background: #0D1117;
    padding: 10px;
    border-radius: 6px;
}

.selector-preview {
    color: var(--warm-yellow);
}

.method-preview {
    color: var(--jquery-light);
}

/* Animation Station */
.slider-group {
    margin-bottom: 15px;
}

.slider-group label {
    display: block;
    font-size: 13px;
    color: #8B949E;
    margin-bottom: 8px;
}

.slider-group input[type="range"] {
    width: 100%;
    accent-color: var(--jquery-blue);
}

.easing-select {
    margin-bottom: 15px;
}

.easing-select label {
    font-size: 13px;
    color: #8B949E;
    margin-right: 10px;
}

.easing-select select {
    padding: 8px;
    background: #0D1117;
    border: 1px solid #30363D;
    color: white;
    border-radius: 6px;
    font-family: 'IBM Plex Mono', monospace;
}

.animation-target {
    width: 120px;
    height: 120px;
    margin: 20px auto;
    background: linear-gradient(135deg, var(--jquery-blue) 0%, var(--accent-orange) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(7, 105, 173, 0.4);
}

/* AJAX Demo */
.ajax-intro {
    text-align: center;
    margin-bottom: 15px;
    color: #8B949E;
}

.ajax-demo-area {
    min-height: 100px;
    background: #0D1117;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 15px;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #30363D;
    border-top-color: var(--jquery-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.ajax-result {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: var(--accent-green);
}

.ajax-code {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: #8B949E;
    text-align: center;
}

/* Plugin Carousel */
.plugin-tagline {
    text-align: center;
    font-style: italic;
    color: #8B949E;
    margin-bottom: 20px;
}

.plugin-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    margin-bottom: 20px;
}

.plugin-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 18px;
    background: rgba(7, 105, 173, 0.1);
    border: 1px solid #30363D;
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.plugin-item:hover {
    border-color: var(--jquery-blue);
    transform: scale(1.05);
}

.plugin-icon {
    font-size: 24px;
}

.plugin-name {
    font-size: 12px;
    color: #8B949E;
}

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

.draggable-demo p {
    font-size: 13px;
    color: #8B949E;
    margin-bottom: 10px;
}

#draggable-box {
    width: 100px;
    height: 60px;
    background: var(--glossy-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: grab;
    margin: 0 auto;
}

#draggable-box:active {
    cursor: grabbing;
}

/* Playground Section */
#playground {
    padding: 100px 20px;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(7, 105, 173, 0.15) 0%, transparent 50%),
        #0D1117;
}

.playground-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.playground-editor,
.playground-output {
    background: #161B22;
    border: 1px solid #30363D;
    border-radius: 16px;
    overflow: hidden;
}

.editor-header,
.output-header {
    background: #21262D;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    color: var(--jquery-light);
}

#code-editor {
    width: 100%;
    min-height: 200px;
    padding: 20px;
    background: transparent;
    border: none;
    color: #C9D1D9;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    line-height: 1.6;
    resize: vertical;
}

#code-editor:focus {
    outline: none;
}

.example-buttons {
    display: flex;
    gap: 8px;
    padding: 15px 20px;
    border-top: 1px solid #30363D;
    flex-wrap: wrap;
}

.example-btn {
    padding: 8px 14px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    background: rgba(7, 105, 173, 0.15);
    border: 1px solid #30363D;
    color: #8B949E;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.example-btn:hover {
    background: var(--jquery-blue);
    color: white;
    border-color: var(--jquery-blue);
}

#playground-target {
    padding: 40px;
    min-height: 200px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#playground-box {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--jquery-blue) 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    position: relative;
}

.pg-element.rainbow {
    animation: rainbow-bg 2s infinite;
}

@keyframes rainbow-bg {
    0% { background: #ff0000; }
    17% { background: #ff8000; }
    33% { background: #ffff00; }
    50% { background: #00ff00; }
    67% { background: #0080ff; }
    83% { background: #8000ff; }
    100% { background: #ff0000; }
}

.pg-circle {
    width: 60px;
    height: 60px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.pg-star {
    font-size: 48px;
    color: var(--warm-yellow);
}

.console-output {
    border-top: 1px solid #30363D;
}

.console-header {
    padding: 10px 20px;
    background: #21262D;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: #8B949E;
}

#console-log {
    padding: 15px 20px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--accent-green);
    min-height: 50px;
    max-height: 100px;
    overflow-y: auto;
}

/* Plugins Section */
#plugins {
    padding: 100px 20px;
    background: #0D1117;
}

.plugins-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.plugin-card {
    background: #161B22;
    border: 1px solid #30363D;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.plugin-card:hover {
    border-color: var(--jquery-blue);
    transform: translateY(-5px);
}

.plugin-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.plugin-icon-large {
    font-size: 32px;
}

.plugin-card h4 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 18px;
    color: var(--jquery-light);
}

.plugin-stars {
    color: var(--warm-yellow);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.plugin-card p {
    color: #8B949E;
    font-size: 14px;
    margin-bottom: 15px;
}

.plugin-downloads {
    font-size: 12px;
    color: #6E7681;
}

/* Nostalgia Section */
#nostalgia {
    padding: 100px 20px;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(7, 105, 173, 0.03) 2px, rgba(7, 105, 173, 0.03) 4px),
        #0D1117;
}

.nostalgia-grid {
    max-width: 900px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.nostalgia-item {
    background: #161B22;
    border: 2px dashed #30363D;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: 'VT323', monospace;
    font-size: 16px;
}

.nostalgia-item.construction img {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
}

.nostalgia-item.construction span {
    color: var(--warm-yellow);
}

.nostalgia-item.resolution-badge {
    color: #8B949E;
}

.nostalgia-item.resolution-badge strong {
    font-size: 20px;
    color: var(--jquery-light);
}

.counter-digits {
    display: flex;
    gap: 2px;
}

.counter-digits span {
    background: #000;
    color: #0f0;
    padding: 4px 8px;
    border: 1px solid #333;
}

.nostalgia-item.ie-banner {
    background: #3a0000;
    border-color: #800;
    color: #ff6666;
}

.nostalgia-item.ie-banner small {
    font-size: 12px;
    color: #aa6666;
}

.spinning-at {
    font-size: 28px;
    display: inline-block;
    animation: spin-email 3s linear infinite;
    color: var(--jquery-light);
}

@keyframes spin-email {
    to { transform: rotate(360deg); }
}

.made-with-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--glossy-blue);
    padding: 10px 20px;
    border-radius: 6px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.dollar-badge {
    font-size: 24px;
    color: var(--warm-yellow);
}

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

.toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 24px;
    background: #161B22;
    border: 1px solid #30363D;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.toggle-label:hover {
    border-color: var(--jquery-blue);
}

.toggle-label input {
    accent-color: var(--jquery-blue);
    width: 18px;
    height: 18px;
}

/* Testimonials */
#testimonials {
    padding: 80px 20px;
    background: 
        radial-gradient(ellipse at 50% 100%, rgba(7, 105, 173, 0.2) 0%, transparent 60%),
        #0D1117;
}

.testimonials-carousel {
    max-width: 700px;
    margin: 0 auto 30px;
    position: relative;
    min-height: 150px;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.testimonial.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial blockquote {
    font-size: 24px;
    font-style: italic;
    color: var(--light-gray);
    margin-bottom: 20px;
    line-height: 1.5;
}

.testimonial cite {
    color: #8B949E;
    font-size: 14px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    background: #30363D;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--jquery-blue);
}

/* Footer */
#footer {
    padding: 60px 20px;
    background: #0A0D12;
    border-top: 2px solid var(--jquery-blue);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-tagline {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-dollar {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--warm-yellow);
    font-size: 28px;
}

.footer-counter {
    color: #8B949E;
    margin-bottom: 15px;
}

.blink {
    animation: text-blink 1s step-end infinite;
    color: var(--jquery-light);
}

@keyframes text-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.footer-joke {
    font-style: italic;
    color: #6E7681;
    margin-bottom: 25px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--jquery-light);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: rgba(7, 105, 173, 0.2);
    transform: translateY(-2px);
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.badge {
    padding: 6px 14px;
    background: #21262D;
    border-radius: 4px;
    font-size: 12px;
    color: #8B949E;
}

.badge.jquery-badge {
    background: var(--jquery-dark);
    color: white;
}

.footer-note {
    font-size: 12px;
    color: #6E7681;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-tabs {
        display: none;
    }
    
    .firefox-badge {
        display: none;
    }
    
    .jquery-logo {
        font-size: 50px;
    }
    
    #typewriter {
        font-size: 22px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .code-snippets {
        flex-direction: column;
        align-items: center;
    }
    
    .playground-container {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-container {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }
}

/* Konami Rain */
.konami-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    overflow: hidden;
}

.konami-dollar {
    position: absolute;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 40px;
    color: var(--warm-yellow);
    animation: konami-fall 3s linear forwards;
    text-shadow: 0 0 20px rgba(245, 215, 66, 0.8);
}

@keyframes konami-fall {
    0% { transform: translateY(-100px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}