@import url('satoshi.css');

:root {
    --bs-color-text: #0d0c22;
    --primary-color: #a01041;
    --secondary-color: #fea647;
    --background-color: #F9F3E3;
    --background-color-transparent: #F9F3E3cc;
    --background-gradient-primary-color: #fea647;
    --primary-gradient: linear-gradient(170deg, var(--secondary-color), var(--primary-color));
    --bs-primary: var(--primary-color);
}

::selection {
    background-color: var(--primary-color);
    color: var(--bs-color-text);
}

html,
body {
    min-height: 100%;
    font-family: Satoshi, ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}

body.gradient-body-background {
    background-color: #050a12;
    background-image:
        linear-gradient(180deg, rgba(4, 10, 18, 0.72), rgba(4, 10, 18, 0.9)),
        var(--body-background-image);
    background-size: auto, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed, fixed;
}

body.gradient-body-background #app {
    background-color: transparent;
}

h1 {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.666rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.375rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--background-color);
    color: var(--bs-color-text);
}

.content {
    margin-top: 128px;
    min-height: calc(100vh - 260px);
}

a {
    text-decoration: none;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #9ca3af0a;
    color: var(--bs-color-text);
    background-color: var(--background-color-transparent);
}

.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    margin-bottom: 0;
    font-weight: bold;
    gap: 1rem;
    color: var(--bs-color-text);
    --bs-navbar-active-color: var(--bs-color-text);
}

.nav-link {
    color: var(--bs-color-text);
}

/* text gradient */
.nav-link.active {
    background-image: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus, .navbar-nav .nav-link:active {
    color: var(--bs-color-text);
    text-shadow: 0 0 25px var(--secondary-color);
    transition: text-shadow 0.2s ease;
}

.navbar-logo img {
    width: 50px;
    height: 50px;
}

.navbar-brand, .navbar-brand:hover, .navbar-brand:focus {
    text-decoration: none;
    color: var(--bs-color-text);
}

.navbar-toggler {
    color: var(--bs-color-text);
    border: none;
    font-size: 32px;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #333;
}

.hamburger.change .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.change .bar:nth-child(2) { opacity: 0; }

.hamburger.change .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.gradient-home {
    margin-top: 0;
}

.home-highlights {
    padding: 2.5rem 0 3rem;
}

.home-highlights-visual {
    padding-top: 1.4rem;
}

.home-highlights-header {
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(255, 145, 53, 0.12);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 145, 53, 0.08), rgba(47, 98, 185, 0.04) 42%, rgba(255, 255, 255, 0.015)),
        rgba(6, 14, 26, 0.76);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
}

.home-highlights-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-highlights-eyebrow i {
    color: #ff9135;
}

.home-highlights-title {
    color: #ffffff;
    font-size: clamp(1.6rem, 3.2vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.home-highlight-card {
    border: 1px solid rgba(255, 145, 53, 0.12);
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(255, 145, 53, 0.1), transparent 30%),
        linear-gradient(135deg, rgba(255, 145, 53, 0.06), rgba(47, 98, 185, 0.03) 45%, rgba(255, 255, 255, 0.02)),
        rgba(6, 14, 26, 0.78);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
}

.home-highlight-card .card-body {
    padding: 1.2rem 1.2rem 1.25rem;
}

.home-highlight-card h3 {
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.home-highlight-card p {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.98rem;
    margin-bottom: 0;
}

.hero-rust-news {
    position: relative;
    z-index: 3;
    margin-top: -2.4rem;
    padding: 0 0 3.25rem;
}

.hero-rust-news-card {
    position: relative;
    display: block;
    min-height: 280px;
    border: 1px solid rgba(255, 145, 53, 0.14);
    border-radius: 26px;
    overflow: hidden;
    text-decoration: none;
    background:
        linear-gradient(180deg, rgba(8, 14, 24, 0.06) 0%, rgba(8, 14, 24, 0.42) 100%),
        var(--rust-news-image) center / cover no-repeat;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.26);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-rust-news-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 145, 53, 0.12), transparent 26%),
        radial-gradient(circle at 86% 14%, rgba(47, 98, 185, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(8, 14, 24, 0.04) 0%, rgba(8, 14, 24, 0.14) 55%, rgba(8, 14, 24, 0.72) 100%);
    opacity: 0.95;
    transition: opacity 0.25s ease;
}

.hero-rust-news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 145, 53, 0.26);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

.hero-rust-news-card:hover::before {
    opacity: 0.86;
}

.hero-rust-news-body {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    padding: 16px 16px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 14, 24, 0.62);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    z-index: 2;
}

.hero-rust-news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}

.hero-rust-news-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.88);
    font-weight: 750;
    font-size: 0.82rem;
}

.hero-rust-news-badge i {
    color: #ff9135;
}

.hero-rust-news-date {
    color: rgba(255, 255, 255, 0.64);
    font-weight: 650;
    font-size: 0.86rem;
    white-space: nowrap;
}

.hero-rust-news-title {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-rust-news-desc {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
    line-height: 1.45;
}

.home-highlight-visual-card {
    position: relative;
    display: block;
    border: 1px solid rgba(255, 145, 53, 0.14);
    border-radius: 24px;
    overflow: hidden;
    background: rgba(7, 15, 27, 0.96);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-highlight-visual-media {
    display: block;
    width: 100%;
    padding: 0.45rem;
}

.home-highlight-visual-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
}

.home-highlight-visual-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 145, 53, 0.26);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.32);
}

.home-highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #ff9135;
    font-size: 1.25rem;
}

.home-rust-news-grid {
    padding: 0 0 3.25rem;
}

.hero-homecards {
    position: relative;
    z-index: 3;
    margin-top: 1rem;
    padding: 0 0 0.75rem;
}

.hero-homecard {
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.hero-homecard::before {
    background:
        linear-gradient(180deg, rgba(8, 14, 24, 0.02) 0%, rgba(8, 14, 24, 0.1) 38%, rgba(8, 14, 24, 0.42) 100%),
        radial-gradient(circle at top right, rgba(255, 145, 53, 0.12), transparent 28%);
}

.hero-homecard::after {
    left: 16px;
    right: 16px;
    bottom: 14px;
    height: 3px;
    opacity: 0.75;
}

.hero-homecards .row {
    --bs-gutter-y: 1rem;
}

.rust-news-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid rgba(255, 145, 53, 0.14);
    border-radius: 26px;
    overflow: hidden;
    text-align: left;
    cursor: pointer;
    background: rgba(7, 15, 27, 0.98);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.26);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.rust-news-media {
    display: block;
    width: 100%;
    padding: 0.65rem 0.65rem 0;
}

.rust-news-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
}

.rust-news-image-fallback {
    min-height: 240px;
    background: linear-gradient(135deg, rgba(255, 145, 53, 0.14), rgba(47, 98, 185, 0.12));
}

.rust-news-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 145, 53, 0.12), transparent 26%),
        radial-gradient(circle at 86% 14%, rgba(47, 98, 185, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(8, 14, 24, 0.04) 0%, rgba(8, 14, 24, 0.14) 55%, rgba(8, 14, 24, 0.72) 100%);
    opacity: 0.95;
    transition: opacity 0.25s ease;
}

.rust-news-card:focus-visible {
    outline: 2px solid rgba(255, 145, 53, 0.9);
    outline-offset: 2px;
}

.rust-news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 145, 53, 0.26);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

.rust-news-card:hover::before {
    opacity: 0.86;
}

.rust-news-topbar {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    z-index: 2;
}

.rust-news-hover {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    padding: 16px 16px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 14, 24, 0.7);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.rust-news-card:hover .rust-news-hover,
.rust-news-card:focus-visible .rust-news-hover {
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(255, 255, 255, 0.18);
}

.rust-news-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.88);
    font-weight: 750;
    font-size: 0.82rem;
}

.rust-news-badge i {
    color: #ff9135;
}

.rust-news-date {
    color: rgba(255, 255, 255, 0.64);
    font-weight: 650;
    font-size: 0.86rem;
    white-space: nowrap;
}

.rust-news-title {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.rust-news-desc {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
    line-height: 1.45;
}

.rust-news-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.3rem;
    color: #ffb36f;
    font-size: 0.9rem;
    font-weight: 700;
}

.rust-news-cta::after {
    content: "\2192";
}

