:root {
    --primary-color: #F79E0B;
    --secondary-color: #F7C30B;
    --dark-color: #1a1a2e;
    --light-color: #ffffff;
    --text-color: #333333;
    --text-light: #f5f5f5;
    --gray-color: #858585;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: #f9f9f9;
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding-top: 80px;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.heading-p {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 3rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    transition: var(--transition);
    z-index: 9999;
}

.navbar.scrolled {
    background: linear-gradient(145deg,
            rgba(30, 30, 55, 0.8) 0%,
            rgba(35, 25, 60, 0.8) 100%) !important;
    background-image: linear-gradient(145deg,
            rgba(30, 30, 55, 0.8) 0%,
            rgba(35, 25, 60, 0.8) 100%) !important;
    padding: 10px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand img {
    height: 50px;
    transition: var(--transition);
}

.navbar.scrolled .navbar-brand img {
    height: 40px;
}

.navbar-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    margin: 0 15px;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    margin: 0 10px;
    padding: 8px 15px !important;
    border-radius: 4px;
    transition: var(--transition);
    color: var(--light-color) !important;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-color);
    color: var(--light-color) !important;
}

.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-navbar__inner {
    display: flex;
    align-items: center;
    width: 100%;
}

.site-burger {
    position: relative;
    z-index: 10002;
    width: 46px;
    height: 46px;
    margin-left: auto;
    padding: 0;
    border: 1px solid rgba(247, 158, 11, 0.35);
    border-radius: 12px;
    background: rgba(247, 158, 11, 0.08);
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.site-burger:hover {
    background: rgba(247, 158, 11, 0.16);
    border-color: rgba(247, 158, 11, 0.55);
    box-shadow: 0 0 18px rgba(247, 158, 11, 0.25);
}

.site-burger__box {
    display: block;
    position: relative;
    width: 22px;
    height: 16px;
    margin: 0 auto;
}

.site-burger__line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55), top 0.25s ease, opacity 0.2s ease, width 0.25s ease;
}

.site-burger__line:nth-child(1) {
    top: 0;
}

.site-burger__line:nth-child(2) {
    top: 7px;
}

.site-burger__line:nth-child(3) {
    top: 14px;
    width: 70%;
}

.site-burger[aria-expanded="true"] {
    background: rgba(247, 158, 11, 0.22);
    border-color: var(--primary-color);
    box-shadow: 0 0 22px rgba(247, 158, 11, 0.35);
}

.site-burger[aria-expanded="true"] .site-burger__line:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
}

.site-burger[aria-expanded="true"] .site-burger__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.site-burger[aria-expanded="true"] .site-burger__line:nth-child(3) {
    top: 7px;
    width: 100%;
    transform: rotate(-45deg);
}

.site-mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(8, 8, 18, 0.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

body.site-menu-open .site-mobile-backdrop {
    opacity: 1;
    visibility: visible;
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.site-nav-link i {
    display: none;
}

@media (max-width: 767.98px) {
    body.site-menu-open {
        overflow: hidden;
    }

    .site-mobile-nav.collapse {
        display: flex !important;
    }

    .site-mobile-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 10000;
        flex-direction: column;
        width: min(340px, 88vw);
        max-width: 340px;
        height: 100vh;
        height: 100dvh;
        margin: 0;
        padding: 88px 22px 28px;
        background: linear-gradient(165deg, rgba(22, 22, 42, 0.98) 0%, rgba(26, 18, 48, 0.98) 55%, rgba(18, 28, 52, 0.98) 100%);
        border-left: 1px solid rgba(247, 158, 11, 0.22);
        box-shadow: -12px 0 48px rgba(0, 0, 0, 0.45);
        transform: translateX(105%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.42s ease;
        overflow-y: auto;
    }

    .site-mobile-nav.show {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .site-mobile-nav::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 220px;
        height: 220px;
        background: radial-gradient(circle, rgba(247, 158, 11, 0.14) 0%, transparent 70%);
        pointer-events: none;
    }

    .site-mobile-nav__head {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 28px;
        padding-bottom: 22px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        position: relative;
        z-index: 1;
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.35s ease 0.08s, transform 0.35s ease 0.08s;
    }

    .site-mobile-nav.show .site-mobile-nav__head {
        opacity: 1;
        transform: translateY(0);
    }

    .site-mobile-nav__logo {
        width: 44px;
        height: 44px;
        object-fit: contain;
    }

    .site-mobile-nav__brand {
        color: #fff;
        font-size: 1.05rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .site-mobile-nav__tagline {
        color: var(--primary-color);
        font-size: 0.78rem;
        font-weight: 600;
        letter-spacing: 0.6px;
        text-transform: uppercase;
        margin-top: 2px;
    }

    .site-mobile-nav__list {
        flex-direction: column;
        width: 100%;
        gap: 8px;
        position: relative;
        z-index: 1;
    }

    .site-mobile-nav__list .nav-item {
        width: 100%;
        opacity: 0;
        transform: translateX(18px);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .site-mobile-nav.show .site-mobile-nav__list .nav-item:nth-child(1) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.1s;
    }

    .site-mobile-nav.show .site-mobile-nav__list .nav-item:nth-child(2) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.15s;
    }

    .site-mobile-nav.show .site-mobile-nav__list .nav-item:nth-child(3) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.2s;
    }

    .site-mobile-nav.show .site-mobile-nav__list .nav-item:nth-child(4) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.25s;
    }

    .site-mobile-nav.show .site-mobile-nav__list .nav-item:nth-child(5) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.3s;
    }

    .site-mobile-nav .site-nav-link {
        display: flex;
        align-items: center;
        gap: 14px;
        width: 100%;
        margin: 0 !important;
        padding: 15px 16px !important;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        background: rgba(255, 255, 255, 0.03);
        font-size: 1rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.88) !important;
    }

    .site-mobile-nav .site-nav-link i {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: rgba(247, 158, 11, 0.12);
        color: var(--primary-color);
        font-size: 1rem;
        flex-shrink: 0;
        transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    }

    .site-mobile-nav .site-nav-link:hover,
    .site-mobile-nav .site-nav-link:focus {
        background: rgba(247, 158, 11, 0.1);
        border-color: rgba(247, 158, 11, 0.28);
        color: #fff !important;
        transform: translateX(4px);
    }

    .site-mobile-nav .site-nav-link:hover i,
    .site-mobile-nav .site-nav-link.active i {
        background: var(--primary-color);
        color: #1a1a2e;
    }

    .site-mobile-nav .site-nav-link.active {
        background: linear-gradient(135deg, rgba(247, 158, 11, 0.22), rgba(247, 195, 11, 0.1));
        border-color: rgba(247, 158, 11, 0.45);
        color: #fff !important;
        box-shadow: 0 4px 20px rgba(247, 158, 11, 0.18);
    }

    .site-mobile-nav__cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: auto;
        padding: 15px 18px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--primary-color), #ff8c00);
        color: #1a1a2e !important;
        font-weight: 700;
        font-size: 0.95rem;
        box-shadow: 0 8px 24px rgba(247, 158, 11, 0.35);
        position: relative;
        z-index: 1;
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.35s ease 0.35s, transform 0.35s ease 0.35s, box-shadow 0.25s ease;
    }

    .site-mobile-nav.show .site-mobile-nav__cta {
        opacity: 1;
        transform: translateY(0);
    }

    .site-mobile-nav__cta:hover {
        box-shadow: 0 10px 28px rgba(247, 158, 11, 0.45);
        transform: translateY(-2px);
        color: #1a1a2e !important;
    }
}

