*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

* { cursor: none !important; }

:root {
    --accent: #EA846D;
    --dark: #0a0a0a;
    --dark2: #111;
    --dark3: #171717;
    --border: rgba(255, 255, 255, 0.07);
    --text: #f0f0f0;
    --muted: #666;
    --muted2: #333;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0a0a0a;
    color: #fff;
    font-family: 'Barlow', sans-serif;
}

/* ── FONT UTILITIES ── */
.font-display {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.font-heading {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

.font-ui {
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.font-body {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
}

/* ── COLOR UTILITIES ── */
.accent-mustard {
    color: #F2C372;
}

.accent-orange {
    color: #EA846D;
}

.accent-green {
    color: #4caf7d;
}

.accent-red {
    color: #e05252;
}

/* ── KEYFRAMES ── */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ════════════════════════════════
   LOADING SCREEN
════════════════════════════════ */
#loading-screen {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

/* Cinematic background */
.loading-bg {
    position: absolute;
    inset: 0;
    background: url('/assets/images/loadingScreen/plane.png') center / cover;
    filter: brightness(0.3);
}

/* Film grain */
.loading-grain {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Vignette */
.loading-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(10, 10, 10, 0.2) 60%, #0a0a0a 100%);
}

/* Scanlines */
.loading-scanlines {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background: repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
    );
}

/* Layout shell */
.loading-shell {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 4rem;
}

/* Top — server name */
.loading-top {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.loading-bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bar {
    width: 4px;
    transition: height 0.5s ease;
}

.bar-mustard {
    background: #F2C372;
    height: 40px;
}

.bar-orange {
    background: #EA846D;
    height: 40px;
    transition-duration: 0.7s;
}

.loading-server-name {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    text-shadow: 0 0 30px #EA846D;
    margin-bottom: 0.5rem;
}

.loading-tagline {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Center — progress */
.loading-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
}

.progress-number {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(8rem, 18vw, 14rem);
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.progress-number .pct-symbol {
    color: #EA846D;
    font-size: 0.55em;
}

.stage-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(20, 20, 30, 0.55);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1.5rem;
    border-left: 4px solid #EA846D;
    margin-top: 1.5rem;
}

.stage-dots {
    display: flex;
    gap: 4px;
}

.stage-dot {
    width: 4px;
    height: 28px;
    background: #EA846D;
    opacity: 0.3;
    animation: pulse 1.5s ease-in-out infinite;
}

.stage-dot:nth-child(2) {
    animation-delay: 0.15s;
}

.stage-dot:nth-child(3) {
    animation-delay: 0.30s;
}

.stage-label {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Progress bar */
.progress-bar-wrap {
    position: relative;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    width: min(700px, 90vw);
    margin-top: 1.5rem;
    overflow: hidden;
}

.progress-bar-glow {
    position: absolute;
    top: -8px;
    bottom: -8px;
    left: 0;
    filter: blur(12px);
    background: rgba(94, 156, 211, 0.4);
    transition: width 0.3s ease;
}

.progress-bar-fill {
    position: absolute;
    inset-block: 0;
    left: 0;
    background: linear-gradient(to right, #EA846D, #F2C372, #EA846D);
    transition: width 0.3s ease;
}

.progress-bar-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.progress-marker {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s;
}

.progress-marker.reached {
    background: #f5c518;
}

/* Tips */
.tip-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(20, 20, 30, 0.4);
    backdrop-filter: blur(8px);
    border-left: 4px solid #f5c518;
    padding: 1rem 1.25rem;
    max-width: 600px;
}

.tip-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: #f5c518;
}

.tip-number {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #f5c518;
    margin-bottom: 4px;
}

.tip-text {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    animation: fadeIn 0.5s ease-out;
}


#app {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}


#app.ready {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.5s ease, transform 0.5s ease;
}


/* ════════════════════════════════
   HERO SECTION
════════════════════════════════ */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0a0a0a;
}

/* Background image */
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('/assets/images/hero/carshow.png') center / cover;
}

.rehero-bg {
    position: absolute;
    inset: 0;
    background: url('/assets/images/hero/realEstate.png') center / cover;
}


/* Overlay layers */
.hero-overlay-lr {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #0a0a0a, rgba(10, 10, 10, 0.65), transparent);
}

.hero-overlay-tb {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.55), transparent, #0a0a0a);
}

/* Content */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 8rem 4rem;
    max-width: 800px;
}

/* Label */
.hero-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.label-line {
    height: 2px;
    width: 64px;
    background: #F2C372;
    flex-shrink: 0;
}