.rss-news-modal .modal-content {
    border: 1px solid rgba(255, 145, 53, 0.14);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 145, 53, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(7, 15, 27, 0.98), rgba(5, 11, 20, 0.98));
    color: #ffffff;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.rss-news-modal .modal-header,
.rss-news-modal .modal-footer {
    border-color: rgba(255, 255, 255, 0.08);
}

.rss-news-modal .modal-header,
.rss-news-modal .modal-footer,
.rss-news-modal .modal-body {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
}

.rss-news-modal .btn-close {
    filter: invert(1) grayscale(1);
    opacity: 0.85;
}

.rss-news-modal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rss-news-modal-kicker i {
    color: #ff9135;
}

.rss-news-modal-cover {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.rss-news-modal-cover img {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    display: block;
}

.rss-news-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.2rem;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.92rem;
    font-weight: 600;
}

.rss-news-modal-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.rss-news-modal-content {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.rss-news-modal-content p:last-child {
    margin-bottom: 0;
}

.rss-news-modal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

@media (max-width: 767.98px) {
    .hero-rust-news {
        margin-top: 0;
        padding-top: 1.4rem;
    }

    .hero-rust-news-card {
        min-height: 240px;
    }

    .hero-homecards {
        margin-top: 0.9rem;
        padding-top: 0;
    }

    .home-highlight-visual-media {
        padding: 0.35rem;
    }

    .rust-news-media {
        padding: 0.5rem 0.5rem 0;
    }
}

.home-section-card {
    border: 1px solid rgba(255, 145, 53, 0.12);
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(47, 98, 185, 0.12), transparent 32%),
        linear-gradient(135deg, rgba(47, 98, 185, 0.05), rgba(255, 145, 53, 0.05) 45%, rgba(255, 255, 255, 0.02)),
        rgba(6, 14, 26, 0.78);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-section-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
}

.home-section-card .card-body {
    padding: 1.25rem 1.25rem 1.35rem;
}

.home-section-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.home-section-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
}

.home-section-card h3 {
    color: #ffffff;
}

.home-section-card p {
    color: rgba(255, 255, 255, 0.74);
    font-size: 1rem;
}

.gradient-navbar {
    padding: 0;
    border-bottom: 1px solid rgba(255, 145, 53, 0.12);
    background:
        linear-gradient(180deg, rgba(4, 11, 22, 0.96), rgba(4, 11, 22, 0.92)),
        var(--background-color);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.24);
}

.gradient-navbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 145, 53, 0.35), transparent);
}

.gradient-navbar-container {
    min-height: 74px;
}

.gradient-navbar-brand {
    position: relative;
    z-index: 2;
    padding: 0;
}

.gradient-navbar-title {
    color: #ffffff;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.gradient-navbar .navbar-logo {
    gap: 0.85rem !important;
}

.gradient-navbar .navbar-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.gradient-navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 auto;
}

.gradient-navbar-nav {
    align-items: center;
    gap: 0.15rem;
}

.gradient-navbar-menu {
    flex: 1 1 auto;
    justify-content: center;
}

.gradient-navbar-tools {
    flex: 0 0 auto;
    justify-content: flex-end;
    margin-left: 1rem;
}

.gradient-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 38px;
    padding: 0.45rem 0.75rem;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.gradient-nav-link:hover,
.gradient-nav-link:focus {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.04);
    text-shadow: none;
}

.gradient-nav-link.active {
    background-image: none;
    color: #ff9135;
    -webkit-text-fill-color: initial;
    text-shadow: 0 0 14px rgba(255, 145, 53, 0.35);
}

.gradient-nav-link.active::before {
    content: "";
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: -14px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 145, 53, 0), rgba(255, 145, 53, 0.95), rgba(255, 145, 53, 0));
    box-shadow: 0 0 18px rgba(255, 145, 53, 0.45);
}

.gradient-navbar-auth,
.gradient-navbar-auth-secondary {
    margin-left: 0.7rem;
}

.gradient-navbar-login,
.gradient-navbar-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    min-height: 40px;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
}

.gradient-navbar-login {
    color: #ff9135;
    border: 1px solid rgba(255, 145, 53, 0.7);
    background: rgba(255, 145, 53, 0.04);
    box-shadow: inset 0 0 0 1px rgba(255, 145, 53, 0.08);
}

.gradient-navbar-login:hover,
.gradient-navbar-login:focus {
    color: #0b1220;
    background: #ff9135;
    border-color: #ff9135;
}

.gradient-navbar-register {
    color: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.gradient-navbar-register:hover,
.gradient-navbar-register:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.gradient-navbar-dropdown {
    margin-top: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(9, 17, 29, 0.98);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32);
}

.gradient-navbar-dropdown .dropdown-item {
    color: rgba(255, 255, 255, 0.84);
    border-radius: 10px;
}

.gradient-navbar-dropdown .dropdown-item:hover,
.gradient-navbar-dropdown .dropdown-item:focus,
.gradient-navbar-dropdown .dropdown-item.active {
    color: #ffffff;
    background: rgba(255, 145, 53, 0.1);
}

.gradient-navbar-toggler {
    color: #ffffff;
}

.gradient-navbar-user > .gradient-nav-link {
    gap: 0.45rem;
    padding-right: 0.4rem;
    color: rgba(255, 255, 255, 0.92);
}

.gradient-navbar-user .avatar {
    width: 32px;
    height: 32px;
    margin-right: 0.3rem !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.gradient-navbar .dropdown-toggle::after {
    margin-left: 0.45rem;
    vertical-align: middle;
    opacity: 0.75;
}

.gradient-navbar-tools .nav-link {
    color: rgba(255, 255, 255, 0.88);
}

.notifications-toggle {
    position: relative;
    min-width: 40px;
    justify-content: center;
}

.notifications-counter {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 0.3rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(135deg, #ff9135, #a01041);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(160, 16, 65, 0.28);
}

.notifications-menu {
    width: min(380px, calc(100vw - 1.5rem));
    margin-top: 1.2rem;
    padding: 0.45rem;
    border-radius: 10px;
}

.notifications-header {
    padding: 0.75rem 0.85rem 0.65rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.notifications-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.notifications-menu-item {
    padding: 0.8rem 0.85rem;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.86);
    background: transparent;
}

.notifications-menu-item:hover,
.notifications-menu-item:focus {
    background: rgba(255, 145, 53, 0.08);
}

.notifications-menu-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.95rem;
}

.notifications-menu-icon-info,
.notifications-menu-icon-primary {
    color: #7cc4ff;
}

.notifications-menu-icon-success {
    color: #67e8a5;
}

.notifications-menu-icon-warning {
    color: #ffca7a;
}

.notifications-menu-icon-danger,
.notifications-menu-icon-error {
    color: #ff8f8f;
}

.notifications-menu-date {
    margin-bottom: 0.25rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.notifications-menu-text {
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.45;
}

.notifications-menu-action,
.notifications-menu-empty {
    margin-top: 0.25rem;
    padding: 0.8rem 0.85rem;
    border-radius: 8px;
    color: #ffb36f;
    font-weight: 700;
}

.notifications-menu-action:hover,
.notifications-menu-action:focus,
.notifications-menu-empty:hover,
.notifications-menu-empty:focus {
    color: #ffd0a0;
    background: rgba(255, 145, 53, 0.08);
}

@media (min-width: 992px) {
    .gradient-navbar-brand {
        min-width: 190px;
    }

    .gradient-navbar-collapse {
        margin-left: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .gradient-navbar {
        padding: 0.4rem 0;
    }

    .gradient-navbar-container {
        align-items: center;
    }

    .gradient-navbar-collapse {
        width: 100%;
        margin-top: 0.85rem;
        padding: 0.75rem 0 0.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        align-items: stretch;
    }

    .gradient-navbar-nav {
        align-items: stretch;
    }

    .gradient-navbar-menu,
    .gradient-navbar-tools {
        flex: initial;
        margin-left: 0;
    }

    .gradient-nav-link {
        justify-content: flex-start;
    }

    .gradient-nav-link.active::before {
        display: none;
    }

    .gradient-navbar-auth,
    .gradient-navbar-auth-secondary {
        margin-left: 0;
    }

    .gradient-navbar-login,
    .gradient-navbar-register {
        width: 100%;
    }
}

.gradient-hero {
    position: relative;
    --gradient-hero-bg: none;
    min-height: clamp(720px, 92vh, 980px);
    padding-top: calc(74px + 0.35rem);
    padding-bottom: 3.4rem;
    display: block;
    overflow: hidden;
    background-image:
        var(--gradient-hero-bg),
        radial-gradient(circle at 18% 22%, rgba(255, 145, 53, 0.18), transparent 38%),
        radial-gradient(circle at 82% 26%, rgba(160, 16, 65, 0.16), transparent 40%),
        linear-gradient(180deg, rgba(2, 8, 14, 0.82), rgba(4, 11, 20, 0.94) 45%, rgba(5, 13, 24, 0.99));
    background-size: cover, auto, auto, auto;
    background-position: center, center, center, center;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
}

.gradient-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 10, 20, 0.95), rgba(3, 10, 20, 0.8) 42%, rgba(3, 10, 20, 0.38) 70%, rgba(3, 10, 20, 0.58)),
        linear-gradient(180deg, rgba(3, 10, 20, 0) 58%, rgba(3, 10, 20, 0.72) 100%),
        radial-gradient(circle at 70% 45%, rgba(255, 145, 53, 0.11), transparent 46%);
    pointer-events: none;
}

