:root {
--bg-color: #de8d3d;
--header-bg-color: #4f3715;
--content-text-color: #33230C;
--menu-hover-color: #fc942e;
--text-light: #f0e6d6;

--app-height: 100vh;
}

 body {
            background-color: #000000;
        }

        #content-container {
            display: none;
        }
 
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html,
body {
height: auto !important;
}

html {
background-color: var(--bg-color);
background-image: url('../../assets/images/ns_text_bg.jpg');
}

body {
font-family: 'Open Sans', sans-serif;
}

.site-wrapper {
max-width: 1000px;
margin: 0 auto;
box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
border-left: 3px solid var(--content-text-color);
border-right: 3px solid var(--content-text-color);
height: auto;
display: flex;
flex-direction: column;
min-height: auto;
overflow: hidden;
}

.site-header {
flex-shrink: 0;
background-color: var(--header-bg-color);
z-index: 9999999;
}

.social-icons {
display: flex;
align-items: center;
gap: 10px;
}

.site-header>.social-icons {
height: 56px;
background-color: #de8e39;
justify-content: flex-end;
padding-right: 20px;
flex-wrap: wrap;
}

.social-icons a {
display: inline-flex;
justify-content: center;
align-items: center;
width: 38px;
height: 38px;
color: #FFFFFF;
border-radius: 8px;
transition: all 0.2s ease-in-out;
text-decoration: none;
}

.social-icons a:hover {
transform: translateY(-2px);
filter: brightness(1.15);
}

.social-icons a i {
font-size: 20px;
}

.social-discord {
background-color: #5865F2;
}

.social-telegram {
background-color: #0088cc;
}

.social-facebook {
background-color: #1877F2;
}

.social-x-twitter {
background-color: #000000;
}

.social-threads {
background-color: #000000;
}

.social-instagram {
background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-tiktok {
background-color: #010101;
}

.social-reddit-alien {
background-color: #FF4500;
}

.social-youtube {
background-color: #FF0000;
}


.header-banner img {
width: 100%;
height: auto;
display: block;
}

.main-nav-bar {
background-color: var(--header-bg-color);
border-bottom: 5px solid var(--content-text-color);
position: relative;
z-index: 9999999;
}

.main-nav {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
 
.menu-toggle {
  display: none; 
  position: fixed;
  top: 0;
  z-index: 1001;
  background-color: rgba(80, 80, 80, 0.5);
  backdrop-filter: blur(5px);
  color: #FFFFFF;
  cursor: pointer;
  font-size: 1.5em;
  line-height: 1;
  padding: 8px 14px;
  border: none;
  border-radius: 0 0 0 0;
}
 
body.minimal-view.logged-in #menu-toggle-button,
body.minimal-view.logged-in #fullscreen-toggle-button #render-toggle-button {
  display: inline-flex !important;
}
 
#menu-toggle-button {
  right: 0;
}

#fullscreen-toggle-button {
  right: 106px;  
}

#render-toggle-button {
  right: 55px;  
}
 
.menu-toggle {
  align-items: center;
  justify-content: center;
}
 
.menu-toggle:hover,
.menu-toggle:focus {
  background-color: rgba(100, 100, 100, 0.6);
  outline: none;
}

.main-nav ul {
list-style-type: none;
width: 100%;
display: flex;
flex-direction: row;
justify-content: center;
flex-wrap: wrap; 
gap: 5px;
margin-top: 0; 
}

.minimal-menu-socials {
display: none;
}

.main-nav ul li a {
display: block;
padding: 8px 25px;
font-family: 'Teko', sans-serif;
font-size: 1.5em;
text-transform: uppercase;
text-decoration: none;
transition: all 0.3s ease;
color: var(--text-light);
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
background-color: var(--menu-hover-color);
color: #FFFFFF;
transform: skewX(-25deg);
}

.main-nav ul li a span {
display: inline-block;
transition: transform 0.3s ease;
}

.main-nav ul li a:hover span,
.main-nav ul li a.active span {
transform: skewX(25deg);
}

.close-menu-btn {
display: none !important;
}
 
body.minimal-view {
overflow: hidden;
}

body.minimal-view .site-wrapper {
max-width: none;
margin: 0;
box-shadow: none;
border: none;
height: var(--app-height);
display: flex;
flex-direction: column;
padding-top: env(safe-area-inset-top);
}

body.minimal-view .header-banner,
body.minimal-view .site-footer,
body.minimal-view .site-header>.social-icons {
display: none;
}

body.minimal-view.logged-in .menu-toggle {
display: block;
}

body.minimal-view .main-nav-bar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 999;
background-color: rgba(79, 55, 21, 0.95);
backdrop-filter: blur(10px);
transform: translateY(-100%);
transition: transform 0.3s ease;
border-bottom: 3px solid var(--content-text-color);
}

body.minimal-view .main-nav-bar.nav-open {
transform: translateY(0);
height: var(--app-height);
overflow-y: auto;
padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom) 0;
}

body.minimal-view .main-nav-bar.nav-open .main-nav {
display: flex;
flex-direction: row;
align-items: flex-start;
padding: 7px;
gap: 15px;
}

body.minimal-view .main-nav ul {
display: none;
flex-direction: column;
gap: 5px;
flex: 1;
width: auto;
}

body.minimal-view .main-nav ul.is-open {
display: flex;
}

body.minimal-view .main-nav-bar.nav-open .minimal-menu-socials {
display: flex;
flex-direction: column;
align-items: center;
flex-shrink: 0;
height: auto;
background: none;
padding: 10px 0;
gap: 15px;
width: auto;
}

body.minimal-view .minimal-menu-socials a {
width: 44px;
height: 44px;
}

body.minimal-view .minimal-menu-socials a i {
font-size: 24px;
}

body.minimal-view .main-nav ul li a {
background-color: rgba(0, 0, 0, 0.2);
border-radius: 4px;
color: #FFFFFF;
transform: none;
text-align: center;
}

body.minimal-view .main-nav ul li a span {
transform: none;
}

body.minimal-view .close-menu-btn {
display: block !important;
}

body.minimal-view a.close-menu-btn {
background-color: var(--menu-hover-color) !important;
font-size: 1.8em !important;
padding-top: 15px !important;
}

body.minimal-view .main-content {
display: flex;
justify-content: initial; 
align-items: initial; 
}

body.minimal-view #panels-wrapper {
width: 100%;
height: 100%;
}

body.minimal-view .game-container,
body.minimal-view .store-widget,
body.minimal-view .content-panel { 
position: absolute; 
top: 0;
left: 0;
width: 100%;
height: 100%;
visibility: hidden; 
opacity: 0;
pointer-events: none; 
}

body.minimal-view .game-container.show,
body.minimal-view .store-widget.show,
body.minimal-view .content-panel.show { 
visibility: visible; 
opacity: 1;
pointer-events: auto;
}
 
body.minimal-view .game-container.show {
display: flex;
padding: 0; 
}
 
.iframe-clipper {
position: relative;
width: 100%;
height: 100%;
overflow: hidden; 
}
 
.iframe-clipper .game-iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
 
object-fit: cover;
 
object-position: 50% 0%;
}

body.minimal-view .store-widget.show,
body.minimal-view .content-panel.show {
overflow-y: auto;
}
 
body.minimal-view #auth-content.show {
display: flex;
flex-direction: column;
justify-content: center; 
padding: 10px;
}

body.minimal-view #auth-content #forms-container {
width: 100%;
max-width: 500px; 
margin: 0 auto;
}

body.minimal-view .form-switcher {
margin-bottom: 10px;
}

body.minimal-view .form-switcher-tab {
padding: 10px;
font-size: 1.5em;
}

body.minimal-view .form-card input {
padding: 10px;
}

body.minimal-view .input-with-tooltip-wrapper {
margin-bottom: 10px;
}

body.minimal-view .captcha-wrapper {
margin-bottom: 10px;
}

body.minimal-view .form-card .btn {
font-size: 1.5em;
padding: 10px;
}

body.minimal-view .form-card h2 {
font-size: 1.9em;
margin-bottom: 15px;
}

body.minimal-view .form-link {
margin-top: 10px;
}
 
body.minimal-view .store-iframe {
width: 100%;
height: 100%;
border: none;
}

body.minimal-view .game-iframe {
width: 100%;
height: 125dvh;
border: none;
}

body.minimal-view #checkout-modal-overlay {
height: var(--app-height);
align-items: center;
}

body.minimal-view #checkout-modal {
margin: 20px auto;
max-height: calc(var(--app-height) - 40px);
}

body.minimal-view .modal-overlay#email-verification-modal-overlay,
body.minimal-view .modal-overlay#confirmation-modal-overlay {
height: var(--app-height);
align-items: center;
}