.label-badge {
    background: #F2C372;
    padding: 0.4rem 1rem;
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #0a0a0a;
}

/* Title */
.hero-title {
    margin-bottom: 1.5rem;
}

.hero-title-word {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0.15em;
    text-shadow: 4px 4px 0 #F2C372, 8px 8px 0 rgba(0, 0, 0, 0.2);
}

.hero-title-word.accent {
    color: #EA846D;
}

/* Description */
.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #aaa;
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* Stats grid */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: rgba(20, 20, 30, 0.8);
    backdrop-filter: blur(4px);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-card.blue {
    border-left: 4px solid #5e9cd3;
}

.stat-card.yellow {
    border-left: 4px solid #f5c518;
}

.stat-card.green {
    border-left: 4px solid #4caf7d;
}

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

.stat-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
}

.online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf7d;
    display: inline-block;
    animation: pulse 1.5s ease-in-out infinite;
}

.offline-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e05252;
    display: inline-block;
}

/* CTA buttons */
.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #5e9cd3;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.85rem 2rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #4a87c4;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.85rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #EA846D;
}

.scroll-line {
    width: 2px;
    height: 48px;
    background: linear-gradient(to bottom, #EA846D, transparent);
}

/* ===== NAVBAR BASE ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    transition: all 0.3s ease;
    outline: none;
}

.navbar:focus-visible {
        outline: 2px solid rgba(255, 255, 255, 0.5);
        outline-offset: 2px;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ===== LAYOUT ===== */
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark {
    width: 4px;
    height: 32px;
    background: #EA846D;
}

.logo-img {
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

/* ===== NAV LINKS ===== */
.nav-links {
    display: flex;
    gap: 4px;
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: none;
    border: none;
    cursor: pointer;
    color: #b0b0b0;
    transition: color 0.2s ease;
    font-family: sans-serif;
    text-decoration: none;
}

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

.nav-link.active {
    color: #EA846D;
}
.nav-link:focus-visible { outline: none !important; }

.nav-link {
    outline: none;
}

.active-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #EA846D;
}

.nav-link .active-bar {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-link.active .active-bar {
    opacity: 1;
}

/* ===== RIGHT ACTIONS ===== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* IP BUTTON */
.ip-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 12px;
    text-transform: uppercase;
    background: none;
    border: none;
    color: #b0b0b0;
    cursor: pointer;
    transition: color 0.2s ease;
    font-family: monospace;
}

.ip-button:hover {
    color: #F2C372;
}

/* DISCORD BUTTON */
.discord-btn {
    padding: 8px 14px;
    background: #5865F2;
    color: white;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    font-family: sans-serif;
    transition: filter 0.2s ease;
}

.discord-btn:hover {
    filter: brightness(1.1);
}

/* ICONS */
.icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ===== MOBILE ===== */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 4px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    display: none;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    z-index: 1000;
}

.nav-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}

/* =========================
   Features Section
========================= */

.features {
    padding: 80px 0;
    color: var(--text);
    font-family: ui-monospace, monospace
}

.terminal-heading {
    text-align: center;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px
}

.terminal-heading::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    margin: 10px auto 0;
    background: var(--accent)
}

.wrapper {
    position: relative;
    overflow: hidden
}

.wrapper::before, .wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none
}

.wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--dark), transparent)
}

.wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--dark), transparent)
}

.track {
    display: flex;
    gap: 20px;
    width: max-content;
    padding: 2rem 0;
    will-change: transform
}

.card {
    width: 320px;
    height: 200px;
    background: #0d0d0d;
    border: 1px solid rgba(232, 113, 74, 0.25);
    border-top: 1px solid rgba(232, 113, 74, 0.6);
    position: relative;
    padding: 20px 20px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0
}

.card-label {
    font-size: 15px;
    letter-spacing: 1.5px;
    color: rgba(232, 113, 74, 0.5);
    text-transform: uppercase
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 4px
}

.card-desc {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.5;
    margin-top: 8px;
    flex: 1
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05)
}

.card-status {
    font-size: 10px;
    letter-spacing: 1.2px;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px
}

.card-status::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block
}

.card-index {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.15)
}

/* =========================
   Jobs Section
========================= */
.jobs {
    padding: 120px 4rem;
    background: rgba(10, 10, 10, 0.55);
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(560px, 1fr));
    gap: 24px;
}

/* ===== CARD BASE ===== */
.job-card {
    perspective: 1000px;
    cursor: pointer;
}