.gradient-hero-container {
    position: relative;
    z-index: 1;
}

.gradient-hero-main {
    min-height: clamp(540px, 72vh, 760px);
}

.gradient-hero-content {
    max-width: 620px;
}

.gradient-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(4, 11, 20, 0.52);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gradient-hero-badge i {
    color: #ff9135;
}

.gradient-hero-title {
    margin-top: 1.1rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: clamp(2.6rem, 5vw, 4.85rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.96;
    text-transform: uppercase;
    text-shadow: 0 20px 54px rgba(0, 0, 0, 0.56);
}

.gradient-hero-description {
    max-width: 590px;
    font-size: 1.08rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0.85rem;
}

.gradient-hero-kicker {
    max-width: 560px;
    color: rgba(255, 193, 134, 0.92);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 1rem;
}

.gradient-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.35rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    font-weight: 700;
}

.gradient-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.gradient-hero-meta-item i {
    color: #ffb36f;
}

.gradient-hero-meta-separator {
    width: 22px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.gradient-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.2rem;
}

.gradient-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 50px;
    padding: 0.85rem 1.2rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.gradient-hero-btn:hover,
.gradient-hero-btn:focus {
    transform: translateY(-1px);
    color: #ffffff;
}

.gradient-hero-btn.is-primary {
    color: #0b0f14;
    border-color: rgba(255, 183, 112, 0.36);
    background: linear-gradient(135deg, #ffb760, #ff9135);
    box-shadow: 0 16px 36px rgba(255, 145, 53, 0.28);
}

.gradient-hero-btn.is-primary:hover,
.gradient-hero-btn.is-primary:focus {
    box-shadow: 0 20px 42px rgba(255, 145, 53, 0.35);
}

.gradient-hero-btn.is-secondary {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gradient-hero-btn.is-secondary:hover,
.gradient-hero-btn.is-secondary:focus {
    background: rgba(255, 255, 255, 0.09);
}

.gradient-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.gradient-hero-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.62rem 0.88rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.87rem;
    font-weight: 700;
}

.gradient-hero-feature i {
    color: #ffb36f;
}

.gradient-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.gradient-hero-dot-online {
    background: rgb(42, 231, 42);
    box-shadow: 0 0 0 6px rgba(42, 231, 42, 0.14);
}

.gradient-hero-dot-offline {
    background: rgb(231, 64, 42);
    box-shadow: 0 0 0 6px rgba(231, 64, 42, 0.14);
}

.gradient-hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.gradient-hero-logo-wrap {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.gradient-hero-logo {
    width: min(520px, 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: transform 0.22s ease, filter 0.22s ease;
    animation: gradient-hero-logo-float 5.5s ease-in-out infinite;
}

.gradient-hero-logo:hover,
.gradient-hero-logo:focus {
    transform: translateY(-4px) scale(1.015);
}

.gradient-hero-logo.is-easter-bump {
    animation: none;
    transform: scale(0.96) rotate(-2deg);
}

.gradient-hero-logo:focus-visible {
    outline: 2px solid rgba(255, 183, 112, 0.72);
    outline-offset: 8px;
}

.gradient-hero-logo img {
    width: min(520px, 100%);
    max-height: 52vh;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

.gradient-hero-promo-reveal {
    display: none;
}

.gradient-hero-promo-reveal[hidden] {
    display: none;
}

.gradient-hero-promo-modal {
    border: 1px solid rgba(255, 183, 112, 0.18);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 145, 53, 0.14), rgba(255, 255, 255, 0.03) 42%, rgba(255, 255, 255, 0.02)),
        rgba(6, 14, 26, 0.96);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.36);
}

.gradient-hero-promo-modal .modal-header,
.gradient-hero-promo-modal .modal-footer {
    background: transparent;
}

.gradient-hero-promo-modal .btn-close {
    opacity: 0.9;
}

.gradient-hero-promo-title {
    display: block;
    margin-bottom: 0.3rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gradient-hero-promo-code {
    display: block;
    margin-bottom: 0.45rem;
    color: #ffbf86;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.gradient-hero-promo-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 0.9rem;
}

.gradient-hero-promo-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 42px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 183, 112, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: #ffd4ae;
    font-size: 0.9rem;
    font-weight: 800;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gradient-hero-promo-copy:hover,
.gradient-hero-promo-copy:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #fff0e1;
    transform: translateY(-1px);
}

@keyframes gradient-hero-logo-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 991.98px) {
    .gradient-hero {
        min-height: clamp(680px, 92vh, 900px);
        padding-top: calc(74px + 0.2rem);
        padding-bottom: 3rem;
    }

    .gradient-hero-title {
        font-size: clamp(2.4rem, 8vw, 4rem);
    }

    .gradient-hero-content {
        max-width: none;
    }

    .gradient-hero-logo img {
        max-height: 42vh;
    }

    .gradient-hero-promo-modal {
        margin-inline: 0.35rem;
    }
}

@media (max-width: 575.98px) {
    .gradient-hero {
        min-height: auto;
        padding-bottom: 2.4rem;
    }

    .gradient-hero-main {
        min-height: auto;
    }

    .gradient-hero-actions,
    .gradient-hero-features {
        flex-direction: column;
        align-items: stretch;
    }

    .gradient-hero-meta {
        align-items: flex-start;
    }

    .gradient-hero-meta-separator {
        display: none;
    }

    .gradient-hero-btn {
        justify-content: center;
    }

    .gradient-hero-logo img {
        width: min(300px, 100%);
        max-height: 220px;
    }
}

.hero {
    background-image: radial-gradient(ellipse at 65% 50%, var(--background-gradient-primary-color), var(--background-color) 70%, transparent 100%);
}

.bg-gradient-bottom {
    background-image: linear-gradient(180deg, var(--background-color), var(--background-gradient-primary-color));
}

.gradient-footer {
    padding: 1.4rem 0 1.1rem;
    background:
        linear-gradient(180deg, rgba(5, 11, 20, 0.5), rgba(5, 11, 20, 0.92)),
        var(--background-color);
    border-top: 1px solid rgba(255, 145, 53, 0.08);
}

.gradient-footer-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.92rem;
}

.gradient-footer-line a {
    color: #ff9135;
}

.gradient-footer-line a:hover,
.gradient-footer-line a:focus {
    color: #ffb36f;
}

.wiki-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    padding: 1.5rem 1.6rem;
    border: 1px solid rgba(255, 145, 53, 0.12);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 145, 53, 0.08), rgba(47, 98, 185, 0.04) 42%, rgba(255, 255, 255, 0.015)),
        rgba(6, 14, 26, 0.76);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
}

.wiki-header-copy {
    max-width: 700px;
}

.wiki-header-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wiki-header-eyebrow i {
    color: #ff9135;
}

.wiki-header-title {
    margin-bottom: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.wiki-header-search {
    width: min(100%, 390px);
    margin: 0;
}

.wiki-search-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 60px;
    padding: 0.65rem 0.75rem 0.65rem 1rem;
    border: 1px solid rgba(255, 145, 53, 0.12);
    border-radius: 18px;
    background: rgba(10, 19, 32, 0.74);
}

.wiki-search-icon {
    color: rgba(255, 255, 255, 0.46);
    font-size: 1rem;
}

.wiki-search-input {
    min-height: auto;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none !important;
}

.wiki-search-input:focus {
    background: transparent;
}