@media (min-width: 768px) {
    .site-mobile-backdrop {
        display: none !important;
    }
}

.rules-header,
.policy-header {
    text-align: center;
    color: white;
}

.rules-section {
    background: linear-gradient(135deg,
            rgba(26, 26, 46, 0.95) 0%,
            rgba(42, 31, 71, 0.95) 50%,
            rgba(22, 33, 62, 0.95) 100%);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rules-content {
    color: #e0e0e0;
}

.rules-category {
    margin-bottom: 50px;
}

.category-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.category-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-header h2 i {
    font-size: 1.5rem;
}

.category-subheader {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.rules-list {
    margin-left: 20px;
}

.rule-item {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-start;
}

.rule-number {
    color: var(--primary-color);
    font-weight: 700;
    min-width: 40px;
}

.rule-text {
    flex: 1;
    line-height: 1.5;
}

.rule-punishment {
    color: #ff6b6b;
    font-weight: 600;
    margin-left: 5px;
}

.rule-text-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.rule-info-block {
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--primary-color);
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    margin: 10px 0;
}

.info-item {
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
}

.info-marker {
    color: var(--primary-color);
    font-weight: 700;
}

.rule-note {
    background: rgba(247, 158, 11, 0.1);
    border: 1px solid rgba(247, 158, 11, 0.3);
    padding: 15px;
    border-radius: 8px;
    font-style: italic;
    margin-top: 15px;
}

.rules-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.rule-card {
    background: linear-gradient(145deg, rgba(30, 30, 55, 0.8) 0%, rgba(35, 25, 60, 0.8) 100%);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: 100%;
    text-align: center;
    color: #e0e0e0;
    text-decoration: none;
    display: block;
}

.rule-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: linear-gradient(145deg, rgba(35, 35, 65, 0.9) 0%, rgba(40, 30, 70, 0.9) 100%);
    border-color: var(--primary-color);
}

.rule-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.rule-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 15px;
}

.rules-list.allowed .rule-number {
    color: #6bff6b;
}

.rules-list.neutral .rule-number {
    color: #6bb5ff;
}

