@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Nunito:wght@400;600;700;800&display=swap");

:root {
    --site-bg: #070605;
    --site-panel: #15100d;
    --site-panel-soft: #1c1511;
    --site-border: rgba(255, 211, 147, 0.14);
    --site-text: #fff7e9;
    --site-muted: #d8c2a5;
    --site-accent: #ffb76b;
    --site-accent-soft: rgba(255, 183, 107, 0.12);
    --site-cream: #ffe4b0;
    --site-peach: #ffa674;
    --site-dark: #160f0a;
    --font-display: "Baloo 2", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
    --font-body: "Nunito", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}


* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--site-bg);
    color: var(--site-text);
    font-family: var(--font-body);
}

a {
    text-decoration: none;
}

svg {
    display: inline-block;
    vertical-align: -0.125em;
}

.site-navbar {
    background: rgba(7, 6, 5, 0.92);
    border-bottom: 1px solid var(--site-border);
    backdrop-filter: blur(12px);
}

.navbar-brand {
    color: var(--site-text) !important;
    letter-spacing: -0.01em;
    font-family: var(--font-display);
    font-weight: 400 !important;
    font-size: 1.35rem;
}

.brand-mark {
    width: 54px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-mark img {
    width: 54px;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(255, 183, 107, 0.2));
}

.nav-link {
    font-weight: 700;
    color: #ead7bd !important;
    border-radius: 999px;
    padding-left: 14px !important;
    padding-right: 14px !important;
}

.nav-icon,
.dropdown-icon {
    width: 15px;
    height: 15px;
    margin-right: 5px;
}

.nav-link:hover,
.nav-link.active,
.nav-link.show {
    color: var(--site-cream) !important;
    background: rgba(255, 183, 107, 0.1);
}

.dropdown-menu {
    background: #100c0a;
    border: 1px solid var(--site-border);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    padding: 8px;
}

.dropdown-item {
    color: #ead7bd;
    border-radius: 12px;
    font-weight: 700;
    padding: 9px 12px;
}

.dropdown-item:hover,
.dropdown-item.active {
    color: #180f09;
    background: linear-gradient(135deg, var(--site-cream), var(--site-peach));
}

.btn-warning {
    background: linear-gradient(135deg, var(--site-cream), var(--site-peach));
    border-color: transparent;
    color: #180f09;
    box-shadow: 0 12px 28px rgba(255, 166, 116, 0.12);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #fff0cc, #ffb48a);
    border-color: transparent;
    color: #180f09;
}

.btn-outline-light {
    border-color: rgba(255, 228, 176, 0.32);
    color: var(--site-text);
}

.btn-outline-light:hover {
    background: var(--site-text);
    border-color: var(--site-text);
    color: #180f09;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 10%, rgba(255, 228, 176, 0.13), transparent 28%),
        radial-gradient(circle at 84% 20%, rgba(255, 166, 116, 0.12), transparent 30%),
        linear-gradient(135deg, #0d0907 0%, #130d0a 52%, #070605 100%);
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto -20% -42% -20%;
    height: 340px;
    background: linear-gradient(90deg, rgba(255, 228, 176, 0.055), rgba(255, 166, 116, 0.08));
    filter: blur(100px);
    pointer-events: none;
}

.hero-row {
    position: relative;
    z-index: 1;
    min-height: 72vh;
    padding: 74px 0;
}

.hero-badge,
.page-heading span,
.section-heading span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--site-accent-soft);
    color: var(--site-cream);
    border: 1px solid rgba(255, 211, 147, 0.2);
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.hero-section h1 {
    max-width: 740px;
    font-family: var(--font-display);
    font-weight: 400 !important;
    letter-spacing: 0.005em;
    line-height: 0.95;
    text-wrap: balance;
}

.hero-section .lead {
    color: var(--site-muted);
    max-width: 620px;
    font-size: clamp(18px, 2.4vw, 22px);
}

.server-ip-box {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 211, 147, 0.2);
    border-radius: 18px;
    background: rgba(21, 16, 13, 0.86);
    color: var(--site-accent);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    text-align: left;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.server-ip-box:hover,
.server-ip-box.copied {
    transform: translateY(-2px);
    border-color: rgba(255, 228, 176, 0.48);
    background: rgba(28, 21, 17, 0.95);
}

.server-ip-box span[data-copy-label] {
    display: block;
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.server-ip-box strong {
    display: block;
    color: var(--site-cream);
    font-size: clamp(21px, 4vw, 28px);
    line-height: 1.1;
}

.copy-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--site-text);
    opacity: 0.9;
}

.copy-icon svg {
    width: 21px;
    height: 21px;
}

.logo-showcase {
    position: relative;
    padding: clamp(28px, 5vw, 50px);
    border: 1px solid rgba(255, 211, 147, 0.16);
    border-radius: 30px;
    background:
        radial-gradient(circle at center, rgba(255, 228, 176, 0.09), transparent 58%),
        rgba(21, 16, 13, 0.58);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
}

.hero-logo {
    width: min(350px, 92%);
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 24px 40px rgba(255, 166, 116, 0.14));
}

.server-pills {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.server-pills span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 228, 176, 0.07);
    border: 1px solid rgba(255, 211, 147, 0.14);
    color: var(--site-muted);
    font-weight: 800;
    font-size: 14px;
}

