/* ============================================
   Design System & CSS Variables
   ============================================ */
:root {
    /* Colors - Rich Purple & Blue Palette */
    --color-primary: #8b5cf6;
    --color-primary-light: #a78bfa;
    --color-primary-dark: #7c3aed;
    --color-secondary: #3b82f6;
    --color-secondary-light: #60a5fa;
    --color-accent: #ec4899;

    /* Neutrals */
    --color-bg-dark: #0f0f1e;
    --color-bg-darker: #08080f;
    --color-bg-card: #1a1a2e;
    --color-bg-card-hover: #222238;
    --color-text-primary: #f9fafb;
    --color-text-secondary: #d1d5db;
    --color-text-muted: #9ca3af;
    --color-border: #2d2d44;

    /* Retro Colors */
    --retro-bg: #000000;
    --retro-text: #7fbf7f;
    --retro-text-alt: #5f9f5f;
    --retro-highlight: #ffcc66;
    --retro-border: #5f9f5f;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    --gradient-hero: linear-gradient(135deg, #7c3aed 0%, #3b82f6 50%, #06b6d4 100%);
    --gradient-card: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --font-retro: 'VT323', 'Courier New', monospace;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg-dark);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
}

/* ============================================
   Vertical Slider Effect
   ============================================ */
.peel-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.peel-layer {
    position: relative;
    z-index: 10;
    background: var(--color-bg-dark);
    width: 100%;
    min-height: 100vh;
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.3s ease-out;
}

.peel-layer.revealing {
    clip-path: inset(0 0 0 50%);
}

.retro-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background: var(--retro-bg);
    z-index: 1;
    overflow-y: auto;
}

/* Vertical slider divider */
.slider-divider {
    position: fixed;
    top: 0;
    right: 0;
    width: 100px;
    height: 100vh;
    z-index: 10000;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease-out;
}

.slider-divider.active {
    transition: none;
}

.slider-line {
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg,
            var(--color-primary) 0%,
            var(--color-secondary) 50%,
            var(--color-primary) 100%);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    position: relative;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-divider:hover .slider-line,
.slider-divider.active .slider-line {
    opacity: 1;
}

.slider-handle {
    position: absolute;
    top: 80px;
    /* Fixed at top */
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 60px;
    background: var(--color-bg-card);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-glow);
    cursor: ew-resize;
    transition: all 0.3s ease;
    z-index: 2;
}

.slider-handle:hover {
    background: var(--color-bg-card-hover);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.slider-handle-icon {
    font-size: 1.5rem;
    color: var(--color-primary-light);
}

/* Back to modern button */
.back-to-modern {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    padding: 0.75rem 1.5rem;
    font-size: 1.2rem;
    font-family: var(--font-retro);
    color: var(--retro-bg);
    background: var(--retro-text);
    border: 3px solid var(--retro-text);
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--retro-text);
    opacity: 0;
    pointer-events: none;
}

.back-to-modern.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-modern:hover {
    background: var(--retro-highlight);
    border-color: var(--retro-highlight);
    box-shadow: 0 0 30px var(--retro-highlight);
    transform: scale(1.05);
}

/* ============================================
   Retro Styles
   ============================================ */
.retro-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    font-family: var(--font-retro);
    color: var(--retro-text);
}

.ascii-art {
    color: var(--retro-text);
    font-size: 1.2rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px var(--retro-text);
    animation: flicker 3s infinite alternate;
}

.retro-content {
    animation: fadeIn 1s ease;
}

.retro-heading {
    font-size: 3rem;
    color: var(--retro-highlight);
    margin-bottom: 2rem;
    text-shadow: 0 0 20px var(--retro-highlight);
    letter-spacing: 0.1em;
}

.retro-section {
    margin-bottom: 3rem;
    border: 2px solid var(--retro-border);
    padding: 1.5rem;
    background: rgba(0, 255, 0, 0.02);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
}

.retro-subheading {
    font-size: 2rem;
    color: var(--retro-text);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--retro-text);
}

.retro-text {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--retro-text-alt);
}

.retro-prompt {
    color: var(--retro-text);
    font-weight: bold;
    margin-right: 0.5rem;
}

.retro-highlight {
    color: var(--retro-highlight);
    font-weight: bold;
    text-shadow: 0 0 10px var(--retro-highlight);
}

.retro-box {
    border: 1px solid var(--retro-text);
    padding: 1.5rem;
    margin: 1rem 0;
    background: rgba(0, 255, 0, 0.03);
}

.retro-list {
    list-style: none;
    font-size: 1.5rem;
    line-height: 2;
}

.retro-list li {
    margin-bottom: 0.5rem;
}

.retro-bullet {
    color: var(--retro-highlight);
    margin-right: 1rem;
    font-weight: bold;
}

.retro-demo {
    margin: 1rem 0;
}