.wiki-search-button {
    white-space: nowrap;
}

.wiki-category-grid {
    margin-top: 0;
}

.wiki-category-link {
    display: block;
    height: 100%;
    color: inherit;
}

.wiki-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.35rem;
    border: 1px solid rgba(255, 145, 53, 0.12);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 145, 53, 0.06), rgba(47, 98, 185, 0.035) 48%, rgba(255, 255, 255, 0.02)),
        rgba(6, 14, 26, 0.76);
    overflow: hidden;
}

.wiki-category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 145, 53, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 45%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.wiki-category-card:hover::before {
    opacity: 1;
}

.wiki-category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 1.1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 145, 53, 0.18), rgba(160, 16, 65, 0.16));
    color: #ff9135;
    font-size: 1.45rem;
}

.wiki-category-content {
    position: relative;
    z-index: 1;
}

.wiki-category-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.wiki-category-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.82rem;
    font-weight: 700;
}

.wiki-category-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.wiki-category-card:hover .wiki-category-arrow {
    transform: translate(2px, -2px);
    background: rgba(255, 145, 53, 0.12);
    color: #ffffff;
}

.wiki-category-title {
    margin-bottom: 0.6rem;
    color: #ffffff;
    font-size: 1.35rem;
}

.wiki-category-text {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.66);
}

.wiki-search-results {
    padding-top: 0.25rem;
}

.wiki-search-card {
    border: 1px solid rgba(255, 145, 53, 0.12);
    background:
        linear-gradient(135deg, rgba(255, 145, 53, 0.06), rgba(47, 98, 185, 0.03) 45%, rgba(255, 255, 255, 0.02)),
        rgba(6, 14, 26, 0.78);
}

.wiki-search-card-topline {
    margin-bottom: 0.9rem;
}

.wiki-search-category {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 32px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.84rem;
    font-weight: 700;
}

.wiki-search-title {
    font-size: 1.45rem;
}

.wiki-search-title-link {
    color: #ffffff;
}

.wiki-search-title-link:hover,
.wiki-search-title-link:focus {
    color: #ffb36f;
}

.wiki-search-excerpt {
    color: rgba(255, 255, 255, 0.68);
}

.wiki-pagination-wrap {
    margin-top: 1.5rem;
}

.wiki-pagination-wrap .pagination {
    gap: 0.35rem;
}

.wiki-pagination-wrap .page-link {
    border: 1px solid rgba(255, 145, 53, 0.12);
    border-radius: 10px !important;
    background: rgba(10, 19, 32, 0.76);
    color: rgba(255, 255, 255, 0.8);
}

.wiki-pagination-wrap .page-item.active .page-link {
    border-color: rgba(255, 145, 53, 0.4);
    background: rgba(255, 145, 53, 0.12);
    color: #ffffff;
}

.wiki-layout {
    align-items: start;
}

.wiki-sidebar-card {
    padding: 1rem;
    border: 1px solid rgba(255, 145, 53, 0.12);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 145, 53, 0.05), rgba(47, 98, 185, 0.025) 45%, rgba(255, 255, 255, 0.015)),
        rgba(6, 14, 26, 0.78);
}

.wiki-sidebar-title {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wiki-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 44px;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.wiki-sidebar-link:hover,
.wiki-sidebar-link:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.wiki-sidebar-link.active {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(255, 145, 53, 0.16), rgba(255, 145, 53, 0.07));
}

.wiki-back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.wiki-content-card {
    border: 1px solid rgba(255, 145, 53, 0.12);
    background:
        linear-gradient(135deg, rgba(255, 145, 53, 0.05), rgba(47, 98, 185, 0.03) 46%, rgba(255, 255, 255, 0.015)),
        rgba(8, 16, 29, 0.84);
}

.wiki-content-head {
    margin-bottom: 1.4rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 145, 53, 0.12);
}

.wiki-content-category {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 32px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.84rem;
    font-weight: 700;
}

.wiki-content-title {
    margin: 0.9rem 0 0;
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.wiki-content-body {
    color: rgba(255, 255, 255, 0.82);
}

.wiki-content-body > *:last-child {
    margin-bottom: 0;
}

.wiki-theme-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    padding: 1.2rem 1.35rem;
    border: 1px solid rgba(255, 145, 53, 0.12);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 145, 53, 0.05), rgba(47, 98, 185, 0.025) 48%, rgba(255, 255, 255, 0.015)),
        rgba(8, 16, 29, 0.74);
}

.wiki-theme-highlight-copy {
    max-width: 700px;
}

.wiki-theme-highlight-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wiki-theme-highlight-text {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
}

.wiki-theme-highlight-stats {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.wiki-theme-stat {
    min-width: 120px;
}

.wiki-theme-stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wiki-theme-stat-value {
    display: block;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
}

.wiki-category-card-theme {
    background:
        radial-gradient(circle at top right, rgba(255, 145, 53, 0.1), transparent 30%),
        linear-gradient(135deg, rgba(255, 145, 53, 0.06), rgba(47, 98, 185, 0.03) 45%, rgba(255, 255, 255, 0.02)),
        rgba(6, 14, 26, 0.84);
}

.wiki-scene {
    position: relative;
    padding: 0.35rem 0 2rem;
}

@media (max-width: 991.98px) {
    .wiki-header,
    .wiki-theme-highlight {
        flex-direction: column;
        align-items: flex-start;
    }

    .wiki-header-search {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .wiki-header,
    .wiki-theme-highlight {
        padding: 1.2rem;
    }

    .wiki-search-box {
        flex-wrap: wrap;
    }

    .wiki-search-button {
        width: 100%;
    }
}

.profile-page {
    padding: 0.35rem 0 2rem;
    --profile-border: rgba(255, 145, 53, 0.12);
    --profile-surface: rgba(6, 14, 26, 0.78);
    --profile-surface-soft: rgba(255, 255, 255, 0.03);
    --profile-surface-strong: rgba(10, 19, 32, 0.76);
}

.profile-header {
    padding: 1.4rem 1.6rem;
    border: 1px solid rgba(255, 145, 53, 0.12);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 145, 53, 0.08), rgba(47, 98, 185, 0.04) 42%, rgba(255, 255, 255, 0.015)),
        rgba(6, 14, 26, 0.76);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
}

.profile-header-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.profile-header-eyebrow i {
    color: #ff9135;
}

.profile-header-title {
    margin-bottom: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 2.6rem);
}

.profile-page .card {
    border: 1px solid var(--profile-border);
    background:
        linear-gradient(135deg, rgba(255, 145, 53, 0.06), rgba(47, 98, 185, 0.03) 45%, rgba(255, 255, 255, 0.02)),
        var(--profile-surface);
}

.profile-page .card-header,
.profile-page .card-footer {
    border-color: var(--profile-border);
    background: rgba(255, 255, 255, 0.02);
}

.profile-avatar {
    width: 118px;
    height: 118px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.profile-role-badge {
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.profile-page .card-title {
    color: #ffffff;
}

.profile-page p,
.profile-page label {
    color: rgba(255, 255, 255, 0.78);
}

.profile-page .form-text {
    color: rgba(255, 255, 255, 0.62);
}

.profile-page .btn.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
}

.profile-actions .btn {
    border-radius: 14px;
}

.profile-meta-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--profile-border);
    border-radius: 16px;
    background: var(--profile-surface-soft);
    color: rgba(255, 255, 255, 0.84);
    font-weight: 650;
}

.profile-meta-item i {
    color: #ff9135;
}

.profile-link {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.profile-link:hover,
.profile-link:focus {
    color: #ffffff;
    text-shadow: 0 0 22px rgba(255, 145, 53, 0.35);
}

.profile-recovery-codes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.profile-recovery-code {
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--profile-border);
    border-radius: 16px;
    background: var(--profile-surface-soft);
    text-align: center;
}

.profile-recovery-code samp {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.profile-qr svg,
.profile-qr img {
    max-width: 240px;
    height: auto;
}

@media (max-width: 575.98px) {
    .profile-recovery-codes {
        grid-template-columns: 1fr;
    }
}

.content-page {
    padding: 0.35rem 0 2rem;
    --content-border: rgba(255, 145, 53, 0.12);
    --content-surface: rgba(6, 14, 26, 0.78);
}

.content-header {
    padding: 1.4rem 1.6rem;
    border: 1px solid rgba(255, 145, 53, 0.12);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 145, 53, 0.08), rgba(47, 98, 185, 0.04) 42%, rgba(255, 255, 255, 0.015)),
        rgba(6, 14, 26, 0.76);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
}

