.logo-header .logo {
    display: block;
    margin-right: auto;
    margin-left: auto;
    width: 612px;
    left: 53px;
    right: 0;
    position: absolute;
    filter: none;
    margin-top: 230px;
    cursor: pointer;
}

.logo-header a:hover {
    filter: none !important;
}

.logo:hover {
    filter: brightness(120%);
}

.discord-widget {
    width: 320px;
    transition-property: right;
    transition-duration: 2s;
    -webkit-transition-property: right;
    -webkit-transition-duration: 2s;
    position: fixed;
    bottom: 20px;
    right: -340px;
    z-index: 10;
}

.discord-widget.active {
    right: 20px;
}

.agreement-content p {
    margin-bottom: 12px;
    line-height: 1.5;
    color: #ffe8a6;
}

.event-calendar-block {
    margin-top: 15px;
    margin-bottom: 15px;
}

.damage-ranking-block {
    margin-top: 0;
    margin-bottom: 15px;
}

.event-calendar-list {
    padding: 8px 10px 12px;
}

.event-calendar-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 232, 166, 0.12);
}

.event-calendar-item:last-child {
    border-bottom: none;
}

.event-calendar-time {
    color: #bf8415;
    font-weight: 700;
    font-size: 12px;
}

.event-calendar-name {
    color: #ffe8a6;
    font-size: 12px;
    line-height: 1.35;
}

.event-calendar-empty {
    color: #aaa;
    font-size: 12px;
    margin: 8px 0 0;
    line-height: 1.4;
}

.social-channels {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-section {
    background: #111;
    padding: 40px;
    text-align: center;
    border-radius: 6px;
}

.social-section h2 {
    color: #fff;
    margin: 0 0 10px;
}

.social-section p {
    color: #aaa;
    margin: 0 0 15px;
}

.social-btn {
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    display: inline-block;
}

.social-btn:hover {
    color: #fff;
}

.social-btn--whatsapp {
    background: #25d366;
}

.social-btn--whatsapp:hover {
    background: #1ebe57;
}

.social-btn--facebook {
    background: #1877f2;
}

.social-btn--facebook:hover {
    background: #1464d0;
}

.social-btn--instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn--instagram:hover {
    filter: brightness(1.1);
}

.crate-title h2 {
    color: #fff;
    text-align: center;
    margin: 0 0 15px;
    font-size: 18px;
}

#rc-imageselect,
.g-recaptcha {
    transform: scale(0.77);
    -webkit-transform: scale(0.77);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    margin: 0;
    display: inline-block;
}

.reg-form .checkbox {
    margin-bottom: 12px;
    color: #ffe8a6;
    font-size: 13px;
}

.reg-form .checkbox a {
    color: #ffdf6b;
}

.reg-form .checkbox a.agreement-popup {
    cursor: pointer;
    text-decoration: underline;
}

.top-panel__actions {
    position: absolute;
    right: -120px;
    top: 0;
    height: 56px;
    display: flex;
    align-items: center;
    border-left: 1px solid #ffea82;
}

.top-panel .login-panel {
    position: static;
    right: auto;
    margin-right: 0;
    border-left: 1px solid rgba(255, 234, 130, 0.35);
    padding-left: 12px;
}

.locale-switcher {
    position: relative;
    z-index: 120;
    padding: 0 12px;
}

.locale-switcher__toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px 0 10px;
    border: 1px solid rgba(255, 234, 130, 0.55);
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(60, 0, 0, 0.95), rgba(25, 0, 0, 0.98));
    color: #fff4d4;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.locale-switcher__toggle:hover,
.locale-switcher.is-open .locale-switcher__toggle {
    border-color: #ffea82;
    box-shadow: 0 0 12px rgba(255, 234, 130, 0.25);
    background: linear-gradient(180deg, rgba(80, 0, 0, 0.98), rgba(35, 0, 0, 1));
}

.locale-switcher__flag-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.locale-flag {
    width: 26px;
    height: 18px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    display: block;
}

.locale-switcher__label {
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.locale-switcher__caret {
    width: 0;
    height: 0;
    margin-left: 2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #ffdf6b;
    transition: transform 0.2s;
}

.locale-switcher.is-open .locale-switcher__caret {
    transform: rotate(180deg);
}

.locale-switcher__menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 190px;
    margin: 0;
    padding: 6px;
    list-style: none;
    border: 1px solid #ffea82;
    border-radius: 6px;
    background: linear-gradient(180deg, #2a0000, #120000);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 234, 130, 0.15) inset;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

.locale-switcher.is-open .locale-switcher__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.locale-switcher__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 4px;
    color: #fff4d4;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.locale-switcher__option:hover {
    background: rgba(255, 234, 130, 0.12);
    color: #fff;
}

.locale-switcher__option.is-active {
    background: rgba(255, 234, 130, 0.18);
    color: #ffdf6b;
}

.locale-switcher__option-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    line-height: 1.2;
}

