/* Base styling */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0d0d0d;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ---------------------------
   Header & Navigation
---------------------------- */
header {
    background: #1f1f1f;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
    position: sticky;
    top: 0;
    z-index: 1000; 
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.links {
    display: flex;
    gap: 20px;
}

.links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 10px;
    transition: color 0.2s, background 0.2s;
    border-radius: 4px;
}

.links a:hover {
    color: #8ab4f8;
    background: rgba(255, 255, 255, 0.05);
}

.arc-header {
    background: #23272b;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    padding: 0;
}

.arc-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    padding: 18px 24px 10px 24px;
}

.arc-logo {
    color: #8ab4f8;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

.arc-title {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
}

.arcraiders-error-note {
    color: #ffb366;
    font-size: 13px;
    margin-top: 18px;
    text-align: center;
}

/* Main content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

main h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #fff;
}

main p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ccc;
}

main a {
    display: inline-block;
    padding: 12px 25px;
    background: #4a90e2;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    transition: 0.2s ease;
}

main a:hover {
    background: #3b78ba;
}

/* Footer */
footer {
    text-align: center;
    padding: 25px;
    color: #888;
    border-top: 1px solid #222;
    font-size: 14px;
}
/* Responsive */
@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        gap: 10px;
    }

    .box {
        padding: 20px;
    }

    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    model-viewer {
        height: 300px;
    }
}