body.minimal-view .modal-overlay#email-verification-modal-overlay .modal-box,
body.minimal-view .modal-overlay#confirmation-modal-overlay .modal-box {
margin: 20px auto;
}


body:not(.logged-in) .menu-toggle {
display: none;
}

body:not(.minimal-view) .logged-out-nav-bar {
padding: 0;
}

body:not(.minimal-view) .logged-out-nav-bar .main-nav {
justify-content: center;
}
 
.main-content {
flex-grow: 1;
position: relative; 
display: flex; 
justify-content: center; 
align-items: center; 
background-color: rgba(79, 55, 21, 0.9);
}

#panels-wrapper {
position: relative;
width: 960px; 
height: 780px; 
}

.game-container,
.store-widget,
.content-panel {
position: absolute;
top: -7.5%;
left: 0;
width: 100%;
height: 107.5%; 
visibility: hidden;
opacity: 0;
pointer-events: none; 
}

.store-widget,
.content-panel {
top: 0;
height: 100%;
}

.content-panel {
padding: 40px 20px;
}

.game-container.show,
.store-widget.show,
.content-panel.show {
visibility: visible;
opacity: 1;
pointer-events: auto;
}

 
.game-container.show {
display: flex;
justify-content: center;
align-items: center;
}

.store-widget.show,
.content-panel.show {
overflow-y: auto;
}


.game-iframe,
.store-iframe {
display: block;
border: none;
}

.game-iframe {
width: 960px;
height: 780px;
}

.store-widget {
width: 100%;
height: 100% !important;
border: 3px solid var(--header-bg-color);
height: 780px;
}

.store-iframe {
width: 100%;
height: 100%;
}

.site-footer {
flex-shrink: 0;
background-color: var(--header-bg-color);
border-top: 5px solid var(--content-text-color);
color: var(--text-light);
padding: 20px 0;
text-align: center;
z-index: 9999999;
}
 
.content-card {
padding: 30px;
background-color: rgba(0, 0, 0, 0.2);
border: 3px solid var(--header-bg-color);
border-radius: 8px;
}

.content-card h1 {
font-family: 'Teko', sans-serif;
font-size: 2.8em;
color: var(--menu-hover-color);
border-bottom: 3px solid rgba(51, 35, 12, 0.5);
padding-bottom: 10px;
margin-bottom: 20px;
text-align: center;
}

.content-card p {
color: var(--text-light);
font-size: 1.1em;
line-height: 1.7;
max-width: 65ch;
margin: 0 auto 30px auto;
text-align: left;
}

.button-wrapper {
text-align: center;
}

.content-card .btn,
.form-card .btn {
display: inline-block;
padding: 12px 40px;
font-family: 'Teko', sans-serif;
font-size: 1.8em;
text-transform: uppercase;
text-decoration: none;
border-radius: 5px;
transition: all 0.3s ease;
cursor: pointer;
border: 3px solid var(--content-text-color);
background-color: var(--menu-hover-color);
color: #FFFFFF;
}

.content-card .btn:hover,
.form-card .btn:hover {
background-color: var(--content-text-color);
color: var(--menu-hover-color);
}
 
.trailer-container {
position: relative;
padding-bottom: 56.25%;
 
height: 0;
overflow: hidden;
max-width: 100%;
background: #000;
border: 3px solid var(--header-bg-color);
border-radius: 8px;
}

.trailer-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.page-title {
font-family: 'Teko', sans-serif;
font-size: 2.8em;
color: var(--menu-hover-color);
border-bottom: 3px solid rgba(51, 35, 12, 0.5);
padding-bottom: 10px;
margin-bottom: 30px;
text-align: center;
}
 
.download-container {
display: flex;
flex-direction: column;
gap: 20px;
}

.download-option {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 30px 20px;
background-color: rgba(0, 0, 0, 0.2);
border: 3px solid var(--header-bg-color);
border-radius: 8px;
text-decoration: none;
transition: all 0.3s ease;
}

.download-option:hover {
transform: translateY(-5px);
background-color: var(--menu-hover-color);
border-color: var(--content-text-color);
}
 
#download-modal {
    display: none;  
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    z-index: 99999999;
}
 
#download-modal .modal-content {
    background: #4f3715;
    color: #FFFFFF;
    padding: 30px 40px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
 
#download-modal .progress-container {
    background: #eee;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 20px;
    height: 20px;
}
 
#download-modal #progress-bar {
    width: 0%;
    height: 100%;
    background: #de8e39;  
    transition: width 0.2s;
}
 
#download-modal #progress-percent {
    margin-top: 10px;
    font-weight: bold;
    font-size: 16px;
}
 
.download-container .download-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 3px solid var(--header-bg-color);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.download-container .download-option:hover {
    transform: translateY(-5px);
    background-color: var(--menu-hover-color);
    border-color: var(--content-text-color);
}
 
#btn-download-android-64 {
    background-color: #3DDC84;
}

#btn-download-android-32 {
    background-color: #a4c439;
}
 
#btn-download-windows {
    background-color: #0078D6;
}
 
#btn-download-android-64:hover {
    background-color: #34c574;
}

#btn-download-android-32:hover {
    background-color: #839f26;
}

#btn-download-windows:hover {
    background-color: #006abc;
}

.download-option i {
font-size: 3.5em;
margin-bottom: 15px;
color: var(--text-light);
transition: color 0.3s ease;
}

.download-option:hover i {
color: #FFFFFF;
}

.download-option h2 {
font-family: 'Teko', sans-serif;
font-size: 2.5em;
color: var(--text-light);
transition: color 0.3s ease;
}

.download-option:hover h2 {
color: #FFFFFF;
}

.download-option p {
font-size: 1.1em;
color: var(--text-light);
font-style: italic;
transition: color 0.3s ease;
}

.download-option:hover p {
color: var(--header-bg-color);
font-weight: 600;
}

@media (min-width: 768px) {
.download-container {
flex-direction: row;
}
}
 
.form-switcher {
display: flex;
border-bottom: 3px solid var(--header-bg-color);
margin-bottom: 20px;
}

.form-switcher-tab {
flex: 1;
padding: 15px;
text-align: center;
font-family: 'Teko', sans-serif;
font-size: 1.8em;
color: var(--text-light);
background-color: rgba(0, 0, 0, 0.2);
cursor: pointer;
transition: background-color 0.3s ease;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}

.form-switcher-tab:not(.is-active-tab) {
background-color: transparent;
color: rgba(240, 230, 214, 0.6);
}

.form-card {
display: none;
}

.form-card.is-active-form {
display: block;
}

.form-card h2 {
font-size: 2.2em;
color: var(--menu-hover-color);
padding-bottom: 10px;
margin-bottom: 20px;
text-align: center;
}

.form-card input {
width: 100%;
padding: 12px;
margin-bottom: 15px;
background-color: var(--text-light);
border: 2px solid var(--content-text-color);
border-radius: 4px;
font-size: 1em;
color: var(--content-text-color);
}

.input-with-tooltip-wrapper input {
margin-bottom: 0;
}

.form-card .btn {
width: 100%;
padding: 12px;
font-size: 1.6em;
}

.form-link {
display: block;
text-align: center;
margin-top: 20px;
color: var(--text-light);
font-size: 0.9em;
cursor: pointer;
}

.form-link:hover {
color: var(--menu-hover-color);
text-decoration: underline;
}

.success-message {
display: none;
text-align: center;
color: var(--menu-hover-color);
font-size: 1.2em;
padding: 20px;
border: 2px solid var(--menu-hover-color);
border-radius: 5px;
}

#reset-password-form-card .success-message,
#token-reset-form-card .success-message {
border: none;
padding: 0;
margin-bottom: 15px;
}
 
.captcha-wrapper {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
margin-bottom: 15px;
flex-wrap: wrap;
}

.captcha-display {
background-color: var(--text-light);
border: 2px solid var(--content-text-color);
border-radius: 4px;
padding: 10px;
user-select: none;
cursor: default;
font-family: 'Teko', sans-serif;
font-size: 1.8em;
letter-spacing: 5px;
min-width: 150px;
text-align: center;
line-height: 1;
 
height: 50px;
 
display: flex;
align-items: center;
justify-content: center;
}

.captcha-display span {
display: inline-block;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.captcha-refresh {
background: none;
border: none;
color: var(--text-light);
font-size: 1.5em;
cursor: pointer;
transition: transform 0.3s;
}

.captcha-refresh:hover {
transform: rotate(90deg);
}
 
.input-with-tooltip-wrapper {
position: relative;
margin-bottom: 15px; 
}

#settings-content .input-with-tooltip-wrapper {
margin-bottom: 0; 
}

#settings-content .input-with-tooltip-wrapper input {
margin-bottom: 15px; 
}