.bidi-demo {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid var(--retro-text);
    padding: 1rem;
    margin: 1rem 0;
    font-size: 1.3rem;
    font-family: sans-serif;
}

.retro-comment {
    color: var(--retro-text-alt);
    font-style: italic;
    margin-top: 0.5rem;
}

.retro-footer {
    margin-top: 4rem;
    text-align: center;
    padding: 2rem;
    border: 2px solid var(--retro-border);
    background: rgba(0, 255, 0, 0.05);
}

.retro-button {
    display: inline-block;
    margin: 2rem 0;
    padding: 1rem 3rem;
    font-size: 2rem;
    font-family: var(--font-retro);
    color: var(--retro-bg);
    background: var(--retro-text);
    border: 3px solid var(--retro-text);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--retro-text);
}

.retro-button:hover {
    background: var(--retro-highlight);
    border-color: var(--retro-highlight);
    color: var(--retro-bg);
    box-shadow: 0 0 30px var(--retro-highlight);
    transform: scale(1.05);
}

.retro-smalltext {
    font-size: 1.2rem;
    color: var(--retro-text-alt);
    margin-top: 1rem;
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 30, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-primary-light);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 2rem;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.stat {
    text-align: left;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-light);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.browser-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-md);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

.browser-notice svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--color-primary-light);
}

.browser-notice-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.browser-notice-main,
.browser-notice-requirement {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.browser-notice-main {
    padding-bottom: 0.5rem;
}

.browser-notice strong {
    color: var(--color-primary-light);
    font-weight: 600;
}

.hero-visual {
    position: relative;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(139, 92, 246, 0.3));
}

.floating-card {
    position: absolute;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.card-icon {
    font-size: 1.5rem;
}

.card-text {
    font-weight: 600;
    color: var(--color-text-primary);
}

.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -5%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: 5%;
    animation-delay: 2s;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: white;
}

.btn-secondary {
    background: var(--color-bg-card);
    color: var(--color-text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-primary);
    color: var(--color-primary-light);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-darker) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
}

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

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.icon-emoji {
    font-size: 3rem;
}

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

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

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    color: var(--color-text-muted);
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* ============================================
   Philosophy Section
   ============================================ */
.philosophy {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-darker);
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
}

.philosophy-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

/* ============================================
   Documentation Section
   ============================================ */
.docs {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-dark);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.doc-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
}

.doc-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.doc-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.doc-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.doc-card p {
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.doc-steps {
    list-style: none;
    counter-reset: step-counter;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.doc-steps li {
    counter-increment: step-counter;
    padding-left: 2.5rem;
    position: relative;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.doc-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    width: 1.75rem;
    height: 1.75rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: white;
}

.code-block {
    background: var(--color-bg-darker);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin: 1rem 0;
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.code-block code {
    color: var(--color-primary-light);
}

kbd {
    background: var(--color-bg-darker);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--color-text-primary);
    box-shadow: 0 2px 0 var(--color-border);
}

.shortcuts-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.shortcuts-list li {
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.markdown-examples {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.doc-note {
    color: var(--color-text-muted);
    font-style: italic;
    font-size: 0.875rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-bg-darker);
    border-top: 1px solid var(--color-border);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    color: var(--color-text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column a {
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-primary-light);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: rotate(45deg) scale(1.1);
    }
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(45deg) translateX(0) translateY(0);
    }

    25% {
        transform: rotate(45deg) translateX(-3px) translateY(3px);
    }

    50% {
        transform: rotate(45deg) translateX(0) translateY(0);
    }

    75% {
        transform: rotate(45deg) translateX(3px) translateY(-3px);
    }
}

@keyframes pulse-hint {

    0%,
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: translateY(-50%) scale(1.05);
    }
}

@keyframes flicker {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.95;
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-visual {
        order: -1;
    }

    .floating-card {
        display: none;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .retro-heading {
        font-size: 2rem;
    }

    .retro-subheading {
        font-size: 1.5rem;
    }

    .ascii-art {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .docs-grid {
        grid-template-columns: 1fr;
    }

    .retro-text {
        font-size: 1.2rem;
    }

    .retro-button {
        font-size: 1.5rem;
        padding: 0.75rem 2rem;
    }

    .peel-corner {
        width: 150px;
        height: 150px;
    }

    .peel-corner::before {
        border-width: 0 150px 150px 0;
    }

    .corner-hint {
        top: 30px;
        right: 15px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .retro-container {
        padding: 1rem;
    }

    .retro-heading {
        font-size: 1.5rem;
    }

    .retro-text {
        font-size: 1rem;
    }

    .ascii-art {
        font-size: 0.6rem;
    }

    .peel-corner {
        width: 120px;
        height: 120px;
    }

    .peel-corner::before {
        border-width: 0 120px 120px 0;
    }

    .corner-hint {
        font-size: 0.9rem;
        top: 25px;
        right: 10px;
    }
}