.donate-section {
    background: linear-gradient(135deg,
            rgba(26, 26, 46, 0.95) 0%,
            rgba(42, 31, 71, 0.95) 50%,
            rgba(22, 33, 62, 0.95) 100%);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.donate-form {
    background: rgba(30, 30, 55, 0.8);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-control {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    height: 50px;
}

.form-group {
    color: #fff;
}

.form-check {
    position: relative;
    padding-left: 35px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.form-check-label:before {
    content: "";
    position: absolute;
    left: -35px;
    top: 1px;
    width: 22px;
    height: 22px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.form-check-label:after {
    content: "";
    position: absolute;
    left: -30px;
    top: 6px;
    width: 12px;
    height: 7px;
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    opacity: 0;
    transition: all 0.3s ease;
}

.form-check-label {
    display: inline-block;
    position: relative;
    cursor: pointer;
    color: #f0f0f0;
    font-size: 1rem;
    line-height: 1.5;
    padding-left: 5px;
}

.form-check-input:checked~.form-check-label:before {
    background-color: var(--primary-color);
}

.form-check-input:checked~.form-check-label:after {
    opacity: 1;
}

.form-check-input:focus~.form-check-label:before {
    box-shadow: 0 0 0 3px rgba(247, 158, 11, 0.3);
}

.form-check-label:hover:before {
    border-color: var(--secondary-color);
    background-color: rgba(247, 158, 11, 0.1);
}

.form-control::placeholder {
    color: #b0b0b0;
}

.form-control:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(247, 158, 11, 0.25);
}

.form-check-input {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.privilege-card {
    background: rgba(30, 30, 55, 0.8);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    color: #e0e0e0;
}

.privilege-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background: rgba(35, 35, 65, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

.privilege-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.privilege-price {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.privilege-features {
    list-style-type: none;
    padding-left: 0;
}

.privilege-features li {
    padding: 5px 0;
    color: #d0d0d0;
    position: relative;
    padding-left: 25px;
}

.privilege-features li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #e0e0e0;
    position: relative;
}

.payment-method:hover {
    border-color: var(--primary-color);
    background: rgba(247, 158, 11, 0.05);
}

.payment-method.active {
    border-color: var(--primary-color);
    background: rgba(247, 158, 11, 0.1);
    color: #ffffff;
    position: relative;
}

.payment-method img {
    height: 30px;
    margin-right: 15px;
    filter: brightness(0.9);
}

.payment-method .form-check-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-method span {
    color: inherit;
    font-weight: 500;
}

.additional-privileges {
    margin-top: 40px;
    padding: 20px;
    background: rgba(30, 30, 55, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.privileges-text {
    color: var(--gray-color);
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
}

.privileges-list,
.privileges-list-2 {
    list-style-type: none;
    padding: 0;
    margin: 15px 0;
    columns: 2;
    column-gap: 30px;
}

.privileges-list-2 {
    columns: 1 !important;
}

.privileges-list li,
.privileges-list-2 li {
    color: #e0e0e0;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    break-inside: avoid;
}

.privileges-list li:before,
.privileges-list-2 li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 10px;
    font-size: 1.2rem;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.mainpage-heading {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.mainpage-header {
    height: 932px;
    transform: skewY(-3deg);
    margin-top: 0;
    overflow: hidden;
    z-index: 1;
    position: relative;
}

.mainpage-header-content {
    transform: skewY(3deg);
    padding-top: 133px;
    height: 100%;
}

.mainpage-heading-content {
    max-width: 700px;
}

.mainpage-h1 {
    font-size: 3.5rem;
    color: var(--light-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.mainpage-paragraph {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

.mainpage-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    padding: 12px 28px;
    margin-top: 0.5rem;
}

.ped-main-pc {
    animation: float 6s ease-in-out infinite;
}

main {

    position: relative;
    z-index: 2;
}

section {
    margin-bottom: 100px;
}

.monitoring-section {
    padding: 60px 0;
    background: linear-gradient(135deg,
            rgba(26, 26, 46, 0.95) 0%,
            rgba(42, 31, 71, 0.95) 50%,
            rgba(22, 33, 62, 0.95) 100%);
    border-radius: 16px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 50px rgba(247, 158, 11, 0.1);
    margin: 40px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.monitoring-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center,
            rgba(247, 158, 11, 0.05) 0%,
            transparent 70%);
    animation: rotateGradient 20s linear infinite;
    z-index: 0;
}

.monitoring-server {
    background: linear-gradient(145deg,
            rgba(30, 30, 55, 0.8) 0%,
            rgba(35, 25, 60, 0.8) 100%);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 0 20px rgba(247, 158, 11, 0.05);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(8px);
}

.monitoring-server::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg,
            var(--primary-color),
            var(--secondary-color));
    box-shadow: 0 2px 10px rgba(247, 158, 11, 0.5);
}

.monitoring-server:hover {
    transform: translateY(-5px);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(247, 158, 11, 0.1);
    background: linear-gradient(145deg,
            rgba(35, 35, 65, 0.9) 0%,
            rgba(40, 30, 70, 0.9) 100%);
}

.monitoring-server-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.monitoring-server-name {
    display: flex;
    align-items: center;
}

.monitoring-server-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    box-shadow: 0 4px 20px rgba(247, 158, 11, 0.4);
    transition: var(--transition);
}

.monitoring-server:hover .monitoring-server-icon {
    transform: rotate(10deg);
    box-shadow: 0 6px 25px rgba(247, 158, 11, 0.5);
}

.monitoring-server-icon img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

.monitoring-server-h3 {
    font-size: 2rem;
    color: var(--light-color);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-bottom: 5px;
}

.monitoring-server-online {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(247, 158, 11, 0.1);
    padding: 8px 15px;
    border-radius: 50px;
    border: 1px solid rgba(247, 158, 11, 0.3);
}

.monitoring-server-info-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.monitoring-server-info-col {
    margin-bottom: 20px;
    flex: 1;
    min-width: 250px;
    padding: 0 15px;
}

.monitoring-server-info {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
}

.monitoring-server-infoo {
    color: var(--light-color);
    font-size: 1.2rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 6px;
    display: inline-block;
    transition: var(--transition);
}

.monitoring-server:hover .monitoring-server-infoo {
    background: rgba(255, 255, 255, 0.15);
}

.copy-ip {
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    white-space: nowrap;
}

.copy-ip:hover {
    background: rgba(247, 158, 11, 0.2);
    color: #f79e0b;
}

.copy-ip-icon {
    margin-left: 6px;
    font-size: 0.85em;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.copy-ip:hover .copy-ip-icon {
    opacity: 1;
}

.copy-ip.copied {
    background: rgba(40, 167, 69, 0.25);
    color: #28a745;
}

.progress-monitoring {
    height: 12px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-top: 10px;
}

.progress-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 6px;
    transition: width 1s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: progressShine 2s infinite;
}

.howtostart-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    padding-bottom: 20px;
    max-width: 100%;
}

.howtostart-block {
    flex: 1 1 calc(50% - 15px);
    min-width: 280px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg,
            rgba(30, 30, 55, 0.8) 0%,
            rgba(35, 25, 60, 0.8) 100%);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.howtostart-block .howtostart-top {
    flex: 1;
}

.howtostart-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 2px 10px rgba(247, 158, 11, 0.5);
}

.howtostart-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: linear-gradient(145deg,
            rgba(35, 35, 65, 0.9) 0%,
            rgba(40, 30, 70, 0.9) 100%);
}

.howtostart-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
}

.howtostart-step {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-right: 20px;
    text-shadow: 0 2px 10px rgba(247, 158, 11, 0.3);
    transition: var(--transition);
}

.howtostart-block:hover .howtostart-step {
    transform: scale(1.1);
}

.howtostart-step-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-color);
    line-height: 1.3;
}

