:root {
    --bg-color: #050505;
    --card-bg: #0a0a0c;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-blue: #3b82f6;
    --accent-red: #ef4444;
    --motogp-red: #e10600;
    --racing-blue: #0066ff;
    --border-color: #1f1f22;
    --nav-height: 80px;
    --glass-bg: rgba(10, 10, 12, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

/* Racing Background Animation */
.racing-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
}

.speed-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg,
            transparent,
            transparent 100px,
            var(--accent-blue) 100px,
            var(--accent-blue) 102px);
    animation: speedMove 20s linear infinite;
}

@keyframes speedMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100px);
    }
}

/* Checkered Flag Animation */
/* Checkered Flag Animation */
.checkered-accent {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image:
        linear-gradient(45deg, #1f1f22 25%, transparent 25%),
        linear-gradient(-45deg, #1f1f22 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #1f1f22 75%),
        linear-gradient(-45deg, transparent 75%, #1f1f22 75%);
    background-size: 30px 30px;
    background-position: 0 0, 0 15px, 15px -15px, -15px 0px;
    opacity: 0.05;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--racing-blue) 0%, var(--accent-blue) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.text-muted {
    color: var(--text-secondary);
}

/* Navigation */
.navbar {
    height: var(--nav-height);
    border-bottom: 1px solid var(--glass-border);
    background-color: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    letter-spacing: -0.5px;
}

.logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    display: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

/* Hero Section */
/* Hero Section */
.hero {
    padding: 10rem 0 8rem;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 6s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 6rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.badge {
    display: inline-flex;
    align-items: center;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -2px;
}

.highlight {
    background: linear-gradient(135deg, var(--racing-blue) 0%, var(--motogp-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 540px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Glass Card (Hero Visual) */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    width: 360px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: float 6s ease-in-out infinite;
    position: relative;
    transform-style: preserve-3d;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 40%);
    border-radius: 20px;
    z-index: -1;
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotateX(2deg) rotateY(-2deg);
    }

    50% {
        transform: translateY(-20px) rotateX(5deg) rotateY(0deg);
    }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.motogp-tag {
    background-color: rgba(225, 6, 0, 0.15);
    color: var(--motogp-red);
    border: 1px solid rgba(225, 6, 0, 0.2);
}

.live-indicator {
    font-size: 0.75rem;
    color: var(--accent-red);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-red);
    animation: pulse 1.5s infinite;
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.session-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border: 1px solid transparent;
    transition: all 0.2s;
}

.session-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.session-item.active {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Bento Grid */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 1.5rem;
}

.bento-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.bento-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-card.wide {
    grid-column: span 3;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.content-side {
    position: relative;
    z-index: 2;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
    font-size: 1.4rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transition: transform 0.3s;
}

.bento-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.big-icon {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.03);
    margin-right: 2rem;
    transform: rotate(-15deg);
    transition: all 0.5s;
}

.bento-card:hover .big-icon {
    transform: rotate(0deg) scale(1.2);
    color: rgba(255, 255, 255, 0.08);
}

/* Updated Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.6rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--racing-blue);
    color: white;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-primary:hover {
    background: #005ce6;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.btn-donate {
    background-color: #FFDD00;
    color: #000000;
    border: 1px solid #FFDD00;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 221, 0, 0.3);
}

.btn-donate:hover {
    background-color: #ffea00;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 221, 0, 0.4);
}

/* Mini Schedule Visual */
.schedule-visual {
    margin-top: auto;
    padding-top: 1.5rem;
}

.mini-schedule {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mini-session {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0.8rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.mini-session:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.mini-session.active {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(225, 6, 0, 0.15) 100%);
    color: var(--racing-blue);
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.ms-time {
    font-family: monospace;
    font-weight: 600;
}

/* Info Section */
.info-section {
    background-color: #131315;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.info-grid {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.info-content {
    flex: 1;
}

.info-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.check-list {
    margin-top: 2rem;
}

.check-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
}

.check-list i {
    color: var(--racing-blue);
    font-size: 1.1rem;
}

.stats-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--racing-blue), var(--motogp-red));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    border-color: var(--racing-blue);
    transform: translateY(-5px);
}

.stat-card .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--racing-blue) 0%, var(--motogp-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-card .label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: #030304;
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 300px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.socials {
    display: flex;
    gap: 1rem;
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.socials a:hover {
    color: white;
    background: var(--racing-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
    border-color: var(--racing-blue);
}

.footer-links h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--racing-blue);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Docs Layout */
.docs-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    min-height: calc(100vh - var(--nav-height));
}

.docs-sidebar {
    width: 280px;
    background-color: #131315;
    border-right: 1px solid var(--border-color);
    padding: 2rem;
    position: sticky;
    top: var(--nav-height);
    height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    flex-shrink: 0;
}

.sidebar-group {
    margin-bottom: 2rem;
}

.sidebar-group h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.sidebar-group a {
    display: block;
    padding: 0.5rem 0.8rem;
    color: var(--text-secondary);
    border-radius: 6px;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.sidebar-group a:hover,
.sidebar-group a.active {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(225, 6, 0, 0.15) 100%);
    color: var(--racing-blue);
}

.docs-content {
    flex: 1;
    padding: 4rem;
    max-width: 900px;
}

.docs-content section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

.docs-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.docs-content .lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.docs-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.docs-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.docs-content code {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    color: var(--racing-blue);
    font-size: 0.9em;
}

.alert-box {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(225, 6, 0, 0.1) 100%);
    border: 1px solid rgba(0, 102, 255, 0.3);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    align-items: center;
    color: var(--text-primary);
    margin: 1.5rem 0;
}

.alert-box i {
    color: var(--racing-blue);
    font-size: 1.2rem;
}

.steps-list {
    margin-left: 1.5rem;
    color: var(--text-secondary);
}

.steps-list li {
    margin-bottom: 0.5rem;
}

.command-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.command-card:hover {
    border-color: var(--racing-blue);
    transform: translateX(5px);
}

.cmd-header code {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-family: monospace;
    color: var(--racing-blue);
    font-size: 1rem;
}

.command-card p {
    margin-top: 1rem;
    color: var(--text-secondary);
}

/* Legal Pages */
.legal-wrapper {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
    min-height: 70vh;
}

.legal-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.legal-header .last-updated {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-content h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.legal-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.legal-content strong {
    color: var(--text-primary);
}

.legal-content a {
    color: var(--racing-blue);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--motogp-red);
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--card-bg);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    color: var(--text-primary);
}

td {
    color: var(--text-secondary);
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Code Block Styles */
.code-block {
    background-color: #0a0a0c;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.code-block code {
    background-color: transparent;
    padding: 0;
    color: #e2e8f0;
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card.large {
        grid-column: span 2;
    }

    .bento-card.wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.large,
    .bento-card.wide {
        grid-column: span 1;
    }

    .bento-card.wide {
        flex-direction: column;
        align-items: flex-start;
    }

    .big-icon {
        display: none;
    }

    .info-grid {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .socials {
        justify-content: center;
    }

    .docs-wrapper {
        flex-direction: column;
    }

    .docs-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 1rem;
    }

    .docs-content {
        padding: 2rem 1rem;
    }

    .glass-card {
        width: 100%;
        max-width: 320px;
    }

    .legal-wrapper {
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.5rem;
    }
}