/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 60px; /* Add padding to prevent content from hiding behind fixed navbar */
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(78, 205, 196, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.nav-cherry {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    height: 22px;
    width: auto;
    pointer-events: none;
    user-select: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 1.2rem 1.5rem;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #4ecdc4;
}

.nav-link:hover::after {
    width: 70%;
}

.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    width: 70%;
}

/* Dropdown Navigation */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.nav-item.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 8px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0.5rem 0 0 0;
    min-width: 200px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.nav-item.dropdown.active .dropdown-menu {
    max-height: 500px;
    opacity: 1;
}

.dropdown-link {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-size: 0.95rem;
}

.dropdown-link:hover {
    background: rgba(78, 205, 196, 0.1);
    color: #4ecdc4;
    border-left-color: #4ecdc4;
}

/* Hero section - takes 60% of viewport height */
.hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000000;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Content section */
.content {
    min-height: 100vh;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #ffffff;
    text-align: left;
    position: relative;
}

.content-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #4ecdc4;
    text-align: left;
}

.subsection-title {
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
    text-align: left;
}

.content-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 800px;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
    padding-left: 0;
}

.feature-list li {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #4ecdc4;
    font-weight: bold;
}

.controls-list {
    list-style: none;
    margin-bottom: 2rem;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.8rem;
}

.controls-list li {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0;
    padding: 0.8rem 1.2rem;
    background: rgba(78, 205, 196, 0.1);
    border-left: 3px solid #4ecdc4;
    border-radius: 4px;
}

.controls-list strong {
    color: #ff6b6b;
}

/* Page Header (for other pages) */
.page-header {
    padding: 6rem 2rem 4rem;
    text-align: center;
    background-color: #000000;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-top: 0.5rem;
}

/* Contributors Section */
.contributors-section {
    min-height: 100vh;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contributors-section-title {
    font-size: 1.8rem;
    color: #4ecdc4;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(78, 205, 196, 0.3);
}

.contributors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.contributors-grid--testers {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.contributor-image--placeholder {
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(78, 205, 196, 0.5);
}

.contributor-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contributor-card:hover {
    transform: translateY(-5px);
    border-color: rgba(78, 205, 196, 0.5);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.2);
}

.contributor-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 3px solid #4ecdc4;
    transition: all 0.3s ease;
}

.contributor-card:hover .contributor-image {
    border-color: #ff6b6b;
    transform: scale(1.05);
}

.contributor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contributor-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.contributor-github {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4ecdc4;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contributor-github:hover {
    color: #ff6b6b;
    transform: translateX(5px);
}

.github-icon {
    flex-shrink: 0;
}

.contributor-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
    text-align: center;
}

/* ── Horizontal card layout ───────────────────────────────── */
.contributors-grid--h {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
    margin-top: 2rem;
}

.contributor-card--h {
    flex-direction: row;
    align-items: stretch;
    text-align: left;
    padding: 0;
    overflow: hidden;
    border-left: 3px solid #4ecdc4;
}

.contributor-card--h:hover {
    transform: translateY(-2px);
    border-left-color: #ff6b6b;
    box-shadow: 0 8px 28px rgba(78, 205, 196, 0.18);
}

.card-avatar {
    width: 115px;
    min-width: 115px;
    flex-shrink: 0;
    overflow: hidden;
    background: rgba(78, 205, 196, 0.04);
}

.card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.contributor-card--h:hover .card-avatar img {
    transform: scale(1.07);
}

.card-avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(78, 205, 196, 0.35);
    background: rgba(78, 205, 196, 0.04);
}

.card-body {
    flex: 1;
    min-width: 0;
    padding: 1.1rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    justify-content: center;
}

.contributor-card--h .contributor-name {
    font-size: 1.15rem;
    margin-bottom: 0;
    line-height: 1.2;
}

.contributor-card--h .contributor-github {
    font-size: 0.82rem;
    margin-bottom: 0;
}