.password-tooltip {
position: absolute;
bottom: calc(100% + 10px); 
left: 50%;
transform: translateX(-50%);
width: 250px;
background-color: var(--header-bg-color);
border: 2px solid var(--content-text-color);
border-radius: 6px;
padding: 10px 15px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
z-index: 10;
opacity: 0;
visibility: hidden;
transition: opacity 0.2s ease, visibility 0s 0.2s;
pointer-events: none;
}
 
.password-tooltip::after {
content: '';
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
border: 8px solid transparent;
border-top-color: var(--content-text-color);
}

.password-tooltip.is-visible {
opacity: 1;
visibility: visible;
transition: opacity 0.2s ease;
pointer-events: auto;
}

.password-requirements {
list-style: none;
padding: 0;
margin: 0;
font-size: 0.9em;
}

.password-requirements li {
color: var(--text-light);
transition: color 0.3s ease;
margin-bottom: 4px;
opacity: 0.7;
}

.password-requirements li.valid {
color: #a5c7a5;
opacity: 1;
}

.password-requirements li::before {
content: "\2716";
margin-right: 8px;
font-family: sans-serif;
color: #e74c3c;
}

.password-requirements li.valid::before {
content: "\2714";
color: #a5c7a5;
}

 
:root {
--store-bg: #a69873;
--item-bg: #ffffff;
--item-hover-bg: #cdcdcd;
--price-red-bright: #e7111b;
--price-red-dark: #6e1717;
--price-bg: #f0c8be;
--discount-stroke: #ff0103;
--discount-fill: #ff8700;
--buy-btn-darkest: #014711;
--off-text-color: #af040c;
--limited-offer-bg: #e7111b;
--limited-offer-border: #625959;
}

#store-content-wrapper {
height: 100%;
display: flex;
flex-direction: column;
box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
border-left: 3px solid var(--content-text-color);
border-right: 3px solid var(--content-text-color);
background-color: var(--store-bg);
}

#store-main-content {
flex: 1;
overflow-y: auto;
min-height: 0;
padding: 20px;
}

#store-main-content::-webkit-scrollbar {
width: 8px;
}

#store-main-content::-webkit-scrollbar-track {
background: transparent;
}

#store-main-content::-webkit-scrollbar-thumb {
background-color: #605841;
border-radius: 6px;
border: 2px solid var(--store-bg);
}

#store-main-content::-webkit-scrollbar-thumb:hover {
background-color: #4a4533;
}

.currency-column {
min-width: 0;
}

.item-container {
position: relative;
margin-bottom: 10px;
}

.item-row {
display: flex;
align-items: center;
background-color: var(--item-bg);
border-radius: 11px;
padding: 2px;
gap: 10px;
min-height: 52px;
max-height: 52px;
transition: background-color 0.2s ease-in-out;
max-width: 100%;
position: relative;
z-index: 1;
}

.item-row:hover {
background-color: var(--item-hover-bg);
}

.item-content-wrapper {
position: relative;
display: flex;
align-items: center;
}

.item-tags {
position: absolute;
top: -12px;
left: 64%;
margin-left: 5px;
display: flex;
align-items: center;
gap: 8px;
z-index: 10;
pointer-events: none;
}

.item-tags.memberships {
left: 102%;
}

.discount-tag-container {
position: absolute;
top: -10px;
right: 179px;
z-index: 10;
pointer-events: none;
transition: opacity 0.2s ease-in-out;
}

.item-price {
width: 120px;
text-align: right;
flex-shrink: 0;
}

.item-container.collision-fix-active .item-price {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 5px;
width: auto;
padding-right: 5px;
}

.item-container.collision-fix-active .discount-tag-container {
position: relative;
top: 0;
right: 0;
flex-shrink: 0;
}

.item-details {
flex: 1;
display: flex;
align-items: center;
min-width: 0;
padding-bottom: 3px;
padding-left: 1.5px;
}

.item-icon {
width: 20px;
height: 20px;
flex-shrink: 0;
vertical-align: middle;
margin-right: 5px;
margin-bottom: 3px;
}

.emblem-icon {
width: 24px;
height: 24px;
object-fit: contain;
flex-shrink: 0;
align-self: center;
margin-top: 2px;
margin-right: 5px;
}

.item-info {
min-width: 0;
flex-shrink: 1;
}

.item-info strong {
font-size: 1.1em;
color: #000;
display: flex;
align-items: center;
white-space: nowrap;
}

.item-info .blue-text {
color: #007bff;
font-weight: bold;
display: flex;
align-items: center;
}

.item-info p {
font-size: 0.8em;
color: black;
font-weight: normal;
line-height: 1.2;
white-space: nowrap;
}

.item-info p .red-text {
color: var(--price-red-bright);
font-weight: normal;
}

.item-name-group {
display: flex;
flex-direction: column;
align-items: flex-start;
width: 130px;
}

.item-name-group p {
padding-left: 25px;
font-size: 11px;
}

.item-name-group strong {
font-size: 1em;
white-space: nowrap;
font-family: sans-serif;
color: #000;
}

.bonus-tag,
.limited-offer-tag {
position: relative;
}

.bonus-tag img,
.limited-offer-tag img {
width: 64px;
height: 64px;
}

.plus-icon {
position: absolute;
width: 24px !important;
height: 24px !important;
top: 65%;
right: 71%;
transform: translateY(-50%);
margin-right: 5px;
}

.discount-tag {
font-family: 'Teko', sans-serif;
font-size: 1.2em;
line-height: 1;
transform: rotate(-24deg);
display: flex;
flex-direction: column;
align-items: center;
width: 64px;
height: 64px;
padding-top: 23px;
}

.discount-tag .percent {
color: #ffe400;
font-weight: 900;
text-shadow: -1px -1px 0 #ff0000, 1px -1px 0 #ff0000, -1px 1px 0 #ff0000, 1px 1px 0 #ff0000, -1px 0 0 #ff0000, 1px 0 0 #ff0000, 0 -1px 0 #ff0000, 0 1px 0 #ff0000, -2px -2px 0 #cc0000, 2px -2px 0 #cc0000, -2px 2px 0 #cc0000, 2px 2px 0 #cc0000, -2px 0 0 #cc0000, 2px 0 0 #cc0000, 0 -2px 0 #cc0000, 0 2px 0 #cc0000, 0 0 3px #ff0000, 0 0 6px #ff3300, 0 0 9px #ff6600;
}

.discount-tag .percent::before {
content: attr(data-text);
position: absolute;
z-index: -1;
color: var(--discount-stroke);
transform: translate(2px, 2px);
}

.discount-tag .off {
font-size: 0.6em;
color: var(--off-text-color);
font-weight: bold;
font-family: sans-serif;
text-transform: lowercase;
}

.price-box {
background-color: var(--price-bg);
border: none;
padding: 0 3px 6px;
border-radius: 3px;
width: 85px;
height: 42px;
margin: 8px 0 8px auto;
display: flex;
flex-direction: column;
font-family: sans-serif;
justify-content: center;
align-items: flex-end;
}

.price-amount {
font-weight: bold;
color: var(--price-red-bright);
font-size: 1em;
line-height: 1;
}

.price-currency {
font-weight: normal;
color: var(--price-red-dark);
font-family: sans-serif;
font-size: 10.5px;
line-height: 1;
padding-top: 4px;
}

.old-price {
text-decoration: line-through;
color: var(--price-red-dark);
font-size: 0.9em;
line-height: 1;
}

.buy-button {
display: block;
border: none;
background: none;
padding: 0;
padding-top: 6px;
transition: filter 0.2s ease;
flex-shrink: 0;
cursor: pointer;
}

.currency-grid {
display: grid;
grid-template-columns: 1fr;
gap: 20px;
}

@media (min-width: 800px) {
.currency-grid {
grid-template-columns: 1fr 1fr;
}
}

.extra-discount-banner {
display: flex;
align-items: center;
justify-content: center;
margin: 15px 0;
color: #6c757d;
}

.extra-discount-banner span {
display: flex;
align-items: center;
padding: 0 15px;
font-weight: bold;
font-size: 1.1em;
user-select: none;
}

.extra-discount-banner .q-mark {
color: white;
background-color: red;
border: 1px solid red;
border-radius: 50%;
width: 5px;
height: 29px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 5px;
font-size: 23px;
font-weight: bold;
cursor: help;
position: relative;
}

.extra-discount-banner .q-mark::after {
content: attr(data-tooltip);
position: absolute;
bottom: 125%;
left: 50%;
transform: translateX(-50%);
background-color: #333;
color: white;
padding: 8px 12px;
border-radius: 4px;
font-size: 12px;
font-weight: normal;
white-space: nowrap;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s, visibility 0.3s;
z-index: 1000;
pointer-events: none;
}

.extra-discount-banner .q-mark::before {
content: '';
position: absolute;
bottom: 110%;
left: 50%;
transform: translateX(-50%);
border: 5px solid transparent;
border-top-color: #333;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s, visibility 0.3s;
z-index: 1000;
pointer-events: none;
}

