/*
 * ============================================
 *            COPYRIGHT FABITO.NET
 * ============================================
 * SUMMARY
 * --------------------------------------------
 * 1 - Additionals.dropdown-content {
    top: 100%;
 * 2 - Basic Styles
 * 3 - Buttons
 * 4 - Navigation
 * 5 - Hero
 * 6 - Servers
 * 7 - Servers Modal
 * 8 - Shop
 * 9 - Rules
 * 10 - Staff
 * 11 - Footer
 * 12 - Socials
 * 13 - FAQ
 * 14 - Statistics
 * --------------------------------------------
 */


/*
 * ---------------------------------------------
 * 1 - Additionals
 * ---------------------------------------------
 */

 @font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/Roboto-Condensed-Light.woff2) format('woff2');
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/Roboto-Condensed-Regular.woff2) format('woff2');
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/Roboto-Condensed-Bold.woff2) format('woff2');
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgb(32, 38, 32);
}

::-webkit-scrollbar-thumb {
    background: rgb(43, 52, 43);
}

::-moz-selection {
    color: rgb(173, 168, 162);
    background: rgb(20, 24, 20);
}

::selection {
    color: rgb(173, 168, 162);
    background: rgb(41, 49, 41);
}


/*
 * ---------------------------------------------
 * 2 - Basic Styles
 * ---------------------------------------------
 */

html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: "Poppins", Arial, sans-serif;
    color: rgb(173, 168, 162);
    position: relative;
}
body::after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 220px;
    pointer-events: none;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(20,20,20,0.92) 100%);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    flex: 1;
}

.background-gradient {
    position: absolute;
    width: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    height: 1080px;
    background: radial-gradient(at center -10%, rgba(0, 0, 0, 0) 35%, rgba(20, 24, 20, 1) 80%) rgba(20, 24, 20, 0.45);
    top: 0;
    z-index: 0;
}

.icon {
    width: 20px;
    height: 20px;
    margin-top: -1px;
}

main {
    position: relative;
}

.ribbon {
    position: absolute;
    right: -5px; top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px; height: 75px;
    text-align: right;
}

