/* === Chaos Gaming · Cleaned CSS (generated) === */


/* 1) Base tokens */

:root {
--bg: #0b0d10;
    /* deep charcoal */
    --panel: #12161b;
    /* panel */
    --text: #e9eef3;
    /* primary text */
    --muted: #857b6f;
    /* secondary */
    --brand: #bb9241;
    /* accent */
    --brand-2: #a1f0c4;
    /* accent alt */
    --ring: rgba(124, 192, 255, .35);
    --border: #1e2430;
}

* {
box-sizing: border-box;
}

body {
margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    background: linear-gradient(180deg, var(--bg), #0e1116 50%, #0b0d10 100%);
    color: var(--text);
}

.container {
    margin: 0 auto;
    max-width: 1200px;
    width: min(92%, 1200px);
}

section {
padding: 3% 1%;
}

h1 {
margin: 0;
    color: #bb9241;
}

h2 {
font-size: 180%;
    color: #bb9241;
    text-shadow: 0px 0px 6px #000000;
}

@media (max-width: 480px) {
    h2 {
        font-size: 190%;
    }
}

h3 {
font-size: 150%;
    font-weight: 600;
    color: #ad835a;
    text-shadow: 0px 0px 4px #000000;
}

h2, .h2 {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

h3, .h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}


/* 3) Header/Nav */

.header-inner {
display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
font-weight: 800;
    letter-spacing: .3px;
    text-decoration: none;
    color: var(--text);
    font-size: 1.2rem;
}

.brand span {
color: var(--brand);
}

.site-nav {
display: flex;
    gap: 14px;
}

.nav-link {
color: var(--muted);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 12px;
}

.nav-link:hover {
color: var(--text);
    background: #12161b;
}

.nav-link.active {
color: #0b0d10;
    background: linear-gradient(180deg, var(--brand), var(--brand-2));
    font-weight: 700;
}

.nav-toggle {
display: none;
    font-size: 1.2rem;
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 6px 10px;
    border-radius: 10px;
}


/* 4) Main/Hero */

.hero {
border: 1px solid var(--border);
    background: radial-gradient(1200px 400px at 10% -10%, rgba(124, 192, 255, .08), transparent), radial-gradient(1000px 300px at 90% -20%, rgba(161, 240, 196, .06), transparent), var(--panel);
    border-radius: 20px;
    padding: 48px;
}

.hero-content {
max-width: 760px;
}

.hero h1 {
font-size: 2.5rem;
    margin-bottom: 12px;
    color: var(--brand);
}

.hero h1 span {
color: var(--brand);
}

.hero p {
color: var(--muted);
    margin: 0 0 18px;
    font-size: 1.05rem;
}

.hero-actions {
display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


/* 5) Cards */

.cards {
display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 22px;
}

.card {
background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 0 20px rgba(124, 192, 255, .05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card h2 {
color: var(--brand);
    margin-bottom: 10px;
}

.card h3 {
margin: 0 0 8px;
}

.card p {
margin: 0 0 12px;
    color: var(--muted);
}

.card-link {
color: var(--brand);
    text-decoration: none;
    font-weight: 600;
}

.card-link:hover {
text-decoration: underline;
}

.card.highlight {
    background: linear-gradient(180deg, #111 0%, #1a1a1a 100%);
    border: 1px solid #2a2a2a;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.15);
}

.card.highlight h2 {
    color: #ffb84d;
    margin-bottom: 1rem;
}

.card.highlight .no-bs {
    font-weight: 600;
    color: #ffb84d;
    text-transform: uppercase;
    margin-top: 1rem;
}

/* 6) Prose */

.prose h1 {
margin-top: 0;
}

.prose h2 {
margin-top: 1.2em;
}

.prose a {
color: var(--brand);
    text-decoration: none;
}

.prose a:hover {
text-decoration: underline;
}

.prose ul {
margin: .4rem 0 1rem 1.2rem;
}


/* 7) Leaderboard */

.lb-controls .chk {
display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
}

.lb-wrap {
position: relative;
    overflow: auto;
}

.lb {
width: 100%;
    border-collapse: collapse;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.lb thead th {
background: #0f1318;
    position: sticky;
    top: 0;
}

.lb tr:hover td {
background: #0f1216;
}

.lb-skel {
display: none;
    padding: 8px 0;
}

.sk-row {
height: 38px;
    margin: 8px 0;
    background: linear-gradient(90deg, #0e1116, #111722, #0e1116);
    background-size: 200% 100%;
    animation: sk 1.3s infinite;
    border-radius: 8px;
}

@keyframes sk {
    0% {
        background-position: 0%
    }

    100% {
        background-position: 200%
    }
}

.lb-error {
background: #2a1212;
    border: 1px solid #4a1a1a;
    padding: 12px;
    border-radius: 12px;
    margin-top: 12px;
}

.lb-foot {
margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* 👈 left-align everything */
    gap: 8px;
    /* small spacing between dot and text */
}

.muted {
color: var(--muted);
}

.dot.ok {
background: var(--brand-2);
}

.dot.err {
background: #b53a3a;
}

.trademark {
    font-size: 55%;
    vertical-align: top;
    position: relative;
    top: -0.5em;
    margin-left: 1px;
    font-weight: 500;
}

/* 8) Top section & logo */
.topsection {
    position: relative;
    height: 620px;
    background-image:
        linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .05)),
        var(--hero);
    /* <- use a CSS var for the image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: inset 0 -10px 70px rgba(0, 0, 0, .75);
    display: flex;
    justify-content: center;
    align-items: center;
}

  @media (min-width: 1200px) {
    .topsection {
          background-attachment: fixed;
      }
  }

  @media (max-width: 768px) {
    .topsection {
          background-position: 25%;
      }
  }

  @media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (min-device-height: 1366px) and (max-device-height: 1366px) and (min-width: 1024px) and (max-width: 1024px) {
    .topsection {
          background-position: 25%;
      }
  }


.big-logo {
width: 150%;
    max-width: 1024px;
    height: auto;
    opacity: 0;
    transition: opacity 2s;
    z-index: 1;
}

.big-logo[style*="opacity"] {
opacity: 1;
}

@media (max-width: 768px) {
    .big-logo {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .big-logo {
        width: 100%;
    }
}

.Divider {
    height: 55px;
    margin: -18px -15px;
    position: relative;
    z-index: 1;
}

.Divider:before {
    left: 0;
    margin-right: 82px;
    right: 50%;
    background: url(../images/divider-sprite.png) repeat-x 50% 0;
    content: "";
    height: 55px;
    position: absolute;
    top: 0;
}

.Divider:after {
    left: 50%;
    margin-left: 82px;
    right: 0;
    background: url(../images/divider-sprite.png) repeat-x 50% 0;
    content: "";
    height: 55px;
    position: absolute;
    top: 0;
}

.Divider-rule {
    background: url(../images/divider-sprite.png) repeat-x 50% 100%;
    border: 0;
    height: 55px;
    left: 50%;
    margin: 0 0 0 -82px;
    position: absolute;
    top: 5px;
    width: 164px;
}

/* Beat Bootstrap’s hr styles just for this component */
hr.Divider-rule {
    opacity: 1 !important;
    /* <-- the culprit */
    border: 0;
    height: 55px;
    position: absolute;
    top: 5px;
    left: 50%;
    width: 164px;
    margin: 0 0 0 -82px;

    /* make sure the sprite renders exactly as you expect */
    background-image: url(../images/divider-sprite.png);
    background-repeat: repeat-x;
    background-position: 50% 100%;
    background-size: auto;
    /* or set a size if your sprite needs it */
    mix-blend-mode: normal;
    /* belt & braces if you’ve used blend modes elsewhere */
}

.pattern {
background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55)), url(../images/dark_wall.png);
}

.pattern-dark {
background-image: url(../images/dark_leather.png);
}

.join-us h2 {
font-size: 2rem;
    color: var(--brand);
    margin-bottom: 16px;
}

.join-us p {
margin: 8px auto;
    max-width: 700px;
    line-height: 1.6;
    color: var(--muted);
}

.join-us .discord a {
color: var(--brand-2);
    font-weight: 700;
    text-decoration: none;
}

.join-us .discord a:hover {
text-decoration: underline;
}


/* 10) Buttons */

.btn {
background: linear-gradient(180deg, var(--brand), var(--brand-2));
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: background 0.2s ease;
}

.btn:hover {
background: linear-gradient(180deg, var(--brand-2), var(--brand));
}

.btn.primary {
background: linear-gradient(180deg, var(--brand), var(--brand-2));
    color: #0b0d10;
    font-weight: 800;
}


/* 11) Misc (unclassified) */

html,
body {
height: 100%;
}

/* Header */
.site-header {
position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 13, 16, .8);
    backdrop-filter: saturate(120%) blur(6px);
    border-bottom: 1px solid var(--border);
}

/* Main */
.site-main {
padding: 32px 0 48px;
}

/* Prose content */
.prose {
background: var(--panel);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 16px;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 0;
    background: rgba(11, 13, 16, 0.6);
    text-align: center;
}

.footer-inner {
display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.footer-inner p {
margin: 0;
    color: var(--muted);
}

.footer-links {
display: flex;
    gap: 12px;
}

.footer-links a {
color: var(--muted);
    text-decoration: none;
}

.footer-links a:hover {
color: var(--text);
}

/* Responsive */


.join-us {
margin-top: 40px;
    text-align: center;
    background: linear-gradient(180deg, #0b0d10 0%, #12161b 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 20px;
    box-shadow: 0 0 20px rgba(124, 192, 255, .1);
}

/* Tabs */
.tabs {
display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 14px;
}

.tab {
background: #0f1318;
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 8px 12px;
    border-radius: 12px;
    cursor: pointer;
}

.tab.active {
color: #0b0d10;
    background: linear-gradient(180deg, var(--brand), var(--brand-2));
    font-weight: 800;
}

/* Leaderboard controls/table (consistent with site) */
.lb-controls {
display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 12px 0 16px;
}

.lb-controls input,
.lb-controls select,
.lb-controls button {
background: #0f1318;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 10px;
    border-radius: 12px;
}

.lb th,
.lb td {
padding: 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

/* small status dots for health */
.dot {
width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

/* Homepage cards hover effect */
.hero {
text-align: center;
    margin: 40px auto;
    max-width: 800px;
}

.hero .lead {
font-size: 1.1rem;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 20px;
}

.grid {
display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin: 40px auto;
}

.card:hover {
transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(124, 192, 255, .15);
}



.bottom-wrapper {
    background: url(../images/blog-separator-2.png) 50% 50% no-repeat;
    position: relative;
}


.section-description {
margin: 1rem auto 0 auto;
    width: 69%;
    font-family: Helvetica, Arial, sans-serif;
    color: #857b6f;
    font-size: 1em;
    font-weight: 400;
    text-align: center;
    line-height: 1.6rem;
}

.section-description ul {
list-style-position: inside;
    padding-left: 0;
    margin: 0 auto;
    display: inline-block;
    text-align: left;
}

@media (max-width: 768px) {
    .section-description {
        width: 85%;
    }
}

/* 12) Media queries & keyframes (preserved) */

@media (max-width: 860px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        right: 4%;
        top: 60px;
        background: var(--panel);
        border: 1px solid var(--border);
        padding: 10px;
        border-radius: 12px;
        display: none;
        flex-direction: column;
    }

    .site-nav.open {
        display: flex;
    }
}

/* Footer social link discord */
.social-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    color: #5865F2;
    /* Discord brand base */
    transition: color .2s ease, transform .2s ease;
}

.social-link .icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    fill: currentColor;
    /* SVG follows the link color */
}

.social-link:hover {
    color: #4752C4;
    /* darker on hover */
    transform: translateY(-1px);
}

/* Optional: make it fit a dark footer */
.footer .social-link {
    color: #8ea1e1;
}

.footer .social-link:hover {
    color: #b9c0ff;
}

.nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.nav-user {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #ccc;
    font-size: 0.9em;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-user:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.nav-user img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    vertical-align: middle;
    object-fit: cover;
}

.submutlabel {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 20px;
}

.submutinput {
    background-color: var(--panel);
    color: var(--text);
}

/* Dropdown user button */
.dd-user {
    position: relative;
    margin-left: 12px;
}

.dd-user>summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ddd;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.dd-user[open]>summary {
    background: rgba(255, 255, 255, 0.06);
}

.dd-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.dd-name {
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

.dd-caret {
    opacity: .8;
}

.dd-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 190px;
    padding: 6px;
    background: #0f1115;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
    z-index: 30;
}

.dd-sep {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 6px 0;
}

/* Login button */
.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background .15s ease, color .15s ease;
}

.btn-discord:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.btn-discord__icon {
    width: 18px;
    height: 18px;
}

/* ---- */
.section-description:last-of-type {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

/* news post */
.news-item {
    background: radial-gradient(circle at top left, rgba(255, 215, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 100%);
    border: 1px solid rgba(255, 215, 0, 0.15);
    /* subtle gold border */
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 2rem;
    transition: all 0.2s ease-in-out;
}

.news-item:hover {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.news-item h2 a {
    color: #f5d76e;
    text-decoration: none;
}

.news-item h2 a:hover {
    text-decoration: underline;
}

.news-item time {
    display: block;
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-heading {
    text-align: center;
    color: #f5d76e;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    /* adds the space below */
    margin-top: 1rem;
    /* optional: space from top */
    letter-spacing: 0.5px;
}

.news-summary {
    color: #bbb;
    font-size: 1rem;
    margin-top: 0.3rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}