.content-header-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.content-header-eyebrow i {
    color: #ff9135;
}

.content-header-title {
    margin-bottom: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 2.6rem);
}

.content-page .card {
    border: 1px solid var(--content-border);
    background:
        linear-gradient(135deg, rgba(255, 145, 53, 0.06), rgba(47, 98, 185, 0.03) 45%, rgba(255, 255, 255, 0.02)),
        var(--content-surface);
}

.content-page .card-title {
    color: #ffffff;
}

.content-page p,
.content-page label {
    color: rgba(255, 255, 255, 0.78);
}

.notifications-list {
    display: flex;
    flex-direction: column;
}

.notifications-card {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.notifications-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.notifications-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: inherit;
}

.notifications-body {
    flex: 1 1 auto;
    min-width: 0;
}

.notifications-date {
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.notifications-text {
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.55;
}

.notifications-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-size: 1.1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.notifications-icon-info,
.notifications-icon-primary {
    color: #7cc4ff;
}

.notifications-icon-success {
    color: #67e8a5;
}

.notifications-icon-warning {
    color: #ffca7a;
}

.notifications-icon-danger,
.notifications-icon-error {
    color: #ff8f8f;
}

.notifications-arrow {
    color: rgba(255, 255, 255, 0.38);
    font-size: 1rem;
}

.notifications-empty {
    border: 1px solid rgba(103, 232, 165, 0.16);
    background: rgba(103, 232, 165, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.notifications-pagination {
    margin-top: 0.75rem;
}

.notifications-pagination .pagination {
    margin-bottom: 0;
}

@media (max-width: 575.98px) {
    .server-directory-topline {
        flex-direction: column;
        align-items: flex-start;
    }

    .server-directory-actions {
        width: 100%;
    }

    .server-directory-metrics {
        grid-template-columns: 1fr;
    }

    .server-directory-actions .btn {
        width: 100%;
    }

    .notifications-item {
        align-items: flex-start;
    }

    .notifications-arrow {
        display: none;
    }
}

.page-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

.page-content :last-child {
    margin-bottom: 0;
}

.servers-page {
    --servers-border: rgba(255, 145, 53, 0.12);
    --servers-surface: rgba(6, 14, 26, 0.78);
    --servers-surface-soft: rgba(255, 255, 255, 0.03);
}

.server-directory-card {
    border: 1px solid var(--servers-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(255, 145, 53, 0.08), transparent 30%),
        linear-gradient(135deg, rgba(255, 145, 53, 0.06), rgba(47, 98, 185, 0.03) 45%, rgba(255, 255, 255, 0.02)),
        var(--servers-surface);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.server-directory-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.35rem;
}

.server-directory-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.server-directory-eyebrow {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.server-directory-title {
    margin-bottom: 0;
    color: #ffffff;
    font-size: 1.6rem;
}

.server-directory-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 34px;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.server-directory-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
}

.server-directory-status.is-online {
    border-color: rgba(103, 232, 165, 0.18);
    background: rgba(103, 232, 165, 0.1);
    color: #91f0bc;
}

.server-directory-status.is-offline {
    border-color: rgba(255, 143, 143, 0.16);
    background: rgba(255, 143, 143, 0.08);
    color: #ffb1b1;
}

.server-directory-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.server-directory-metric {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: var(--servers-surface-soft);
}

.server-directory-metric-label {
    display: block;
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.server-directory-metric-value {
    display: block;
    margin-top: 0.4rem;
    color: #ffffff;
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.35;
}

.server-directory-metric-value span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.95rem;
    font-weight: 700;
}

.server-directory-address {
    word-break: break-word;
}

.server-directory-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: auto;
}

.server-directory-actions .btn {
    min-width: 180px;
}

.hub-server-card {
    --hub-server-card-cover: none;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 170, 92, 0.1);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(5, 8, 13, 0.82), rgba(5, 8, 13, 0.96)),
        var(--hub-server-card-cover),
        linear-gradient(180deg, rgba(12, 16, 22, 0.98), rgba(9, 13, 19, 0.98)),
        rgba(10, 14, 20, 0.98);
    background-size: cover, cover, auto, auto;
    background-position: center, center, center, center;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.hub-server-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(138, 92, 246, 0.12), transparent 22%),
        radial-gradient(circle at bottom left, rgba(255, 166, 76, 0.08), transparent 24%);
    pointer-events: none;
}

.hub-server-card .card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    padding: 0.95rem;
}

.hub-server-header {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.hub-server-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
}

.hub-server-heading {
    min-width: 0;
}

.hub-server-eyebrow {
    display: inline-block;
    margin-bottom: 0.18rem;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hub-server-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.hub-server-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    min-height: 24px;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hub-server-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.hub-server-status.is-online {
    border: 1px solid rgba(103, 232, 165, 0.22);
    background: rgba(103, 232, 165, 0.08);
    color: #87e2af;
}

.hub-server-status.is-offline {
    border: 1px solid rgba(255, 143, 143, 0.18);
    background: rgba(255, 143, 143, 0.08);
    color: #ffb5b5;
}

.hub-server-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.hub-server-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    min-height: 22px;
    padding: 0.18rem 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.035);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hub-server-badge.is-highlight {
    border-color: rgba(255, 166, 76, 0.22);
    background: rgba(255, 166, 76, 0.08);
    color: #ffc78d;
}

.hub-server-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
}

.hub-server-badge-icon svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
    opacity: 0.9;
}

.hub-server-population {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding-top: 0.15rem;
}

.hub-server-population-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.hub-server-population-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hub-server-population-value {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 900;
}

.hub-server-population-value span {
    color: rgba(255, 255, 255, 0.52);
}

.hub-server-population-bar {
    overflow: hidden;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.hub-server-population-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #8b5cf6 0%, #c084fc 35%, #ff9f4d 100%);
    box-shadow: 0 0 12px rgba(192, 132, 252, 0.35);
}

.hub-server-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.hub-server-stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 72px;
    padding: 0.7rem 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
    text-align: center;
}

.hub-server-stat-label {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.hub-server-stat-value {
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
}

.hub-server-wipe-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.hub-server-wipe-row-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 34px;
    padding: 0.45rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
}

.hub-server-wipe-row-label {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hub-server-wipe-row-value {
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: lowercase;
}

.hub-server-address-row {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
}

.hub-server-address-label {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hub-server-address-value {
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.45;
    word-break: break-word;
}

.hub-server-footer {
    margin-top: auto;
    padding-top: 0.1rem;
}

.hub-server-actions {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
}

.hub-server-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 0;
    min-height: 36px;
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 800;
}

.hub-server-actions .btn-secondary {
    border-color: rgba(255, 166, 76, 0.18);
    background: rgba(255, 255, 255, 0.03);
    color: #ffbf86;
}

.hub-server-actions .btn-secondary:hover,
.hub-server-actions .btn-secondary:focus,
.hub-server-actions .btn-secondary:active {
    color: #ffd2a8;
    -webkit-text-fill-color: #ffd2a8;
}

.hub-server-actions .btn-primary {
    border: 0;
    background-image: linear-gradient(135deg, #ffab4c, #f05a28 55%, #d13b1c);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(240, 90, 40, 0.24);
}

.hub-server-actions .btn:hover,
.hub-server-actions .btn:focus {
    transform: translateY(-1px);
}

@media (max-width: 991.98px) {
    .hub-server-card .card-body {
        padding: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .hub-server-topline,
    .hub-server-population-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .hub-server-stats-grid,
    .hub-server-wipe-row {
        grid-template-columns: 1fr;
    }

    .hub-server-actions {
        flex-direction: column;
    }

    .hub-server-actions .btn {
        width: 100%;
    }
}

.error-code {
    font-weight: 900;
    letter-spacing: -0.05em;
    font-size: clamp(3rem, 9vw, 4.25rem);
    line-height: 1;
    color: #ffffff;
}

.vote-page {
    padding: 0.35rem 0 2rem;
    --vote-border: rgba(255, 145, 53, 0.12);
    --vote-surface: rgba(6, 14, 26, 0.78);
    --vote-surface-soft: rgba(255, 255, 255, 0.03);
    --vote-surface-strong: rgba(10, 19, 32, 0.76);
}

.vote-header {
    padding: 1.4rem 1.6rem;
    border: 1px solid rgba(255, 145, 53, 0.12);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 145, 53, 0.08), rgba(47, 98, 185, 0.04) 42%, rgba(255, 255, 255, 0.015)),
        rgba(6, 14, 26, 0.76);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
}

.vote-page .card {
    border: 1px solid var(--vote-border);
    background:
        linear-gradient(135deg, rgba(255, 145, 53, 0.06), rgba(47, 98, 185, 0.03) 45%, rgba(255, 255, 255, 0.02)),
        var(--vote-surface);
}

.vote-page .card-header,
.vote-page .card-footer {
    border-color: var(--vote-border);
    background: rgba(255, 255, 255, 0.02);
}

.vote-page .table-dark,
.vote-page .table {
    --bs-table-bg: rgba(255, 255, 255, 0.03);
    --bs-table-border-color: rgba(255, 145, 53, 0.12);
}

.vote-page .table > :not(caption) > * > * {
    border-color: rgba(255, 145, 53, 0.12);
}

.vote-header-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.vote-header-eyebrow i {
    color: #ff9135;
}

.vote-header-title {
    margin-bottom: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 2.6rem);
}