.howtostart-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.howtostart-download {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.howtostart-download:last-child {
    padding-bottom: 0;
}

.howtostart-download + .howtostart-download {
    margin-top: 0;
}

.howtostart-mobile .howtostart-download {
    border-top: none;
    padding: 0;
}

.howtostart-mobile .howtostart-download + .howtostart-download {
    margin-top: 14px;
}

.howtostart-filesize {
    font-size: 1rem;
    color: var(--gray-color);
    font-weight: 500;
}

.howtostart-mobile {
    flex: 1 1 100%;
    border: 1px solid rgba(247, 158, 11, 0.25);
    background: linear-gradient(145deg, rgba(40, 28, 60, 0.85) 0%, rgba(25, 20, 50, 0.9) 100%);
    position: relative;
}

.howtostart-mobile::before {
    height: 5px;
    background: linear-gradient(90deg, #f79e0b, #ff6a00, #f79e0b);
    box-shadow: 0 2px 14px rgba(247, 158, 11, 0.6);
}

.mobile-badge {
    position: absolute;
    top: 16px;
    right: 20px;
    background: linear-gradient(135deg, #f79e0b 0%, #ff6a00 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 20px;
    box-shadow: 0 3px 12px rgba(247, 158, 11, 0.45);
    z-index: 2;
}

.mobile-badge i {
    margin-right: 4px;
    font-size: 1rem;
}

.mobile-promo-callout {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(247, 158, 11, 0.12) 0%, rgba(255, 106, 0, 0.08) 100%);
    border: 1px solid rgba(247, 158, 11, 0.3);
    border-left: 4px solid #f79e0b;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
    animation: promoGlow 3s ease-in-out infinite;
}

@keyframes promoGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(247, 158, 11, 0.15); }
    50%      { box-shadow: 0 0 20px rgba(247, 158, 11, 0.35); }
}

.mobile-promo-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f79e0b, #ff6a00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 3px 10px rgba(247, 158, 11, 0.4);
}

.mobile-promo-text {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

.mobile-promo-text strong {
    color: #f79e0b;
    font-weight: 700;
}

.howtostart-mobile-inner {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.howtostart-mobile-left {
    flex: 1 1 55%;
}

.howtostart-mobile-right {
    flex: 1 1 40%;
}

.mobile-bonus-hint {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.mobile-bonus-hint i {
    color: #f79e0b;
    margin-right: 6px;
}

.mobile-bonus-hint code {
    background: rgba(247, 158, 11, 0.15);
    color: #f79e0b;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-orange-outline {
    background: transparent !important;
    border: 2px solid rgba(247, 158, 11, 0.5) !important;
    color: #f79e0b !important;
    box-shadow: none !important;
}

.btn-orange-outline:hover {
    background: rgba(247, 158, 11, 0.1) !important;
    border-color: #f79e0b !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(247, 158, 11, 0.25) !important;
}

.btn-orange {
    background: linear-gradient(135deg,
            var(--primary-color) 0%,
            var(--secondary-color) 100%);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(247, 158, 11, 0.3);
    border: 2px solid transparent;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 180px;
    text-align: center;
}

.btn-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(247, 158, 11, 0.5);
    color: var(--light-color);
}

.btn-orange::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: all 0.6s ease;
}

.btn-orange:hover::after {
    left: 100%;
}

.btn-join-vk {
    background: #4a76a8 !important;
    box-shadow: 0 4px 15px rgba(74, 118, 168, 0.3) !important;
}

.btn-join-ds {
    background: #7289da !important;
    box-shadow: 0 4px 15px rgba(114, 137, 218, 0.3) !important;
}

.btn-join-tg {
    background: #0088cc !important;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3) !important;
}

.social-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.social-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://example.com/pattern.png') repeat;
    opacity: 0.05;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #F79E0B, #F7C30B);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.social-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #F79E0B, #F7C30B);
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.social-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 40px;
    height: 40px;
    fill: #fff;
}