.extra-discount-banner .q-mark:hover::after,
.extra-discount-banner .q-mark:hover::before {
opacity: 1;
visibility: visible;
}

.extra-discount-banner .extra-text {
color: white;
background-color: red;
border-radius: 5px;
padding: 1px 5px;
font-weight: normal;
user-select: none;
font-family: sans-serif;
}

#checkout-modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
display: none;
align-items: center;
justify-content: center;
z-index: 1000;
font-family: 'Open Sans', sans-serif;
}

#checkout-modal-overlay.show {
display: flex;
}

#checkout-modal {
background-color: #f0f2f5;
border-radius: 3px;
width: 100%;
max-width: 500px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
border: 1px solid #999;
max-height: 90vh;
display: flex;
flex-direction: column;
}

.modal-header {
padding: 10px 16px;
}

.modal-header h2 {
font-size: 16px;
font-weight: 700;
color: #1c1e21;
}

.modal-body {
background-color: #ffffff;
border-top: 1px solid #dddfe2;
border-bottom: 1px solid #dddfe2;
padding: 47px;
overflow-y: auto;
flex: 1;
min-height: 0;
-webkit-overflow-scrolling: touch;
}

.modal-body::-webkit-scrollbar {
width: 6px;
}

.modal-body::-webkit-scrollbar-track {
background: #f0f0f0;
}

.modal-body::-webkit-scrollbar-thumb {
background: #bbb;
border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
background: #999;
}

#modal-balance-info {
display: flex;
align-items: center;
background-color: #4f37154a;
padding: 0 10px 0 0;
border: 1px solid #4f3715;
margin-bottom: 16px;
font-size: 11px;
min-height: 40px;
border-radius: 6px;
overflow: hidden;
}

.info-icon-wrapper {
width: 44px;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
align-self: stretch;
margin-right: 10px;
background-color: #4f3715;
}

#modal-balance-info .info-icon {
background-color: white;
color: #4f3715;
border-radius: 50%;
width: 18px;
height: 18px;
font-size: 19px;
display: inline-flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-family: 'Times New Roman', serif;
font-style: italic;
flex-shrink: 0;
}

.modal-summary-box {
background-color: #faf7fa;
border: 1px solid #d4d1d4;
border-radius: 3px;
padding: 16px;
box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
}

.product-info-main {
display: flex;
align-items: flex-start;
gap: 12px;
margin-bottom: 16px;
}

#modal-product-icon {
width: 36px;
height: 36px;
max-width: 36px;
max-height: 36px;
object-fit: contain;
flex-shrink: 0;
}

.product-details {
flex-grow: 1;
}

#modal-product-name {
font-size: 15px;
font-weight: 700;
color: #1c1e21;
}

.product-details small {
display: block;
font-size: 13px;
color: #606770;
margin-top: 2px;
}

.price-info {
font-size: 13px;
color: #606770;
}

.terms-link {
font-size: 13px;
color: #385898;
text-decoration: none;
margin-left: 5px;
}

.terms-link:hover {
text-decoration: underline;
}

.modal-separator {
border: none;
border-top: 1px solid #c5c3c6;
margin: 16px 0;
}

.summary-line {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 13px;
color: #1c1e21;
}

.summary-line:not(.total-due) {
margin-bottom: 10px;
}

.summary-line .summary-left {
color: #606770;
}

.summary-line .summary-right {
text-align: right;
}

#modal-summary-price {
color: #606770;
}

#modal-summary-balance .summary-right {
color: #606770;
}

.total-due {
display: flex;
justify-content: space-between;
font-size: 13px;
font-weight: 700;
color: #1c1e21;
}

.modal-footer {
display: flex;
justify-content: flex-end;
gap: 10px;
padding: 12px 16px;
}

.modal-footer button {
border-radius: 2px;
font-size: 13px;
font-weight: 700;
padding: 0 16px;
height: 28px;
border: 1px solid #999;
cursor: pointer;
transition: filter 0.2s ease-out, opacity 0.2s ease-out;
}

.modal-cancel-btn {
background-color: #f0f2f5;
color: #4b4f56;
}

.modal-cancel-btn:hover {
background-color: #e4e6eb;
}

.modal-buy-btn {
background-color: #33230c;
background-image: linear-gradient(to top, #33230c, #4f3715);
color: white;
border-color: #221a08;
}

.modal-buy-btn:hover {
filter: brightness(115%);
}

.modal-buy-btn.btn-processing {
filter: grayscale(1) opacity(0.7);
}

#payment-selection {
display: none;
flex-direction: column;
gap: 8px;
align-items: center;
}

.payment-method-btn {
background: none;
border: none;
padding: 0;
cursor: pointer;
width: 100%;
max-width: 250px;
}

.crypto-payment-img {
width: 200px;
height: 35px;
}

#paypal-button-container .spinner {
margin: 20px auto;
border: 4px solid rgba(0, 0, 0, 0.1);
width: 36px;
height: 36px;
border-radius: 50%;
border-left-color: #0070ba;
animation: spin 1s ease infinite;
}

@keyframes spin {
0% {
transform: rotate(0deg);
}

100% {
transform: rotate(360deg);
}
}