.vote-card #vote-card {
    min-height: 240px;
}

.vote-site-btn {
    border-radius: 14px;
}

.vote-timer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    min-height: 28px;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
    font-size: 0.85rem;
}

.vote-section-title {
    color: #ffffff;
    font-size: 1.35rem;
}

.vote-leaderboard-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--vote-border);
    border-radius: 16px;
    background: var(--vote-surface-soft);
}

.vote-leaderboard-item + .vote-leaderboard-item {
    margin-top: 0.75rem;
}

.vote-leaderboard-rank {
    min-width: 52px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
}

.vote-leaderboard-user {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1 1 auto;
    color: #ffffff;
    font-weight: 700;
}

.vote-leaderboard-user span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vote-leaderboard-votes {
    color: rgba(255, 145, 53, 0.92);
    font-weight: 800;
    white-space: nowrap;
}

.vote-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vote-step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--vote-border);
    border-radius: 16px;
    background: var(--vote-surface-soft);
}

.vote-step-main {
    flex: 1 1 auto;
    min-width: 0;
}

.vote-step-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.35rem;
}

.vote-step-title {
    color: #ffffff;
    font-weight: 800;
}

.vote-step-count {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
    white-space: nowrap;
}

.vote-step-desc {
    margin-bottom: 0.65rem;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.92rem;
}

.vote-step-desc p:last-child {
    margin-bottom: 0;
}

.vote-step-progress {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.vote-step-progress .progress-bar {
    border-radius: 999px;
}

.vote-step-claim {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

@media (max-width: 991.98px) {
    .vote-header {
        padding: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .vote-step-item {
        flex-direction: column;
        align-items: stretch;
    }

    .vote-step-claim .btn {
        width: 100%;
    }
}

.ruststats-page {
    padding: 0.35rem 0 2rem;
    --rs-border: rgba(255, 145, 53, 0.12);
    --rs-border-strong: rgba(255, 145, 53, 0.2);
    --rs-surface: rgba(6, 14, 26, 0.82);
    --rs-surface-soft: rgba(255, 255, 255, 0.03);
    --rs-surface-card: rgba(8, 15, 27, 0.92);
    --rs-text-soft: rgba(255, 255, 255, 0.68);
    --rs-text-muted: rgba(255, 255, 255, 0.5);
}

.ruststats-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.6rem 1.7rem;
    border: 1px solid var(--rs-border);
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(255, 145, 53, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(255, 145, 53, 0.08), rgba(47, 98, 185, 0.06) 42%, rgba(255, 255, 255, 0.02)),
        rgba(6, 14, 26, 0.8);
    box-shadow: 0 26px 58px rgba(0, 0, 0, 0.24);
}

.ruststats-header-copy {
    max-width: 760px;
}

.ruststats-header-eyebrow,
.ruststats-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ruststats-header-eyebrow i,
.ruststats-section-eyebrow i {
    color: #ff9135;
}

.ruststats-title {
    margin-bottom: 0.45rem;
    color: #ffffff;
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.ruststats-subtitle {
    max-width: 760px;
    color: var(--rs-text-soft);
    font-size: 1rem;
    line-height: 1.65;
}

.ruststats-header-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.7rem;
}

.ruststats-page .card {
    border: 1px solid var(--rs-border);
    background:
        linear-gradient(135deg, rgba(255, 145, 53, 0.06), rgba(47, 98, 185, 0.04) 45%, rgba(255, 255, 255, 0.02)),
        var(--rs-surface);
    border-radius: 22px;
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.18);
}

.ruststats-mini-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.ruststats-mini-pill i {
    color: #ff9135;
}

.ruststats-metric-card {
    position: relative;
    overflow: hidden;
}

.ruststats-metric-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), transparent 45%);
    pointer-events: none;
}

.ruststats-metric-card .card-body {
    position: relative;
    padding: 1.2rem 1.25rem;
}

.ruststats-metric-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.ruststats-metric-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #ffb36f;
    font-size: 1.1rem;
}

.ruststats-metric-label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ruststats-metric-value {
    margin-top: 1rem;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 900;
    line-height: 1.1;
}

.ruststats-metric-card-success .ruststats-metric-icon {
    color: #67e8a5;
    box-shadow: inset 0 0 0 1px rgba(103, 232, 165, 0.08);
}

.ruststats-metric-card-danger .ruststats-metric-icon {
    color: #ff8f8f;
    box-shadow: inset 0 0 0 1px rgba(255, 143, 143, 0.08);
}

.ruststats-resources .card-body,
.ruststats-table-card .card-body {
    padding: 1.25rem;
}

.ruststats-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem 0;
    border-bottom: 0;
    background: transparent;
}

.ruststats-section-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.ruststats-section-title {
    color: #ffffff;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ruststats-section-text {
    max-width: 540px;
    color: var(--rs-text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    text-align: right;
}

.ruststats-resource-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.85rem;
}

.ruststats-resource-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    grid-column: span 12;
    padding: 0.95rem;
    border: 1px solid var(--rs-border);
    border-radius: 18px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.02), transparent 60%),
        var(--rs-surface-soft);
    height: 100%;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.ruststats-resource-card:hover {
    transform: translateY(-2px);
    border-color: var(--rs-border-strong);
    background: rgba(255, 255, 255, 0.045);
}

.ruststats-resource-icon-wrap {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.04);
}

.ruststats-resource-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ruststats-resource-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}

.ruststats-resource-name {
    color: var(--rs-text-soft);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
}

.ruststats-resource-value {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
}

.ruststats-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ruststats-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid var(--rs-border);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 0.75rem 1.1rem;
    font-weight: 800;
    transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.ruststats-tabs .nav-link:hover {
    transform: translateY(-1px);
    border-color: var(--rs-border-strong);
    color: #ffffff;
}

.ruststats-tabs .nav-link.active {
    background-image: var(--primary-gradient);
    border-color: transparent;
    color: #ffffff;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: #ffffff;
}

.ruststats-table {
    --bs-table-bg: transparent;
    --bs-table-color: rgba(255, 255, 255, 0.88);
    --bs-table-border-color: rgba(255, 145, 53, 0.12);
    margin-bottom: 0;
}

.ruststats-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 0.95rem 1rem;
    border-bottom-width: 1px;
    background: rgba(9, 17, 29, 0.95);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ruststats-table tbody td {
    padding: 0.95rem 1rem;
    border-top-color: rgba(255, 145, 53, 0.08);
    vertical-align: middle;
    white-space: nowrap;
}

.ruststats-table tbody tr:hover {
    --bs-table-accent-bg: rgba(255, 255, 255, 0.025);
}

.ruststats-table-compact thead th,
.ruststats-table-compact tbody td {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
}

.ruststats-table-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
}

.ruststats-rank {
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    font-weight: 800;
}

.ruststats-player-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    text-decoration: none;
}

.ruststats-player-link:hover,
.ruststats-player-link:focus {
    color: #ffcf9f;
}

