* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #ffffff;
    background:
        radial-gradient(circle at top left, rgba(55, 183, 255, 0.10), transparent 32%),
        radial-gradient(circle at top right, rgba(255, 122, 24, 0.09), transparent 30%),
        linear-gradient(180deg, #03050d, #071123 45%, #04060e);
}

a {
    color: inherit;
    text-decoration: none;
}

.site-shell {
    min-height: 100vh;
}

/* =========================================================
   IMAGE HEADER - CROPPED ASSETS, NOT CSS CROPPING
   The PNG files are pre-cropped so the page does not cut off
   the top of the Caveman's strip or the nav icons.
========================================================= */

.image-header {
    width: min(980px, calc(100% - 44px));
    margin: 0 auto;
    background: #000000;
    line-height: 0;
}

.studio-strip,
.continuum-hero-img,
.nav-image-wrap {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #000000;
    overflow: visible;
}

.studio-strip img,
.continuum-hero-img img,
.nav-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.nav-image-wrap {
    margin-bottom: 12px;
    filter:
        drop-shadow(0 0 12px rgba(55, 183, 255, 0.14))
        drop-shadow(0 0 16px rgba(255, 122, 24, 0.10));
}

/* clickable image-map areas */

.studio-link,
.hero-play-link,
.nav-hit {
    position: absolute;
    display: block;
    z-index: 5;
}

.studio-link {
    right: 4.2%;
    top: 28%;
    width: 15.5%;
    height: 44%;
    border-radius: 10px;
}

.hero-play-link {
    right: 10.3%;
    top: 50%;
    width: 17.5%;
    height: 20%;
    border-radius: 10px;
}

.nav-hit {
    top: 12%;
    height: 74%;
    border-radius: 10px;
}

.nav-hit:hover,
.studio-link:hover,
.hero-play-link:hover {
    box-shadow:
        0 0 18px rgba(55, 183, 255, 0.35),
        0 0 24px rgba(255, 122, 24, 0.24);
}

.hit-home { left: 3.2%; width: 8.5%; }
.hit-players { left: 13.3%; width: 10.2%; }
.hit-owners { left: 25.0%; width: 13.0%; }
.hit-modules { left: 40.0%; width: 10.5%; }
.hit-leaderboards { left: 52.8%; width: 13.7%; }
.hit-pricing { left: 68.5%; width: 9.4%; }
.hit-faq { left: 80.2%; width: 7.4%; }
.hit-contact { left: 89.2%; width: 9.2%; }

/* =========================================================
   MOBILE TEXT NAV
========================================================= */

.mobile-nav {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 14px;
    background: #070b18;
    border-bottom: 1px solid rgba(255, 122, 24, 0.35);
    line-height: normal;
}

.mobile-nav a {
    padding: 11px 13px;
    border: 1px solid rgba(55, 183, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #eafcff;
}

/* =========================================================
   PAGE CONTENT
========================================================= */

.content-wrap {
    width: min(980px, calc(100% - 44px));
    margin: 12px auto 34px;
}

.hero-card,
.content-card {
    background:
        linear-gradient(180deg, rgba(10, 15, 37, 0.92), rgba(8, 12, 26, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.34),
        0 0 18px rgba(55, 183, 255, 0.045);
    border-radius: 14px;
}

.hero-card {
    padding: 22px 28px;
    border-left: 5px solid #ff7a18;
}

.eyebrow {
    margin: 0 0 8px;
    color: #ff7a18;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-size: 12px;
    font-weight: 900;
}

h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 3.3vw, 48px);
    line-height: 1.0;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #ffffff;
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.08);
}

h2 {
    margin: 0 0 8px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 18px;
}

p,
li {
    font-size: 14px;
    line-height: 1.5;
    color: #cdd9f6;
}