.reseller-pay-btn {
    background-color: #33230c;
    background-image: linear-gradient(to top, #33230c, #4f3715);
    color: white;
    border: 1px solid #221a08;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    width: 200px;
    max-width: 200px;
    margin-top: 4px;
}

.reseller-pay-btn:hover {
    filter: brightness(115%);
}

.xsolla-payment-btn {
    background-color: #1a1a2e;
    background-image: linear-gradient(to top, #1a1a2e, #16213e);
    color: #e94560;
    border: 1px solid #e94560;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    width: 200px;
    max-width: 200px;
    margin-bottom: 12px;
    transition: background-color 0.2s, filter 0.2s;
}

.xsolla-payment-btn:hover {
    background-color: #e94560;
    color: #fff;
}

.xsolla-payment-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.balance-payment-btn {
    background-color: #1b5e20;
    background-image: linear-gradient(to top, #1b5e20, #2e7d32);
    color: #fff;
    border: 1px solid #43a047;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    width: 200px;
    transition: background-color 0.2s;
}

.balance-payment-btn:hover {
    background-color: #43a047;
}

.balance-payment-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.method-bonus-icon {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 48px;
    height: 48px;
    pointer-events: auto;
    cursor: pointer;
    z-index: 999999;
}

.method-bonus-icon::after {
    content: attr(data-bonus-title);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: normal;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 1000000;
    pointer-events: none;
}

.method-bonus-icon::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 1000000;
    pointer-events: none;
}

.method-bonus-icon.tooltip-visible::after,
.method-bonus-icon.tooltip-visible::before,
.method-bonus-icon:hover::after,
.method-bonus-icon:hover::before {
    opacity: 1;
    visibility: visible;
}

.method-bonus-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

.method-bonus-plus {
    position: absolute;
    top: 19px;
    left: -6px;
    width: 14px;
    height: 14px;
    object-fit: contain;
    z-index: 999999;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.processor-btn-badges {
    position: absolute;
    top: -32px;
    right: -14px;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 999999;
    overflow: visible;
}
.processor-btn-badges .method-bonus-icon {
    pointer-events: auto;
    overflow: visible;
}
.xsolla-payment-btn,
.balance-payment-btn,
.reseller-pay-btn {
    overflow: visible !important;
}

.processor-side-tooltip {
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: normal;
    white-space: nowrap;
    z-index: 1000000;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.processor-side-tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: #333;
}
.processor-badges-paypal {
    top: -16px;
}
.processor-badges-xsolla {
    top: -32px;
}
.processor-badges-reseller {
    top: -15px;
}

.processor-btn-badges .method-bonus-icon {
    position: relative;
    top: auto;
    right: auto;
    margin-left: -6px;
}

.processor-btn-badges .processor-discount-tag {
    position: static;
}

.reseller-directory-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.reseller-directory-header > * {
    margin-right: 10px;
}

.reseller-directory-header > *:last-child {
    margin-right: 0;
}

.reseller-back-btn {
    background: none;
    border: 1px solid #ccc;
    color: #1c1e21;
    cursor: pointer;
    font-size: 0.9em;
    padding: 4px 10px;
    border-radius: 4px;
    background-color: #f0f2f5;
}

.reseller-back-btn:hover {
    background-color: #e4e6e9;
}

.reseller-directory-title {
    color: #1c1e21;
    font-weight: 600;
    font-size: 0.95em;
}

.reseller-country-select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #ffffff;
    color: #1c1e21;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.reseller-list {
    display: flex;
    flex-direction: column;
    max-height: 300px;
    overflow-y: auto;
}

.reseller-card {
    margin-bottom: 8px;
}

.reseller-card:last-child {
    margin-bottom: 0;
}

.reseller-card {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #f0f2f5;
    border-radius: 6px;
    border: 1px solid #dddfe2;
}

.reseller-card:hover {
    background-color: #e4e6e9;
}

.reseller-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #dddfe2;
    flex-shrink: 0;
    margin-right: 12px;
}

.reseller-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.reseller-discord {
    color: #5865F2;
    font-weight: 800;
    font-size: 0.95em;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.reseller-discord-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    flex-shrink: 0;
}

.reseller-discord-icon path {
    fill: #5865F2;
}

.reseller-copy-btn {
    background-color: #5865F2;
    border: none;
    cursor: pointer;
    padding: 3px 5px;
    margin-left: 6px;
    border-radius: 3px;
    display: flex;
    align-items: center;
}

.reseller-copy-btn:hover {
    filter: brightness(115%);
}

.reseller-copy-btn svg {
    stroke: #ffffff;
}

.reseller-copy-btn.copied {
    background-color: #38B000;
}

.reseller-methods {
    display: flex;
    flex-wrap: wrap;
}

.reseller-payment-method {
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.78em;
    margin-right: 4px;
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.reseller-method-country {
    background: rgba(255, 255, 255, 0.25);
    padding: 0 4px;
    border-radius: 2px;
    font-size: 0.85em;
    font-weight: 600;
}

.reseller-empty {
    color: #65676b;
    text-align: center;
    padding: 20px;
}

.settings-panel,
.support-panel {
max-width: 700px;
margin: 0 auto;
background-color: rgba(0, 0, 0, 0.2);
border: 3px solid var(--header-bg-color);
border-radius: 8px;
padding: 25px;
}

.settings-panel h1,
.support-panel h2 {
font-size: 2.8em;
color: var(--menu-hover-color);
text-align: center;
}
 
.support-panel-header,
.settings-panel>h1 {
border-bottom: 3px solid rgba(51, 35, 12, 0.5);
padding-bottom: 10px;
margin-bottom: 30px;
}
 
.support-panel-header {
display: flex;
justify-content: space-between;
align-items: center;
}

.support-panel-header h2 {
margin-bottom: 0; 
border-bottom: none; 
padding-bottom: 0; 
text-align: left;
font-size: 2.2em;
}

.form-group {
margin-bottom: 25px;
}

.form-group h3 {
font-size: 1.8em;
color: var(--text-light);
margin-bottom: 15px;
}

.form-group label {
display: block;
color: var(--text-light);
margin-bottom: 5px;
font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
width: 100%;
padding: 12px;
background-color: var(--text-light);
border: 2px solid var(--content-text-color);
border-radius: 4px;
font-size: 1em;
color: var(--content-text-color);
}

.form-group select {
margin-bottom: 15px;
}

.form-group input:disabled {
background-color: #a59783;
cursor: not-allowed;
color: #5c5345;
}

.settings-panel .form-group:last-of-type {
margin-top: 20px;
margin-bottom: 0;
}

.settings-panel .save-button {
margin-top: 15px;
}

.save-button,
.submit-button,
.action-button {
width: auto;
display: inline-block;
text-align: center;
padding: 8px 25px;
font-family: 'Teko', sans-serif;
font-size: 1.4em;
text-transform: uppercase;
text-decoration: none;
border-radius: 5px;
transition: all 0.3s ease;
cursor: pointer;
border: 3px solid var(--content-text-color);
background-color: var(--menu-hover-color);
color: #FFFFFF;
}

.save-button,
.submit-button {
width: 100%;
margin-top: 20px;
font-size: 1.8em;
padding: 12px;
}


.save-button:hover,
.submit-button:hover,
.action-button:hover {
background-color: var(--content-text-color);
color: var(--menu-hover-color);
}

button.processing {
opacity: 0.7;
cursor: wait !important;
}

 
#ticket-form-view,
#ticket-detail-view {
display: none;
}

.ticket-list-container {
list-style: none;
padding: 0;
margin: 0;
}

.ticket-item {
background-color: rgba(0, 0, 0, 0.15);
padding: 15px 20px;
border-radius: 5px;
margin-bottom: 10px;
border-left: 5px solid var(--menu-hover-color);
cursor: pointer;
transition: background-color 0.2s ease-in-out;
}

.ticket-item:hover {
background-color: rgba(0, 0, 0, 0.25);
}

.ticket-item:last-child {
margin-bottom: 0;
}

.ticket-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 5px;
flex-wrap: wrap;
gap: 10px;
}

.ticket-subject {
font-size: 1.2em;
font-weight: 700;
color: var(--text-light);
}

.ticket-status {
font-size: 0.9em;
font-weight: bold;
padding: 3px 8px;
border-radius: 12px;
color: white;
text-transform: capitalize;
}

.ticket-status.open {
background-color: #28a745;
}

.ticket-status.answered {
background-color: #ffc107;
color: #212529;
}

.ticket-status.closed {
background-color: #6c757d;
}

.ticket-meta {
font-size: 0.9em;
color: rgba(240, 230, 214, 0.8);
}

.support-panel textarea {
resize: vertical;
min-height: 120px;
font-family: 'Open Sans', sans-serif;
}

.support-panel .form-group input,
.support-panel .form-group select,
.support-panel .form-group textarea {
margin-bottom: 15px;
}

.support-panel .submit-button {
margin-top: 10px;
}

#ticket-messages-container {
background-color: rgba(0, 0, 0, 0.1);
border-radius: 5px;
padding: 15px;
margin-bottom: 20px;
max-height: 400px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 15px;
}

.message-item {
max-width: 50%;
width: 50%;
padding: 10px 15px;
border-radius: 12px;
line-height: 1.5;
word-wrap: break-word;
}

.message-item .message-meta {
font-size: 0.8em;
font-weight: 600;
margin-bottom: 5px;
display: block;
}

.message-item .message-text {
font-size: 0.95em;
}

.message-item .message-date {
color: #FFFFFF;
font-size: 0.75em;
text-align: right;
margin-top: 8px;
display: block;
}

.user-message {
background-color: #fc942e;
color: #FFFFFF;
align-self: flex-end;
border-bottom-right-radius: 2px;
}

.staff-message {
background-color: #33230c;
color: #FFFFFF;
align-self: flex-start;
border-bottom-left-radius: 2px;
}

#ticket-reply-form .form-group {
margin-bottom: 15px;
}

#ticket-reply-form textarea:disabled {
background-color: #a59783;
cursor: not-allowed;
color: #5c5345;
}

#ticket-reply-form .submit-button:disabled {
opacity: 0.6;
cursor: not-allowed;
}
 
:root {
--red-badge-color: #f44336;
}

.friends-panel {
margin: 0 auto;
max-width: 800px;
background-color: rgba(0, 0, 0, 0.2);
border: 3px solid var(--header-bg-color);
border-radius: 8px;
padding: 25px;
}

.friends-panel .panel-header {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 3px solid rgba(51, 35, 12, 0.5);
padding-bottom: 10px;
margin-bottom: 20px;
flex-wrap: wrap;
gap: 10px;
}

.friends-panel .panel-header h2 {
font-size: 2.2em;
color: var(--menu-hover-color);
border-bottom: none;
padding-bottom: 0;
margin-bottom: 0;
text-align: left;
flex-shrink: 0;
}

.panel-actions {
display: flex;
gap: 10px;
margin-left: auto;
}

.panel-action-btn {
display: inline-flex;
align-items: center;
gap: 8px;
background-color: var(--menu-hover-color);
color: white;
border: 2px solid var(--content-text-color);
padding: 5px 15px;
border-radius: 4px;
font-family: 'Teko', sans-serif;
font-size: 1.2em;
cursor: pointer;
transition: all 0.3s ease;
white-space: nowrap;
}

.panel-action-btn:hover {
background-color: var(--content-text-color);
color: var(--menu-hover-color);
}

.badge {
background-color: var(--red-badge-color);
color: white;
border-radius: 10px;
padding: 1px 8px;
font-size: 0.9em;
font-weight: bold;
margin-left: 4px;
}

.toggle-container {
display: none;
padding: 20px;
margin-bottom: 20px;
background-color: rgba(0, 0, 0, 0.15);
border-radius: 5px;
border: 1px solid var(--header-bg-color);
}

#pending-requests-container {
background-color: rgb(173 144 144 / 15%);
}

.toggle-container.is-visible {
display: block;
}

.friend-list {
list-style: none;
display: flex;
flex-direction: column;
gap: 15px;
}

.friend-item {
background-color: rgba(0, 0, 0, 0.2);
border-radius: 5px;
padding: 15px;
display: flex;
align-items: center;
gap: 15px;
flex-wrap: wrap;
transition: opacity 0.3s ease, transform 0.3s ease;
}

.friend-item.removing {
transform: scale(0.95);
opacity: 0;
}