.social-card:hover .social-icon {
    animation: float 3s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.2);
}

.vk-card .social-icon {
    background: rgba(74, 118, 168, 0.2);
}

.discord-card .social-icon {
    background: rgba(114, 137, 218, 0.2);
}

.telegram-card .social-icon {
    background: rgba(0, 136, 204, 0.2);
}

.admin-card .social-icon {
    background: rgba(247, 158, 11, 0.2);
}

.social-title {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.social-btn {
    display: inline-block;
    padding: 12px 0;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    width: 160px;
    text-align: center;
    margin: 0 auto;
}

.vk-card .social-btn {
    background: #4a76a8;
    color: #fff;
}

.discord-card .social-btn {
    background: #7289da;
    color: #fff;
}

.telegram-card .social-btn {
    background: #0088cc;
    color: #fff;
}

.admin-card .social-btn {
    background: linear-gradient(90deg, #F79E0B, #F7C30B);
    color: #fff;
}

.hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.social-btn:hover .hover-effect {
    left: 100%;
}

.main-footer {
    background: linear-gradient(135deg, #0f0f1f 0%, #0d1225 100%);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 10;
}

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

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-payments h4 {
    color: var(--light-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.payment-methods-icon {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.payment-methods-icon img {
    height: 30px;
    filter: grayscale(100%) brightness(1.5);
    transition: var(--transition);
    opacity: 0.8;
}

.payment-methods-icon img:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

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

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-copyright p {
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .mainpage-h1 {
        font-size: 3rem;
    }

    .ped-main-pc {
        max-height: 60vh;
    }

    .howtostart-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .howtostart-mobile-inner {
        flex-direction: column;
    }
}

@media (max-width: 992px) {
    .mainpage-heading {
        flex-direction: column;
        padding: 0 20px;
    }

    .mainpage-heading-content {
        margin-bottom: 50px;
    }

    .ped-main-pc {
        max-height: 50vh;
        margin: 0 auto;
    }

    .howtostart-section {
        padding: 60px 0;
    }

    .howtostart-step {
        font-size: 3rem;
    }

    .howtostart-step-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-badge {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .mainpage-header {
        min-height: 700px;
    }

    .navbar {
        padding: 10px 15px;
    }

    .monitoring-server-info-col {
        min-width: 100%;
        margin-bottom: 15px;
    }

    .monitoring-server-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .monitoring-server-online {
        margin-top: 15px;
        align-self: none;
    }

    .monitoring-server-icon {
        width: 60px;
        height: 60px;
        margin-right: 15px;
    }

    .monitoring-server-h3 {
        font-size: 1.6rem;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .howtostart-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .howtostart-block {
        padding: 25px;
    }

    .howtostart-step {
        font-size: 2.5rem;
        margin-right: 15px;
    }

    .howtostart-step-name {
        font-size: 1.3rem;
    }

    .howtostart-description p {
        font-size: 1rem;
    }

    .privileges-list {
        columns: 1;
    }

    .rules-section {
        padding: 25px;
    }

    .category-header h2 {
        font-size: 1.6rem;
    }

    .rule-item {
        flex-direction: column;
    }

    .rule-number {
        margin-bottom: 5px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .payment-methods {
        justify-content: center;
    }

    .footer-logo img {
        height: 50px;
    }

    .footer-copyright {
        margin-top: 20px;
        padding-top: 15px;
    }

    .rules-selection {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 425px) {
    .mainpage-heading {
        text-align: center;
    }

    .mainpage-heading-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mainpage-h1 {
        text-align: center;
        width: 100%;
    }

    .mainpage-paragraph {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .mainpage-cta {
        align-self: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .heading-p {
        font-size: 1rem;
    }

    .howtostart-section {
        padding: 50px 0;
        margin: 40px 0;
    }

    .howtostart-download {
        flex-direction: column;
        align-items: flex-start;
    }

    .howtostart-filesize {
        margin-bottom: 15px;
    }

    .btn-orange {
        width: 100%;
    }

    .additional-privileges h4 {
        font-size: 16px;
    }

    .rules-section {
        padding: 20px;
    }

    .category-header h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .donate-section {
        padding: 23px;
        margin: 0;
    }

    .heading-p {
        text-align: center;
    }

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

    .social-card {
        min-height: 280px;
    }

    .donate-form {
        background: none;
        border-radius: 12px;
        padding: 0;
        border: none;
    }

    .additional-privileges {
        padding: 0;
        background: none;
        border: none;
    }

    .privileges-text {
        font-size: 1.1rem;
    }

    .privilege-card {
        text-align: center;
        margin-bottom: 10px;
    }

    .privilege-name {
        font-size: 1.1rem;
    }

    .privilege-price {
        font-size: 1.3rem;
        margin-bottom: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

@media (min-width: 1px) {
    .donate-header {
        background: url(/public/images/mob-ped.png) no-repeat 6% bottom, url(/public/images/background-main-pc.png) no-repeat 0% 100%;
        background-size: 149vw, cover;
    }
}

@media (min-width: 1px) {
    .mainpage-header {
        background: url(/public/images/mob-ped.png) no-repeat 6% bottom, url(/public/images/background-main-pc.png) no-repeat 0% 100%;
        background-size: 149vw, cover;
    }
}

@media (min-width: 411px) {
    .mainpage-header {
        background: url(/public/images/mob-ped.png) no-repeat 6% bottom, url(/public/images/background-main-pc.png) no-repeat 0% 100%;
        background-size: 133vw, cover !important;
    }
}

@media (min-width: 518px) {
    .mainpage-header {
        background: url(/public/images/mob-ped.png) no-repeat 265% bottom, url(/public/images/background-main-pc.png) no-repeat 0% 100%;
        background-size: 94vw, cover !important;
    }
}

@media (min-width: 722px) {
    .mainpage-header {
        background: url(/public/images/mob-ped.png) no-repeat 166% bottom, url(/public/images/background-main-pc.png) no-repeat 0% 100%;
        background-size: 78vw, cover !important;
    }
}

@media (min-width: 893px) {
    .mainpage-header {
        background: url(/public/images/mob-ped.png) no-repeat 117% bottom, url(/public/images/background-main-pc.png) no-repeat 0% 100%;
        background-size: 60vw, cover !important;
    }
}

@media (min-width: 994px) {
    .mainpage-header {
        background: url(/public/images/background-main-pc.png) no-repeat;
        background-position: 0 bottom;
        background-size: cover !important;
    }
}

section {
    animation: fadeIn 0.8s ease-out forwards;
}

section:nth-child(2) {
    animation-delay: 0.2s;
}

section:nth-child(3) {
    animation-delay: 0.4s;
}

section:nth-child(4) {
    animation-delay: 0.6s;
}


.members-header {
    display: none;
}

.members-section {
    background: linear-gradient(135deg,
            rgba(26, 26, 46, 0.95) 0%,
            rgba(42, 31, 71, 0.95) 50%,
            rgba(22, 33, 62, 0.95) 100%);
    border-radius: 20px;
    padding: 50px 40px;
    margin: 30px 0 50px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.members-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(247, 158, 11, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.members-hero {
    margin-bottom: 45px;
    position: relative;
    z-index: 1;
}

.members-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(247, 158, 11, 0.12);
    border: 1px solid rgba(247, 158, 11, 0.3);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.members-hero-badge i {
    font-size: 0.9rem;
}

.members-title {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.members-subtitle {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

.members-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 24px;
}

.members-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 0 12px;
}

.members-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 6px;
}

.members-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

.members-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.members-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.members-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.members-tab:hover {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
}

.members-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: #1a1a2e;
    box-shadow: 0 8px 25px rgba(247, 158, 11, 0.3);
}

.members-tab i {
    font-size: 1.1rem;
}

.members-panel {
    display: none;
    animation: membersFadeIn 0.4s ease;
    position: relative;
    z-index: 1;
}

.members-panel.active {
    display: block;
}

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

.members-panel-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.members-panel-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.members-panel-icon--admin {
    background: linear-gradient(135deg, rgba(247, 158, 11, 0.2), rgba(247, 195, 11, 0.1));
    color: var(--primary-color);
    border: 1px solid rgba(247, 158, 11, 0.25);
}

.members-panel-icon--leader {
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.2), rgba(186, 85, 211, 0.1));
    color: #c9a0ff;
    border: 1px solid rgba(147, 112, 219, 0.25);
}

.members-panel-icon--helper {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(14, 165, 233, 0.1));
    color: #7dd3fc;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.members-panel-header h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.members-panel-header h2::after {
    display: none;
}

.members-panel-header p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
    margin: 0;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.members-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.member-card {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 30, 55, 0.7) 0%, rgba(35, 25, 60, 0.7) 100%);
    border-radius: 16px;
    padding: 28px 24px 24px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.35s ease;
    overflow: hidden;
}

.member-card--compact {
    padding: 20px 18px 18px;
    flex-direction: row;
    text-align: left;
    gap: 14px;
    align-items: center;
}

.member-card--compact .member-info {
    min-width: 0;
    flex: 1;
}

.member-card--placeholder {
    opacity: 0.7;
}

.member-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-card:hover {
    transform: translateY(-4px);
    border-color: rgba(247, 158, 11, 0.25);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.member-card:hover .member-card-glow {
    opacity: 1;
}

.member-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(247, 158, 11, 0.15), rgba(247, 195, 11, 0.08));
    border: 2px solid rgba(247, 158, 11, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.6rem;
    color: rgba(247, 158, 11, 0.5);
    flex-shrink: 0;
}

.member-avatar--small {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.member-avatar--skin {
    overflow: hidden;
    padding: 0;
}

.member-avatar--skin,
.member-avatar--skin.member-avatar--director,
.member-avatar--skin.member-avatar--helper,
.member-avatar--skin.member-avatar--leader,
.member-avatar--skin.member-avatar--criminal {
    background: linear-gradient(135deg, #f79e0b, #dc3545);
    border-color: rgba(247, 158, 11, 0.45);
}

.member-avatar--skin img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 12%;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.member-info {
    flex: 1;
    width: 100%;
}

.member-name-skeleton {
    height: 14px;
    width: 70%;
    margin: 0 auto 10px;
    border-radius: 6px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.06) 25%,
            rgba(255, 255, 255, 0.12) 50%,
            rgba(255, 255, 255, 0.06) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.8s ease-in-out infinite;
}

.member-card--compact .member-name-skeleton {
    margin: 0 0 8px;
    width: 80%;
}

.member-role-skeleton {
    height: 10px;
    width: 45%;
    margin: 0 auto;
    border-radius: 4px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.04) 25%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.04) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.8s ease-in-out infinite 0.3s;
}

.member-role-skeleton--wide {
    width: 90%;
}

.member-card--compact .member-role-skeleton {
    margin: 0;
}

@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.member-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.member-badge--admin {
    background: rgba(247, 158, 11, 0.12);
    color: var(--primary-color);
    border: 1px solid rgba(247, 158, 11, 0.2);
}

.member-card--admin {
    opacity: 1;
}

.member-card--compact.member-card--admin {
    flex-wrap: wrap;
    align-items: flex-start;
}

.member-card--compact.member-card--admin .member-badge {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.member-avatar--director {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(255, 82, 82, 0.1));
    border-color: rgba(220, 53, 69, 0.35);
}

.member-avatar--director .member-avatar-letter {
    color: #ff6b7a;
}

.member-badge--director {
    background: rgba(220, 53, 69, 0.12);
    color: #ff6b7a;
    border: 1px solid rgba(220, 53, 69, 0.25);
}

.members-empty--admin i {
    color: rgba(247, 158, 11, 0.4);
}

.member-card--helper {
    opacity: 1;
}

.member-card--compact.member-card--helper {
    flex-wrap: wrap;
    align-items: flex-start;
}

.member-card--compact.member-card--helper .member-badge {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.member-avatar--helper {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.18), rgba(39, 174, 96, 0.1));
    border-color: rgba(46, 204, 113, 0.3);
}

.member-avatar--helper .member-avatar-letter {
    color: #6ee7a0;
}

.member-badge--helper {
    background: rgba(46, 204, 113, 0.12);
    color: #6ee7a0;
    border: 1px solid rgba(46, 204, 113, 0.25);
}

.member-card--leader {
    opacity: 1;
}

.member-card--compact.member-card--leader {
    flex-wrap: wrap;
    align-items: flex-start;
}

.member-card--compact.member-card--leader .member-badge {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.member-avatar--leader {
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.2), rgba(186, 85, 211, 0.1));
    border-color: rgba(147, 112, 219, 0.3);
    color: #c9a0ff;
}

.member-avatar-letter {
    font-size: 1rem;
    font-weight: 700;
    color: #c9a0ff;
}

.member-name {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    word-break: break-word;
}

.member-role {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 500;
}

.member-badge--leader {
    background: rgba(147, 112, 219, 0.12);
    color: #c9a0ff;
    border: 1px solid rgba(147, 112, 219, 0.25);
}

.faction-group--gov .faction-group-title i {
    color: #7eb8ff;
}

.faction-group--criminal .faction-group-title i {
    color: #ff6b7a;
}

.member-card--criminal {
    opacity: 1;
    border-color: rgba(220, 53, 69, 0.12);
}

.member-card--criminal:hover {
    border-color: rgba(220, 53, 69, 0.35);
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.18);
}

.member-card--criminal:hover .member-card-glow {
    opacity: 1;
    background: linear-gradient(90deg, transparent, #dc3545, transparent);
}

.member-card--compact.member-card--criminal {
    flex-wrap: wrap;
    align-items: flex-start;
}

.member-card--compact.member-card--criminal .member-badge {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.member-avatar--criminal {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.22), rgba(255, 82, 82, 0.1));
    border-color: rgba(220, 53, 69, 0.35);
}

.member-avatar--criminal .member-avatar-letter {
    color: #ff6b7a;
}

.member-badge--criminal {
    background: rgba(220, 53, 69, 0.14);
    color: #ff6b7a;
    border: 1px solid rgba(220, 53, 69, 0.28);
}

.members-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.95rem;
}

.members-empty i {
    font-size: 2rem;
    color: rgba(147, 112, 219, 0.4);
}

.members-factions {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-bottom: 30px;
}

.faction-group-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faction-group-title i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.members-coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    background: rgba(247, 158, 11, 0.06);
    border: 1px dashed rgba(247, 158, 11, 0.25);
    border-radius: 12px;
    color: rgba(247, 158, 11, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.members-coming-soon i {
    font-size: 1.1rem;
}

.members-page {
    max-width: 1140px;
}

.members-page--forum {
    max-width: none;
    width: 100%;
}

.members-section--forum {
    margin: 0;
    padding-top: 1rem;
}

body.forum-page .members-section--forum {
    background: rgba(20, 12, 40, 0.55);
}

@media (max-width: 991px) {
    .members-section {
        padding: 36px 28px;
        margin: 20px 0 40px;
    }

    .members-grid,
    .members-grid--compact {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .members-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .members-section {
        padding: 28px 18px;
        margin: 16px 0 36px;
        border-radius: 16px;
    }

    .members-hero {
        margin-bottom: 32px;
    }

    .members-title {
        font-size: 2rem;
    }

    .members-subtitle {
        font-size: 1rem;
        margin-bottom: 28px;
        padding: 0 6px;
    }

    .members-stats {
        flex-direction: column;
        width: 100%;
        max-width: none;
        padding: 18px 20px;
        gap: 0;
    }

    .members-stat {
        padding: 12px 0;
        width: 100%;
    }

    .members-stat-divider {
        width: 100%;
        max-width: 120px;
        height: 1px;
        align-self: center;
    }

    .members-tabs {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 28px;
    }

    .members-tab {
        width: 100%;
        padding: 15px 18px;
    }

    .members-panel-header {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        margin-bottom: 24px;
        padding-bottom: 20px;
    }

    .members-panel-header h2 {
        font-size: 1.35rem;
    }

    .members-grid,
    .members-grid--compact {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .members-factions {
        gap: 28px;
    }
}

@media (max-width: 576px) {
    .members-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .members-section {
        padding: 22px 14px;
        margin: 12px 0 28px;
        border-radius: 14px;
    }

    .members-hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
        margin-bottom: 16px;
    }

    .members-title {
        font-size: 1.75rem;
        margin-bottom: 10px;
    }

    .members-subtitle {
        font-size: 0.92rem;
        line-height: 1.5;
        margin-bottom: 22px;
    }

    .members-stat-value {
        font-size: 1.65rem;
    }

    .members-stat-label {
        font-size: 0.72rem;
        letter-spacing: 0.5px;
    }

    .members-tab {
        font-size: 0.88rem;
        padding: 13px 14px;
        gap: 8px;
    }

    .members-panel-icon {
        width: 48px;
        height: 48px;
        font-size: 1.15rem;
    }

    .members-panel-header h2 {
        font-size: 1.2rem;
    }

    .members-panel-header p {
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .faction-group-title {
        font-size: 0.88rem;
        margin-bottom: 12px;
    }

    .member-card--compact,
    .member-card--compact.member-card--admin,
    .member-card--compact.member-card--helper,
    .member-card--compact.member-card--leader,
    .member-card--compact.member-card--criminal,
    .member-card--compact.member-card--director {
        flex-wrap: wrap;
        align-items: center;
    }

    .member-card--compact {
        padding: 14px 12px;
        gap: 10px 12px;
    }

    .member-card--compact .member-info {
        flex: 1 1 calc(100% - 54px);
        max-width: calc(100% - 54px);
    }

    .member-card--compact .member-badge,
    .member-card--compact.member-card--admin .member-badge,
    .member-card--compact.member-card--helper .member-badge,
    .member-card--compact.member-card--leader .member-badge,
    .member-card--compact.member-card--criminal .member-badge,
    .member-card--compact.member-card--director .member-badge {
        width: 100%;
        margin-top: 4px;
        justify-content: center;
        font-size: 0.72rem;
        padding: 5px 10px;
        white-space: normal;
    }

    .member-avatar--small {
        width: 42px;
        height: 42px;
        font-size: 0.95rem;
    }

    .member-name {
        font-size: 0.9rem;
    }

    .member-role {
        font-size: 0.76rem;
        line-height: 1.35;
    }

    .member-card:hover {
        transform: none;
    }

    .members-empty {
        padding: 32px 16px;
        font-size: 0.88rem;
        text-align: center;
    }
}

@media (max-width: 400px) {
    .members-tab {
        font-size: 0.82rem;
        padding: 12px 10px;
    }
}

@media (hover: hover) and (pointer: fine) {
    .member-card--compact:hover {
        transform: translateY(-4px);
    }
}

body.site-error-page header.error-header {
    display: none;
}

body.site-error-page main {
    padding: 0;
}

.error-page {
    position: relative;
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0 72px;
    overflow: hidden;
}

.error-page__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(247, 158, 11, 0.12), transparent 42%),
        radial-gradient(circle at 80% 70%, rgba(247, 158, 11, 0.08), transparent 38%);
    pointer-events: none;
}

.error-page__container {
    position: relative;
    z-index: 1;
}

.error-page__card {
    max-width: 640px;
    margin: 0 auto;
    padding: 42px 36px;
    text-align: center;
    background: rgba(26, 26, 46, 0.92);
    border: 1px solid rgba(247, 158, 11, 0.28);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
}

.error-page__code {
    margin: 0 0 8px;
    font-size: clamp(4rem, 14vw, 6rem);
    font-weight: 800;
    line-height: 1;
    color: var(--primary-color);
    text-shadow: 0 8px 24px rgba(247, 158, 11, 0.25);
}

.error-page__title {
    margin: 0 0 14px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    color: var(--light-color);
}

.error-page__text {
    margin: 0 auto 28px;
    max-width: 520px;
    font-size: 0.98rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.error-page__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 148px;
    justify-content: center;
    padding: 11px 18px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

.error-page__btn--ghost {
    color: var(--light-color);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(247, 158, 11, 0.35);
}

.error-page__btn--ghost:hover {
    color: var(--primary-color);
    background: rgba(247, 158, 11, 0.12);
    border-color: var(--primary-color);
}

@media (max-width: 576px) {
    .error-page__card {
        padding: 32px 22px;
    }

    .error-page__actions {
        flex-direction: column;
    }

    .error-page__btn {
        width: 100%;
    }
}