.ruststats-player-emblem {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.ruststats-player-name {
    font-weight: 800;
}

.ruststats-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ruststats-status-badge.is-online {
    border-color: rgba(103, 232, 165, 0.18);
    background: rgba(103, 232, 165, 0.1);
    color: #91f0bc;
}

.ruststats-status-badge.is-offline {
    border-color: rgba(255, 143, 143, 0.16);
    background: rgba(255, 143, 143, 0.08);
    color: #ffb1b1;
}

.ruststats-page .pagination {
    gap: 0.45rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.ruststats-page .pagination li a.page-link,
.ruststats-page .pagination .page-link {
    width: auto;
    min-width: 42px;
    height: 42px;
    padding: 0 0.8rem;
    border: 1px solid var(--rs-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 40px;
}

.ruststats-page .pagination li a.page-link:before,
.ruststats-page .pagination li a.page-link:after,
.ruststats-page .pagination .page-link:before,
.ruststats-page .pagination .page-link:after {
    display: none;
}

.ruststats-page .page-item.active .page-link,
.ruststats-page .pagination li.active a.page-link {
    border-color: transparent;
    background-image: var(--primary-gradient);
    color: #ffffff;
    font-size: 0.95rem;
    transform: none;
}

.ruststats-page .page-item.disabled {
    display: none;
}

.ruststats-supported {
    text-align: center;
    margin-top: 1.25rem;
}

.ruststats-supported a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.ruststats-supported a:hover {
    color: #ffffff;
}

@media (min-width: 576px) {
    .ruststats-resource-card {
        grid-column: span 6;
    }
}

@media (min-width: 768px) {
    .ruststats-resource-card {
        grid-column: span 4;
    }
}

@media (min-width: 1200px) {
    .ruststats-resource-card {
        grid-column: span 3;
    }
}

@media (max-width: 991.98px) {
    .ruststats-header,
    .ruststats-section-intro,
    .ruststats-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ruststats-header-pills {
        justify-content: flex-start;
    }

    .ruststats-section-text {
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .ruststats-page {
        padding-bottom: 1.5rem;
    }

    .ruststats-header,
    .ruststats-page .card {
        border-radius: 20px;
    }

    .ruststats-tabs .nav-link {
        width: 100%;
        justify-content: center;
    }

    .ruststats-table thead th,
    .ruststats-table tbody td {
        padding: 0.8rem 0.75rem;
    }

    .ruststats-player-name {
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.shop-page {
    padding: 0.35rem 0 2rem;
    --shop-border: rgba(255, 145, 53, 0.12);
    --shop-surface: rgba(6, 14, 26, 0.78);
    --shop-surface-soft: rgba(255, 255, 255, 0.03);
}

.shop-header {
    padding: 1.4rem 1.6rem;
    border: 1px solid var(--shop-border);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 145, 53, 0.08), rgba(47, 98, 185, 0.04) 42%, rgba(255, 255, 255, 0.015)),
        rgba(6, 14, 26, 0.76);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
}

.shop-header-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.shop-header-eyebrow i {
    color: #ff9135;
}

.shop-header-title {
    margin-bottom: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 2.6rem);
}

.shop-page .card {
    border: 1px solid var(--shop-border);
    background:
        linear-gradient(135deg, rgba(255, 145, 53, 0.06), rgba(47, 98, 185, 0.03) 45%, rgba(255, 255, 255, 0.02)),
        var(--shop-surface);
}

.shop-page .card-header,
.shop-page .card-footer {
    border-color: var(--shop-border);
    background: rgba(255, 255, 255, 0.02);
}

.shop-sidebar .list-group {
    --bs-list-group-bg: transparent;
    --bs-list-group-border-color: var(--shop-border);
    --bs-list-group-active-bg: transparent;
    --bs-list-group-active-border-color: transparent;
    --bs-list-group-color: rgba(255, 255, 255, 0.78);
    --bs-list-group-action-hover-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.shop-sidebar .list-group-item {
    border-radius: 14px;
    border: 1px solid var(--shop-border);
    background: rgba(255, 255, 255, 0.02);
}

.shop-sidebar .list-group-item.active {
    background-image: var(--primary-gradient);
    border-color: transparent;
    color: #ffffff;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: #ffffff;
}

.shop-sidebar .list-group-item.ps-5 {
    padding-left: 2.75rem !important;
}

.shop-user {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.shop-user-name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
}

.shop-user-meta {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.shop-grid-item {
    grid-column: span 12;
}

@media (min-width: 768px) {
    .shop-grid-item {
        grid-column: span 6;
    }
}

@media (min-width: 1200px) {
    .shop-grid-item {
        grid-column: span 4;
    }
}

.shop-package-card {
    overflow: hidden;
}

.shop-package-card .card-body {
    gap: 0.7rem;
}

.shop-package-card .btn {
    margin-top: 0 !important;
}

.shop-package-image {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 9;
}

.shop-option-card img {
    max-height: 120px;
    width: auto;
    object-fit: contain;
}

.shop-page .form-control,
.shop-page .form-select {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 145, 53, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.shop-page .form-select {
    color-scheme: dark;
    background-color: rgba(8, 16, 28, 0.92);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffb36f' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='m3 6 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

.shop-page .form-select option,
.shop-page .form-select optgroup {
    background-color: #0a1320;
    color: #f4f7fb;
}

.shop-page .form-control:focus,
.shop-page .form-select:focus {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 145, 53, 0.32);
    box-shadow: 0 0 0 0.2rem rgba(255, 145, 53, 0.12);
    color: #ffffff;
}

.shop-page .input-group .btn {
    border-color: rgba(255, 145, 53, 0.12);
}

.modal-backdrop.show {
    opacity: 0.72;
}

.modal-content {
    border: 1px solid rgba(255, 145, 53, 0.14);
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(255, 145, 53, 0.12), transparent 40%),
        linear-gradient(135deg, rgba(255, 145, 53, 0.06), rgba(47, 98, 185, 0.03) 45%, rgba(255, 255, 255, 0.02)),
        rgba(6, 14, 26, 0.96);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.modal-header,
.modal-footer {
    border-color: rgba(255, 145, 53, 0.12);
}

.modal-title {
    color: #ffffff;
}

.modal-body {
    color: rgba(255, 255, 255, 0.78);
}

.modal .btn-close {
    filter: invert(1) grayscale(1);
    opacity: 0.8;
}

.modal .btn-close:hover,
.modal .btn-close:focus {
    opacity: 1;
}

.shop-package-title {
    margin-bottom: 0.35rem;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
}

.shop-package-price {
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
}

.shop-package-price del {
    color: rgba(255, 255, 255, 0.45);
    margin-right: 0.35rem;
}

.shop-option-card {
    display: block;
    border-radius: 18px;
    border: 1px solid var(--shop-border);
    background: rgba(255, 255, 255, 0.02);
    text-decoration: none;
    color: inherit;
    transition: transform 0.14s ease, border-color 0.14s ease, background-color 0.14s ease;
}

.shop-option-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 145, 53, 0.22);
    background: rgba(255, 255, 255, 0.03);
}

.shop-table {
    --bs-table-bg: rgba(255, 255, 255, 0.03);
    --bs-table-color: rgba(255, 255, 255, 0.88);
    --bs-table-border-color: rgba(255, 145, 53, 0.12);
}

.shop-cart-items thead th:first-child {
    width: 40%;
}

.shop-cart-items tbody td {
    width: 15%;
}

.shop-header-armory {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.shop-header-armory::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% auto;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 145, 53, 0.14), rgba(255, 145, 53, 0));
    pointer-events: none;
}

.shop-header-copy {
    max-width: 760px;
    position: relative;
    z-index: 1;
}

.shop-header-text {
    margin-top: 0.95rem;
    max-width: 62ch;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
}

.shop-header-aside {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.85rem;
    position: relative;
    z-index: 1;
}

.shop-header-stat {
    min-width: 150px;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 145, 53, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
}

.shop-header-stat-label {
    display: block;
    margin-bottom: 0.3rem;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.shop-header-stat-value {
    display: block;
    color: #fff4e8;
    font-size: 1rem;
    font-weight: 800;
}

.shop-topnav {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.15rem;
    padding: 0.15rem 0 0.15rem;
}

.shop-topnav-track {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding: 0.4rem;
    border: 1px solid rgba(255, 145, 53, 0.12);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 145, 53, 0.08), rgba(47, 98, 185, 0.03) 42%, rgba(255, 255, 255, 0.015)),
        rgba(6, 14, 26, 0.78);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.shop-topnav-track::-webkit-scrollbar {
    display: none;
}

.shop-topnav-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    position: relative;
    overflow: hidden;
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(255, 145, 53, 0.1);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.015);
    color: rgba(255, 255, 255, 0.76);
    font-weight: 700;
    text-decoration: none;
    scroll-snap-align: start;
    transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.shop-topnav-item::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 145, 53, 0), rgba(255, 191, 134, 0.95), rgba(255, 145, 53, 0));
    opacity: 0;
    transition: opacity 0.16s ease;
}

