/* GLOBAL */
body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background: #0e0f11;
    color: #e0e0e0;
}

/* NAVIGATION */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #141518;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-brand {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #9bd4ff;
    text-shadow: 0 0 8px rgba(100,180,255,0.6);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li {
    cursor: pointer;
    font-size: 1.1rem;
    padding-bottom: 4px;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-links li:hover {
    color: #fff;
    text-shadow: 0 0 6px rgba(255,255,255,0.5);
}

.nav-links li.active {
    color: #9bd4ff;
    border-bottom: 2px solid #9bd4ff;
    text-shadow: 0 0 10px rgba(100,180,255,0.8);
}

/* PANELS */
.content {
    padding: 3rem 2rem;
    max-width: 900px;
    margin: auto;
}

.panel {
    display: none;
    animation: fadeIn 0.4s ease;
    background: rgba(255,255,255,0.03);
    padding: 2rem 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
}

.panel.visible {
    display: block;
}

.panel h1 {
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: #9bd4ff;
    text-shadow: 0 0 10px rgba(100,180,255,0.5);
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* badge GROUPS */
.badge-group {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
}

.badge-group-header {
    padding: 0.8rem 1.2rem;
    background: rgba(255,255,255,0.06);
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 500;
    color: #9bd4ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.badge-group-header:hover {
    background: rgba(255,255,255,0.1);
}

.badge-group-header .arrow {
    transition: transform 0.25s ease;
}

.badge-group.collapsed .arrow {
    transform: rotate(-90deg);
}

/* badge CARDS */
.badge-list {
    padding: 1rem 1.2rem;
}

.badge-card {
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
}

.badge-card h3 {
    margin: 0 0 0.4rem 0;
    color: #9bd4ff;
    font-weight: 400;
    white-space: normal;      /* Allows wrapping */
    overflow: visible;        /* Ensures it isn't hidden */
    word-wrap: break-word;    /* Ensures long commands don't break the layout */
}

.badge-meta {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 0.4rem;
}

.badge-description {
    margin-top: 0.6rem;
    opacity: 0.9;
}

/* KXPEDITION PANEL */
.kx-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.kx-text span {
    color: #9bd4ff;
    text-shadow: 0 0 8px rgba(100,180,255,0.6);
}

.kx-image-wrapper {
    text-align: center;
}

.kx-image {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.kx-image:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(100,180,255,0.4);
}

/* PARTNER SLIDER */
.partner-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.partner-arrow {
    font-size: 2.5rem;
    cursor: pointer;
    user-select: none;
    color: #9bd4ff;
    text-shadow: 0 0 10px rgba(100,180,255,0.6);
    transition: transform 0.2s ease, color 0.2s ease;
}

.partner-arrow:hover {
    transform: scale(1.2);
    color: #ffffff;
}

.partner-content {
    text-align: center;
    max-width: 500px;
}

.partner-image {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-image:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(100,180,255,0.4);
}

.partner-description {
    margin-top: 1rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.category-intro {
    padding: 10px 15px;
    font-style: italic;
    color: #9bd4ff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.card-blurb {
    font-size: 0.9rem;
    color: #888;
    margin: -10px 0 10px 0;
}