.friend-avatar img {
width: 60px;
height: 60px;
border-radius: 8px;
border: 2px solid var(--text-light);
object-fit: cover;
}

.friend-info {
flex: 1;
min-width: 150px;
}

.friend-name {
font-size: 1.2em;
font-weight: 700;
color: var(--text-light);
}

.friend-status {
font-size: 0.9em;
color: #a5c7a5;
}

.friend-status.offline {
color: #c7a5a5;
}

.friend-actions {
display: flex;
gap: 10px;
}

.friend-actions .btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
font-size: 0.9em;
border: none;
border-radius: 4px;
cursor: pointer;
transition: opacity 0.3s;
text-decoration: none;
color: white;
font-weight: 600;
}

.friend-actions .btn:hover {
opacity: 0.8;
}

.btn.accept {
background-color: #4CAF50;
}

.btn.request {
background-color: #385898;
}

.btn.decline,
.btn.remove {
background-color: #f44336;
}

.pagination {
display: flex;
justify-content: center;
align-items: center;
gap: 6px;
margin-top: 25px;
flex-wrap: wrap;
max-width: 100%;
overflow: hidden;
}

.pagination a {
color: var(--text-light);
background-color: rgba(0, 0, 0, 0.2);
padding: 8px 14px;
text-decoration: none;
border-radius: 4px;
transition: background-color 0.3s;
border: 1px solid var(--header-bg-color);
font-family: 'Teko', sans-serif;
font-size: 1.2em;
}

.pagination a:hover {
background-color: var(--header-bg-color);
}

.pagination a.active {
background-color: var(--menu-hover-color);
color: white;
border-color: var(--content-text-color);
font-weight: bold;
}

.pagination a.disabled {
opacity: 0.5;
cursor: not-allowed;
pointer-events: none;
}

.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.75);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999999999;
padding: 20px;
visibility: hidden;
opacity: 0;
transition: visibility 0s 0.3s, opacity 0.3s ease;
}

.modal-overlay.is-visible {
visibility: visible;
opacity: 1;
transition: opacity 0.3s ease;
}

.modal-box {
background-color: var(--header-bg-color);
padding: 25px 30px;
border-radius: 8px;
border: 4px solid var(--menu-hover-color);
max-width: 480px;
width: 100%;
text-align: center;
color: var(--text-light);
box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
transform: scale(0.9);
transition: transform 0.3s ease;
}

.modal-overlay.is-visible .modal-box {
transform: scale(1);
}

[data-co] {
align-items: center;
justify-content: center;
}

[data-co] .modal-box {
all: unset;
display: block;
position: relative;
width: 566px;
height: 448px;
background: url('../images/captcha/background.png') no-repeat 0 0;
background-size: 566px 448px;
text-align: center;
box-sizing: border-box;
transform: scale(0.9);
transition: transform 0.3s ease;
}

[data-cc] {
position: absolute;
top: 65px;
left: 28px;
right: 28px;
bottom: 73px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-sizing: border-box;
overflow: visible;
user-select: none;
-webkit-user-select: none;
-webkit-user-drag: none;
}

#hcaptcha-container {
display: flex;
justify-content: center;
}

#hcaptcha-container iframe {
max-width: 100% !important;
}
 
.modal-title {
font-family: 'Teko', sans-serif;
font-size: 2.2em;
color: var(--menu-hover-color);
margin-bottom: 12px;
}

.modal-message {
font-size: 1.05em;
line-height: 1.6;
margin-bottom: 20px;
}

#email-verification-modal-overlay .modal-box input {
width: 100%;
max-width: 280px;
margin: 0 auto 20px auto;
text-align: center;
font-size: 1.4em;
letter-spacing: 5px;
padding: 10px;
}

.modal-message strong {
color: #fff;
}

.modal-actions {
display: flex;
justify-content: center;
gap: 15px;
}

.modal-btn {
font-family: 'Teko', sans-serif;
font-size: 1.4em;
padding: 8px 25px;
border: 2px solid var(--content-text-color);
border-radius: 5px;
cursor: pointer;
transition: all 0.3s ease;
color: #FFFFFF;
}

.modal-btn.confirm {
background-color: var(--red-badge-color);
}

.modal-btn.confirm:hover {
background-color: #c21a0e;
}

.modal-btn.cancel {
background-color: #6c757d;
}

.modal-btn.cancel:hover {
background-color: #5a6268;
}
 
body.minimal-view .modal-overlay#email-verification-modal-overlay,
body.minimal-view .modal-overlay#confirmation-modal-overlay {
height: var(--app-height);
align-items: center; 
}

body.minimal-view .modal-overlay#email-verification-modal-overlay .modal-box,
body.minimal-view .modal-overlay#confirmation-modal-overlay .modal-box {
margin: 20px auto; 
}

body.minimal-view .content-panel {
padding: 5px 5px;
}
 
#notification-container {
position: fixed;
top: 20px;
right: 20px;
z-index: 9999999999999;
display: flex;
flex-direction: column;
gap: 10px;
pointer-events: none;
}

.notification {
background-color: #333;
color: white;
padding: 12px 20px;
border-radius: 5px;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
font-size: 0.95em;
min-width: 250px;
max-width: 350px;
animation: fadeIn 0.3s ease-out forwards;
pointer-events: auto;
}

.notification.fade-out {
animation: fadeOut 0.5s ease-in forwards;
}

.notification.success {
background-color: #28a745;
border-left: 5px solid #218838;
}

.notification.error {
background-color: #dc3545;
border-left: 5px solid #c82333;
}

.notification.info {
background-color: #17a2b8;
border-left: 5px solid #138496;
}

@keyframes fadeIn {
from {
opacity: 0;
transform: translateX(100%);
}

to {
opacity: 1;
transform: translateX(0);
}
}

@keyframes fadeOut {
from {
opacity: 1;
transform: translateX(0);
}

to {
opacity: 0;
transform: translateX(100%);
}
}

#paypal-button-container {
max-height: 100vh;
overflow-y: auto;
}
 
#bonus-package-selection {
    margin-top: 16px;
    padding: 12px 14px;
    background-color: #f7f0e8;
    border: 1px solid #d4c5b0;
    border-radius: 4px;
}

.package-selection-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4f3715;
    margin-bottom: 8px;
}

.bonus-package-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bonus-package-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border: 2px solid #d4c5b0;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    flex: 1;
    min-width: 100px;
}

.bonus-package-card:hover {
    border-color: #b08d57;
}

.bonus-package-card.selected {
    border-color: #de8d3d;
    box-shadow: 0 0 0 2px rgba(222, 141, 61, 0.3);
    background: #fef8f0;
}

.bonus-package-card .bonus-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.bonus-package-card img {
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

.bonus-package-card span {
    font-size: 11px;
    color: #4f3715;
    text-align: center;
    text-transform: capitalize;
}

.bonus-cycle {
    position: relative;
    display: inline-block;
}

.bonus-cycle-img {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
}

.bonus-cycle-img.active {
    opacity: 1;
    position: relative;
}

.reseller-target-section {
    margin-top: 16px;
    padding: 12px 14px;
    background-color: #f7f0e8;
    border: 1px solid #d4c5b0;
    border-radius: 4px;
}

.reseller-target-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4f3715;
    margin-bottom: 8px;
}
 
#reseller-mode-btn {
    padding: 4px 14px;
    font-family: 'Teko', sans-serif;
    font-size: 1.15em;
    color: #fff;
    background-color: #6b5d45;
    border: 1px solid #4f3715;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#reseller-mode-btn:hover {
    background-color: #4f3715;
}

#reseller-mode-btn.active {
    background-color: #c0392b;
    border-color: #962d22;
}

#reseller-mode-btn.active:hover {
    background-color: #962d22;
}

#reseller-username-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #999;
    border-radius: 3px;
    font-size: 13px;
    color: #1c1e21;
    background-color: #ffffff;
    box-sizing: border-box;
}

#reseller-username-input:focus {
    outline: none;
    border-color: #4f3715;
    box-shadow: 0 0 0 2px rgba(79, 55, 21, 0.2);
}

.reseller-buyer-method-select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #999;
    border-radius: 3px;
    font-size: 13px;
    color: #1c1e21;
    background-color: #ffffff;
    box-sizing: border-box;
}

.reseller-buyer-method-select:focus {
    outline: none;
    border-color: #4f3715;
    box-shadow: 0 0 0 2px rgba(79, 55, 21, 0.2);
}

.reseller-pin-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #999;
    border-radius: 3px;
    font-size: 13px;
    color: #1c1e21;
    background-color: #ffffff;
    box-sizing: border-box;
    letter-spacing: 3px;
    font-weight: bold;
}

.reseller-pin-input:focus {
    outline: none;
    border-color: #4f3715;
    box-shadow: 0 0 0 2px rgba(79, 55, 21, 0.2);
}