.hero-text {
    max-width: 720px;
    font-size: 15px;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.btn {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 900;
    padding: 9px 13px;
    border-radius: 8px;
    border: 1px solid rgba(55, 183, 255, 0.42);
    background:
        linear-gradient(90deg, rgba(55, 183, 255, 0.12), rgba(255, 122, 24, 0.12));
    box-shadow:
        0 0 14px rgba(55, 183, 255, 0.12),
        0 0 14px rgba(255, 122, 24, 0.12);
    color: #ffffff;
    font-size: 12px;
}

.btn.primary {
    border-color: rgba(255, 122, 24, 0.70);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 0 22px rgba(55, 183, 255, 0.22),
        0 0 26px rgba(255, 122, 24, 0.18);
}

.content-card {
    margin-top: 14px;
    padding: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.feature-card {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.035);
    border-radius: 12px;
}

.feature-card h2 {
    color: #37b7ff;
}

.feature-card:nth-child(even) h2 {
    color: #ff7a18;
}

.site-footer {
    text-align: center;
    padding: 18px 12px;
    background: #03050b;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.site-footer p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.60);
}

/* =========================================================
   LEADERBOARDS
========================================================= */

.leaderboard-header {
    margin-bottom: 20px;
}

.status {
    margin-top: 14px;
    color: #8cff9b;
    font-size: 14px;
    font-weight: 700;
}

.leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.board {
    background:
        linear-gradient(180deg, rgba(11, 16, 38, 0.94), rgba(8, 12, 26, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 5px solid #37b7ff;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
    border-radius: 14px;
    overflow: hidden;
}

.board h2 {
    margin: 0;
    padding: 16px 18px;
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 18px;
    color: #ffffff;
}

.meta {
    padding: 9px 18px;
    color: #ff7a18;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 11px 12px;
    color: #37b7ff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

td {
    padding: 9px 12px;
    font-size: 14px;
    color: #e7e7e7;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.025);
}

tr:hover td {
    background: rgba(255, 122, 24, 0.09);
}

.rank {
    width: 58px;
    text-align: right;
    color: #ffffff;
    font-weight: 900;
}

.score {
    width: 100px;
    text-align: right;
    color: #8cff9b;
    font-weight: 900;
}

.empty,
.error,
.loading {
    padding: 18px;
    font-size: 14px;
    color: #d9d9d9;
}

.error {
    color: #ff6b7a;
}

.board a {
    color: #37b7ff;
    font-weight: 700;
}

/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1400px) {
    .image-header,
    .content-wrap {
        width: 980px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {
    .image-header {
        width: 100%;
        margin: 0;
    }

    .studio-strip img {
        min-height: 88px;
        object-fit: cover;
        object-position: left center;
    }

    .continuum-hero-img img {
        min-height: 210px;
        object-fit: cover;
        object-position: center;
    }

    .nav-image-wrap {
        display: none;
    }

    .mobile-nav {
        display: flex;
    }

    .content-wrap {
        width: min(100% - 24px, 1180px);
        margin-top: 22px;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-card {
        padding: 26px;
    }

    .leaderboard-grid {
        grid-template-columns: 1fr;
    }

    td,
    th {
        font-size: 12px;
        padding: 8px;
    }
}

@media (max-width: 600px) {
    .continuum-hero-img img {
        object-position: 44% 50%;
    }
}


/* CONTINUUM ADDITIONS */
.wide-art {
    display:block;
    width:100%;
    height:auto;
    border-radius:14px;
    margin-top:14px;
    border:1px solid rgba(255,255,255,0.13);
    box-shadow:0 18px 44px rgba(0,0,0,0.34);
}
.notice-card {
    border-left:5px solid #ff7a18;
}
.faction-list .feature-card h2 { font-size:16px; }
.badge {
    display:inline-block;
    margin-left:8px;
    padding:3px 8px;
    border-radius:999px;
    background:rgba(255,122,24,0.16);
    border:1px solid rgba(255,122,24,0.42);
    color:#ffd4b1;
    font-size:11px;
    vertical-align:middle;
}