.locale-switcher__option-text strong {
    font-size: 13px;
    font-weight: 600;
}

.locale-switcher__option-text small {
    font-size: 11px;
    color: rgba(255, 244, 212, 0.55);
    letter-spacing: 0.08em;
}

.locale-switcher__option.is-active .locale-switcher__option-text small {
    color: rgba(255, 223, 107, 0.75);
}

.locale-switcher__check {
    color: #ffdf6b;
    font-size: 14px;
    font-weight: 700;
}

.download-item-warp::after {
    content: "";
    display: table;
    clear: both;
}

.single-download-item h4 {
    color: #ffdf6b;
    margin: 12px 0 4px;
    font-size: 15px;
    font-weight: 700;
}

.single-download-item p {
    color: #ccc;
    margin: 0;
    font-size: 13px;
}

.single-download-item:hover img {
    filter: grayscale(0);
}

.download-requerment h4 {
    color: #ffdf6b;
    margin: 0;
    font-size: 16px;
}

.download-requerment p span {
    color: #ffdf6b;
    font-weight: 600;
}

.download-empty {
    padding: 30px 20px;
    text-align: center;
    color: #ffe8a6;
    font-size: 14px;
    background: #1e0000;
    border-radius: 5px;
    margin: 12px;
}

table.ranking-table.sidebar_rank,
table.table-full-ranking.sidebar_rank {
    color: #fff4d4;
}

table.ranking-table.sidebar_rank thead th,
table.table-full-ranking.sidebar_rank thead th {
    background: #150a05;
    color: #ffdf6b;
    border: 1px solid #63321b;
    font-weight: 700;
    font-size: 14px;
    padding: 10px;
}

table.ranking-table.sidebar_rank tbody td,
table.table-full-ranking.sidebar_rank tbody td {
    background: #29140a;
    border: 1px solid #63321b;
    color: #d6b59a;
    padding: 8px 10px;
    font-size: 14px;
}

table.ranking-table.sidebar_rank tbody tr:hover td,
table.table-full-ranking.sidebar_rank tbody tr:hover td {
    background: #3a1c10;
}

.sidebar-logout-btn {
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 13px;
    margin-bottom: 5px;
}

.sidebar-account-meta {
    padding: 12px 14px 8px;
    border-top: 1px solid rgba(255, 234, 130, 0.2);
    border-bottom: 1px solid rgba(255, 234, 130, 0.2);
    margin-bottom: 10px;
}

.sidebar-account-meta p {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 8px;
    font-size: 13px;
    color: #ffe8a6;
    line-height: 1.4;
}

.sidebar-account-meta p:last-child {
    margin-bottom: 0;
}

.sidebar-account-meta span {
    color: rgba(255, 232, 166, 0.75);
}

.sidebar-account-meta strong {
    color: #ffdf6b;
    font-weight: 700;
    word-break: break-all;
    text-align: right;
}

.sidebar-logout-form {
    margin: 0;
}

.sidebar-account-actions {
    padding: 0 10px 10px;
}

.sidebar-account-actions .sidebar-panel-btn,
.sidebar-account-actions .sidebar-logout-btn {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.sidebar-account-actions .sidebar-panel-btn:last-child,
.sidebar-account-actions form:last-child .sidebar-logout-btn {
    margin-bottom: 0;
}

.control-panel-content {
    padding: 20px 10px 10px;
}

.control-panel-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.control-panel-grid .control-panel-button {
    width: calc(50% - 6px);
    margin: 0;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    padding: 14px 10px;
    line-height: 1.3;
}

.control-panel-grid .control-panel-button:hover {
    filter: brightness(115%);
}

.turnstile-widget {
    margin: 10px 0;
}

.turnstile-label {
    margin: 0 0 8px;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
}

.turnstile-widget .cf-turnstile {
    display: inline-block;
}

.register-form .sidebar-turnstile {
    width: 92%;
    margin: 5px 0 8px;
    display: inline-block;
    overflow: hidden;
    container-type: inline-size;
    height: 54px;
}

.register-form .sidebar-turnstile .turnstile-widget {
    margin: 0;
    width: 100%;
    height: 100%;
}

.register-form .sidebar-turnstile .turnstile-widget--sidebar .cf-turnstile {
    display: block;
    width: 300px !important;
    max-width: none;
    transform: scale(calc(100cqw / 300px));
    transform-origin: left top;
}

.register-form .login-links {
    margin: 4px 0 10px;
}

.register-form .login-links p {
    margin: 0 0 4px;
    line-height: 1.35;
}

.register-form .login-links a {
    font-size: 12px;
}

.register-form .login-submit {
    text-align: right;
    margin-bottom: 6px;
}

.register-form .login-submit button {
    min-width: 110px;
}