.reseller-pin-display {
    background: rgba(79, 55, 21, 0.15);
    border: 1px solid rgba(79, 55, 21, 0.3);
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 12px;
    text-align: center;
}

.pin-display-label {
    font-size: 12px;
    color: #555;
    margin: 0 0 8px 0;
}

.pin-display-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.pin-display-field {
    font-size: 14px;
    color: #1c1e21;
    margin: 0 12px;
}

.pin-display-field strong {
    color: #4f3715;
    letter-spacing: 1px;
}

.pin-display-note {
    font-size: 11px;
    color: #888;
    margin: 8px 0 0 0;
    font-style: italic;
}

.copy-pin-btn {
    margin-top: 10px;
    padding: 5px 20px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background-color: #4f3715;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.copy-pin-btn:hover {
    background-color: #6b4d20;
}
 
#store-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 8px 12px;
    background-color: #8a7a5e;
    border-bottom: 1px solid #6b5d45;
    flex-shrink: 0;
    gap: 8px;
}

.reseller-balance-badge {
    display: flex;
    align-items: center;
    padding: 4px 14px;
    background-color: #2e7d32;
    cursor: pointer;
    border: 1px solid #1b5e20;
    border-radius: 4px;
    gap: 5px;
}

.reseller-balance-amount {
    font-family: 'Teko', sans-serif;
    font-size: 1.15em;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    display: flex;
    align-items: center;
    margin-top: 2px;
}

.reseller-balance-icon {
    font-weight: 800;
    margin-right: 1px;
}



#reseller-history-btn,
#reseller-unban-btn {
    padding: 4px 14px;
    font-family: 'Teko', sans-serif;
    font-size: 1.15em;
    color: #fff;
    background-color: #4f3715;
    border: 1px solid #33230c;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#reseller-history-btn:hover,
#reseller-unban-btn:hover {
    background-color: #33230c;
}
 
.reseller-history-modal {
    max-width: 800px;
    text-align: left;
}

.reseller-search-bar {
    margin-bottom: 15px;
}

#reseller-search-input {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid var(--content-text-color);
    border-radius: 4px;
    font-size: 0.95em;
    background-color: var(--text-light);
    color: var(--content-text-color);
    box-sizing: border-box;
}

#reseller-search-input:focus {
    outline: none;
    border-color: var(--menu-hover-color);
}

.reseller-date-range {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.reseller-date-range label {
    font-size: 0.85em;
    color: var(--text-light);
    margin-right: 6px;
    flex-shrink: 0;
}

.reseller-date-range input[type="date"] {
    padding: 8px 10px;
    border: 2px solid var(--content-text-color);
    border-radius: 4px;
    font-size: 0.95em;
    background-color: var(--text-light);
    color: var(--content-text-color);
    margin-right: 12px;
}

.reseller-date-range input[type="date"]:focus {
    outline: none;
    border-color: var(--menu-hover-color);
}

.reseller-history-totals {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 12px;
    font-size: 0.9em;
    color: var(--text-light);
}

.reseller-history-totals span {
    margin-right: 20px;
}

.reseller-history-totals strong {
    color: var(--menu-hover-color);
}

.reseller-history-table {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
}

.reseller-history-header {
    display: flex;
    background: #33230c;
    color: var(--text-light);
    font-weight: bold;
    font-size: 0.9em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    align-items: stretch;
}

.reseller-history-header .rh-col {
    border-right-color: rgba(255, 255, 255, 0.2);
    align-items: center;
}

.reseller-history-row {
    display: flex;
    border-bottom: 1px solid rgba(51, 35, 12, 0.5);
    color: var(--text-light);
    font-size: 0.9em;
}

.reseller-history-row:last-child {
    border-bottom: none;
}

.reseller-history-row:nth-child(odd) {
    background: rgba(0, 0, 0, 0.2);
}

.reseller-history-row:nth-child(even) {
    background: rgba(0, 0, 0, 0.1);
}

.rh-col {
    padding: 10px 5px;
    display: flex;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.rh-col:last-child {
    border-right: none;
}

.rh-col-date {
    width: 140px;
    flex-shrink: 0;
    white-space: nowrap;
}

.rh-col-player {
    width: 100px;
    flex-shrink: 0;
    color: var(--menu-hover-color);
    font-weight: 600;
}

.rh-col-product {
    flex: 0.95;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rh-col-method {
    width: 107px;
    flex-shrink: 0;
    white-space: nowrap;
}

.rh-col-source {
    width: 65px;
    flex-shrink: 0;
    white-space: nowrap;
}

.rh-col-txn {
    width: 130px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reseller-history-row .rh-col-txn {
    opacity: 0.8;
}

.rh-col-amount {
    width: 65px;
    flex-shrink: 0;
    font-weight: bold;
    justify-content: flex-end;
}

.reseller-history-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    padding: 30px;
}

#reseller-history-pagination {
    margin-top: 10px;
    margin-bottom: 15px;
}

.referral-panel {
max-width: 700px;
margin: 0 auto;
background-color: rgba(0, 0, 0, 0.2);
border: 3px solid var(--header-bg-color);
border-radius: 8px;
padding: 25px;
color: var(--text-light);
}

.referral-panel h1 {
font-size: 2.8em;
color: var(--menu-hover-color);
text-align: center;
border-bottom: 3px solid rgba(51, 35, 12, 0.5);
padding-bottom: 10px;
margin-bottom: 30px;
}

.referral-info-box p {
font-size: 1.1em;
text-align: center;
margin-bottom: 20px;
line-height: 1.6;
}

.referral-link-wrapper {
display: flex;
gap: 10px;
margin-bottom: 30px;
}

#referral-link-input {
flex-grow: 1;
padding: 12px;
background-color: var(--text-light);
border: 2px solid var(--content-text-color);
border-radius: 4px;
font-size: 1em;
color: var(--content-text-color);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.referral-link-wrapper .action-button {
flex-shrink: 0;
}

.referral-stats {
text-align: center;
background-color: rgba(0, 0, 0, 0.15);
padding: 20px;
border-radius: 5px;
border: 1px solid var(--header-bg-color);
}

.referral-stats h3 {
font-family: 'Teko', sans-serif;
font-size: 2em;
color: var(--menu-hover-color);
margin-bottom: 10px;
}

.referral-stats p {
font-size: 1.2em;
}

.referral-stats strong {
font-size: 1.5em;
color: #fff;
}

.referral-share {
margin-top: 25px;
text-align: center;
}

.share-button-mobile {
display: none; 
}

.spinner-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    width: 100%;
}
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #FC942E;  
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
 
#reward-notification-content.show {
  overflow-y: unset;
}

.reward-panel { 
    max-width: 960px;
    max-height: 550px;
    min-width: 960px;
    min-height: 550px;
    margin: -20px;
    box-sizing: border-box;
    
    background-image: url('../../assets/images/reward-panel-bg.svg');
    background-color: #d8aa7f;  
    display: flex;
    flex-direction: column;
    align-items: center; 
    padding: 170px 40px 56px 40px; 
    justify-content: space-between; 
}
 
.reward-text-box {
    width: 100%;
    max-width: 580px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 15px 20px;
    text-align: center;
}

.reward-text-box p {
    margin: 0;
    padding: 0;
    color: #000000;
    font-size: 1em;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
}
 
.reward-panel .reward-item-image {
    width: 226px;
    height: 167px;
}

.reward-play-button {
 
    position: relative;
    display: inline-flex;  
    justify-content: center;
    align-items: center;
    width: 280px;
    height: 46px;
    margin-top: 10px;
    text-decoration: none;
     
    color: #ffffff;
    font-family: 'Teko', sans-serif;
    font-weight: 500;
    font-size: 1.9em;
    letter-spacing: 1px;
    text-transform: uppercase;
 
    text-shadow: 
        -2px -2px 0 #1a1a1a,  
         2px -2px 0 #1a1a1a,
        -2px  2px 0 #1a1a1a,
         2px  2px 0 #1a1a1a,
        -2px  0   0 #1a1a1a,
         2px  0   0 #1a1a1a,
         0   -2px 0 #1a1a1a,
         0    2px 0 #1a1a1a;

    transition: transform 0.2s ease, background 0.2s;
}

.reward-play-button:hover {
    transform: scale(1.05);  
}
 
.reward-panel .reward-item-image {
    width: 226px;
    height: 167px;
    padding-top: 15px;
}

.share-link-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    padding: 0 20px;
}

.share-link-wrapper input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    background: #f5f5f5;
    color: #333;
    font-family: inherit;
}

.share-link-wrapper input:focus {
    outline: none;
    border-color: #fc942e;
}