.feature-card,
.step-card {
    background: rgba(21, 16, 13, 0.88);
    border: 1px solid var(--site-border);
    color: var(--site-text);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.feature-card {
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 211, 147, 0.34);
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.22);
}

.feature-card p,
.step-card p {
    color: var(--site-muted);
}

.card-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 14px;
    background: var(--site-accent-soft);
    color: var(--site-cream);
}

.card-icon svg {
    width: 22px;
    height: 22px;
}

.section-block,
.content-section {
    padding: 76px 0;
    background:
        radial-gradient(circle at top left, rgba(255, 183, 107, 0.06), transparent 30%),
        var(--site-bg);
}

.content-section {
    min-height: calc(100vh - 145px);
}

.section-heading,
.page-heading {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading-left {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.section-heading h2,
.page-heading h1 {
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 400;
    letter-spacing: 0.005em;
    line-height: 0.98;
    margin: 14px 0 12px;
    text-wrap: balance;
}

.feature-card h3,
.vote-card h3,
.rule-card h3,
.staff-card h3,
.login-card h2 {
    font-family: var(--font-display);
    font-weight: 400 !important;
    letter-spacing: 0.01em;
}

.section-heading p,
.page-heading p {
    color: var(--site-muted);
    font-size: 18px;
    margin: 0;
}

.social-section {
    position: relative;
    padding: 48px 0;
    background:
        linear-gradient(rgba(7, 6, 5, 0.74), rgba(7, 6, 5, 0.9)),
        radial-gradient(circle at 20% 10%, rgba(255, 183, 107, 0.14), transparent 34%),
        linear-gradient(135deg, #17100c, #090706);
    border-top: 1px solid var(--site-border);
}

.social-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 122px;
    padding: 18px;
    color: var(--site-text);
    border-radius: 20px;
    border: 1px solid transparent;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.social-link:hover {
    transform: translateY(-3px);
    color: var(--site-cream);
    background: rgba(255, 228, 176, 0.06);
    border-color: rgba(255, 211, 147, 0.16);
}

.social-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255, 247, 233, 0.96);
    color: #120c08;
}

.social-icon svg {
    width: 31px;
    height: 31px;
}

.social-link > span:last-child {
    font-weight: 800;
}

.rules-list {
    margin: 0;
    padding-left: 22px;
}

.rules-list li {
    margin-bottom: 12px;
    color: #f0dfc8;
}

.rules-list li:last-child {
    margin-bottom: 0;
}

.staff-card {
    max-width: 380px;
    margin: 0 auto;
}

.staff-avatar {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--site-cream), var(--site-peach));
    color: #180f09;
    font-size: 34px;
    font-weight: 900;
}

.staff-role {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--site-accent-soft);
    color: var(--site-cream);
    font-weight: 800;
    font-size: 14px;
}

.pagination .page-link {
    background: var(--site-panel);
    border-color: var(--site-border);
    color: var(--site-text);
}

.pagination .page-link:hover {
    background: var(--site-panel-soft);
    border-color: rgba(255, 211, 147, 0.3);
    color: var(--site-cream);
}

.pagination .active .page-link {
    background: linear-gradient(135deg, var(--site-cream), var(--site-peach));
    border-color: transparent;
    color: #180f09;
    font-weight: 800;
}

.site-footer {
    border-top: 1px solid var(--site-border);
    background: #0d0907;
    color: #b8a58f;
    padding: 26px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #e7d3b9;
    font-weight: 700;
}

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

@media (min-width: 768px) {
    .footer-links {
        justify-content: flex-end;
    }
}

@media (max-width: 991.98px) {
    .nav-link {
        margin-top: 6px;
    }

    .hero-row {
        min-height: auto;
        padding: 62px 0;
    }

    .section-heading-left {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .social-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .server-ip-box {
        width: 100%;
        justify-content: space-between;
    }

    .section-block,
    .content-section {
        padding: 54px 0;
    }

    .social-inner {
        grid-template-columns: 1fr;
    }
}

.server-status-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 230px;
    padding: 14px 18px;
    border-radius: 20px;
    background: rgba(255, 228, 176, 0.06);
    border: 1px solid rgba(255, 211, 147, 0.16);
    color: var(--site-muted);
}

.status-topline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--site-cream);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c4aa88;
    box-shadow: 0 0 0 5px rgba(196, 170, 136, 0.1);
}

.server-status-card.is-online .status-dot {
    background: #75e08b;
    box-shadow: 0 0 0 5px rgba(117, 224, 139, 0.12);
}

.server-status-card.is-offline .status-dot,
.server-status-card.is-unknown .status-dot {
    background: #ff9d7a;
    box-shadow: 0 0 0 5px rgba(255, 157, 122, 0.12);
}

.status-detail,
.status-version {
    font-size: 14px;
    font-weight: 700;
}

.status-version {
    color: #bba58a;
}

.login-card {
    max-width: 520px;
}

.form-label {
    color: var(--site-cream);
    font-weight: 800;
}

.form-control {
    background: rgba(255, 228, 176, 0.06);
    border-color: rgba(255, 211, 147, 0.18);
    color: var(--site-text);
}

.form-control:disabled {
    background: rgba(255, 228, 176, 0.035);
    border-color: rgba(255, 211, 147, 0.12);
    color: #a88f71;
}

.text-muted-soft {
    color: var(--site-muted);
}
