/**
 * Badminton Shuttle Detection - Dark Futuristic Theme
 * v2.0 - RF-DETR Edition
 */

/* ==================== ROOT VARIABLES ==================== */
:root {
    /* Ultra Dark Theme Colors */
    --bg-primary: #050810;
    --bg-secondary: #0a0e1a;
    --bg-tertiary: #111520;
    --bg-card: #0d1117;
    --bg-card-hover: #161b22;
    
    /* Accent Colors - More Subtle */
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-success: #10b981;
    --accent-warning: #f59e0b;
    --accent-danger: #ef4444;
    
    /* Text Colors */
    --text-primary: #e6edf3;
    --text-secondary: #9198a1;
    --text-muted: #7d8590;
    --text-dim: #656d76;
    
    /* Border - Subtle */
    --border-color: #21262d;
    --border-hover: #30363d;
    
    /* Shadows - Minimal */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 3px 8px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 6px 16px rgba(0, 0, 0, 0.7);
    
    /* Spacing */
    --container-max-width: 1400px;
    --nav-height: 70px;
    
    /* Legacy compatibility for inline styles */
    --gray-50: var(--bg-tertiary);
    --gray-100: var(--bg-card);
    --gray-200: var(--border-color);
    --gray-600: var(--text-muted);
    --gray-700: var(--text-secondary);
    --gray-900: var(--text-primary);
    --primary-color: var(--accent-primary);
    --secondary-color: var(--accent-secondary);
    --warning-color: var(--accent-warning);
    --danger-color: var(--accent-danger);
    --shadow: var(--shadow-md);
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==================== NAVBAR ==================== */
.navbar {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nav-height);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-icon {
    font-size: 2rem;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-links a:hover {
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
}

.nav-links a.active {
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.15);
}

.nav-github {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem !important;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

.nav-github:hover {
    border-color: var(--accent-primary);
    background: var(--bg-card-hover);
}

/* ==================== HERO SECTION ==================== */
.hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-primary);
    background: var(--bg-card-hover);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

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

/* ==================== VIDEO GRID ==================== */
.video-selection {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

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

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    background: var(--bg-card-hover);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1f35 0%, #2a2f45 100%);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 14, 39, 0.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay svg {
    filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.8));
}

.duration-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(8px);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.video-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.meta-item svg {
    color: var(--accent-primary);
}

.meta-date {
    color: var(--accent-secondary);
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* ==================== VIDEO PLAYER ==================== */
.player-section {
    padding: 3rem 0;
}

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

.back-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.player-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.player-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.view-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.view-toggle:hover {
    border-color: var(--accent-primary);
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.view-toggle.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.video-player-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.video-player {
    width: 100%;
    display: block;
    background: #000;
}

/* ==================== STATS PANEL ==================== */
.stats-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.stat-item-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

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

.stat-item-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.model-info {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-primary);
    border-radius: 12px;
    padding: 1.5rem;
}

.model-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.model-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.model-info p strong {
    color: var(--text-primary);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-section p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-primary);
}

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

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

/* Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Navbar */
    .navbar .container {
        padding: 0 1rem;
    }
    
    .nav-brand {
        font-size: 1rem;
        gap: 0.5rem;
    }
    
    .nav-icon {
        font-size: 1.5rem;
    }
    
    .nav-title {
        display: none; /* Hide "Shuttle Detection AI" text on mobile */
    }
    
    .nav-links {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .nav-links a {
        padding: 0.4rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .nav-github {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.8125rem;
    }
    
    .nav-github svg {
        width: 16px;
        height: 16px;
    }
    
    /* Hero Section */
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Video Selection */
    .video-selection {
        padding: 2rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.875rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-card {
        border-radius: 12px;
    }
    
    .video-thumbnail {
        height: 180px;
    }
    
    .video-info {
        padding: 1.25rem;
    }
    
    .video-title {
        font-size: 1rem;
    }
    
    .video-description {
        font-size: 0.8125rem;
    }
    
    .duration-badge {
        bottom: 8px;
        right: 8px;
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    /* Player Section */
    .player-section {
        padding: 2rem 0;
    }
    
    .player-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .back-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .player-title {
        font-size: 1.375rem;
    }
    
    .player-controls {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .view-toggle {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
        border-radius: 10px;
    }
    
    .video-player-wrapper {
        border-radius: 12px;
        margin-bottom: 1.5rem;
    }
    
    /* Stats Panel */
    .stats-panel {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .stats-title {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .stat-item-value {
        font-size: 1.75rem;
    }
    
    .stat-item-label {
        font-size: 0.6875rem;
    }
    
    .stat-item-subtitle {
        font-size: 0.8125rem;
    }
    
    .model-info {
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .model-info h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .model-info p {
        font-size: 0.8125rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
        margin-top: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section p,
    .footer-section ul li a {
        font-size: 0.8125rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.8125rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 0.875rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .nav-links a {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
    }
    
    .nav-github {
        padding: 0.375rem 0.625rem !important;
    }
    
    .video-thumbnail {
        height: 160px;
    }
    
    .player-title {
        font-size: 1.125rem;
    }
    
    .stat-item-value {
        font-size: 1.5rem;
    }
}

/* ==================== ABOUT PAGE MOBILE ==================== */
@media (max-width: 768px) {
    /* About page container */
    main.container {
        padding: 60px 1rem 2rem !important;
    }
    
    /* About page headings */
    main.container h1 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    
    main.container h2 {
        font-size: 1.375rem !important;
        margin-bottom: 0.875rem !important;
    }
    
    main.container h3 {
        font-size: 1.125rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    /* About page paragraphs */
    main.container p {
        font-size: 0.9375rem !important;
        line-height: 1.6 !important;
        margin-bottom: 0.875rem !important;
    }
    
    /* About page lists */
    main.container ul,
    main.container ol {
        font-size: 0.9375rem !important;
        margin-left: 1.25rem !important;
        margin-bottom: 0.875rem !important;
    }
    
    main.container li {
        margin-bottom: 0.5rem !important;
    }
    
    /* About page sections */
    main.container section {
        margin-bottom: 2rem !important;
    }
    
    /* About page article */
    main.container article {
        max-width: 100% !important;
    }
    
    /* CTA section on about page */
    main.container > div[style*="background"] {
        padding: 2rem 1rem !important;
        margin: 2rem -1rem !important;
        border-radius: 12px !important;
    }
    
    main.container > div[style*="background"] h2 {
        font-size: 1.5rem !important;
    }
    
    main.container > div[style*="background"] p {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    main.container h1 {
        font-size: 1.5rem !important;
    }
    
    main.container h2 {
        font-size: 1.25rem !important;
    }
    
    main.container p {
        font-size: 0.875rem !important;
    }
}

/* ==================== DOCUMENTATION PAGE MOBILE ==================== */
.doc-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 2rem;
}

.doc-nav {
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
    height: fit-content;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

.doc-nav h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.doc-nav ul {
    list-style: none;
    padding: 0;
}

.doc-nav ul li {
    margin-bottom: 0.5rem;
}

.doc-nav ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.375rem 0.5rem;
    border-radius: 6px;
}

.doc-nav ul li a:hover {
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
}

.doc-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    min-width: 0;
}

.doc-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.doc-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.doc-content h2:first-of-type {
    border-top: none;
    margin-top: 0;
}

.doc-content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.doc-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.doc-content ul,
.doc-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.doc-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.doc-content code {
    background: var(--bg-secondary);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
    color: var(--accent-primary);
}

.doc-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Documentation mobile optimization */
@media (max-width: 1024px) {
    .doc-container {
        grid-template-columns: 200px 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .doc-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .doc-container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 1rem;
    }
    
    .doc-nav {
        position: static;
        margin-bottom: 1.5rem;
        padding: 1rem;
    }
    
    .doc-nav h3 {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }
    
    .doc-nav ul li a {
        font-size: 0.875rem;
        padding: 0.3rem 0.4rem;
    }
    
    .doc-content {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .doc-content h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .doc-content h2 {
        font-size: 1.375rem;
        margin-top: 2rem;
        margin-bottom: 0.875rem;
    }
    
    .doc-content h3 {
        font-size: 1.125rem;
        margin-top: 1.25rem;
        margin-bottom: 0.625rem;
    }
    
    .doc-content p {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    .doc-content ul,
    .doc-content ol {
        margin-left: 1.25rem;
        font-size: 0.9375rem;
    }
    
    .doc-content code {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .doc-container {
        padding: 0.875rem;
    }
    
    .doc-nav {
        padding: 0.875rem;
    }
    
    .doc-content {
        padding: 1.25rem;
    }
    
    .doc-content h1 {
        font-size: 1.5rem;
    }
    
    .doc-content h2 {
        font-size: 1.25rem;
    }
    
    .doc-content h3 {
        font-size: 1rem;
    }
    
    .doc-content p,
    .doc-content ul,
    .doc-content ol {
        font-size: 0.875rem;
    }
}

/* ==================== ANIMATIONS ==================== */
/* Removed glow animations for cleaner look */

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 12px;
    }

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    }

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 6px;
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}