.ribbon span {
    font-size: 10px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 100px;
    display: block;
    background: #79A70A;
    background: linear-gradient(#9BC90D 0%, #79A70A 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px; right: -21px;
}

.ribbon span::before {
    content: "";
    position: absolute; left: 0px; top: 100%;
    z-index: -1;
    border-left: 3px solid #79A70A;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #79A70A;
}

.ribbon span::after {
    content: "";
    position: absolute; right: 0px; top: 100%;
    z-index: -1;
    border-left: 3px solid transparent;
    border-right: 3px solid #79A70A;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #79A70A;
}


/*
 * ---------------------------------------------
 * 3 - Buttons
 * ---------------------------------------------
 */

.btn {
    border: 0;
    padding: 8px 14px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 3px;
    font-size: 18px;
}

.btn .btn-info {
background: rgb(61, 75, 39);
color: rgb(166, 205, 99);
}

.btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.btn.btn-success {
    background: rgb(174 0 0);
    color: rgb(204, 195, 190);
}

.btn.btn-success:hover {
    background: rgb(114 1 1);
}

.btn.btn-success:active {
    background: rgb(114 1 1);
}

.btn.btn-primary {
    background: rgb(6 79 137);
    color: rgb(204, 195, 190);
}

.btn.btn-primary:hover {
    background: rgb(30 63 89);
}

.btn.btn-primary:active {
    background: rgb(29, 66, 95);
}

.btn.btn-secondary {
    background: rgb(89, 85, 82);
    color: rgb(204, 195, 190);
}

.btn.btn-secondary:hover {
    background: rgb(62 59 56);
}

.btn.btn-secondary:active {
    background: rgb(89, 85, 82);
}

.btn.btn-danger {
    background: rgb(150, 47, 32);
    color: rgb(199, 152, 151);
}

.btn.btn-danger:hover {
    background: rgb(172, 56, 39);
}

.btn.btn-danger:active {
    background: rgb(150, 47, 32);
}

.btn.btn-discord {
    background: rgb(114, 137, 218);
    color: rgb(255, 255, 255);
}

.btn.btn-discord:hover {
    background: rgb(132, 156, 238);
}

.btn.btn-discord:active {
    background: rgb(114, 137, 218);
}

.btn.btn-discord svg {
    height: 24px;
    margin-top: -1px;
}

.btn.btn-discord .btn-discord-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn.btn-discord .btn-discord-content .discord-players-text {
    display: block;
    margin-left: 5px;
}

.btn.btn-discord .btn-discord-content .discord-counter {
    font-size: 12px;
    margin-top: -2px;
    display: block;
    text-transform: none;
    margin-left: 5px;
    background: rgb(87, 105, 172);
    border-radius: 100px;
}



.dropbtn {
    background-color: transparent !important;
    border: none;
    padding: 0;
    margin: 0;
    font-family: 'Encode Sans Condensed' !important;
    color: #bdbbbb !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    transition: color 0.3s ease !important;
    font-size: 21px !important;
    text-transform: uppercase !important;
    line-height: normal;
}

.dropbtn a {
    padding: 0 !important;
}

.dropbtn:hover {
    color: #e4e4e4 !important;
}

.dropdown {
    position: relative;
}

.dropdown-content, .dropdown-subcontent {
    display: none;
    position: absolute;
    left: 0;
    background-color: #1a1a1a !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 0;
    z-index: 1;
    min-width: 160px;
}

.dropdown-content a, .dropdown-subcontent a {
    color: rgb(142, 145, 142);
    padding: 12px 15px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover, .dropdown-subcontent a:hover {
    background-color: rgb(40, 40, 38);
    color: rgb(193, 193, 193);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-submenu:hover .dropdown-subcontent {
    display: block;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-subcontent {
    left: 100%;
    top: 0;
}

/*
 * ---------------------------------------------
 * 4 - Navigation
 * ---------------------------------------------
 */

/* 原始导航样式保留但注释掉 */
/*
.navbar-rust {
    margin-top: 50px;
    background-color: rgb(28, 28, 26) !important;
    border-radius: 0 !important;
    margin-bottom: 50px;
}

.nav-item {
    position: relative;
    display: inline-block;
}

.navbar-rust .navbar-nav .nav-link {
    color: rgb(142, 145, 142);
    font-size: 20px;
    margin-left: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.navbar-rust .navbar-nav .nav-link:hover {
    color: rgb(193, 193, 193);
}

.navbar-rust .navbar-nav .nav-link.active {
    color: rgb(193, 193, 193);
}

.navbar-rust .navbar-brand {
    color: rgb(194, 194, 194);
    margin-left: 15px;
}

.navbar-rust .navbar-logo-container {
    width: 75px;
}

.navbar-rust .nav-logo {
    position: absolute;
    height: 75px;
    margin-top: -38px;
}

.navbar-toggler {
    padding: 0;
    border: none;
    background: none;
}

.nav-toggle-img-container {
    padding: 7px;
    border: 2px solid #8E918E;
    display: inline-block;
}

.nav-toggle-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

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

@media only screen and (max-width: 992px) {
    .navbar-rust .navbar-brand {
        transform: translateX(-50%);
        left: 50%;
        top: 40px;
        position: absolute;
    }

    .navbar-rust .nav-logo {
        height: 42px;
    }

    .dropbtn {
        margin-left: -7px;
    }

    .dropdown-content {
        min-width: 150px;
        right: 0;
    }
    
    .dropdown-subcontent {
        right: 100%;
    }
}
*/

/* 新导航样式 */
.templar-nav {
    display: flex !important;
    justify-content: space-between !important;
    box-sizing: unset !important;
    align-items: center !important;
    height: 60px !important;
    z-index: 20 !important;
    background-color: #1a1a1a !important;
    padding: 0 12px !important;
    position: relative !important;
    margin-top: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: calc(95%) !important; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    border-radius: 10px !important;
}

.templar-nav-logo img {
    height: 70px !important;
    transition: transform .175s !important;
    vertical-align: middle !important;
}

.templar-nav-logo img:hover {
    transform: scale(1.08) !important;
}

.templar-nav-links {
    display: flex !important;
    list-style: none !important;
    flex-grow: 1 !important;
    margin: 0 !important;
    padding-left: 25px !important;
}

.templar-nav-links li {
    padding: 0 15px !important;
}

.templar-nav-links a {
    color: #bdbbbb !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    transition: color 0.3s ease !important;
    font-size: 21px !important;
    font-family: 'Encode Sans Condensed' !important;
    text-transform: uppercase !important;
}

.templar-nav-links a:hover {
    color: #e4e4e4 !important;
}

.templar-nav-links a.active {
    color: #e4e4e4 !important;
}

.templar-nav-discord-button {
    background-color: #0087FF !important;
    color: white !important;
    padding: 10px 15px !important;
    font-family: 'Roboto Condensed', sans-serif !important;
    line-height: normal !important;
    border-radius: 5px !important;
    transition: background-color 0.3s !important;
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: bold !important;
    display: flex !important;
    align-content: center !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: uppercase !important;
}

.templar-nav-discord-button i {
    margin-right: 8px !important;
    font-size: 22px !important;
}

.templar-nav-discord-button:hover {
    background-color: #0561B3 !important;
    color: white !important;
}

.burger {
    display: none !important;
    cursor: pointer !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 31px !important;
    padding-left: 15px !important;
}

.burger div {
    width: 35px !important;
    height: 3px !important;
    border-radius: 20px !important;
    background-color: #d4d4d4 !important;
}

@media (max-width: 450px) {
    .templar-nav-discord-button {
        font-size: 15px !important;
    }

    .templar-nav-discord-button i {
        margin-right: 5px !important;
        font-size: 20px !important;
    }

    .templar-nav {
        width: 85% !important;
        margin-top: 15px !important;
    }
    
    .language-switcher-desktop-outer {
        margin-bottom: 10px;
    }
}

@media (max-width: 1250px) {
    .templar-nav-links {
        display: none !important;
        position: absolute !important;
        right: 0 !important;
        padding: 0 !important;
        padding-top: 10px !important;
        top: 52px !important;
        left: 0 !important;
        background-color: #1a1a1a !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .templar-nav-links li {
        padding: 15px 0 !important;
    }

    .burger {
        display: flex !important;
    }

    .nav-active {
        display: flex !important;
        z-index: 30 !important;
        border-bottom-right-radius: 10px !important;
        border-bottom-left-radius: 10px !important;
    }
}

/*
 * ---------------------------------------------
 * Nav dropdown
 * ---------------------------------------------
 */



.dropdown {
    position: relative;
    display: inline-block;
    padding-bottom: 12px; /* 创建一个"桥梁"以覆盖空隙 */
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: #1a1a1a;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 0;
    margin: 0;
    z-index: 999;
    border-radius: 5px;
    border-top: 5px solid transparent;
}

.dropdown-subcontent {
    display: none;
    position: absolute;
    left: 0;
    background-color: #1a1a1a;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 5px 0;
    margin: 0;
    z-index: 999;
    border-radius: 5px;
}
/*主站导航下拉模块*/
.dropdown-content {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1a1a1a;
    margin-top: 0; /* 移除导致空隙的margin */
    padding-top: 20px;
}

.dropdown-subcontent {
    left: 100%;
    top: 0;
}

.dropdown-content a, .dropdown-subcontent a {
    color: white;
    padding: 12px 15px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #333;
    font-family: 'Encode Sans Condensed' !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    text-transform: uppercase !important;
    text-align: center;
    white-space: nowrap;
}

.dropdown-content a:last-child, .dropdown-subcontent a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover, .dropdown-subcontent a:hover {
    background-color: #333;
    color: white;
}

.dropdown-item {
    padding: 10px;
    text-decoration: none;
    color: black;
    display: block;
}

.dropdown-item.active, .dropdown-item:active {
    color: rgb(193, 193, 193);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-submenu:hover .dropdown-subcontent {
    display: block;
}

.dropdown:hover .dropbtn {
    color: #e4e4e4 !important;
}

/*
 * ---------------------------------------------
 * 5 - Hero
 * ---------------------------------------------
 */

.hero {
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero h1 {
    text-align: center;
    color: rgb(231, 224, 218);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 55px;
    font-family: 'Kdam Thmor Pro', sans-serif;
}

.hero p {
    text-align: center;
    color: rgb(203, 197, 194);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 25px;
    font-family: 'Kdam Thmor Pro', sans-serif;
}

.hero .server-brand {
    color: rgb(201, 69, 47);
    font-family: 'Kdam Thmor Pro', sans-serif;
}


/*
 * ---------------------------------------------
 * 6 - Servers
 * ---------------------------------------------
 */

.servers .server {
    border: 6px solid rgb(31, 32, 26);
    background: rgb(31, 32, 26);
    margin-top: 25px;
    position: relative;
    transition: transform .175s;
    border-radius: 5px;
}
.servers .server:hover {
    transform: scale(1.04);
}
.servers .server .server-container {
    padding: 10px;
    text-align: center;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.servers .server .server-container .server-name {
    color: rgb(198, 192, 186);
    font-weight: bold;
    font-size: 24px;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
}

.servers .server .server-container .server-description {
    color: rgb(142, 143, 138);
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.servers .server .server-container .server-players {
    color: rgb(142, 143, 138);
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.servers .server .server-tags {
    margin-bottom: 5px;
}

.servers .server .server-tags .server-tag {
    background: #26435E;
    color: #C2C5CC;
    padding: 5px 8px;
    font-size: 15px;
}

.servers .server .server-image-container {
    position: relative;
}

.servers .server .server-image-container .server-image-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(31,32,26,0) 35%, rgba(31,32,26,1) 100%);
    position: absolute;
    top: 0;
    left: 0;
}

.servers .server .progress {
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.servers .server .progress .progress-bar.bg-rust {
    background-color: rgb(166, 205, 99);
}

.servers .server .server-image-container {
    position: relative;
}

.servers .server .server-offline {
    background: rgb(150, 47, 32);
    color: rgb(199, 152, 151);
    padding: 10px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 10px;
    display: inline-block;
}

.servers .server .server-offline .icon {
    margin-top: -2px;
}


/*
 * ---------------------------------------------
 * 7 - Servers Modal
 * ---------------------------------------------
 */

.modal.modal-rust .modal-content {
    border: 8px solid rgb(31, 32, 26);
    border-radius: 0;
    background: rgb(31, 32, 26);
    color: rgb(108, 110, 105);
}

.modal.modal-rust .modal-body {
    padding: 0;
}

.modal.modal-rust .modal-footer {
    border-top: 0;
    padding: 0;
    margin-top: 5px;
}

.modal.modal-rust .modal-footer .btn {
    margin: 4px 2px;
}

.modal.modal-rust .server-image-modal-container .server-image-modal-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(31,32,26,0) 35%, rgba(31,32,26,1) 100%);
    position: absolute;
    top: 0;
    left: 0;
}

.modal.modal-rust .server-image-modal-container {
    position: relative;
}

.modal.modal-rust .server-modal-details {
    margin-top: -60px;
    z-index: 2;
    position: relative;
}

.modal.modal-rust .server-modal-details .server-name {
    color: rgb(198, 192, 186);
    font-weight: bold;
    font-size: 28px;
    display: block;
    text-align: center;
}

.modal.modal-rust .server-modal-details .server-description {
    color: rgb(173, 168, 162);
    font-size: 20px;
    display: block;
    text-align: center;
    margin-top: -8px;
}

.modal.modal-rust .server-modal-details .server-rules {
    margin-top: 10px;
    color: rgb(105, 107, 102);
    font-size: 18px;
    display: block;
    padding: 10px;
    line-height: 24px;
    height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal.modal-rust .server-modal-details .server-rules a {
    color: rgb(164, 167, 160);
    text-decoration: none;
}

.modal.modal-rust .server-modal-details .server-rules a:hover {
    color: rgb(187, 191, 185);
}

.modal.modal-rust .server-modal-details .server-rules .connect-input {
    border: 3px solid #555;
    background : rgb(72, 72, 69);
    width: 100%;
    height: 40px;
    color: rgb(164, 167, 160);
}


/*
 * ---------------------------------------------
 * 8 - Shop
 * ---------------------------------------------
 */

.store {
    margin-top: 230px;
}

.store .store-image-container {
    position: relative;
}

.store .store-image-container .store-image-overlay {
    /* background: radial-gradient(at center, rgba(0,0,0,0) 35%, rgba(20,24,20,1) 70%) rgba(20, 24, 20, 0.8);; */
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.store .store-heading {
    color: rgb(220, 211, 202);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 42px;
}

.store .store-message {
    font-size: 20px;
    font-weight: 300;
}

.store .btn-store {
    padding: 18px 24px;
    font-size: 24px;
    margin-top: 10px;
}

.store .btn-store .icon {
    width: 30px;
    height: 30px;
}

.store .store-message ul {
    list-style-type: none;
    padding: 0;
}

.store .store-message ul li {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    padding: 8px 12px;
    margin-top: 12px;
    transition: transform .2s;
}

.store .store-message ul li::before {
    content: "★ ";
    color: rgb(166, 205, 99);
    font-size: 23px;
    line-height: 22px;
}
.store .store-message ul li:hover {
    transform: scale(1.04);
}
@media only screen and (max-width: 576px) {
    .store {
        margin-top: 80px;
    }

    .store .store-heading {
        margin-bottom: 40px;
    }
}


/*
 * ---------------------------------------------
 * 9 - Rules
 * ---------------------------------------------
 */

.rules {
    margin-top: 80px;
}

.rules .rules-heading {
    color: rgb(220, 211, 202);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 38px;
    text-align: center;
    margin-bottom: 80px;
}

.rules .accordion-item {
    background: rgba(255, 255, 255, 0.05);
    border: 0;
    border-radius: 0 !important;
}

.rules .accordion-header {
    background: rgba(255, 255, 255, 0.025);
}

.rules .accordion-header .accordion-button {
    background: transparent;
    color: rgb(220, 211, 202);
    outline: none;
    box-shadow: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 26px;
    padding: 20px 26px;
}

.rules .accordion-header .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dcd3ca'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.rules .accordion-header .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23a6cd63'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.rules .accordion-header .accordion-button .icon {
    height: 30px;
    width: 30px;
    margin-right: 10px;
    margin-top: -2px;
    color: rgb(166, 205, 99);
}

.rules .accordion-body {
    font-size: 20px;
    font-weight: 300;
    padding: 28px;
}

@media only screen and (max-width: 576px) {
    .rules .accordion-header .accordion-button {
        font-size: 22px;
    }

    .rules .accordion-header .accordion-button .icon {
        height: 26px;
        width: 26px;
    }

    .rules .accordion-body {
        font-size: 18px;
    }
}


/*
 * ---------------------------------------------
 * 10 - Staff
 * ---------------------------------------------
 */

.staff {
    margin-top: 80px;
}

.staff .staff-heading {
    color: rgb(220, 211, 202);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 38px;
    text-align: center;
    margin-bottom: 40px;
}

.staff .member {
    text-align: center;
    margin-top: 40px;
    transition: transform .2s;
}
.staff .member:hover {
    transform: scale(1.08);
}
.staff .member img {
    width: 180px;
    height: 180px;
}

.staff .member .member-description {
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    width: 180px;
}

.staff .member .member-description .member-name {
    color: rgb(220, 211, 202);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 28px;
    text-align: center;
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
}

.staff .member .member-description .member-rank {
    color: rgb(166, 205, 99);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    display: block;
    margin-bottom: 10px;
}

.staff .member .member-name-link {
    text-decoration: none;
}

.staff .member .member-name-link:hover span {
    color: rgb(166, 205, 99);
}


/*
    * ---------------------------------------------
    * 11 - Footer
    * ---------------------------------------------
    */

footer {
    text-align: center;
    margin-top: 140px;
    background: rgba(15, 19, 15, 0.8);
    padding: 40px 20px;
    font-weight: 300;
}

footer img {
    height: 75px;
    filter: grayscale(1);
    opacity: 0.5;
    margin-bottom: 15px;
}

footer .copyright {
    font-weight: 400;
}


/*
 * ---------------------------------------------
 * 12 - Socials
 * ---------------------------------------------
 */

.socials {
    margin-right: 10px;
}

.socials .social-icon {
    width: 25px;
    height: 25px;
    margin-right: 5px;
}

.socials a {
    color: rgb(142, 145, 142);
    text-decoration: none;
}

.socials a:hover {
    color: rgb(166, 205, 99);
}

.socials a:active {
    color: rgb(193, 193, 193);
}


/*
 * ---------------------------------------------
 * 13 - FAQ
 * ---------------------------------------------
 */

.faq {
    margin-top: 80px;
}

.faq .faq-heading {
    color: rgb(220, 211, 202);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 38px;
    text-align: center;
    margin-bottom: 80px;
}

.faq .accordion-item {
    background: rgba(255, 255, 255, 0.05);
    border: 0;
    border-radius: 0 !important;
}

.faq .accordion-header {
    background: rgba(255, 255, 255, 0.025);
}

.faq .accordion-header .accordion-button {
    background: transparent;
    color: rgb(220, 211, 202);
    outline: none;
    box-shadow: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 26px;
    padding: 20px 26px;
}

.faq .accordion-header .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dcd3ca'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq .accordion-header .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23a6cd63'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.faq .accordion-header .accordion-button .icon {
    height: 30px;
    width: 30px;
    margin-right: 10px;
    margin-top: -2px;
    color: rgb(166, 205, 99);
}

.faq .accordion-body {
    font-size: 20px;
    font-weight: 300;
    padding: 28px;
}

@media only screen and (max-width: 576px) {
    .faq .accordion-header .accordion-button {
        font-size: 22px;
    }

    .faq .accordion-header .accordion-button .icon {
        height: 26px;
        width: 26px;
    }

    .faq .accordion-body {
        font-size: 18px;
    }
}

/*
 * ---------------------------------------------
 * Statistics
 * ---------------------------------------------
 */

.rust-stats-container .stats-heading {
    color: rgb(220, 211, 202);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 38px;
    text-align: center;
    margin-bottom: 50px;
    margin-top: 20px;
}

/*
 * ---------------------------------------------
 * OutpostLink
 * ---------------------------------------------
 */

 .rust-link-container .link-heading {
    color: rgb(220, 211, 202);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 38px;
    text-align: center;
    margin-bottom: 50px;
    margin-top: 20px;
}
 .rust-link-container .link-info {
    color: rgb(220, 211, 202);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    margin-bottom: 50px;
    margin-top: 20px;
}

/*
 * ---------------------------------------------
 * Vote Links
 * ---------------------------------------------
 */

.rust-vote-container {
    color: rgb(220, 211, 202);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 38px;
    text-align: center;
    margin-bottom: 50px;
    margin-top: 20px;
}

/*
 * ---------------------------------------------
 * Donations
 * ---------------------------------------------
 */

.rust-donations-container .donations-heading {
    color: rgb(220, 211, 202);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 38px;
    text-align: center;
    margin-bottom: 50px;
    margin-top: 20px;
}


/*
 * ---------------------------------------------
 * News
 * ---------------------------------------------
 */

 .rust-news-container .news-heading {
    color: rgb(220, 211, 202);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 38px;
    text-align: center;
    margin-bottom: 50px;
    margin-top: 20px;
}

/*
 * ---------------------------------------------
 * Reports
 * ---------------------------------------------
 */

 .rust-reports-container .reports-heading {
    color: rgb(220, 211, 202);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 38px;
    text-align: center;
    margin-bottom: 50px;
    margin-top: 20px;
}

/*
 * ---------------------------------------------
 * Bans List
 * ---------------------------------------------
 */

.rust-bans-container .bans-heading {
    color: rgb(220, 211, 202);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 38px;
    text-align: center;
    margin-bottom: 50px;
    margin-top: 20px;
}

/*
 * ---------------------------------------------
 * Admin Panel
 * ---------------------------------------------
 */

.rust-login-container .login-heading {
    color: rgb(220, 211, 202);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 38px;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 20px;
}

/* Admin页面专用样式 */
.rust-login-container {
    min-height: 100vh;
    padding-bottom: 20px;
}

.rust-login-container .container {
    max-width: 100%;
    padding: 0 15px;
}

.rust-login-container iframe {
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 确保footer不会占用过多空间 */
.rust-login-container + footer {
    margin-top: 0;
    padding-top: 20px;
}

/* Admin页面手机端优化 */
@media (max-width: 768px) {
    .rust-login-container .login-heading {
        font-size: 28px;
        margin-bottom: 20px;
        margin-top: 15px;
    }
    
    .rust-login-container .container {
        padding: 0 10px;
    }
    
    .rust-login-container iframe {
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    .rust-login-container .login-heading {
        font-size: 24px;
        margin-bottom: 15px;
        margin-top: 10px;
    }
    
    .rust-login-container .container {
        padding: 0 5px;
    }
    
    .rust-login-container iframe {
        min-height: 400px;
    }
}

/*
 * ---------------------------------------------
 * 新增自定义样式
 * ---------------------------------------------
 */
/*
 * ---------------------------------------------
 * 主站中心LOGO
 * ---------------------------------------------
 */

img.logo {
    margin: auto;
    width: 230px;
    display: block;
    margin-bottom: 20px;
    
/*
 * ---------------------------------------------
 * 主站中心LOGO
 * ---------------------------------------------
 */
}
@media only screen and (max-width: 50px) {
    img.logo {
        width: 100%;
    }
}

/* 导航栏右侧元素容器 */
.nav-right-items {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 主社群按钮样式 */
.social-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    height: 40px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    z-index: 10;
    position: relative;
    background-color: #0099FF;
    color: #ffffff;
}

.social-main-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    background-color: #008DEB;
    color: #ffffff;
}

.social-main-btn i {
    font-size: 18px;
    transition: color 0.2s ease;
    color: #ffffff;
}

/* 次要社交图标栏（导航栏下方） */
.social-icons-secondary-bar {
    position: relative;
    z-index: 5;
    margin-top: 10px;
    margin-bottom: 15px;
}

.social-icons-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.social-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.social-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    position: relative;
    z-index: 10;
}

.social-icon-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-icon-label {
    display: none;
}



/* 响应式设计 */
@media (max-width: 1250px) {
    .social-main-btn {
        font-size: 15px;
        padding: 6px 16px;
        height: 36px;
    }
    
    .social-main-btn i {
        font-size: 16px;
    }
    
    .social-icon-btn {
        width: 24px;
        height: 24px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .social-main-btn span {
        display: none;
    }
    
    .social-main-btn {
        padding: 8px;
        width: 40px;
        height: 40px;
        justify-content: center;
    }
    
    .social-icons-container {
        gap: 8px;
        padding: 0 30px;
    }
    
    .social-icon-wrapper {
        gap: 4px;
    }
    
    .social-icon-btn {
        width: 21px;
        height: 21px;
        font-size: 11px;
    }
    
    .social-icons-secondary-bar {
        margin-top: 8px;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .nav-right-items {
        gap: 10px;
    }
    
    .social-main-btn {
        padding: 6px;
        width: 36px;
        height: 36px;
    }
    
    .social-main-btn i {
        font-size: 16px;
    }
    
    .social-icons-container {
        gap: 6px;
        padding: 0 25px;
        justify-content: center;
    }
    
    .social-icon-wrapper {
        gap: 3px;
    }
    
    .social-icon-btn {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    .social-icons-secondary-bar {
        margin-top: 6px;
        margin-bottom: 10px;
    }
}

/* 语言切换项在导航菜单中的样式 */
.language-switcher-item {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

/* 语言切换样式 */
.language-switcher {
    display: flex;
    background-color: rgba(26, 26, 26, 0.8);
    border-radius: 5px;
    padding: 5px;
    margin-left: 15px;
    align-items: center;
}

.position-relative {
    position: relative;
}

/* 大屏幕下的外部语言切换器 */
.language-switcher-desktop-outer {
    display: flex;
    position: absolute;
    top: 15px;
    right: 2.5%;
    z-index: 100;
    background-color: rgba(26, 26, 26, 0.8);
    border-radius: 5px;
    padding: 8px 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.language-switcher a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0 5px;
    text-decoration: none;
    color: #bdbbbb;
    font-weight: bold;
    font-family: 'Encode Sans Condensed', sans-serif;
    transition: all 0.3s ease;
    border-radius: 3px;
    text-transform: uppercase;
}

.language-switcher a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: scale(1.1);
}

.language-switcher a.active {
    background-color: #5865F2;
    color: #ffffff;
}
/* 中小屏幕下的Discord */
.mobile-discord-button-container {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 25;
}

/* 桌面版Discord按钮 */
.desktop-discord-button {
    display: flex;
}

/* 在中小屏幕下的语言切换器和Discord按钮样式 */
@media (max-width: 1250px) {
    .language-switcher-desktop-outer {
        display: none;
    }
    
    .language-switcher-mobile {
        margin: 0 auto;
    }
    
    .nav-right-items {
        display: flex;
        align-items: center;
        position: relative;
    }
    
    .desktop-discord-button {
        display: none !important;
    }
    
    .mobile-discord-button-container {
        display: block;
        width: auto;
    }
    
    .templar-nav {
        justify-content: space-between !important;
        width: calc(85%) !important;
    }
}

@media (min-width: 1251px) {
    .language-switcher-mobile {
        display: none;
    }
    
    .mobile-discord-button-container {
        display: none;
    }
}

@media (max-width: 768px) {
    .language-switcher-desktop-outer {
        right: 7.5%; /* 在中等屏幕上调整右侧对齐 */
    }
    
    .mobile-discord-button {
        padding: 6px 10px !important;
        font-size: 14px !important;
    }
    
    .mobile-discord-button i {
        margin-right: 5px !important;
        font-size: 18px !important;
    }
}

@media (max-width: 450px) {
    .templar-nav-discord-button {
        font-size: 15px !important;
    }

    .templar-nav-discord-button i {
        margin-right: 5px !important;
        font-size: 20px !important;
    }

    .templar-nav {
        width: 85% !important;
        margin-top: 5px !important;
    }
    
    .mobile-discord-button {
        padding: 5px 8px !important;
        font-size: 13px !important;
    }
    
    .mobile-discord-button i {
        margin-right: 3px !important;
        font-size: 16px !important;
    }
}

.background-image {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 0;
    /* 保持原有样式 */
}
.background-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 220px;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(20,20,20,0.92) 100%);
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}
body, html {
  background: #141814 !important;
}