.card-tasks {
    font-size: 0.875rem;
    color: #b0b0b0;
    line-height: 1.4;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-tasks-label {
    color: #4ecdc4;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-right: 0.4rem;
}

.card-garage {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.38rem;
    margin-top: 0.4rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.card-garage-label {
    font-size: 0.72rem;
    color: #666;
    letter-spacing: 0.02em;
}

.car-tag {
    display: inline-block;
    background: rgba(78, 205, 196, 0.1);
    color: #4ecdc4;
    border: 1px solid rgba(78, 205, 196, 0.28);
    border-radius: 4px;
    padding: 0.1em 0.55em;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.2s ease;
}

.contributor-card--h:hover .car-tag {
    background: rgba(78, 205, 196, 0.16);
}

.car-tag--goal {
    background: rgba(255, 107, 107, 0.08);
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.3);
}

.contributor-card--h:hover .car-tag--goal {
    background: rgba(255, 107, 107, 0.15);
}

.card-garage-arrow {
    color: #555;
    font-size: 0.9rem;
    line-height: 1;
}

/* ── Tester name wall ─────────────────────────────────────── */
.tester-wall {
    margin-top: 2rem;
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 14px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 30%, rgba(78, 205, 196, 0.045) 0%, transparent 55%),
        radial-gradient(circle at 82% 70%, rgba(255, 107, 107, 0.03) 0%, transparent 50%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 28px,
            rgba(255,255,255,0.018) 28px,
            rgba(255,255,255,0.018) 29px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 28px,
            rgba(255,255,255,0.018) 28px,
            rgba(255,255,255,0.018) 29px
        ),
        rgba(255, 255, 255, 0.02);
}

.tester-wall-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.4rem;
    background: rgba(78, 205, 196, 0.06);
    border-bottom: 1px solid rgba(78, 205, 196, 0.15);
}

.tester-wall-icon {
    color: #4ecdc4;
    opacity: 0.8;
    flex-shrink: 0;
}

.tester-wall-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4ecdc4;
    opacity: 0.85;
    flex: 1;
}

.tester-wall-count {
    font-size: 0.72rem;
    color: #555;
    letter-spacing: 0.04em;
}

.tester-wall-names {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 1.4rem 1.6rem 1.6rem;
    align-items: center;
}

.tester-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.32em 0.85em;
    border-radius: 999px;
    border: 1px solid rgba(78, 205, 196, 0.22);
    background: rgba(78, 205, 196, 0.06);
    color: #c8f0ee;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    cursor: default;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    user-select: none;
}

.tester-chip::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4ecdc4;
    opacity: 0.5;
    transition: opacity 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.tester-chip:hover {
    background: rgba(78, 205, 196, 0.15);
    border-color: rgba(78, 205, 196, 0.55);
    color: #ffffff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 14px rgba(78, 205, 196, 0.2);
}

.tester-chip:hover::before {
    opacity: 1;
    background: #4ecdc4;
}

/* Changelog Section */
.changelog-section {
    min-height: 100vh;
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Version-based timeline */
.version-timeline {
    position: relative;
}

.version-block {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 8px;
    margin-bottom: 3rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.version-block:hover {
    border-color: rgba(78, 205, 196, 0.4);
    box-shadow: 0 4px 20px rgba(78, 205, 196, 0.1);
}

.version-header-block {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(255, 107, 107, 0.1));
    padding: 2rem;
    border-bottom: 1px solid rgba(78, 205, 196, 0.2);
}

.version-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4ecdc4, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.version-subtitle {
    display: block;
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.release-date {
    font-size: 0.95rem;
    color: #808080;
    font-style: italic;
}

.version-content-block {
    padding: 2rem;
}

.changes-section {
    margin-bottom: 2rem;
}

.changes-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4ecdc4;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(78, 205, 196, 0.3);
}

.changes-section.technical .section-title {
    color: #ffc107;
    border-bottom-color: rgba(255, 193, 7, 0.3);
}

.changes-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.changes-list li {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
    padding-left: 1.8rem;
    position: relative;
}

.changes-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #4ecdc4;
    font-size: 1.2rem;
}

.changes-section.technical .changes-list li::before {
    color: #ffc107;
}

/* Old timeline styles (keeping for backwards compatibility) */
.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #4ecdc4, #ff6b6b);
}