.job-card-inner {
    position: relative;
    width: 100%;
    height: 420px;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    border-radius: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* hover flip (desktop) */
.job-card:hover .job-card-inner {
    transform: rotateY(180deg);
}

/* click flip (mobile / JS toggle) */
.job-card.active .job-card-inner {
    transform: rotateY(180deg);
}

/* ===== FRONT ===== */

.job-front {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    border-radius: 12px;
    border: 1px solid #EA846D;
    background: #0c0f14;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.job-back {
    display: flex;
    flex-direction: column;
    padding: 0px 20px;
    backface-visibility: hidden;
    position: absolute;
    inset: 0;
    border-radius: 12px;
    justify-content: center;
    height: 100%;
    border: 1px solid #EA846D;
    background: #0c0f14;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* FRONT STYLE */
.job-front h3 {
    color: #EA846D;
    margin: 0;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.job-tag {
    margin-top: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.job-status {
    margin-top: auto;
    font-size: 10px;
    letter-spacing: 1px;
    color: #EA846D;
}

/* BACK STYLE */
.job-back {
    transform: rotateY(180deg);
}

.job-back h4 {
    color: #f5c518;
    margin-bottom: 10px;
    font-size: 1rem;
}

.job-back p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.5;
}

.job-image {
    height: 65%;
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.job-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.job-content {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.rules-section {
    color: var(--text);
    font-family: var(--font-sans);
}

.rules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 280px;
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.rules-left {
    padding: 4rem 5vw;
    border-right: 1px solid var(--border);
}

.eyebrow {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.eyebrow::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--accent);
    display: inline-block;
}

.rules-title {
    font-size: 52px;
    font-weight: 500;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.rules-title span {
    color: var(--accent);
}

.rules-sub {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 420px;
}

.rules-right {
    padding: 4rem 5vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rules-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.stat {
    background: var(--dark3);
    padding: 1.25rem 1.5rem;
}

.stat-num {
    font-size: 28px;
    font-weight: 500;
    color: #fff;
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

.search-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px 18px;
    margin-top: 1.5rem;
}

.search-wrap i {
    font-size: 16px;
    color: var(--muted);
    flex-shrink: 0;
}

.search-wrap input {
    background: none;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--text);
    font-family: var(--font-sans);
    width: 100%;
}

.search-wrap input::placeholder {
    color: var(--muted2);
}

.rules-area {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 500px;
}

.rules-sidebar {
    border-right: 1px solid var(--border);
    padding: 2rem 0;
    background: var(--dark2);
}

.sidebar-label {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0 1.5rem;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.sidebar-label:first-child {
    margin-top: 0;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 1.5rem;
    font-size: 13px;
    color: var(--muted);
    cursor: pointer;
    border-left: 2px solid transparent;
    transition: all 0.12s;
}

.sidebar-item:hover {
    color: #aaa;
    background: rgba(255, 255, 255, 0.02);
}

.sidebar-item.active {
    color: #fff;
    border-left-color: var(--accent);
    background: rgba(232, 113, 74, 0.06);
}

.sidebar-item i {
    font-size: 14px;
}

.rules-list {
    padding: 2rem 5vw;
}

.list-meta {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.rule {
    display: grid;
    grid-template-columns: 64px 1fr 24px;
    gap: 1.5rem;
    align-items: start;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.12s;
}

.rule:last-child {
    border-bottom: none;
}

.rule:hover {
    background: rgba(255, 255, 255, 0.025);
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0 -1rem;
    border-radius: 6px;
    border-bottom-color: transparent;
}

.rule:hover + .rule {
    border-top: 1px solid var(--border);
}

.rule-n {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
    padding-top: 2px;
}

.rule-title {
    font-size: 25px;
    font-weight: 500;
    color: #fff;
}

.rule:hover .rule-title {
    color: var(--accent);
}

.rule-block ul {
    list-style-type: disc;
    padding-left: 40px;
}

.rule-block li {
    margin-bottom: 10px;
}

.rule- block li::marker{
    color:white;
}
.rule-desc {
    font-size: 20px;
    color: var(--muted);
    line-height: 1.65;
    margin-top: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.rule.open .rule-desc {
    max-height: 2000px;
}

.chevron {
    color: var(--muted2);
    font-size: 15px;
    padding-top: 3px;
    transition: transform 0.2s;
}

.rule.open .chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.empty {
    text-align: center;
    padding: 5rem;
    color: var(--muted);
    font-size: 14px;
    display: none;
}

.empty i {
    font-size: 32px;
    display: block;
    margin-bottom: 0.75rem;
    color: var(--muted2);
}

.footer-strip {
    border-top: 1px solid var(--border);
    padding: 1.5rem 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--dark2);
}

.footer-strip-text {
    font-size: 12px;
    color: var(--muted);
}

.footer-strip-text span {
    color: var(--accent);
}

#cursor {
    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 8px;
    height: 8px;

    background: white;
    border-radius: 9999px;

    pointer-events: none;
    z-index: 20000;

    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);

    transform: translate(-50%, -50%);
}

/* =========================================================
   Mobile fixes (added 2026-07) — phone-size layout
========================================================= */
@media (max-width: 640px) {
    /* Hero: smaller type, sane padding */
    .hero-content {
        padding: 6rem 1.25rem 4rem;
    }
    .hero-title-word {
        font-size: clamp(2.6rem, 13vw, 4rem);
    }
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }

    /* Stats HUD: clean 2x2 grid instead of squashed row */
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .stat-card {
        padding: 0.6rem 0.75rem;
        gap: 0.5rem;
    }
    .stat-num {
        font-size: 1.15rem;
    }
    .stat-label {
        font-size: 0.65rem;
    }

    /* CTAs: full-width stacked buttons */
    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-primary,
    .btn-outline {
        justify-content: center;
        text-align: center;
    }

    /* Scroll hint overlaps content on short screens */
    .scroll-indicator {
        display: none;
    }

    /* Features carousel: smaller cards, narrower edge fades */
    .features {
        padding: 48px 0;
    }
    .card {
        width: 260px;
        height: auto;
        min-height: 180px;
    }
    .wrapper::before,
    .wrapper::after {
        width: 48px;
    }
}

/* =========================================================
   Mobile fixes round 2 — Role Registry + Server Rulebook
========================================================= */
@media (max-width: 900px) {
    /* Role Registry: tiles demanded 560px minimum — single column instead */
    .jobs {
        padding: 72px 1.25rem;
    }
    .job-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .job-back {
        overflow-y: auto;
    }

    /* Rulebook header: stack the two columns */
    .rules {
        grid-template-columns: 1fr;
    }
    .rules-left,
    .rules-right {
        padding: 2.5rem 1.25rem;
    }
    .rules-title {
        font-size: clamp(34px, 9vw, 52px);
    }

    /* Rulebook body: sidebar becomes a horizontal chip bar */
    .rules-area {
        grid-template-columns: 1fr;
    }
    .rules-sidebar {
        display: flex;
        gap: 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.75rem 1rem;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }
    .sidebar-label {
        display: none;
    }
    .sidebar-item {
        white-space: nowrap;
        flex: 0 0 auto;
    }
    .rules-list {
        padding: 1.5rem 1.25rem;
    }

    /* Footer strip: stack the two texts */
    .footer-strip {
        display: flex;
        flex-direction: column;
        gap: 6px;
        text-align: center;
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .job-card-inner {
        height: 380px;
    }
    .rules-sub {
        font-size: 0.95rem;
    }
}

/* =========================================================
   Touch devices: restore normal cursor behavior
   (the site sets `cursor: none` globally for its custom dot)
========================================================= */
@media (pointer: coarse), (hover: none) {
    * {
        cursor: auto !important;
    }
    #cursor {
        display: none !important;
    }
}

/* =========================================================
   Mobile menu — makes the hamburger button actually work
========================================================= */
/* "Discord" nav entry only exists inside the mobile menu */
.nav-link.menu-only {
    display: none;
}

@media (max-width: 1024px) {
    .navbar.menu-open {
        background: rgba(10, 10, 10, 0.97);
    }

    /* The dropdown panel: reuses .nav-links, anchored under the bar */
    .navbar.menu-open .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.97);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.5rem 1.25rem 1.25rem;
        gap: 2px;
    }
    .navbar.menu-open .nav-link {
        display: block;
        padding: 13px 8px;
        font-size: 15px;
    }
    .navbar.menu-open .nav-link.menu-only {
        display: block;
    }

    /* Real Estate group: sub-links always visible, indented (no hover on touch) */
    .navbar.menu-open .nav-dropdown {
        flex-direction: column;
        align-items: stretch;
    }
    .navbar.menu-open .dropdown-menu {
        position: static;
        display: block;
        background: none;
        border: 0;
        padding: 0 0 0 24px;
    }
    .navbar.menu-open .dropdown-menu a {
        display: block;
        padding: 10px 8px;
        font-size: 14px;
    }
    .navbar.menu-open .dropdown-arrow {
        display: none;
    }
}