.shop-topnav-item:hover,
.shop-topnav-item:focus {
    transform: translateY(-2px);
    border-color: rgba(255, 145, 53, 0.24);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.03);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.shop-topnav-item:hover::before,
.shop-topnav-item:focus::before {
    opacity: 1;
}

.shop-topnav-item.is-active {
    background-image: var(--primary-gradient);
    border-color: transparent;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    box-shadow: 0 12px 26px rgba(160, 16, 65, 0.28);
}

.shop-topnav-item.is-active::before {
    opacity: 0;
}

.shop-topnav-item i {
    color: #ffbf86;
    font-size: 0.95rem;
}

.shop-topnav-item.is-sub {
    opacity: 0.92;
    padding-inline: 0.85rem;
}

.shop-shell {
    align-items: flex-start;
}

.shop-sidebar-card {
    overflow: hidden;
}

.shop-sidebar-section-label {
    margin-bottom: 0.85rem;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.shop-panel {
    overflow: hidden;
}

.shop-panel-heading,
.shop-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.shop-panel-kicker,
.shop-section-kicker,
.shop-modal-kicker,
.shop-option-kicker,
.shop-package-type {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 189, 129, 0.85);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.shop-panel-title,
.shop-section-title {
    color: #ffffff;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 800;
}

.shop-richtext {
    color: rgba(255, 255, 255, 0.8);
}

.shop-richtext p:last-child {
    margin-bottom: 0;
}

.shop-package-card {
    position: relative;
    border-radius: 20px;
}

.shop-package-media {
    position: relative;
    display: block;
    overflow: hidden;
}

.shop-package-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 8, 13, 0.02), rgba(5, 8, 13, 0.7) 85%),
        linear-gradient(135deg, rgba(255, 145, 53, 0.08), transparent 40%);
    pointer-events: none;
}

.shop-package-badge {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(255, 187, 124, 0.18);
    border-radius: 999px;
    background: rgba(8, 16, 28, 0.74);
    color: #fff4e8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-package-card:hover .shop-package-image {
    transform: scale(1.04);
}

.shop-package-image {
    transition: transform 0.28s ease;
    object-fit: cover;
}

.shop-package-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.shop-package-modal .modal-header,
.shop-package-modal .modal-footer {
    padding-inline: 1.35rem;
}

.shop-package-modal-price {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.shop-package-modal-price strong {
    font-size: 1.4rem;
}

.shop-package-modal-footer-note {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
}

.shop-option-card .card-body {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
    align-items: center;
    text-align: center;
}

.shop-toolbar-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.shop-subpanel {
    height: 100%;
    padding: 1.15rem;
    border: 1px solid rgba(255, 145, 53, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
}

.shop-cart-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(255, 145, 53, 0.14);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 145, 53, 0.08), rgba(255, 255, 255, 0.02)),
        rgba(6, 14, 26, 0.86);
}

.shop-form-panel form {
    max-width: 880px;
}

.shop-form-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 1.25rem;
}

@media (max-width: 991.98px) {
    .shop-header {
        padding: 1.2rem;
    }

    .shop-header-armory {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-header-aside {
        justify-content: flex-start;
    }

    .shop-option-card .card-body {
        min-height: 200px;
    }

    .shop-sidebar {
        margin-top: 0.35rem;
    }
}

@media (max-width: 575.98px) {
    .shop-topnav {
        margin-bottom: 0.9rem;
    }

    .shop-topnav-track {
        gap: 0.45rem;
        padding: 0.35rem;
        border-radius: 16px;
    }

    .shop-topnav-item {
        min-width: max-content;
        padding: 0.72rem 0.82rem;
        border-radius: 12px;
        font-size: 0.88rem;
    }

    .shop-topnav-item.is-sub {
        padding-inline: 0.78rem;
    }

    .shop-header-stat {
        width: 100%;
    }

    .shop-subpanel {
        padding: 1rem;
    }
}

.border {
    border: 1px solid #9ca3af0a !important;
}

.border-top {
    border-top: 1px solid #9ca3af0a !important;
}

.border-bottom {
    border-bottom: 1px solid #9ca3af0a !important;
}

.border-left {
    border-left: 1px solid #9ca3af0a !important;
}

.btn.btn-primary {
    background-image: var(--primary-gradient);
    color: #fff;
    font-weight: bold;
    border: none;
}

.btn.btn-primary:hover, .btn.btn-primary:focus, .btn.btn-primary:active {
    background-image: var(--primary-gradient);
    font-weight: bold;
    color: #fff;
    filter: brightness(1.1);
    transition: filter 0.2s;
}

.btn.btn-secondary {
    display: block;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    position: relative;
    border: none;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn.btn-secondary::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 2px solid transparent;
    z-index: -1;
    margin: calc(2px * -1);
    border-radius: inherit;
    background: linear-gradient(var(--background-color), var(--background-color)) padding-box, var(--primary-gradient) border-box;
}

.btn.btn-secondary:hover::before,
.btn.btn-secondary:focus::before,
.btn.btn-secondary:active::before {
    filter: brightness(1.1);
    transition: filter 0.2s;
}

.card {
    box-shadow: 0 4px 24px 0 rgba(34,41,47,.1);
    margin-bottom: 2rem;
    border: none;
}

.card-hover-shadow {
    position: relative;
    transition: all 0.3s;
}

.card-hover-shadow:hover {
    box-shadow: 0 2px 100px var(--background-gradient-primary-color);
    scale: 1.01;
}

.dropdown-item:hover, .list-group-item:hover {
    filter: grayscale(0.1);
}


[data-bs-theme="dark"] .form-control {
    border-color: rgba(156, 163, 175, 0.1);
    filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0.1));
}

[data-bs-theme="dark"] .form-check-input {
    border-color: rgba(156, 163, 175, 0.1);
    filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0.1));
}

.avatar {
    box-shadow: 0 1px 4px 0 rgba(31, 29, 29, 0.4);
    width: 32px;
    height: 32px;
}

.text-primary {
    color: var(--bs-color-text) !important;
}

.text-primary-gradient {
    color: var(--primary-gradient) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* light and rotate*/
.social-icon-link:hover {
    filter: brightness(1.2) saturate(1.2) hue-rotate(180deg);
    transition: filter 0.5s;
}

.table-dark {
    border-radius: 10%;
}

.playerlist {
    color:var(--text-color-7);
    display:flex;
    align-items: center;
    font-size:var(--mini-button-text-size);
}

.playerlist .online {
    animation: flashgreen ease-in-out 1.5s infinite;
    background: rgb(42, 231, 42);
    border-radius:50px;
    width:11px;
    height:11px;
}

.playerlist .offline {
    animation: flashred ease-in-out 1.5s infinite;
    background: rgb(231, 64, 42);
    border-radius:50px;
    transform:translateY(-1px);
    width:11px;
    height:11px;
}

@keyframes flashgreen {
    0% {
        box-shadow: 0 0 #31c73db0;
    }
    75% {
        box-shadow: 0 0 0 6px rgb(40 167 69 / 0%);
    }
    100% {
        box-shadow: 0 0 rgb(40 167 69 / 0%);
    }
}

.vote-step p {
    margin-bottom: 0.25rem;
}

.blog-text {
    font-size: 1.125rem;
    line-height: 1.6;
    width: 1000px;
    max-width: 90%;
    margin: 3rem auto;
}


/* News cards — uniform height */
.gradient-news-img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

/* Shop payment-method tiles (shop/offers/select, shop/payments/pay) */
.payment-method {
    text-decoration: none;
}

.payment-method .card-body {
    padding: 3rem;
}

.payment-method h3 {
    color: var(--bs-primary);
}

.payment-method h4 {
    color: var(--bs-secondary);
}

/* Shop categories/show — centered package cards with bottom-aligned button */
#shop .card-body {
    display: flex;
    flex-direction: column;
    text-align: center;
}

#shop .card-body .card-title {
    color: var(--bs-primary);
}

#shop .card-body .btn {
    margin-top: auto;
    width: 100%;
}