.timeline-date {
    position: relative;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

.timeline-date:first-child {
    margin-top: 0;
}

.timeline-date::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4ecdc4;
    border: 2px solid #000000;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.3);
}

.date-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #4ecdc4;
    margin-bottom: 1rem;
}

.changelog-entry {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid rgba(78, 205, 196, 0.3);
    padding: 1rem 1.5rem;
    margin-bottom: 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.changelog-entry:hover {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: #4ecdc4;
    transform: translateX(5px);
}

.changelog-entry.version {
    border-left-color: rgba(255, 107, 107, 0.5);
}

.changelog-entry.version:hover {
    border-left-color: #ff6b6b;
}

.changelog-entry.patch {
    border-left-color: rgba(69, 183, 209, 0.5);
}

.changelog-entry.patch:hover {
    border-left-color: #45b7d1;
}

.changelog-entry.clean {
    border-left-color: rgba(78, 205, 196, 0.5);
}

.changelog-entry.clean:hover {
    border-left-color: #4ecdc4;
}

.changelog-entry.debug {
    border-left-color: rgba(255, 193, 7, 0.5);
}

.changelog-entry.debug:hover {
    border-left-color: #ffc107;
}

.changelog-entry.issue {
    border-left-color: rgba(220, 53, 69, 0.5);
}

.changelog-entry.issue:hover {
    border-left-color: #dc3545;
}

.version-badge {
    display: inline-block;
    background: linear-gradient(135deg, #cf8018, #f32011);
    color: #000000;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 1rem;
    letter-spacing: 0.5px;
}

.entry-type {
    display: inline-block;
    color: #4ecdc4;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.changelog-entry.patch .entry-type {
    color: #45b7d1;
}

.changelog-entry.clean .entry-type {
    color: #4ecdc4;
}

.changelog-entry.debug .entry-type {
    color: #ffc107;
}

.changelog-entry.issue .entry-type {
    color: #dc3545;
}

.entry-text {
    display: inline;
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Expandable changelog entries */
.changelog-entry.expandable {
    cursor: pointer;
}

.changelog-entry.expandable .entry-text::after {
    content: ' ▼';
    font-size: 0.8rem;
    color: #4ecdc4;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.changelog-entry.expandable.expanded .entry-text::after {
    transform: rotate(180deg);
}

.entry-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
}

.changelog-entry.expanded .entry-details {
    max-height: 1000px;
    margin-top: 1rem;
}

.entry-details ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.entry-details li {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
}

.entry-details li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: #4ecdc4;
    font-weight: bold;
}

/* Help Section */
.help-section {
    min-height: 100vh;
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(78, 205, 196, 0.4);
}

.faq-item.active {
    border-color: #4ecdc4;
    box-shadow: 0 4px 20px rgba(78, 205, 196, 0.15);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(78, 205, 196, 0.05);
}

.question-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    text-align: left;
}

.faq-icon {
    font-size: 2rem;
    color: #4ecdc4;
    font-weight: 300;
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #ff6b6b;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 5000px;
    padding: 0 2rem 2rem 2rem;
}

.answer-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4ecdc4;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.answer-subtitle:first-child {
    margin-top: 0;
}