.share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.share-buttons .btn {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    background: #fc942e;
    color: white;
    font-size: 14px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.share-buttons .btn:hover {
    transform: scale(1.05);
    background: #e5832a;
}

.share-buttons .btn:active {
    transform: scale(0.98);
}

.share-buttons .btn i {
    font-size: 16px;
}

.share-button-mobile {
    display: none;
}
 
.share-link-container-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 600px;
    margin: 10px auto;
    padding: 0 20px;
}

.share-link-container-wrapper input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    background: #f5f5f5;
    color: #333;
    font-family: inherit;
}

.share-link-container-wrapper input:focus {
    outline: none;
    border-color: #fc942e;
}

.share-link-container-wrapper .share-buttons {
    margin-top: 0;
    flex-shrink: 0;
}

.share-link-container-wrapper .btn {
    min-width: auto;
    white-space: nowrap;
}
  
@media (max-width: 768px) {
    .share-button-mobile {
        display: flex;
    }
    
    .share-link-wrapper {
        padding: 0 15px;
    }
    
    .share-link-container-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .share-link-container-wrapper .share-buttons {
        margin-top: 15px;
        width: 100%;
    }
    
    .share-buttons .btn {
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .share-buttons {
        flex-direction: column;
    }
    
    .share-buttons .btn {
        max-width: 100%;
        width: 100%;
    }
}
 
@media (max-width: 768px) {
body.share-api-supported .share-button-mobile {
display: inline-block;
width: 100%;
font-size: 1.8em;
padding: 12px;
}
}
 
.clans-panel {
    margin: 0 auto 30px;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 3px solid var(--header-bg-color);
    border-radius: 8px;
    padding: 25px;
}

.clans-panel h1 {
    font-size: 2.8em;
    color: var(--menu-hover-color);
    text-align: center;
    border-bottom: 3px solid rgba(51, 35, 12, 0.5);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.clan-season-info {
    text-align: center;
    margin-bottom: 20px;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    color: var(--text-light);
}

#clan-season-name {
    font-weight: bold;
    font-size: 1.3em;
    display: block;
    color: var(--menu-hover-color);
}
 
.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.countdown-card {
    background: linear-gradient(180deg, rgba(51, 35, 12, 0.9) 0%, rgba(30, 20, 8, 0.95) 100%);
    border: 1px solid rgba(255, 200, 100, 0.3);
    border-radius: 8px;
    padding: 12px 10px 8px;
    min-width: 58px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.countdown-value {
    display: block;
    font-size: 1.8em;
    font-weight: bold;
    color: var(--menu-hover-color);
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 0.7em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.countdown-separator {
    font-size: 1.6em;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.4);
    margin-top: -8px;
}

.countdown-ended {
    display: block;
    font-size: 1.1em;
    color: #ff6b6b;
    margin-top: 15px;
    font-weight: bold;
}

@media (max-width: 480px) {
    .countdown-timer {
        gap: 4px;
    }
    .countdown-card {
        min-width: 48px;
        padding: 10px 6px 6px;
    }
    .countdown-value {
        font-size: 1.4em;
    }
    .countdown-label {
        font-size: 0.6em;
    }
    .countdown-separator {
        font-size: 1.2em;
    }
}

.clan-rankings-table {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.clan-table-header {
    display: flex;
    align-items: stretch;
    background: var(--header-bg-color);
    color: var(--text-light);
    font-weight: bold;
    font-size: 0.95em;
}

.clan-table-header .col-rank,
.clan-table-header .col-name,
.clan-table-header .col-master,
.clan-table-header .col-members,
.clan-table-header .col-rep {
    color: var(--text-light);
    font-weight: bold;
    justify-content: center;
}

.clan-list {
    list-style: none;
}

.clan-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(51, 35, 12, 0.5);
    transition: background 0.2s;
    color: var(--text-light);
}

.clan-row:last-child {
    border-bottom: none;
}

.clan-row:nth-child(odd) {
    background: rgba(0, 0, 0, 0.1);
}

.clan-row:nth-child(even) {
    background: rgba(0, 0, 0, 0.2);
}

.clan-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.col-rank {
    width: 50px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    border-right: 1px solid rgba(51, 35, 12, 0.5);
    padding: 12px 10px 12px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-name {
    flex: 1;
    font-weight: 600;
    color: var(--menu-hover-color);
    border-right: 1px solid rgba(51, 35, 12, 0.5);
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-name a {
    color: var(--menu-hover-color);
    text-decoration: none;
    transition: color 0.2s;
}

.col-name a:hover {
    color: #fff;
    text-decoration: underline;
}

.col-master {
    flex: 1;
    color: rgba(255, 255, 255, 0.7);
    border-right: 1px solid rgba(51, 35, 12, 0.5);
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-members {
    width: 80px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    border-right: 1px solid rgba(51, 35, 12, 0.5);
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-rep {
    width: 100px;
    text-align: center;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 15px 12px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clan-loading, .clan-empty {
    padding: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}
 
.clan-members-modal {
    max-width: 550px;
    text-align: left;
}

.clan-members-table {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.clan-members-header {
    display: flex;
    background: var(--header-bg-color);
    color: var(--text-light);
    font-weight: bold;
    font-size: 0.9em;
}

.clan-members-list {
    list-style: none;
}

.clan-member-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(51, 35, 12, 0.5);
    color: var(--text-light);
}

.clan-member-row:last-child {
    border-bottom: none;
}

.clan-member-row:nth-child(odd) {
    background: rgba(0, 0, 0, 0.1);
}

.clan-member-row:nth-child(even) {
    background: rgba(0, 0, 0, 0.2);
}

.col-member-name {
    flex: 1;
    color: var(--menu-hover-color);
    border-right: 1px solid rgba(51, 35, 12, 0.5);
    padding: 10px;
    display: flex;
    align-items: center;
}

.col-member-level {
    width: 70px;
    color: rgba(255, 255, 255, 0.7);
    border-right: 1px solid rgba(51, 35, 12, 0.5);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-member-rep {
    width: 90px;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clan-members-header .col-member-name,
.clan-members-header .col-member-level,
.clan-members-header .col-member-rep {
    color: var(--text-light);
    font-weight: bold;
}

#clan-pagination {
    margin-top: 20px;
}

@media (max-width: 480px) {
    .col-members,
    .col-master {
        display: none;
    }
    .col-rep {
        width: 80px;
    }
    .clans-panel {
        padding: 15px;
    }
    .clans-panel h1 {
        font-size: 2.2em;
    }
}
 
#ban-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 40px 20px;
}
.ban-overlay-content {
    text-align: center;
    max-width: 440px;
    margin: 0 auto;
}
.ban-icon {
    font-size: 3em;
    color: #e74c3c;
    margin-bottom: 4px;
    line-height: 1;
}
.ban-overlay-content h2 {
    color: #e74c3c;
    font-size: 1.6em;
    margin-bottom: 8px;
    font-weight: 700;
}
.ban-reason {
    color: #bbb;
    font-size: 0.9em;
    margin-bottom: 16px;
    line-height: 1.5;
}
.ban-unban-box {
    background: rgba(231, 76, 60, 0.12);
    border: 1px solid rgba(231, 76, 60, 0.25);
    border-radius: 10px;
    padding: 14px 20px;
    margin-bottom: 20px;
}
.ban-unban-label {
    color: #999;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.ban-unban-amount {
    color: #fff;
    font-size: 1.6em;
    font-weight: 700;
}
.ban-steps {
    text-align: left;
    margin-bottom: 20px;
}
.ban-steps h3 {
    color: #ccc;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.ban-step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aaa;
    font-size: 0.88em;
    padding: 6px 0;
}
.ban-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 0.75em;
    font-weight: 700;
    flex-shrink: 0;
}
.ban-share-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 16px;
}
.ban-share-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}
.ban-share-row:not(:last-of-type) {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ban-share-label {
    color: #888;
    font-size: 0.85em;
}
.ban-share-row strong {
    color: #fff;
    font-size: 1em;
    letter-spacing: 0.5px;
}
.ban-copy-btn {
    margin-top: 10px;
    padding: 6px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85em;
    transition: background 0.2s;
}
.ban-copy-btn:hover {
    background: rgba(255,255,255,0.18);
}
.ban-find-btn {
    display: inline-block;
    padding: 10px 28px;
    background: #4f3715;
    border: 1px solid #33230c;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95em;
    font-family: 'Teko', sans-serif;
    transition: background 0.2s;
}
.ban-find-btn:hover {
    background: #6b4d20;
}


.unban-modal-body {
    padding: 16px 0;
}
.unban-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    color: #ccc;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.unban-detail-row strong {
    color: #fff;
}
.unban-warning {
    margin-top: 12px;
    padding: 10px;
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid rgba(220, 53, 69, 0.4);
    border-radius: 6px;
    color: #ff4d4d;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}
#unban-modal .reseller-target-label {
    color: #ccc;
}
}