.answer-text {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.answer-note {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(78, 205, 196, 0.1);
    border-left: 3px solid #4ecdc4;
    border-radius: 4px;
}

.answer-list {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.answer-list li {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.answer-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #4ecdc4;
    font-weight: bold;
}

.code-block {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 6px;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    overflow-x: auto;
}

.code-block code {
    display: block;
    color: #4ecdc4;
    font-size: 0.95rem;
    line-height: 1.8;
}

.code-block .code-comment {
    color: #888;
    font-style: italic;
}

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

.control-item {
    background: rgba(78, 205, 196, 0.1);
    border-left: 3px solid #4ecdc4;
    padding: 1rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-item strong {
    color: #ff6b6b;
    font-size: 1rem;
    font-weight: 600;
}

.control-item span {
    color: #e0e0e0;
    font-size: 0.95rem;
}

/* Download Section */
.download-section {
    min-height: 100vh;
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.download-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Version accordion items */
.version-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.version-item:hover {
    border-color: rgba(78, 205, 196, 0.4);
}

.version-item.active {
    border-color: rgba(78, 205, 196, 0.5);
    box-shadow: 0 8px 30px rgba(78, 205, 196, 0.15);
}

.version-item.latest {
    border-color: rgba(255, 107, 107, 0.5);
    background: rgba(255, 107, 107, 0.03);
}

.version-item.latest:hover {
    border-color: rgba(255, 107, 107, 0.6);
}

.version-item.latest.active {
    border-color: #ff6b6b;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.2);
}

.version-toggle {
    width: 100%;
    background: transparent;
    border: none;
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.version-toggle:hover {
    background: rgba(78, 205, 196, 0.05);
}

.version-item.latest .version-toggle:hover {
    background: rgba(255, 107, 107, 0.05);
}

.toggle-icon {
    font-size: 2rem;
    color: #4ecdc4;
    font-weight: 300;
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
    min-width: 30px;
    text-align: center;
}

.version-item.active .toggle-icon {
    transform: rotate(45deg);
    color: #ff6b6b;
}

.version-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2.5rem;
}

.version-item.active .version-content {
    max-height: 5000px;
    padding: 0 2.5rem 2.5rem 2.5rem;
}

.version-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.version-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.latest-badge {
    background: linear-gradient(135deg, #ff6b6b, #ff8787);
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.version-date {
    color: #4ecdc4;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.version-description {
    color: #e0e0e0;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.download-options {
    margin-bottom: 2rem;
}

.options-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4ecdc4;
    margin-bottom: 1.5rem;
}

.download-button {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(78, 205, 196, 0.1);
    border: 2px solid #4ecdc4;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.download-button:hover {
    background: rgba(78, 205, 196, 0.2);
    border-color: #ff6b6b;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.download-button.installer {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.download-button.installer:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(78, 205, 196, 0.2);
    border-radius: 8px;
    color: #4ecdc4;
    flex-shrink: 0;
}

.download-button.installer .button-icon {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

.button-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.button-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.button-subtitle {
    font-size: 0.9rem;
    color: #888;
}

.version-features {
    margin-bottom: 2rem;
}

.features-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4ecdc4;
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
}

.download-notice {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 6px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.notice-text {
    color: #ffc107;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
}

.notice-text svg {
    flex-shrink: 0;
}

.subversion-list {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid rgba(78, 205, 196, 0.3);
    padding: 1rem;
    border-radius: 4px;
}

.subversion-item {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

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

.subversion-item strong {
    color: #4ecdc4;
    font-weight: 600;
}

.features-list li {
    color: #e0e0e0;
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
}

.features-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #4ecdc4;
    font-weight: bold;
}

.version-info {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(78, 205, 196, 0.2);
}

.info-text {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.inline-link {
    color: #4ecdc4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.inline-link:hover {
    color: #ff6b6b;
    text-decoration: underline;
}

.future-versions {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(78, 205, 196, 0.3);
    border-radius: 8px;
}

.future-text {
    color: #888;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.future-text svg {
    flex-shrink: 0;
}

.download-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(78, 205, 196, 0.05);
    border-left: 3px solid #4ecdc4;
    border-radius: 8px;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #4ecdc4;
    margin-bottom: 1rem;
}

.footer-text {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.7;
}

/* Car Creation Guide Page */
.guide-section {
    min-height: 100vh;
    padding: 4rem 2rem;
}

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

.guide-intro {
    margin-bottom: 3rem;
}

.guide-title {
    font-size: 2rem;
    font-weight: 700;
    color: #4ecdc4;
    margin-bottom: 1.5rem;
}

.guide-text {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.guide-block {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.guide-block.highlight {
    background: rgba(78, 205, 196, 0.05);
    border-color: rgba(78, 205, 196, 0.4);
}

.guide-block.tips {
    background: rgba(255, 193, 7, 0.05);
    border-color: rgba(255, 193, 7, 0.3);
}

.guide-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.guide-list li {
    color: #e0e0e0;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.guide-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #4ecdc4;
    font-size: 1.2rem;
    font-weight: bold;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.requirement-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 6px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.requirement-item:hover {
    border-color: rgba(78, 205, 196, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(78, 205, 196, 0.1);
}

.requirement-icon {
    margin-bottom: 1rem;
}

.requirement-icon svg {
    stroke: #4ecdc4;
}

.requirement-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.requirement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-list li {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.8;
    padding: 0.3rem 0;
}

/* Guide Steps */
.guide-step {
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid #4ecdc4;
    margin-bottom: 3rem;
    padding: 2rem;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-badge {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    color: #0a0e27;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subsection-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #4ecdc4;
    margin: 2rem 0 1rem 0;
}

.numbered-list {
    list-style: none;
    counter-reset: step-counter;
    padding-left: 0;
    margin: 1rem 0;
}

.numbered-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
    color: #e0e0e0;
    line-height: 1.8;
}

.numbered-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    color: #0a0e27;
    font-weight: 700;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Warning and Info Boxes */
.warning-box, .info-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.warning-box {
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid rgba(255, 107, 107, 0.3);
}

.info-box {
    background: rgba(78, 205, 196, 0.1);
    border: 2px solid rgba(78, 205, 196, 0.3);
}

.warning-icon, .info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.warning-content, .info-content {
    color: #e0e0e0;
    line-height: 1.8;
}

.warning-content strong, .info-content strong {
    color: #4ecdc4;
    font-weight: 600;
}

.info-content ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.info-content p {
    margin: 0.5rem 0;
}

/* Guide Images */
.guide-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.guide-images.triple {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.guide-image-item {
    text-align: center;
}

.guide-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid rgba(78, 205, 196, 0.3);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.guide-img:hover {
    border-color: #4ecdc4;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(78, 205, 196, 0.2);
}

.image-caption {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-top: 0.8rem;
    font-style: italic;
}

/* Code Examples */
.code-example {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 6px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.code-label {
    color: #4ecdc4;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.code-example code {
    background: rgba(78, 205, 196, 0.1);
    color: #4ecdc4;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

/* Inline Code */
.guide-text code, .info-content code, .warning-content code, .numbered-list code {
    background: rgba(78, 205, 196, 0.15);
    color: #4ecdc4;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.tip-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tip-text {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.resource-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.resource-list li {
    margin-bottom: 1rem;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #4ecdc4;
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.resource-link:hover {
    color: #45b7d1;
    transform: translateX(5px);
}

.resource-link svg {
    flex-shrink: 0;
}

/* Workflow Steps */
.workflow-steps {
    margin-top: 2rem;
}

.workflow-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border-left: 4px solid rgba(78, 205, 196, 0.5);
    transition: all 0.3s ease;
}

.workflow-step:hover {
    background: rgba(255, 255, 255, 0.04);
    border-left-color: #4ecdc4;
    transform: translateX(5px);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    color: #000000;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.step-description {
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* 404 Error Page */
.error-404 {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.error-container {
    max-width: 800px;
    width: 100%;
}

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

.error-code {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4ecdc4, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1;
    letter-spacing: -0.05em;
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 1.5rem 0 1rem;
}

.error-message {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.error-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.error-button.primary {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    color: #000000;
}

.error-button.primary:hover {
    background: linear-gradient(135deg, #45b7d1, #4ecdc4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(78, 205, 196, 0.3);
}

.error-button.secondary {
    background: transparent;
    border-color: #4ecdc4;
    color: #4ecdc4;
}

.error-button.secondary:hover {
    background: rgba(78, 205, 196, 0.1);
    transform: translateY(-2px);
}

.error-button svg {
    width: 20px;
    height: 20px;
}

.error-links {
    padding-top: 2rem;
    border-top: 1px solid rgba(78, 205, 196, 0.2);
}

.links-title {
    font-size: 1rem;
    color: #808080;
    margin-bottom: 1rem;
}

.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.links-list li {
    display: inline;
}

.error-link {
    color: #4ecdc4;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.error-link:hover {
    color: #45b7d1;
    text-decoration: underline;
}

.error-visual {
    margin-top: 3rem;
    opacity: 0.5;
}

.tire-marks svg {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

/* ── Assets / Car Cards ───────────────────────────────────── */
.assets-section {
    min-height: 100vh;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.assets-section-title {
    font-size: 1.8rem;
    color: #4ecdc4;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(78, 205, 196, 0.3);
}

.cars-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-top: 2rem;
}

.car-card {
    display: flex;
    flex-direction: row;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-left: 3px solid #4ecdc4;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.car-card:hover {
    transform: translateY(-3px);
    border-color: rgba(78, 205, 196, 0.5);
    border-left-color: #ff6b6b;
    box-shadow: 0 10px 32px rgba(78, 205, 196, 0.15);
}

.car-card-gif {
    width: 260px;
    min-width: 260px;
    min-height: 180px;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-right: 1px solid rgba(78, 205, 196, 0.12);
    flex-shrink: 0;
}

.car-card-gif img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.45s ease;
}

.car-card:hover .car-card-gif img {
    transform: scale(1.05);
}

.car-card-gif-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: rgba(78, 205, 196, 0.3);
    font-size: 0.78rem;
    text-align: center;
    padding: 2rem;
    width: 100%;
    height: 100%;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.car-card-gif-placeholder svg {
    opacity: 0.3;
}

.car-card-body {
    flex: 1;
    min-width: 0;
    padding: 1.4rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.car-card-header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.6rem 0.85rem;
}

.car-card-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.car-card-year {
    font-size: 0.82rem;
    font-weight: 700;
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.25);
    border-radius: 4px;
    padding: 0.1em 0.6em;
    letter-spacing: 0.04em;
}

.car-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.45rem 1.25rem;
}

.car-spec-item {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.car-spec-label {
    color: #555;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 82px;
}

.car-spec-value {
    color: #ddd;
    font-weight: 500;
}

.car-fun-fact {
    margin-top: 0.25rem;
    padding: 0.7rem 1rem;
    background: rgba(255, 107, 107, 0.06);
    border-left: 3px solid rgba(255, 107, 107, 0.4);
    border-radius: 4px;
    font-size: 0.875rem;
    color: #bbb;
    line-height: 1.55;
}

.car-fun-fact-label {
    color: #ff6b6b;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-right: 0.4rem;
}

/* Leaderboards */
.leaderboard-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Map-level accordion */
.map-accordion {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(78, 205, 196, 0.25);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
}

.map-accordion:hover {
    border-color: rgba(78, 205, 196, 0.4);
}

.map-accordion.active {
    border-color: rgba(78, 205, 196, 0.55);
    box-shadow: 0 6px 24px rgba(78, 205, 196, 0.12);
}

.map-accordion-toggle {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.4rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.map-accordion-toggle:hover {
    background: rgba(78, 205, 196, 0.05);
}

.map-accordion-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
}

.map-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-accordion.active .map-accordion-content {
    max-height: 2000px;
    padding: 0 1.5rem 1.5rem;
}

/* Mode-level accordion (nested) */
.mode-accordion {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(78, 205, 196, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.mode-accordion:hover {
    border-color: rgba(78, 205, 196, 0.3);
}

.mode-accordion.active {
    border-color: rgba(78, 205, 196, 0.4);
}

.mode-accordion-toggle {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0.9rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.mode-accordion-toggle:hover {
    background: rgba(78, 205, 196, 0.05);
}

.mode-accordion-toggle > span:first-child {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4ecdc4;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mode-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
}

.mode-accordion.active .mode-accordion-content {
    max-height: 5000px;
    padding: 0 1.5rem 1.5rem;
}

/* Shared accordion icon */
.accordion-icon {
    font-size: 1.6rem;
    color: #4ecdc4;
    font-weight: 300;
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
    min-width: 24px;
    text-align: center;
}

.map-accordion.active > .map-accordion-toggle .accordion-icon,
.mode-accordion.active > .mode-accordion-toggle .accordion-icon {
    transform: rotate(45deg);
    color: #ff6b6b;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(78, 205, 196, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.leaderboard-table thead tr {
    background: rgba(78, 205, 196, 0.08);
}

.leaderboard-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(224, 224, 224, 0.6);
    border-bottom: 1px solid rgba(78, 205, 196, 0.15);
}

.leaderboard-table td {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #c8c8c8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.leaderboard-table tbody tr:last-child td {
    border-bottom: none;
}

.leaderboard-table tbody tr:hover td {
    background: rgba(78, 205, 196, 0.04);
}

.lb-rank-cell {
    width: 60px;
    text-align: center;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    color: #888;
}

.rank-badge.gold   { background: rgba(255, 196, 0, 0.15);  color: #ffc400; }
.rank-badge.silver { background: rgba(192, 192, 192, 0.15); color: #b8b8b8; }
.rank-badge.bronze { background: rgba(205, 127, 50, 0.15);  color: #cd7f32; }

.lb-time {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
    color: #e0e0e0;
}

.lb-empty {
    color: rgba(224, 224, 224, 0.25);
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 0;
    }
    
    .nav-link {
        padding: 1rem 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Dropdown mobile responsive */
    .dropdown-menu {
        position: static;
        border: none;
        border-left: 2px solid rgba(78, 205, 196, 0.3);
        margin-left: 1rem;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.5);
    }
    
    .dropdown-link {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .content {
        padding: 3rem 1.5rem;
    }
    
    .content-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .subsection-title {
        font-size: 1.2rem;
    }
    
    .content-text {
        font-size: 1.1rem;
    }
    
    .feature-list li {
        font-size: 1rem;
    }
    
    .controls-list {
        grid-template-columns: 1fr;
    }
    
    .controls-list li {
        font-size: 1rem;
    }
    
    .page-header {
        padding: 5rem 1.5rem 3rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .contributors-section {
        padding: 3rem 1.5rem;
    }
    
    .contributors-grid {
        gap: 2rem;
    }

    .contributors-grid--h {
        grid-template-columns: 1fr;
    }

    .contributor-card--h {
        flex-direction: column;
    }

    .card-avatar {
        width: 100%;
        height: 140px;
        min-width: unset;
    }

    .card-tasks {
        white-space: normal;
    }
    
    .changelog-section {
        padding: 3rem 1.5rem;
    }
    
    .timeline {
        padding-left: 2.5rem;
    }
    
    .date-title {
        font-size: 1.2rem;
    }
    
    .changelog-entry {
        padding: 0.9rem 1.2rem;
    }
    
    .version-badge {
        font-size: 0.8rem;
        padding: 0.25rem 0.7rem;
    }
    
    .entry-type {
        font-size: 0.85rem;
    }
    
    .entry-text {
        font-size: 0.95rem;
    }
    
    .help-section {
        padding: 3rem 1.5rem;
    }
    
    .faq-question {
        padding: 1.2rem 1.5rem;
    }
    
    .question-text {
        font-size: 1.2rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .controls-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .download-section {
        padding: 3rem 1.5rem;
    }
    
    .version-toggle {
        padding: 1.5rem 2rem;
    }
    
    .version-content {
        padding: 0 2rem;
    }
    
    .version-item.active .version-content {
        padding: 0 2rem 2rem 2rem;
    }
    
    .version-number {
        font-size: 1.8rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .download-footer {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 50px;
    }
    
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .nav-link {
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .content {
        padding: 2rem 1rem;
    }
    
    .content-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.3rem;
        margin-top: 2rem;
    }
    
    .subsection-title {
        font-size: 1.1rem;
        margin-top: 1.5rem;
    }
    
    .content-text {
        font-size: 1rem;
    }
    
    .feature-list li {
        font-size: 0.95rem;
        padding-left: 1.2rem;
    }
    
    .controls-list li {
        font-size: 0.95rem;
        padding: 0.6rem 1rem;
    }
    
    .page-header {
        padding: 4rem 1rem 2.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .contributors-section {
        padding: 2rem 1rem;
    }
    
    .contributors-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contributor-card {
        padding: 1.5rem;
    }
    
    .contributor-image {
        width: 120px;
        height: 120px;
    }

    .card-avatar {
        height: 115px;
    }
    
    .changelog-section {
        padding: 2rem 1rem;
    }
    
    .timeline {
        padding-left: 2rem;
    }
    
    .timeline::before {
        left: 0.3rem;
    }
    
    .timeline-date::before {
        left: -1.7rem;
        width: 10px;
        height: 10px;
    }
    
    .timeline-date {
        margin-top: 2.5rem;
    }
    
    .date-title {
        font-size: 1.1rem;
    }
    
    .changelog-entry {
        padding: 0.8rem 1rem;
        margin-bottom: 0.6rem;
    }
    
    .version-badge {
        display: block;
        width: fit-content;
        margin-bottom: 0.5rem;
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
    
    .entry-type {
        display: block;
        margin-bottom: 0.3rem;
        font-size: 0.8rem;
    }
    
    .entry-text {
        display: block;
        font-size: 0.9rem;
    }
    
    .help-section {
        padding: 2rem 1rem;
    }
    
    .faq-question {
        padding: 1rem 1rem;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .faq-icon {
        font-size: 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1rem 1.5rem 1rem;
    }
    
    .answer-subtitle {
        font-size: 1rem;
        margin-top: 1.2rem;
    }
    
    .answer-text {
        font-size: 0.95rem;
    }
    
    .code-block {
        padding: 0.8rem 1rem;
    }
    
    .code-block code {
        font-size: 0.85rem;
    }
    
    .controls-grid {
        grid-template-columns: 1fr;
    }
    
    .control-item {
        padding: 0.8rem;
    }
    
    .control-item strong {
        font-size: 0.95rem;
    }
    
    .control-item span {
        font-size: 0.9rem;
    }
    
    .download-section {
        padding: 2rem 1rem;
    }
    
    .version-toggle {
        padding: 1.5rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .toggle-icon {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.5rem;
    }
    
    .version-content {
        padding: 0 1.5rem;
    }
    
    .version-item.active .version-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .version-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .version-number {
        font-size: 1.6rem;
    }
    
    .latest-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
    
    .download-button {
        flex-direction: column;
        gap: 1rem;
        padding: 1.2rem;
        text-align: center;
    }
    
    .button-icon {
        width: 40px;
        height: 40px;
    }
    
    .button-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .button-title {
        font-size: 1rem;
    }
    
    .button-subtitle {
        font-size: 0.85rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .download-footer {
        padding: 1.2rem;
        margin-top: 2rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-text {
        font-size: 0.95rem;
    }
    
    /* Car Guide Responsive */
    .guide-section {
        padding: 2rem 1rem;
    }
    
    .guide-block {
        padding: 1.5rem;
    }
    
    .guide-title {
        font-size: 1.6rem;
    }
    
    .guide-text {
        font-size: 1rem;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .requirement-item {
        padding: 1.5rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tip-item {
        padding: 1rem;
    }
    
    /* Guide Step Responsive */
    .guide-step {
        padding: 1.5rem 1rem;
    }
    
    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .step-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .subsection-title {
        font-size: 1.1rem;
    }
    
    .numbered-list li {
        padding-left: 2.5rem;
        font-size: 0.95rem;
    }
    
    .numbered-list li::before {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.85rem;
    }
    
    .warning-box, .info-box {
        flex-direction: column;
        padding: 1rem;
    }
    
    .guide-images {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .guide-images.triple {
        grid-template-columns: 1fr;
    }
    
    .code-example {
        padding: 1rem;
    }
    
    .code-label {
        font-size: 0.85rem;
    }
    
    .code-example code {
        font-size: 0.85rem;
        word-break: break-all;
    }
    
    .workflow-step {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
    
    .step-description {
        font-size: 0.9rem;
    }
    
    /* 404 Page Responsive */
    .error-404 {
        padding: 2rem 1rem;
    }
    
    .error-code {
        font-size: 5rem;
    }
    
    .error-title {
        font-size: 1.8rem;
    }
    
    .error-message {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .error-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .error-button {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    
    .links-list {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .tire-marks svg {
        max-width: 250px;
    }
}