/* CSS Variables - CS2/CSGO Gaming Theme */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Bebas+Neue&family=Teko:wght@300;400;500;600;700&display=swap');

:root {
    /* CS2 Colors */
    --cs-orange: #ff6b1a;
    --cs-orange-dark: #e55100;
    --cs-orange-light: #ff8c4a;
    --cs-yellow: #ffd700;
    --cs-yellow-dark: #ffb700;
    --cs-blue: #0e7fff;
    --cs-blue-dark: #0066dd;
    --cs-blue-light: #4da3ff;
    --cs-red: #ff4655;
    --cs-green: #00ff88;
    --cs-purple: #9b59ff;
    
    /* Dark Gaming Background */
    --bg-dark: #0a0e1a;
    --bg-secondary: #101621;
    --bg-card: #161c2e;
    --bg-hover: rgba(255, 107, 26, 0.1);
    --bg-gradient: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #0a0e1a 100%);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b8bcc8;
    --text-muted: #7a7e8a;
    --text-accent: #ff6b1a;
    
    /* Borders & Effects */
    --border-color: rgba(255, 107, 26, 0.2);
    --border-accent: #ff6b1a;
    --neon-glow: 0 0 20px rgba(255, 107, 26, 0.5), 0 0 40px rgba(255, 107, 26, 0.3);
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    --card-radius: 4px;
    
    /* Normal Fonts - Default for all languages */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-accent: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    
    /* Transitions */
    --transition-base: all 0.2s ease;
    --transition-fast: all 0.1s ease;
    
    /* Scroll */
    --scroll-color: #ff6b1a;
}

/* CS2 Gaming Fonts - Only for English */
html[lang="en"] {
    --font-primary: 'Rajdhani', sans-serif;
    --font-heading: 'Bebas Neue', cursive;
    --font-accent: 'Teko', sans-serif;
}

/* Bulgarian/Cyrillic Language - Use system fonts with proper Cyrillic support */
html[lang="bg"] {
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-accent: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html[lang="bg"] body {
    text-transform: none;
    letter-spacing: normal;
    font-family: var(--font-primary);
}

html[lang="bg"] h1,
html[lang="bg"] h2,
html[lang="bg"] h3,
html[lang="bg"] h4,
html[lang="bg"] h5,
html[lang="bg"] h6 {
    text-transform: none;
    letter-spacing: normal;
    font-family: var(--font-heading);
}

html[lang="bg"] .navbar-nav .nav-link {
    text-transform: none;
    letter-spacing: normal;
}

/* Russian Language - Same Cyrillic support */
html[lang="ru"] {
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-accent: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html[lang="ru"] body {
    text-transform: none;
    letter-spacing: normal;
    font-family: var(--font-primary);
}

html[lang="ru"] h1,
html[lang="ru"] h2,
html[lang="ru"] h3,
html[lang="ru"] h4,
html[lang="ru"] h5,
html[lang="ru"] h6 {
    text-transform: none;
    letter-spacing: normal;
    font-family: var(--font-heading);
}

html[lang="ru"] .navbar-nav .nav-link {
    text-transform: none;
    letter-spacing: normal;
}

/* Uppercase text only for English */
html[lang="en"] body {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4,
html[lang="en"] h5,
html[lang="en"] h6 {
    text-transform: uppercase;
    letter-spacing: 2px;
}

html[lang="en"] .navbar-nav .nav-link {
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--cs-orange) 0%, var(--cs-orange-dark) 100%);
    border-radius: 0;
    border: 1px solid var(--cs-orange);
    box-shadow: 0 0 10px rgba(255, 107, 26, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--cs-yellow) 0%, var(--cs-orange) 100%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
}

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

header.shadow-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 16px 0 rgba(24, 26, 32, 0.13);
    backdrop-filter: blur(10px);
}

body {
    background-image: url(../img/testimonial.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color: var(--bg-dark);
     /*  background: var(--bg-gradient);*/
    color: var(--text-primary);
    min-height: 100vh;
    font-family: var(--font-primary);
    padding-top: 68px;
    position: relative;
    overflow-x: hidden;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
}
/*
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 10px,
            rgba(255, 107, 26, 0.01) 10px,
            rgba(255, 107, 26, 0.01) 12px
        );
    pointer-events: none;
    z-index: 1;
    will-change: auto;
}
*/
.navbar {
    background: linear-gradient(90deg, #0a0e1a 0%, #161c2e 50%, #0a0e1a 100%) !important;
    border-bottom: 2px solid var(--cs-orange);
    box-shadow: 0 2px 20px rgba(255, 107, 26, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1001;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cs-orange), transparent);
    animation: slide 3s linear infinite;
}

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

/* Reduce animation frequency */
.navbar::after {
    animation: slide 6s linear infinite; /* Slower animation */
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
    outline: none !important;
    box-shadow: none !important;
    position: relative;
    width: 30px;
    height: 30px;
}

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

.navbar-toggler-icon {
    background-image: none !important;
    position: relative;
    width: 22px;
    height: 22px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
    background-color: #fff;
    border-radius: 2px;
    height: 2px;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 22px;
    left: 0;
}

.navbar-toggler-icon::before {
    top: -6px;
}

.navbar-toggler-icon::after {
    bottom: -6px;
}

/* Анимация към X */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.navbar-brand span {
    letter-spacing: 2px;
    font-size: 1.5rem;
    color: #ffb300;
}

.navbar .container-fluid {
    padding-left: 18px;
}

.navbar-nav {
    padding-left: 80px;
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 1rem;
    margin-left: 1.5rem;
    letter-spacing: normal;
    text-transform: none;
    transition: var(--transition-fast);
    position: relative;
    overflow: visible;
    z-index: 1;
    padding: 8px 16px !important;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    background: transparent;
}

@media (max-width: 768px) {
    .navbar-nav .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 8px;
        margin-bottom: 8px;
    }
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0; 
    bottom: -2px;
    background: var(--cs-orange);
    height: 2px;
    width: 0%;
    transition: width .2s ease;
    z-index: 10;
    pointer-events: none;
}

.navbar-nav .nav-link:hover {
    color: var(--cs-orange) !important;
    background: rgba(255, 107, 26, 0.1);
    text-shadow: 0 0 10px var(--cs-orange);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    background: var(--cs-orange);
    box-shadow: var(--neon-glow);
}

.navbar-nav .nav-link.active {
    color: var(--cs-orange) !important;
    background: linear-gradient(135deg, rgba(255, 107, 26, 0.2), transparent);
}

.navbar-nav .nav-link.active::after {
    width: 100%;
    background: var(--cs-orange);
    box-shadow: 0 0 15px var(--cs-orange);
}

.navbar-nav .nav-link i {
    margin-right: 6px;
}

.navbar .btn {
    font-size: 0.88rem;
            padding: 1px 8px;
    height: 28px;
    line-height: 1.1;
}

.navbar .btn-login {
    font-size: 0.92rem;
    padding: 3px 16px 3px 12px;
    border-radius: 18px;
    background: linear-gradient(90deg, #ffe259 0%, #ffa751 100%);
    color: #181a20;
    border: none;
    box-shadow: 0 2px 8px 0 #ffe25944;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.navbar .btn-login:hover, .navbar .btn-login:focus {
    background: linear-gradient(90deg, #ffa751 0%, #ffe259 100%);
    color: #181a20;
    box-shadow: 0 4px 16px 0 #ffe25977;
}

.navbar .btn-register {
    font-size: 0.92rem;
    padding: 3px 16px 3px 12px;
    border-radius: 18px;
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    color: #181a20;
    border: none;
    box-shadow: 0 2px 8px 0 #38f9d744;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.navbar .btn-register:hover, .navbar .btn-register:focus {
    background: linear-gradient(90deg, #38f9d7 0%, #43e97b 100%);
    color: #181a20;
    box-shadow: 0 4px 16px 0 #38f9d777;
}

.logo-gaming-icon {
    font-size: 1.5rem;
    color: #ffb300cf;
    transition: transform 0.3s;
    animation: rotateCrosshair 2.5s linear infinite;
}

@keyframes rotateCrosshair {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-animated {
    text-transform: uppercase;
    font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
    position: relative;
    transition: transform 0.25s cubic-bezier(.68,-0.55,.27,1.55);
    background: linear-gradient(180deg, #ffb300 0%, #9f980a 100%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    overflow: visible;
    z-index: 2;
}

.logo-animated::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #ffb300 0%, #fff200 100%);
    border-radius: 2px;
    z-index: 1;
    transition: width 0.4s cubic-bezier(.68,-0.55,.27,1.55);
    opacity: 0.85;
    pointer-events: none;
}

.logo-animated:hover {
    transform: scale(1.07);
}

.logo-animated:hover::after {
    width: 100%;
}

.logo-gaming-icon:hover {
    transform: scale(1.15) rotate(-10deg);
}

.main-header-img {
    width: 100%;
    height: 200px;
    position: relative;
    /* background: #181a20; */
    overflow: hidden;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.18);
}



.main-header-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) blur(0.5px);
    z-index: 1;
}

.main-header-content {
    padding-left: 32px;
    position: relative;
    z-index: 3;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

.main-header-content h1 {
    font-size: 1.7rem;
    font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff0f 100%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.main-header-content p {
    font-size: 0.98rem;
    background: linear-gradient(90deg, #dbe9fe 0%, #b6ffb0 100%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    background-color: #6e57001c;
    border: 1px solid #e5e9de14;
    padding: 6px 18px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    display: inline-block;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.12);
    max-width: 100ch;
    word-break: break-word;
    white-space: pre-line;
    backdrop-filter: blur(2px);
}

.main-header-embed {
    border-radius: 8px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.7);
    border: none;
}

.header-img-btn {
    background: rgb(98 101 108 / 61%);
    border: none;
    color: #ffb300;
    font-size: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    outline: none;
}
.header-img-btn:hover {
    background: #ffb300;
    color: #181a20;
    transform: scale(1.12);
}
.header-img-btn-left {
    left: 36px;
    right: unset;
}
.header-img-btn-right {
    right: 36px;
    left: unset;
}

.text-light {
    --bs-text-opacity: 1;
    color: rgb(255 255 255 / 82%) !important;
}

.border-bottom {
    border-bottom: var(--bs-border-width) var(--bs-border-style) #dee2e61c !important;
}



.footer-bg-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url('img/testimonial.webp') center center / cover no-repeat;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}
.footer-main {
  position: relative;
  background: linear-gradient(180deg, #0a0e1a 0%, #050709 100%) !important;
  border-top: 3px solid var(--cs-orange) !important;
  box-shadow: 0 -10px 40px rgba(255, 107, 26, 0.2);
  margin-top: 64px;
  overflow: hidden;
}

.footer-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cs-orange), var(--cs-yellow), var(--cs-orange));
  animation: footerGlow 4s linear infinite;
}

@keyframes footerGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.footer-main > .footer-row,
.footer-main > .container {
  position: relative;
  z-index: 1;
}
.footer-socials {
  display: flex;
  gap: 18px;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 6px;
}
.footer-social {
  color: #bfc9d1;
  font-size: 1.35rem;
  transition: color 0.18s, transform 0.18s;
  opacity: 0.85;
  text-decoration: none;
}
.footer-social:hover, .footer-social:focus {
  color: #43e97b;
  opacity: 1;
  transform: translateY(-4px) scale(1.15);
}
.footer-link {
    color: #bfc9d1;
    font-weight: 500;
    transition: color 0.18s, text-decoration 0.18s;
    text-decoration: none;
}
.footer-link:hover, .footer-link:focus {
    color: #ffb300;
    text-decoration: underline;
}
.footer-main .fa-info-circle, .footer-main .fa-link, .footer-main .fa-code {
    opacity: 0.85;
}
.footer-main .dev-by {
    transition: color 0.18s, text-decoration 0.18s;
    cursor: pointer;
}
.footer-main .dev-by:hover, .footer-main .dev-by:focus {
    color: #ffb300 !important;
    text-decoration: none;
}

.footer-dev-by {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffe259;
  cursor: pointer;
  background: rgba(24, 26, 32, 0.72);
  padding: 4px 14px;
  border-radius: 8px;
  transition: transform 0.22s cubic-bezier(.68,-0.55,.27,1.55), color 0.18s;
  margin-top: 2px;
}
.footer-dev-by:hover {
  transform: translateY(-6px) scale(1.06);
  color: #fff200;
}

.footer-copyright {
  font-size: 0.82rem;
  color: #bfc9d1;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  margin-top: 6px;
}

.shadow-lg {
    box-shadow: none !important;
}

.container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1250px;
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1250px;
    }
}

.main-header-content svg {
    margin: 0;
}

.map-bar-container {
    width: 100%;
    overflow-x: auto;
    padding: 8px 0 4px 0;
    padding-left: 8px;
    padding-right: 8px;
    /* background: #111623; */
     /*border-bottom: 1.5px solid #23272f; */
}
.map-bar {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2px;
}
.map-pill {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    overflow: hidden;
    writing-mode: vertical-rl;
    min-width: 27px;
    max-width: 27px;
    height: 120px;
    padding: 0;
    border-radius: 22px 22px 12px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    background: #23272f;
    box-shadow: 0 2px 8px 0 #0002;
    white-space: nowrap;
    transition: transform 0.15s, box-shadow 0.15s;
    cursor: pointer;
    user-select: none;
}
.map-pill span {
    display: block;
    transform: rotate(180deg);
    width: 100%;
    position: relative;
    z-index: 2;
}
.map-pill:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 6px 18px 0 #0004;
    z-index: 2;
}
.pill-red    { border-bottom-color: #ff2d6f; }
.pill-blue   { border-bottom-color: #2dcfff; }
.pill-green  { border-bottom-color: #43e97b; }
.pill-pink   { border-bottom-color: #ff7ad9; }
.pill-cyan   { border-bottom-color: #38f9d7; }
.pill-yellow { border-bottom-color: #ffe259; }
.pill-gray   { border-bottom-color: #aeb2bb; }

.map-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    border-radius: 0 0 8px 8px;
    opacity: 0.85;
    transition: height 0.2s;
    z-index: 1;
}

.progress-100 { height: 100%; }
.progress-90  { height: 90%; }
.progress-80  { height: 80%; }
.progress-70  { height: 70%; }
.progress-60  { height: 60%; }
.progress-50  { height: 50%; }
.progress-40  { height: 40%; }
.progress-30  { height: 30%; }
.progress-20  { height: 20%; }

.pill-red    .map-progress { background: #ff2d6f; }
.pill-blue   .map-progress { background: #2dcfff; }
.pill-green  .map-progress { background: #43e97b; }
.pill-pink   .map-progress { background: #ff7ad9; }
.pill-cyan   .map-progress { background: #38f9d7; }
.pill-yellow .map-progress { background: #ffe259; }
.pill-gray   .map-progress { background: #aeb2bb; }

.stats-cards-wrap {
    min-width: 170px;
  display: flex;
    flex-direction: row;
    gap: 18px;
    flex-wrap: wrap;
    padding-right: 18px;
}
.stats-card {
    background: linear-gradient(135deg, #161c2e 0%, #1a1f2e 100%);
    border: 2px solid var(--cs-orange);
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
    box-shadow: 0 0 30px rgba(255, 107, 26, 0.2), inset 0 0 20px rgba(255, 107, 26, 0.05);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px 0 #181a2022;
    padding: 16px 18px 10px 18px;
    min-width: 150px;
    min-height: 60px;
  display: flex;
    flex-direction: column;
  align-items: center;
  justify-content: center;
    backdrop-filter: blur(3px);
    transition: box-shadow 0.18s, border 0.18s, transform 0.22s cubic-bezier(.68,-0.55,.27,1.55);
}

@media (max-width: 768px) {
    .stats-card {
        padding: 12px 14px 8px 14px;
        min-width: 120px;
        min-height: 50px;
    }
}
.stats-label {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 500;
  letter-spacing: 1px;
    opacity: 0.85;
    margin-bottom: 2px;
    text-align: center;
}

@media (max-width: 768px) {
    .stats-label {
        font-size: 0.75rem;
    }
}
.stats-value {
  color: #fff;
    font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
    text-shadow: 0 2px 8px #181a20;
    margin-top: 2px;
    text-align: center;
}

@media (max-width: 768px) {
    .stats-value {
        font-size: 1.3rem;
    }
}

.stats-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px 0 #181a2040;
    border-color: #fff3;
}

.games-watch-container {
    border-radius: 8px;
    width: 100%;
    /* background-color: rgba(28, 32, 44, var(--tw-bg-opacity, 1)); */
    /* border: 1.5px solid rgb(255 255 255 / 7%); */
    /* box-shadow: 0 4px 24px 0 #181a2022; */
    padding: 32px 18px 28px 18px;
}

.games-watch-container-old {
    border-radius: 8px;
    width: 100%;
    background-color: rgba(28, 32, 44, var(--tw-bg-opacity, 1));
    border: 1.5px solid rgb(255 255 255 / 7%);
    box-shadow: 0 4px 24px 0 #181a2022;
    padding: 32px 18px 28px 18px;
}
.games-watch-title {
    font-size: 1.30rem;
    font-weight: 600;
    letter-spacing: 1px;
}
.games-watch-desc {
    color: #bfc9d1;
    font-size: 0.92rem;
    margin-bottom: 1.5em;
    opacity: 0.65;
}
.games-watch-list {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-left: 12px;
    padding-right: 12px;
}
.game-watch-item {
    width: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7em;
}
.game-img-wrap {
    position: relative;
    width: 170px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px 0 #181a2022;
    border: 1.5px solid rgba(255,255,255,0.13);
    background: #181a20;
    display: block;
    box-sizing: border-box;
}
.game-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) blur(0.2px);
    transition: filter 0.22s;
}
.game-img-overlay {
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(24,26,32,0.38);
    backdrop-filter: blur(2.5px);
    -webkit-backdrop-filter: blur(2.5px);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.22s;
    z-index: 2;
}
.game-img-wrap:hover .game-img-overlay {
    opacity: 1;
}
.game-img-wrap:hover img {
    filter: brightness(0.35) blur(1.5px);
}
.game-hover-info {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px #181a20;
    display: flex;
    flex-direction: column;
    gap: 0.2em;
}
.game-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(24,26,32,0.72);
    color: #fff;
    font-size: 1.08rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    padding: 8px 0 6px 0;
    z-index: 4;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    box-shadow: 0 2px 8px 0 #181a2022;
    margin: 0;
}

.game-title-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}
.game-title-icon {
    height: 1.7em;
    width: 1.7em;
    border-radius: 6px;
    display: inline-block;
}

.game-hover-label {
    display: inline-flex;
    align-items: center;
    background: rgba(24,26,32,0.82);
    border-radius: 8px;
    padding: 2px 7px 2px 6px;
    margin: 2px 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 2px 8px 0 #181a2022;
    border: 1px solid rgba(255,255,255,0.10);
    letter-spacing: 0.5px;
    transition: background 0.18s;
}

.double_heading i {
    width: 30px;
    height: 30px;
    background: linear-gradient(23deg, #3c4149 0%, #4b515a 55%);
    border-radius: 50px 10px 50px 50px;
    display: flex;
    color: #8e939d;
    box-shadow: 3px 1px 0 1px #34383d;
    margin-right: 10px;
    align-items: center;
    justify-content: center;
}

.games-double-heading {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  gap: 8px;
  margin-left: auto;
  margin-right: auto;
}
.games-watch-title {
  display: inline-block;
  width: auto;
  margin: 0;
  text-align: center;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  background: rgb(20 20 28 / 43%);
  border: 1px solid rgb(255 255 255 / 10%);
  padding: 2px 12px;
  border-radius: 5px;
}
.games-title-row .fa-eye {
  font-size: 0.95em;
}
.double_heading {
  display: inline-flex;
  width: auto;
  margin-bottom: 0;
  font-size: 1em;
}

.server-search-container {
    background: rgba(24, 26, 32, 0.82);
    border-bottom: 1.5px solid rgb(255 255 255 / 8%);
    box-shadow: 0 4px 24px 0 #181a2022;
    padding: 0px 25px 0px 18px;
}
.server-search-form {
    width: 100%;
    max-width: 480px;
    gap: 10px;
}
.server-search-label {
    color: #8e939d;
    font-size: 1.25rem;
    margin-right: 8px;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .server-search-label {
        display: none;
    }
}
.server-search-input {
    flex: 1 1 auto;
    max-width: 220px;
    border-radius: 8px;
    border: 1.5px solid #23272f;
    background: #23272f;
    color: #fff;
    font-size: 1.01rem;
    padding: 8px 14px;
    box-shadow: none;
    outline: none;
    transition: border 0.18s, box-shadow 0.18s;
}

@media (max-width: 768px) {
    .server-search-input {
        max-width: none;
        padding: 8px 14px 8px 40px;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="%23bfc9d1"><path d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"/></svg>');
        background-repeat: no-repeat;
        background-position: 12px center;
        background-size: 16px;
    }
}
.server-search-input:focus {
    border-color: #43e97b;
    box-shadow: 0 0 0 2px #43e97b33;
    background: #23272f;
    color: #fff;
}
.server-search-input::placeholder {
    color: #bfc9d1;
    opacity: 0.7;
    font-size: 0.98rem;
}
.btn-search {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    color: #181a20;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.01rem;
    padding: 8px 18px;
    box-shadow: 0 2px 8px 0 #43e97b22;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

@media (max-width: 768px) {
    .btn-search {
        font-size: 0.9rem;
        padding: 6px 14px;
    }
}
.btn-search:hover, .btn-search:focus {
    background: linear-gradient(90deg, #38f9d7 0%, #43e97b 100%);
    color: #181a20;
    box-shadow: 0 4px 16px 0 #43e97b44;
}

.server-search-slider-row {
    gap: 32px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.server-slider-container {
    width: 620px;
    height: 70px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.slider-img-wrap {
    width: 468px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.slider-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 7px;
    position: absolute;
    left: 0; top: 0;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}
.slider-img.active {
    opacity: 1;
    z-index: 2;
}
.slider-arrow {
    background: rgba(24,26,32,0.82);
    border: none;
    color: #bfc9d1;
    font-size: 1.3rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    transition: background 0.18s, color 0.18s;
    cursor: pointer;
    outline: none;
}
.slider-arrow-left { left: 6px; }
.slider-arrow-right { right: 6px; }
.slider-arrow:hover, .slider-arrow:focus {
    background: #43e97b;
    color: #181a20;
}

.btn-location {
    background: #23272f;
    color: #bfc9d1;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.01rem;
    padding: 8px 18px;
    box-shadow: 0 2px 8px 0 #23272f22;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    cursor: pointer;
    outline: none;
    position: relative;
}

@media (max-width: 768px) {
    .btn-location {
        font-size: 0.9rem;
        padding: 6px 14px;
    }
}
.btn-location:hover, .btn-location:focus {
    background: #181a20;
    color: #43e97b;
}
.location-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    min-width: 180px;
    background: #23272f;
    border-radius: 10px;
    box-shadow: 0 4px 24px 0 #181a2022;
    border: 1.5px solid rgb(255 255 255 / 8%);
    z-index: 10;
    padding: 8px 0;
    margin-top: 4px;
}
.location-dropdown-menu.show {
    display: block;
}
.location-dropdown-item {
    padding: 8px 18px;
    color: #fff;
    font-size: 1.01rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}
.location-dropdown-item:hover {
    background: #181a20;
    color: #43e97b;
}
.flag {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-right: 8px;
    vertical-align: middle;
    box-shadow: 0 1px 4px 0 #181a2022;
    border: 1px solid #23272f;
    font-size: 0;
}
.flag.flag-bg { background-image: url('https://flagcdn.com/bg.svg'); }
.flag.flag-ro { background-image: url('https://flagcdn.com/ro.svg'); }
.flag.flag-gr { background-image: url('https://flagcdn.com/gr.svg'); }
.flag.flag-tr { background-image: url('https://flagcdn.com/tr.svg'); }
.flag.flag-rs { background-image: url('https://flagcdn.com/rs.svg'); }
.flag.flag-us { background-image: url('https://flagcdn.com/us.svg'); }

.server-maps-row {
    margin: 32px 0 24px 0;
    padding-left: 15px;
    padding-right: 10px;
}
.server-map-bg {
    width: 100%;
    height: 100%;
    background: url(https://cs-clan.ru/images/maps/de_dust2.jpg) center center / cover no-repeat;
    filter: brightness(0.75);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    transition: filter 0.22s;
}
.server-map-card {
    width: 310px;
    height: 80px;
    border-radius: 7px;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    position: relative;
    box-shadow: 0 2px 12px 0 #181a2022;
    background: none;
    transition: transform 0.22s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.18s;
}
.server-map-card:hover .server-map-bg {
    filter: brightness(0.45);
}
.server-map-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px 0 #181a2040;
    border-color: #fff3;
}
.server-mini-card > * {
    position: relative;
    z-index: 2;
}

.server-map-info {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 12px 18px 10px 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: 100%;
    justify-content: center;
}
.server-map-title {
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    color: #b2ff00;
    gap: 3px;
    width: fit-content;
}
.server-map-icon {
  width: 15px;
  height: 20px;
    border-radius: 20px;
    object-fit: contain;
    box-shadow: 0 1px 4px 0 #181a2022;
}
.server-map-meta {
    font-size: 0.93rem;
    opacity: 0.85;
    text-shadow: 0 1px 4px #181a20;
    display: flex;
    flex-wrap: wrap;
}
.server-map-meta span {
    margin-right: 10px;
}

.server-map-title-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 7px;
}
.server-map-copy, .server-map-steam {
    color: #bfc9d1;
    font-size: 1.08em;
    cursor: pointer;
    opacity: 0.85;
    transition: color 0.18s, opacity 0.18s, transform 0.18s;
    padding: 2px;
    border-radius: 5px;
}
.server-map-copy:hover {
    color: #ffe259;
    opacity: 1;
    transform: scale(1.15);
    background: none;
}
.server-map-steam:hover {
    color: #43e97b;
    opacity: 1;
    transform: scale(1.15);
    background: none;
}

.news-servers-section {
  background: transparent;
  padding: 30px;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  box-shadow: none;
  position: relative;
  overflow: visible;
}

.news-servers-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(59, 130, 246, 0.8) 25%,
    rgba(147, 51, 234, 0.8) 75%,
    transparent 100%);
  animation: borderGlow 3s ease-in-out infinite;
}


.news-servers-section > * {
  position: relative;
  z-index: 1;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.section-title {
    color: #fff;
    font-size: 1.10rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 0.7em;
}

/* Special Section Titles */
.vip-section-title {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.vip-section-title::before {
    content: '⭐';
    margin-right: 8px;
    color: #a855f7;
}

.newest-section-title {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.newest-section-title::before {
    content: '🕒';
    margin-right: 8px;
    color: #06b6d4;
}
.news-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.news-card {
    background: var(--bg-card);
    border-radius: var(--card-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
    box-shadow: 0 2px 12px 0 #181a2022;
    padding: 16px 18px 12px 18px;
    display: flex
;
    align-items: flex-start;
    background: rgb(255 255 255 / 8%);
}
.news-content {
    flex: 1;
}
.news-date {
    color: #bfc9d1;
    font-size: 0.93rem;
    opacity: 0.7;
    margin-bottom: 2px;
}
.news-title {
    color: #b2ff00;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.news-text {
    color: #fff;
    font-size: 0.98rem;
    opacity: 0.85;
}
.servers-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}
.server-mini-card {
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.8) 0%, 
        rgba(51, 65, 85, 0.6) 100%);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    border: none;
    box-shadow: none;
    padding: 15px 20px;
    min-height: 75px;
    overflow: hidden;
    margin-bottom: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.server-mini-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.1) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}
.server-mini-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
}

.server-mini-card:hover::after {
    left: 100%;
}

/* Server Badges */
.server-badge {
    position: absolute;
    top: -2px;
    left: -2px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px 0 8px 0;
    z-index: 3;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.vip-badge {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.4);
}

.gold-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

.pro-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* TOP Server Cards */
.top-servers-grid {
    margin-top: 0;
    padding: 0 20px;
}

.top-servers-grid .row {
    gap: 20px;
    justify-content: center;
}

.top-server-card {
    position: relative;
    height: 140px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(30, 41, 59, 0.8);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 2px 6px rgba(0, 0, 0, 0.1);
    border: none;
}

.top-server-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.15);
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.server-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    z-index: 3;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.top-badge {
    background: linear-gradient(135deg, #ff073a, #dc2626);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 7, 58, 0.4);
}

.gold-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.flat-badge {
    background: linear-gradient(135deg, #e91e63, #f43f5e);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.copy-ip-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 3;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.copy-ip-btn:hover {
    background: rgba(59, 130, 246, 0.9);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* New TOP Server Card Styles */
.rank-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    z-index: 3;
    backdrop-filter: blur(10px);
}

.card-play-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(10px);
}

.card-play-btn:hover {
    background: rgba(59, 130, 246, 0.9);
    color: #ffffff;
    transform: scale(1.1);
}

.card-bottom-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 16px 12px 12px;
    z-index: 2;
}

.server-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.player-count {
    color: #ffffff;
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 6px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 2px;
    transition: width 0.3s ease;
}


.server-card-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.server-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.player-info i {
    font-size: 12px;
    opacity: 0.8;
}

.play-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.play-btn:hover {
    background: linear-gradient(135deg, #33e0ff, #00b4e6);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.6);
    color: #ffffff;
}

.play-btn i {
    font-size: 14px;
    margin-left: 2px;
}

/* Server List Compact Style */
.server-list-compact {
    background: rgba(30, 41, 59, 0.4);
    border-radius: var(--radius-lg);
    padding: 8px;
    border: none;
    backdrop-filter: blur(10px);
}

.server-list-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(51, 65, 85, 0.3);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.server-list-item:last-child {
    margin-bottom: 0;
}

.server-list-item:hover {
    background: rgba(71, 85, 105, 0.4);
    transform: translateX(4px);
}

.server-map-thumb {
    width: 50px;
    height: 38px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 14px;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.3);
    border: none;
}

.server-map-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.server-list-item:hover .server-map-thumb img {
    transform: scale(1.1);
}

.server-info {
    flex: 1;
    min-width: 0;
}

.server-name {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.server-details {
    display: flex;
    align-items: center;
    gap: 8px;
}

.server-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    border: none !important;
    box-shadow: none !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.server-list-item:hover .server-badge {
    opacity: 1;
}

.badge-new {
    background: #3b82f6;
    color: #ffffff;
}

.badge-vip {
    background: #f59e0b;
    color: #1a1a1a;
}

.badge-gold {
    background: #fbbf24;
    color: #1a1a1a;
}

.badge-blue {
    background: #1e40af;
    color: #ffffff;
}

.badge-red {
    background: #dc2626;
    color: #ffffff;
}

.server-status {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-online {
    color: #10b981;
}

.status-offline {
    color: #ef4444;
}

.play-button {
    width: 36px;
    height: 36px;
    background: rgba(71, 85, 105, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.play-button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: scale(1.1);
}

.play-button i {
    font-size: 12px;
    margin-left: 2px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .top-server-card {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .top-server-card {
        height: 140px;
    }
    
    .server-card-title {
        font-size: 13px;
    }
    
    .play-btn {
        width: 35px;
        height: 35px;
    }
    
    .play-btn i {
        font-size: 12px;
    }
    
    .server-list-item {
        padding: 10px 12px;
    }
    
    .server-map-thumb {
        width: 45px;
        height: 34px;
        margin-right: 12px;
    }
    
    .server-name {
        font-size: 13px;
    }
    
    .play-button {
        width: 32px;
        height: 32px;
        margin-left: 8px;
    }
}

.server-mini-card[data-map]::before {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 110px;
    height: 100%;
    background: no-repeat center center / cover;
    background-image: var(--map-img);
    -webkit-mask-image: linear-gradient(to left, black 30%, transparent 100%);
    mask-image: linear-gradient(to left, black 30%, transparent 100%);
    z-index: 1;
    pointer-events: none;
    transition: filter 0.22s;
    filter: brightness(0.38);
}
.server-mini-card:hover .server-map-bg,
.server-mini-card:hover[data-map]::before {
    filter: brightness(0.38) !important;
}
.server-mini-info {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}
.server-mini-game {
    font-size: 1.01rem;
    font-weight: 700;
    color: #b2ff00 !important;
    letter-spacing: 0.5px;
    margin-right: 4px;
}
.server-mini-title {
    color: #fff;
    font-size: 1.01rem;
    font-weight: 600;
    margin-right: 4px;
}
.server-mini-flag {
    margin-right: 4px;
}
.server-flag-img {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 1px 4px 0 #181a2022;
    border: 1px solid #23272f;
}
.server-mini-ip {
    color: #bfc9d1;
    font-size: 0.97rem;
    margin-right: 4px;
}
.server-mini-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    justify-content: end;
    margin-bottom: 10px;
}
.server-mini-mapname {
    color: #ffe259;
    font-size: 1.01rem;
    font-weight: 600;
    margin-right: 4px;
}
.server-mini-stats {
    color: #bfc9d1;
    font-size: 0.97rem;
    margin-top: -25px;
}
.server-mini-mapname-top {
    color: #ffe259;
    font-size: 0.98rem;
    font-weight: 700;
    text-shadow: 0 2px 8px #181a20;
    margin-left: 12px;
    margin-top: 2px;
    align-self: flex-start;
}
.server-mini-card:hover::after {
    /* Премахнат hover ефект */
    content: none !important;
    background: none !important;
}

.server-mini-icon {
    color: #bfc9d1;
    font-size: 1.13em;
    margin-right: 2px;
    display: flex;
    align-items: center;
}

.server-new-name {
  display: flex
;
  align-items: center;
  position: absolute;
  top: 8px;
  left: 12px;
  z-index: 2;
  padding: 0 5px 0 5px;
  background: linear-gradient(90deg, #ffffff00 0%, #00000073 100%);
}

.server-new-ip {
    display: flex;
    align-items: center;
    position: absolute;
    top: 33px;
    left: 12px;
    z-index: 2;
    font-size: 0.98rem;
    font-weight: 500;
    color: #ffffff9c;
}

.server-new-map {
    position: absolute;
    top: 8px;
    right: 100px;
    display: flex;
    align-items: center;
    font-size: 0.98rem;
    color: #b2ff00ed;
    z-index: 2;
}

.server-new-players {
    position: absolute;
    top: 33px;
    right: 100px;
    display: flex;
    align-items: center;
    font-size: 0.98rem;
    color: #ffffff9e;
    z-index: 2;
}

.news-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  margin-right: 16px;
  margin-bottom: 8px;
}

.footer-main .container {
  margin-top: -18px;
}

.footer-nav {
  margin: -10px 0 10px -200px !important;
}
.footer-nav-link {
  color: #bfc9d1;
  font-size: 0.92rem;
  font-weight: 400;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.18s, transform 0.18s;
  border-radius: 6px;
  padding: 4px 12px;
  margin: 2px 0;
}
.footer-nav-link:hover, .footer-nav-link:focus {
  color: #43e97b;
  transform: translateY(-3px) scale(1.07);
  background: none;
}

.footer-nav-title {
  font-size: 1.08rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
  border-bottom: 2px solid #ffe259;
  display: inline-block;
  width: auto;
  padding-bottom: 3px;
  letter-spacing: 0.5px;
}

.footer-nav-hr {
  border: none;
  border-bottom: 1px dashed rgba(191, 201, 209, 0.35);
  width: 90%;
  margin: 2px 0 2px 0;
  height: 0;
}

.footer-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px !important;
  width: 100%;
}
@media (max-width: 900px) {
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.footer-info-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
@media (max-width: 900px) {
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-info-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.footer-info-nav {
  margin: -10px 0 10px 0 !important;
}

.footer-info-group {
  margin: -10px 0 10px -150px !important;
  align-self: flex-start !important;
}

.footer-payments {
  margin: -10px 0 10px -150px !important;
  align-self: flex-start !important;
}
.footer-payments-grid {
  display: grid;
  grid-template-columns: repeat(2, 48px);
  gap: 10px 18px;
  margin-top: 8px;
}
.footer-payment-img {
  width: 48px;
  height: 32px;
  object-fit: contain;
  background: #1c1818;
  border-radius: 6px;
  box-shadow: 0 2px 8px 0 #181a2022;
  padding: 4px;
  border: 1px solid #f8fbff2b;
  filter: brightness(0.7);
  transition: filter 0.22s, box-shadow 0.22s;
}
.footer-payment-img:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 16px 0 #ffe25955;
}

.footer-logo-mini {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffe259;
  margin-bottom: 2px;
  margin-top: 0;
  padding: 0;
  letter-spacing: 1px;
  cursor: pointer;
  transition: color 0.18s, text-shadow 0.18s;
}
.footer-logo-mini:hover {
  color: #fff200;
  text-shadow: 0 2px 8px #ffe25999;
}
.footer-logo-vip {
  color: #ffd700;
  font-size: 1.1em;
  margin-right: 6px;
  vertical-align: middle;
  transition: color 0.18s, text-shadow 0.18s;
}
.footer-logo-mini:hover .footer-logo-vip {
  color: #fff200;
  text-shadow: 0 2px 8px #ffe25999;
}
.footer-logo-mini-text {
  padding: 0;
  margin: 0;
  font-size: 1em;
  color: inherit;
  font-weight: inherit;
  letter-spacing: 1px;
}

.top10-servers-section {
  background: transparent;
  padding: 60px 0;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  box-shadow: none;
  margin: 80px 0;
  position: relative;
  overflow: visible;
}

.top10-servers-section > * {
  position: relative;
  z-index: 1;
}


.top10-title-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}
.top10-title-text {
display: inline-block;
background: transparent;
border: none;
border-radius: 0;
padding: 12px 24px;
font-size: 2.5rem;
text-transform: uppercase;
letter-spacing: 2px;
font-weight: 800;
position: relative;
color: #fff;
margin: 0;
text-align: center;
}
.top10-title-row .fa-trophy {
width: 30px;
height: 30px;
background: linear-gradient(23deg, #3c4149 0%, #4b515a 55%);
border-radius: 50px 10px 50px 50px;
display: flex;
color: #ffe259;
box-shadow: 3px 1px 0 1px #34383d;
align-items: center;
justify-content: center;
font-size: 0.95em;
margin-right: 10px;
  height: 30px;
  background: linear-gradient(23deg, #3c4149 0%, #4b515a 55%);
  border-radius: 50px 10px 50px 50px;
  display: flex;
  color: #ffe259;
  box-shadow: 3px 1px 0 1px #34383d;
  align-items: center;
  justify-content: center;
  font-size: 0.95em;
  margin-right: 10px;
}

.top10-table-wrap {
  width: 100%;
  overflow-x: visible;
  margin-top: 18px;
}
.top10-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 0.95rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-primary);
  font-weight: var(--font-weight-medium);
}
table {
  caption-side: bottom;
  border-collapse: collapse;
}
.top10-table th, .top10-table td {
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}
.top10-table th {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, 
    rgba(220, 38, 38, 0.3) 0%, 
    rgba(239, 68, 68, 0.2) 100%);
  border-bottom: 2px solid rgba(220, 38, 38, 0.5);
}
.top10-table tr:nth-child(even) {
  background: rgba(51, 65, 85, 0.3);
}
.top10-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.1);
  transform: scale(1.01);
}

.top10-game-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}
.top10-game-icon {
  width: 18px;
  height: 18px;
  object-fit: cover;
  box-shadow: 0 1px 4px 0 #181a2022;
  background: #181a20;
}

.top10-Online-icon {
    color: #43e97b;
    font-size: 0.85em;
    margin-left: 2px;
    vertical-align: middle;
    animation: onlineGlow 1.2s infinite alternate;
    text-shadow:
        0 1px 0 #2e5d3a,
        0 2px 2px #0006,
        0 0 4px #43e97b88,
        0 0 1px #fff2;
    filter: drop-shadow(0 1px 2px #0004);
    perspective: 18px;
    transform: perspective(18px) translateZ(2px);
}
@keyframes onlineGlow {
    0% {
        text-shadow:
            0 1px 0 #2e5d3a,
            0 2px 2px #0006,
            0 0 0px #43e97b,
            0 0 1px #fff2;
        color: #43e97b;
        filter: drop-shadow(0 1px 2px #0004);
        transform: perspective(18px) translateZ(2px);
    }
    40% {
        text-shadow:
            0 1px 0 #2e5d3a,
            0 2px 2px #0006,
            0 0 4px #43e97b88,
            0 0 1px #fff2;
        color: #43e97b;
        filter: drop-shadow(0 2px 4px #43e97b44);
        transform: perspective(18px) translateZ(3px) scale(1.02);
    }
    60% {
        text-shadow:
            0 1px 0 #2e5d3a,
            0 2px 2px #0006,
            0 0 8px #43e97b55,
            0 0 2px #fff2;
        color: #43e97b;
        filter: drop-shadow(0 3px 6px #43e97b33);
        transform: perspective(18px) translateZ(4px) scale(1.04);
    }
    100% {
        text-shadow:
            0 1px 0 #2e5d3a,
            0 2px 2px #0006,
            0 0 0px #43e97b,
            0 0 1px #fff2;
        color: #43e97b;
        filter: drop-shadow(0 1px 2px #0004);
        transform: perspective(18px) translateZ(2px);
    }
}
.top10-flag img {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
  margin-right: 4px;
  box-shadow: 0 1px 4px 0 #181a2022;
  border: 1px solid #23272f;
  vertical-align: middle;
}
.top10-table-icon {
  font-size: 0.93em;
  color: #bfc9d1;
  vertical-align: middle;
  margin-right: 5px;
  opacity: 0.85;
}

.top10-map-hover-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.top10-map-name {
  cursor: pointer;
  color: #ffe259;
  font-weight: 600;
  margin-left: 2px;
  position: relative;
  z-index: 2;
}
.top10-map-popup {
  display: none;
  position: absolute;
  top: 50%;
  left: 105%;
  transform: translateY(-50%);
  background: #181a20ee;
  border: 1.5px solid #fff2;
  border-radius: 7px;
  box-shadow: 0 4px 24px 0 #181a2022;
  padding: 10px;
  z-index: 9999;
  text-align: center;
  pointer-events: none;
  min-width: 180px;
  white-space: nowrap;
}
/* Removed CSS hover selectors - using JavaScript instead */
.top10-map-img {
  width: 180px;
  height: 90px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 2px 8px 0 #181a2022;
  border: 1px solid #23272f;
}

.top10-table-icon.fa-thumbs-up {
  color: #2196f3;
  transition: color 0.18s, box-shadow 0.18s;
}
.top10-table-icon.fa-thumbs-up:hover {
    color: #42a5f5;
    box-shadow: 0 2px 8px 0 #2196f355;
    transform: scale(1.45) rotate(-12deg) skewY(-6deg);
}
.top10-table-icon.fa-thumbs-down {
  color: #e53935;
  transition: color 0.18s, box-shadow 0.18s;
}
.top10-table-icon.fa-thumbs-down:hover {
    color: #ff5252;
    box-shadow: 0 2px 8px 0 #e5393555;
    transform: scale(1.45) rotate(12deg) skewY(6deg);
}
.top10-ip-copy {
  color: #43e97b;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.18s;
}
.top10-ip-copy:hover {
  color: #2dcfff;
}
.ip-copied-toast {
  position: fixed;
  top: 72px;
  right: 32px;
  background: #43e97b;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 8px;
  box-shadow: 0 4px 24px 0 #181a2022;
  padding: 12px 28px 12px 18px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.98;
  pointer-events: none;
  animation: fadeInOut 2.2s linear 1;
}
.ip-copied-toast i {
  color: #fff;
  font-size: 1.3em;
  margin-right: 8px;
}
@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(-20px); }
  10% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-20px); }
}

.top10-players-hover-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.top10-players-count {
  cursor: pointer;
  color: #43e97b;
  font-weight: 600;
  margin-left: 2px;
  position: relative;
  z-index: 2;
}
.top10-players-popup {
  display: none;
  background: #181a20ee;
  border: 1.5px solid #fff2;
  border-radius: 7px;
  box-shadow: 0 4px 24px 0 #181a2022;
  padding: 10px 16px;
  min-width: 240px;
  max-width: 420px;
  text-align: left;
  pointer-events: none;
  white-space: normal;
  word-break: break-all;
}
/* Removed CSS hover selectors - using JavaScript instead */
.top10-player-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  margin-bottom: 3px;
  color: #fff;
  font-size: 0.97em;
}
.top10-player-time {
  color: #bfc9d1;
  font-size: 0.93em;
  margin-left: 6px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.top10-player-time i {
  color: #43e97b;
  font-size: 1em;
  margin-right: 2px;
}
.top10-player-icon {
  color: #ffe259;
  font-size: 1em;
  margin-right: 2px;
}
.top10-player-name {
  font-weight: 600;
  color: #43e97b;
}
.top10-player-frags {
  color: #bfc9d1;
  font-size: 0.97em;
  margin-left: 6px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.top10-player-frags i {
  color: #ffb300;
  font-size: 1em;
  margin-right: 2px;
}

.login-modal-content {
    background: rgba(24, 26, 32, 0.98) !important;
    border: 1.5px solid rgba(255,255,255,0.18) !important;
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 #181a2022;
    color: #fff;
    padding: 0 8px 8px 8px;
    animation: loginModalFadeIn 0.3s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes loginModalFadeIn {
    0% { opacity: 0; transform: scale(0.95) translateY(30px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
#loginModal .modal-header {
    background: none;
    border-bottom: none;
    color: #fff;
}
#loginModal .modal-title {
    color: #ffe259;
    font-weight: 700;
    letter-spacing: 1px;
}
#loginModal .form-label {
    color: #bfc9d1;
    font-weight: 500;
}
#loginModal .form-control {
    background: #23272f;
    border: 1.5px solid #23272f;
    color: #fff;
    border-radius: 8px;
    box-shadow: none;
    transition: border 0.18s, box-shadow 0.18s;
}
#loginModal .form-control:focus {
    border-color: #43e97b;
    box-shadow: 0 0 0 2px #43e97b33;
    background: #23272f;
    color: #fff;
}
#loginModal .form-check-input:checked {
    background-color: #43e97b;
    border-color: #43e97b;
}
#loginModal .btn-login {
    margin-top: 0 !important;
    font-size: 1.05rem;
    border-radius: 12px;
    background: #43e97b !important;
    color: #181a20 !important;
    border: none;
    box-shadow: none !important;
    font-weight: 700;
    transition: background 0.18s, color 0.18s;
}
#loginModal .btn-login:hover, #loginModal .btn-login:focus {
    background: #2ec96a !important;
    color: #181a20 !important;
    box-shadow: none !important;
}
#loginModal .btn-close {
    filter: invert(1) grayscale(1);
    opacity: 0.7;
    transition: opacity 0.18s;
}
#loginModal .btn-close:hover {
    opacity: 1;
}
#loginModal .modal-body {
    padding-bottom: 0;
}
#loginModal .text-danger {
    margin-top: 2px;
    margin-bottom: 0;
    font-size: 0.97em;
}
.btn-forgot-password {
    background: #e53935 !important;
    color: #fff !important;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    height: 38px;
    padding: 6px 18px;
    box-shadow: none !important;
    transition: background 0.18s, color 0.18s;
    vertical-align: middle;
}
.btn-forgot-password:hover, .btn-forgot-password:focus {
    background: #b71c1c !important;
    color: #fff !important;
    box-shadow: none !important;
}
.login-modal-content .d-flex .btn {
    height: 38px;
    align-items: center;
    display: flex;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}

.register-modal-content {
    background: rgba(24, 26, 32, 0.98) !important;
    border: 1.5px solid rgba(255,255,255,0.18) !important;
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 #181a2022;
    color: #fff;
    padding: 0 8px 8px 8px;
    animation: loginModalFadeIn 0.3s cubic-bezier(.68,-0.55,.27,1.55);
}
.btn-register-modal {
    background: #2196f3 !important;
    color: #fff !important;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    height: 38px;
    padding: 6px 18px;
    box-shadow: none !important;
    transition: background 0.18s, color 0.18s;
    vertical-align: middle;
}
.btn-register-modal:hover, .btn-register-modal:focus {
    background: #1565c0 !important;
    color: #fff !important;
    box-shadow: none !important;
}
#registerModal .form-label {
    color: #bfc9d1;
    font-weight: 500;
}
#registerModal .form-control {
    background: #23272f;
    border: 1.5px solid #23272f;
    color: #fff;
    border-radius: 8px;
    box-shadow: none;
    transition: border 0.18s, box-shadow 0.18s;
}

/* Modal Styles */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.3) !important;  /* Леко затъмнен фон */
    backdrop-filter: blur(5px) !important;  /* Blur ефект за модерен вид */
    -webkit-backdrop-filter: blur(5px) !important;  /* За Safari */
}

body.modal-open {
    overflow: hidden !important;
}

/* Анимация за показване на backdrop */
.modal-backdrop.fade {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

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

/* User Profile Button */
.btn-user-profile {
    background: linear-gradient(90deg, #1a1f3a 0%, #0a0e27 100%) !important;
    border: 1px solid #43e97b !important;
    border-radius: 25px !important;
    padding: 5px 15px !important;
    transition: all 0.3s ease;
}

.btn-user-profile:hover {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 233, 123, 0.3) !important;
}

/* User Profile Modal */
.user-profile-modal-content {
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%) !important;
    border: 1px solid rgba(67, 233, 123, 0.2) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5) !important;
}

.user-profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #43e97b;
    object-fit: cover;
}

.user-profile-name {
    color: #fff;
    font-weight: 600;
    margin-bottom: 10px;
}

.user-profile-role-badge {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.user-profile-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: #bfc9d1 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.profile-menu-item:hover {
    background: rgba(67, 233, 123, 0.1);
    color: #43e97b !important;
    transform: translateX(5px);
}

.profile-menu-item i {
    width: 20px;
    color: #43e97b;
    text-align: center;
}

.profile-menu-item.text-danger {
    color: #ff6b6b !important;
}

.profile-menu-item.text-danger:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff4444 !important;
}

.profile-menu-item.text-danger i {
    color: #ff6b6b;
}

.profile-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 10px 0;
}

/* OLD - User Dropdown Menu Styles - Not used anymore */
.user-dropdown-menu {
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%) !important;
    border: 1px solid rgba(67, 233, 123, 0.2) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4) !important;
    padding: 10px !important;
    min-width: 250px;
}

.user-dropdown-header {
    background: rgba(67, 233, 123, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.user-dropdown-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #43e97b;
    margin-bottom: 10px;
}

.user-dropdown-name {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

.user-dropdown-role {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 13px;
    font-weight: 500;
}

.user-dropdown-menu .dropdown-item {
    color: #bfc9d1 !important;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 2px 0;
}

.user-dropdown-menu .dropdown-item:hover {
    background: rgba(67, 233, 123, 0.1) !important;
    color: #43e97b !important;
    transform: translateX(5px);
}

.user-dropdown-menu .dropdown-item i {
    width: 20px;
    margin-right: 10px;
    color: #43e97b;
}

.user-dropdown-menu .dropdown-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 10px 0;
}

.user-dropdown-menu .dropdown-item.text-danger {
    color: #ff6b6b !important;
}

.user-dropdown-menu .dropdown-item.text-danger:hover {
    background: rgba(255, 107, 107, 0.1) !important;
    color: #ff4444 !important;
}

/* Toast Notification Styles - DISABLED: Using Bootstrap Toasts instead */
/* 
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.custom-toast {
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 15px;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    animation: slideInRight 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    margin-bottom: 10px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.custom-toast.removing {
    animation: slideOutRight 0.3s ease-in-out;
}

.custom-toast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.custom-toast-title {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.custom-toast-title i {
    margin-right: 8px;
    font-size: 16px;
}

.custom-toast.success .custom-toast-title i {
    color: #43e97b;
}

.custom-toast.error .custom-toast-title i {
    color: #ff6b6b;
}

.custom-toast.warning .custom-toast-title i {
    color: #ffb300;
}

.custom-toast.info .custom-toast-title i {
    color: #38f9d7;
}

.custom-toast-close {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    font-size: 18px;
    transition: color 0.2s;
}

.custom-toast-close:hover {
    color: #fff;
}

.custom-toast-body {
    color: #bfc9d1;
    font-size: 13px;
}

.custom-toast-progress {
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
}

.custom-toast-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    border-radius: 3px;
    transition: width linear;
}

.custom-toast.error .custom-toast-progress-bar {
    background: linear-gradient(90deg, #ff6b6b 0%, #ff4444 100%);
}

.custom-toast.warning .custom-toast-progress-bar {
    background: linear-gradient(90deg, #ffb300 0%, #ffa000 100%);
}
*/

/* OAuth Login Buttons */
.btn-steam {
    background: linear-gradient(90deg, #1b2838 0%, #2a475e 100%) !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-steam:hover {
    background: linear-gradient(90deg, #2a475e 0%, #1b2838 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 40, 56, 0.5) !important;
    color: #fff !important;
}

.btn-discord {
    background: linear-gradient(90deg, #5865F2 0%, #7289DA 100%) !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-discord:hover {
    background: linear-gradient(90deg, #7289DA 0%, #5865F2 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.5) !important;
    color: #fff !important;
}
#registerModal .form-control:focus {
    border-color: #43e97b;
    box-shadow: 0 0 0 2px #43e97b33;
    background: #23272f;
    color: #fff;
}
#registerModal .form-check-input:checked {
    background-color: #43e97b;
    border-color: #43e97b;
}

/* Profile Page Styles */
.profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(24, 26, 32, 0.82);
    background-image: url('/assets/img/baner-big.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1.5px solid rgba(255,255,255,0.18);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 24px 0 #181a2022;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 26, 32, 0.85);
    z-index: 1;
    pointer-events: none;
}

.profile-header > * {
    position: relative;
    z-index: 2;
}

.profile-avatar-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffb300;
    box-shadow: 0 4px 16px 0 #ffb30044;
    cursor: pointer;
    transition: transform 0.22s cubic-bezier(.68,-0.55,.27,1.55);
}

.profile-avatar:hover {
    transform: scale(1.05);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-edit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 26, 32, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.22s;
}

.avatar-edit-overlay i {
    color: #ffb300;
    font-size: 1.5rem;
}

.profile-avatar:hover .avatar-edit-overlay {
    opacity: 1;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 1px;
}

.profile-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #43e97b;
    box-shadow: 0 0 8px 0 #43e97b88;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.status-text {
    color: #43e97b;
    font-weight: 600;
    font-size: 0.95rem;
}

.profile-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.member-since, .last-seen {
    color: #bfc9d1;
    font-size: 0.9rem;
    opacity: 0.8;
}

.profile-actions {
    display: flex;
    gap: 12px;
}

.btn-edit-profile, .btn-settings {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    color: #181a20;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.22s cubic-bezier(.68,-0.55,.27,1.55);
    box-shadow: 0 2px 8px 0 #43e97b22;
}

.btn-edit-profile:hover, .btn-settings:hover {
    background: linear-gradient(90deg, #38f9d7 0%, #43e97b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px 0 #43e97b44;
}

.btn-settings {
    background: linear-gradient(90deg, #ffb300 0%, #ffe259 100%);
    box-shadow: 0 2px 8px 0 #ffb30022;
}

.btn-settings:hover {
    background: linear-gradient(90deg, #ffe259 0%, #ffb300 100%);
    box-shadow: 0 4px 16px 0 #ffb30044;
}

/* Profile Stats Card */
.profile-stats-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
    padding: 24px;
    box-shadow: 0 4px 24px 0 #181a2022;
    height: 100%;
    text-align: center;
}

/* Credit Card Styles */
.credit-card-section {
    margin-bottom: 24px;
    text-align: center;
}

.credit-card {
    background: url(https://usa.visa.com/dam/VCOM/regional/na/us/common-assets/cards/visa-traditional-card-800x450.jpg) center center / cover no-repeat;
    border-radius: 16px;
    padding: 16px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(102, 126, 234, 0.3);
    margin-bottom: 16px;
    transition: transform 0.22s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.22s;
    height: 215px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.credit-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px 0 rgba(102, 126, 234, 0.4);
}

.credit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    pointer-events: none;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.card-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 6px;
    position: relative;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.2);
}

.card-chip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 16px;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.3) 2px,
        rgba(0,0,0,0.3) 4px
    );
    border-radius: 2px;
}

.card-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    justify-content: center;
}

.card-logo i {
    font-size: 1.3rem;
    color: #ffd700;
}

.card-number {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
    text-align: center;
}

.card-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.card-holder, .card-expiry {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-holder .label, .card-expiry .label {
    font-size: 0.7rem;
    opacity: 0.8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-holder .value, .card-expiry .value {
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.card-balance {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.balance-label {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 500;
}

.balance-amount {
    font-size: 1.0rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-deposit, .btn-withdraw, .btn-transfer {
    flex: 1;
    min-width: 80px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.22s cubic-bezier(.68,-0.55,.27,1.55);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.btn-deposit:hover {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    color: #181a20;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px 0 rgba(67, 233, 123, 0.4);
}

.btn-withdraw:hover {
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8e8e 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px 0 rgba(255, 107, 107, 0.4);
}

.btn-transfer:hover {
    background: linear-gradient(90deg, #ffb300 0%, #ffe259 100%);
    color: #181a20;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px 0 rgba(255, 179, 0, 0.4);
}

.stats-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.stats-title i {
    color: #ffb300;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    justify-content: center;
}

.stat-item {
    text-align: left;
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.22s cubic-bezier(.68,-0.55,.27,1.55);
}

.stat-item:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.08);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffb300;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: #bfc9d1;
    font-weight: 500;
}

/* Profile Details Card */
.profile-details-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
    padding: 24px;
    box-shadow: 0 4px 24px 0 #181a2022;
    height: 100%;
    text-align: center;
}

.details-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.details-title i {
    color: #ffb300;
}

.details-form .form-label {
    color: #bfc9d1;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 6px;
    text-align: center;
}

.details-form .form-control {
    background: #23272f;
    border: 1.5px solid #23272f;
    color: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    transition: border 0.18s, box-shadow 0.18s;
}

.details-form .form-control:focus {
    border-color: #43e97b;
    box-shadow: 0 0 0 2px #43e97b33;
    background: #23272f;
    color: #fff;
}

.details-form .form-control[readonly] {
    background: #181a20;
    color: #bfc9d1;
    cursor: not-allowed;
}

/* Social Media Styles */
.social-title {
    color: #ffb300;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid rgba(255, 179, 0, 0.3);
    padding-bottom: 8px;
    justify-content: center;
}

.social-title i {
    color: #ffb300;
    font-size: 1.2rem;
}

.details-form .form-label i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
    font-size: 1rem;
}

/* Social Media Icons Colors */
.details-form .form-label .fab.fa-discord {
    color: #7289da;
}

.details-form .form-label .fab.fa-skype {
    color: #00aff0;
}

.details-form .form-label .fab.fa-instagram {
    color: #e4405f;
}

.details-form .form-label .fab.fa-facebook {
    color: #1877f2;
}

.details-form .form-label .fab.fa-twitter {
    color: #1da1f2;
}

.details-form .form-label .fab.fa-youtube {
    color: #ff0000;
}

.details-form .form-label .fab.fa-twitch {
    color: #9146ff;
}

.details-form .form-label .fab.fa-steam {
    color: #171a21;
}

.details-form .form-label .fas.fa-globe {
    color: #ffb300;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: center;
}

.btn-save {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    color: #181a20;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.22s cubic-bezier(.68,-0.55,.27,1.55);
    box-shadow: 0 2px 8px 0 #43e97b22;
}

.btn-save:hover {
    background: linear-gradient(90deg, #38f9d7 0%, #43e97b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px 0 #43e97b44;
}

.btn-cancel {
    background: #23272f;
    color: #bfc9d1;
    border: 1.5px solid #23272f;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.22s cubic-bezier(.68,-0.55,.27,1.55);
}

.btn-cancel:hover {
    background: #181a20;
    color: #fff;
    border-color: #43e97b;
}

/* Security Card */
.profile-security-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
    padding: 24px;
    box-shadow: 0 4px 24px 0 #181a2022;
    text-align: center;
}

.security-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.security-title i {
    color: #ffb300;
}

.security-options {
    display: flex ;
    flex-direction: column;
    gap: 16px;
    /* align-items: center; */
}

.security-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: background 0.22s;
}

.security-item:hover {
    background: rgba(255,255,255,0.08);
}

.security-info h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    text-align: center;
}

.security-info p {
    color: #bfc9d1;
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}

.btn-change-password, .btn-enable-2fa, .btn-sessions {
    background: linear-gradient(90deg, #ffb300 0%, #ffe259 100%);
    color: #181a20;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.22s cubic-bezier(.68,-0.55,.27,1.55);
    box-shadow: 0 2px 8px 0 #ffb30022;
    justify-content: center;
}

.btn-change-password:hover, .btn-enable-2fa:hover, .btn-sessions:hover {
    background: linear-gradient(90deg, #ffe259 0%, #ffb300 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px 0 #ffb30044;
}

/* Activity Card */
.profile-activity-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
    padding: 24px;
    box-shadow: 0 4px 24px 0 #181a2022;
    text-align: center;
}

.activity-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.activity-title i {
    color: #ffb300;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: background 0.22s;
}

.activity-item:hover {
    background: rgba(255,255,255,0.08);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #181a20;
    font-size: 1rem;
}

.activity-content {
    flex: 1;
    text-align: left;
}

.activity-content .activity-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.activity-time {
    color: #bfc9d1;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .profile-avatar-section {
        flex-direction: column;
        gap: 16px;
    }
    
    .profile-actions {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .security-item {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* News Modal Styles */
.news-modal-content {
    background: rgba(24, 26, 32, 0.98) !important;
    border: 1.5px solid rgba(255,255,255,0.18) !important;
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 #181a2022;
    color: #fff;
    padding: 0 8px 8px 8px;
    animation: newsModalFadeIn 0.3s cubic-bezier(.68,-0.55,.27,1.55);
}

@keyframes newsModalFadeIn {
    0% { opacity: 0; transform: scale(0.95) translateY(30px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.news-modal-header-content {
    flex: 1;
}

.news-modal-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.news-modal-date, .news-modal-author, .news-modal-category {
    color: #bfc9d1;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.8;
}

.news-modal-date i, .news-modal-author i, .news-modal-category i {
    color: #ffb300;
    font-size: 0.9rem;
}

.news-modal-content .modal-title {
    color: #b2ff00;
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0;
    letter-spacing: 0.5px;
    text-align: center;
}

.news-modal-image {
    text-align: center;
    margin-bottom: 24px;
}

.news-modal-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 16px 0 #181a2022;
    border: 2px solid rgba(255,255,255,0.1);
}

.news-modal-content-text {
    margin-bottom: 24px;
    line-height: 1.6;
    text-align: center;
}

.news-modal-content-text p {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.news-modal-content-text ul {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
    padding-left: 20px;
}

.news-modal-content-text li {
margin-bottom: 8px;
opacity: 0.9;
}

.news-modal-content .rules-list {
list-style: none;
padding: 0;
margin: 0;
text-align: left;
}

.rules-list li {
padding: 10px;
background: rgba(255,255,255,0.05);
border-radius: 8px;
border: 1px solid rgba(255,255,255,0.1);
margin-bottom: 12px;
color: var(--text-secondary);
display: flex;
align-items: center;
gap: 12px;
}

.news-modal-stats {
display: flex;
justify-content: space-around;
gap: 16px;
padding: 20px;
background: rgba(255,255,255,0.05);
border-radius: 12px;
border: 1px solid rgba(255,255,255,0.1);
margin-bottom: 20px;
justify-content: center;
}

.news-stat-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
text-align: center;
}

.news-stat-item i {
color: #ffb300;
font-size: 1.2rem;
margin-bottom: 4px;
    color: #ffb300;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.stat-number {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}

.stat-label {
    color: #bfc9d1;
    font-size: 0.8rem;
    opacity: 0.8;
}

.news-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-like, .btn-comment, .btn-share {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    transition: var(--transition-base);
    box-shadow: 0 2px 8px 0 rgba(102, 126, 234, 0.2);
}

.btn-like:hover, .btn-comment:hover, .btn-share:hover {
    background: linear-gradient(90deg, #38f9d7 0%, #43e97b 100%);
    transform: translateY(-2px);
}

.btn-like {
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8e8e 100%);
    box-shadow: 0 2px 8px 0 #ff6b6b22;
}

.btn-like:hover {
    background: linear-gradient(90deg, #ff8e8e 0%, #ff6b6b 100%);
    box-shadow: 0 4px 16px 0 #ff6b6b44;
}

.btn-share {
    background: linear-gradient(90deg, #ffb300 0%, #ffe259 100%);
    box-shadow: 0 2px 8px 0 #ffb30022;
}

.btn-share:hover {
    background: linear-gradient(90deg, #ffe259 0%, #ffb300 100%);
    box-shadow: 0 4px 16px 0 #ffb30044;
}

.news-modal-content .btn-close {
    filter: invert(1) grayscale(1);
    opacity: 0.7;
    transition: opacity 0.18s;
}

.news-modal-content .btn-close:hover {
    opacity: 1;
}

/* Responsive for News Modal */
@media (max-width: 768px) {
    .news-modal-meta {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .news-modal-stats {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }
    
    .news-stat-item {
        flex: 1;
        min-width: 80px;
    }
    
    .news-modal-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-like, .btn-comment, .btn-share {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

/* New Table Styles for Games List - Higher Rows */
.top10-table-games-list {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 10px;
    font-size: 0.97rem;
    color: var(--text-primary);
    box-shadow: 0 2px 12px 0 #181a2022;
    text-align: center;
}

.top10-table-games-list th, .top10-table-games-list td {
    padding: 16px 12px; /* Increased padding for higher rows */
    border: none; /* Removed table borders */
    text-align: center;
    vertical-align: middle; /* Better vertical alignment */
}

.top10-table-games-list th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.70rem;
    letter-spacing: 1px;
    padding: 18px 12px; /* Even more padding for header */
}

.top10-table-games-list tr {
    margin-bottom: 8px; /* Space between rows */
    border-radius: 8px; /* Rounded corners for rows */
    margin: 4px 0; /* Space between rows */
    position: relative;
    background: rgba(255, 255, 255, 0.05); /* Semi-transparent background for rows */
}

/* Background Image for the Entire Table */
.top10-table-games-list {
    background: linear-gradient(rgba(24, 26, 32, 0.95), rgba(24, 26, 32, 0.95)), 
                url('https://e0.pxfuel.com/wallpapers/953/196/desktop-wallpaper-gears-of-war-4-horizon-3-battlefield-1-gears-of-war-2.jpg') center center / cover no-repeat;
}

/* Removed even row background since we now have map backgrounds */

.top10-table-games-list tbody tr:hover {
    background: rgba(24, 26, 32, 0.8); /* Dark background on hover */
    transition: all 0.22s;
    border-radius: 8px;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.3);
}

/* Server Statistics Section Styles */
.server-stats-section {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 16px;
    margin-bottom: 24px;
    text-align: center;
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    justify-content: center;
}

.stats-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    justify-content: center;
}

.stats-title i {
    color: #ffb300;
    font-size: 1.2rem;
}

.stats-refresh {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #bfc9d1;
    font-size: 0.8rem;
    opacity: 0.8;
}

.stats-refresh i {
    color: #43e97b;
    font-size: 0.8rem;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
    justify-content: center;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.22s cubic-bezier(.68,-0.55,.27,1.55);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.03) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.stat-card:hover::before {
    transform: translateX(100%);
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,179,0,0.3);
    box-shadow: 0 8px 24px 0 rgba(255,179,0,0.1);
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffb300 0%, #ffe259 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #181a20;
    font-size: 1rem;
    box-shadow: 0 3px 8px 0 rgba(255,179,0,0.3);
}

.stat-content {
    flex: 1;
    text-align: left;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.8rem;
    color: #bfc9d1;
    font-weight: 500;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
}

.stat-trend.positive {
    color: #43e97b;
    background: rgba(67, 233, 123, 0.1);
    border: 1px solid rgba(67, 233, 123, 0.2);
}

.stat-trend.neutral {
    color: #bfc9d1;
    background: rgba(191, 201, 209, 0.1);
    border: 1px solid rgba(191, 201, 209, 0.2);
}

/* Search Section Styles */
.search-section {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 14px;
}

.search-container {
    background: linear-gradient(145deg, #191b22, #1c1f27);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 14px;
    text-align: left;
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.22s;
}

.search-input-group:focus-within {
    border-color: #43e97b;
    box-shadow: 0 0 0 2px rgba(67, 233, 123, 0.2);
}

.search-icon {
    color: #bfc9d1;
    font-size: 1rem;
    margin-left: 12px;
    margin-right: 10px;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    padding: 10px 0;
    outline: none;
}

.search-input::placeholder {
    color: #bfc9d1;
    opacity: 0.7;
}

.search-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.22s;
    cursor: pointer;
    justify-content: center;
}

.search-btn:hover {
    background: linear-gradient(90deg, #38f9d7 0%, #43e97b 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px 0 rgba(67, 233, 123, 0.3);
}

.search-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-select {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: var(--text-primary);
    padding: 8px 12px;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.22s;
    min-width: 120px;
}

.filter-select:focus {
    border-color: #43e97b;
    box-shadow: 0 0 0 2px rgba(67, 233, 123, 0.2);
}

.filter-select option {
    background: #23272f;
    color: #fff;
}

.clear-filters-btn {
    background: rgba(255,255,255,0.1);
    color: #bfc9d1;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.22s;
    cursor: pointer;
    justify-content: center;
}

.clear-filters-btn:hover {
    background: rgba(255,255,255,0.15);
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .search-filters {
        flex-direction: column;
    }
    
    .filter-select {
        min-width: auto;
    }
}

/* New Popup Styles for Games List Table */
.games-list-map-popup {
    display: none;
    position: absolute;
    background: #181a20ee;
    border: 1.5px solid #fff2;
    border-radius: 7px;
    box-shadow: 0 4px 24px 0 #181a2022;
    padding: 10px;
    z-index: 9999999;
    text-align: center;
    pointer-events: none;
    min-width: 180px;
    white-space: nowrap;
}

.games-list-map-img {
    width: 180px;
    height: 90px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 8px 0 #181a2022;
    border: 1px solid #23272f;
}

.games-list-players-popup {
    display: none;
    position: absolute;
    background: #181a20ee;
    border: 1.5px solid #fff2;
    border-radius: 7px;
    box-shadow: 0 4px 24px 0 #181a2022;
    padding: 10px 16px;
    min-width: 240px;
    max-width: 420px;
    text-align: left;
    pointer-events: none;
    white-space: normal;
    word-break: break-all;
    z-index: 9999999;
}

.games-list-player-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    margin-bottom: 3px;
    color: #fff;
    font-size: 0.97em;
}

.games-list-player-time {
    color: #bfc9d1;
    font-size: 0.93em;
    margin-left: 6px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.games-list-player-time i {
    color: #43e97b;
    font-size: 1em;
    margin-right: 2px;
}

.games-list-player-icon {
    color: #ffe259;
    font-size: 1em;
    margin-right: 2px;
}

.games-list-player-name {
    font-weight: 600;
    color: #43e97b;
}

.games-list-player-frags {
    color: #bfc9d1;
    font-size: 0.97em;
    margin-left: 6px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.games-list-player-frags i {
    color: #ffb300;
    font-size: 1em;
    margin-right: 2px;
}

/* Server Details Page Styles */
.server-hero-section {
    background: linear-gradient(135deg, rgba(24, 26, 32, 0.95), rgba(40, 44, 52, 0.95)), 
                url('https://e0.pxfuel.com/wallpapers/953/196/desktop-wallpaper-gears-of-war-4-horizon-3-battlefield-1-gears-of-war-2.jpg') center center / cover no-repeat;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 32px;
    text-align: center;
}

.server-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.server-hero-left {
    flex: 1;
    text-align: left;
}

.server-game-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 8px 16px;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}

.server-game-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.server-game-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.server-title {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    text-align: left;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

.status-dot.online {
    background: #43e97b;
    box-shadow: 0 0 8px 0 #43e97b88;
}

.status-text {
    color: #43e97b;
    font-weight: 600;
    font-size: 0.95rem;
}

.server-ip {
    color: #bfc9d1;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    background: rgba(0,0,0,0.3);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.btn-copy-ip {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.22s;
    justify-content: center;
}

.btn-copy-ip:hover {
    background: linear-gradient(90deg, #38f9d7 0%, #43e97b 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px 0 rgba(67, 233, 123, 0.3);
}

.server-hero-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.server-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-connect, .btn-favorite, .btn-share {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.22s cubic-bezier(.68,-0.55,.27,1.55);
    box-shadow: 0 4px 16px 0 rgba(255, 179, 0, 0.3);
    cursor: pointer;
    justify-content: center;
}

.btn-connect:hover, .btn-favorite:hover, .btn-share:hover {
    background: linear-gradient(90deg, #38f9d7 0%, #43e97b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px 0 rgba(255, 179, 0, 0.4);
}

.btn-favorite {
    background: rgba(255,255,255,0.1);
    color: #bfc9d1;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-favorite:hover, .btn-favorite.active {
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8e8e 100%);
    color: var(--text-primary);
    border-color: transparent;
}

.btn-share {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.btn-share:hover {
    background: linear-gradient(90deg, #38f9d7 0%, #43e97b 100%);
}

/* Server Statistics Grid */
.server-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
    justify-content: center;
}

.stat-card-large {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.22s cubic-bezier(.68,-0.55,.27,1.55);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.stat-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.03) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.stat-card-large:hover::before {
    transform: translateX(100%);
}

.stat-card-large:hover {
    transform: translateY(-4px);
    border-color: rgba(255,179,0,0.3);
    box-shadow: 0 12px 32px 0 rgba(255,179,0,0.1);
}

.stat-icon-large {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffb300 0%, #ffe259 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #181a20;
    font-size: 1.5rem;
    box-shadow: 0 6px 16px 0 rgba(255,179,0,0.3);
}

.stat-content {
    flex: 1;
    text-align: left;
}

.stat-value-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label-large {
    font-size: 1rem;
    color: #bfc9d1;
    font-weight: 500;
    margin-bottom: 8px;
}

.rating-stars {
    display: flex;
    gap: 2px;
    color: #ffb300;
    font-size: 0.9rem;
}

/* Server Details Tabs */
.server-details-tabs {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 8px 32px 0 #181a2022;
    text-align: center;
}

.tabs-header {
    display: flex;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    justify-content: center;
}

.tab-btn {
    background: none;
    border: none;
    color: #bfc9d1;
    padding: 16px 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.22s;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    justify-content: center;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.tab-btn.active {
    color: #ffb300;
    border-bottom-color: #ffb300;
    background: rgba(255,179,0,0.1);
}

.tab-content {
    display: none;
    padding: 32px;
    text-align: left;
}

.tab-content.active {
    display: block;
}

/* Server Info Cards */
.server-info-card, .server-rules-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
    padding: 24px;
    margin-bottom: 24px;
    text-align: left;
}

.server-info-card h3, .server-rules-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.server-info-card h3 i, .server-rules-card h3 i {
    color: #ffb300;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    justify-content: center;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: left;
}

.info-label {
    color: #bfc9d1;
    font-weight: 500;
}

.info-value {
    color: var(--text-primary);
    font-weight: 600;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.rules-list li {
    color: var(--text-primary);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    padding-left: 20px;
}

.rules-list li:before {
    content: '•';
    color: #ffb300;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.rules-list li:last-child {
    border-bottom: none;
}

/* Server Sidebar */
.server-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.current-map-card, .server-links-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
    padding: 20px;
    text-align: left;
}

.current-map-card h4, .server-links-card h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.current-map-card h4 i, .server-links-card h4 i {
    color: #ffb300;
}

.map-info {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.map-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.map-details {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 4px;
    text-align: left;
}

.map-details p {
    color: #bfc9d1;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-align: left;
}

.map-stats {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: #bfc9d1;
    justify-content: center;
}

.map-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.server-links-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.server-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
    transition: all 0.22s cubic-bezier(.68,-0.55,.27,1.55);
    position: relative;
    overflow: hidden;
    justify-content: center;
}

.server-link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.03) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.server-link-item:hover::before {
    transform: translateX(100%);
}

.server-link-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,179,0,0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(255,179,0,0.1);
}

.server-link-item i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    color: #ffb300;
}

.server-link-item .link-name {
    color: var(--text-primary);
    font-weight: 600;
    flex: 1;
    text-align: center;
}

.server-link-item .link-desc {
    color: #bfc9d1;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

/* Social Media Icons Colors */
.server-link-item[href*="discord"] i {
    color: #7289da;
}

.server-link-item[href*="steam"] i {
    color: #171a21;
}

.server-link-item[href*="facebook"] i {
    color: #1877f2;
}

.server-link-item[href*="youtube"] i {
    color: #ff0000;
}

.server-link-item[href*="instagram"] i {
    color: #e4405f;
}

.server-link-item[href*="globe"] i,
.server-link-item[href*="cs-bg.com"] i {
    color: #ffb300;
}

/* Players Tab */
.players-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    text-align: center;
}

.players-header h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.players-header h3 i {
    color: #ffb300;
}

.players-filter .form-select {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 150px;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.player-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    transition: all 0.22s;
}

.player-item:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

.player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.player-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.player-name {
    color: var(--text-primary);
    font-weight: 600;
}

.player-score {
    color: #bfc9d1;
    font-size: 0.9rem;
}

.player-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.player-status.online {
    background: #43e97b;
    box-shadow: 0 0 8px 0 #43e97b88;
}

/* Maps Tab */
.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.map-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
    overflow: hidden;
    transition: all 0.22s;
}

.map-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px 0 rgba(0,0,0,0.3);
}

.map-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.map-info {
    padding: 16px;
}

.map-info h5 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.map-info p {
    color: #bfc9d1;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.map-rating {
    color: #ffb300;
    font-weight: 600;
}

/* Comments Tab */
.comments-section {
    max-width: auto;
}

.comment-form {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.comment-form textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    border-radius: 8px;
    margin-bottom: 12px;
    resize: vertical;
    min-height: 100px;
}

.comment-form textarea:focus {
    border-color: #43e97b;
    box-shadow: 0 0 0 2px rgba(67, 233, 123, 0.2);
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}

.comment-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
}

.comment-form .btn-primary:hover {
    background: linear-gradient(90deg, #38f9d7 0%, #43e97b 100%);
    transform: translateY(-1px);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author {
    color: var(--text-primary);
    font-weight: 600;
}

.comment-date {
    color: #bfc9d1;
    font-size: 0.9rem;
}

.comment-content p {
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.comment-actions {
    display: flex;
    gap: 12px;
}

.btn-like, .btn-reply {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: #bfc9d1;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.22s;
}

.btn-like:hover, .btn-reply:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
}

/* History Tab */
.history-timeline {
    max-width: 600px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-left: 2px solid rgba(255,179,0,0.3);
    padding-left: 30px;
    position: relative;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -6px;
    top: 24px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffb300;
    box-shadow: 0 0 8px 0 #ffb30088;
}

.timeline-date {
    color: #ffb300;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 80px;
}

.timeline-content h5 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.timeline-content p {
    color: #bfc9d1;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .server-hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .server-title {
        font-size: 1.8rem;
    }
    
    .server-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .server-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-header {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .players-grid {
        grid-template-columns: 1fr;
    }
    
    .maps-grid {
        grid-template-columns: 1fr;
    }
    
    .map-info {
        flex-direction: column;
        text-align: center;
    }
}

/* Responsive additions */
@media (max-width: 768px) {
    .main-header-content {
        flex-direction: column;
        padding-left: 16px;
        text-align: center;
    }

    .game-watch-item,
    .slider-img-wrap,
    .server-map-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    .server-slider-container {
        width: 100% !important;
    }

    .stats-cards-wrap {
        flex-direction: column;
        align-items: center;
        padding-right: 0;
    }

    .profile-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .profile-avatar-section {
        flex-direction: column;
        align-items: center;
    }

    .profile-info, .profile-meta, .profile-actions {
        align-items: center;
    }

    .top10-table-wrap {
        overflow-x: auto;
    }

    .navbar-nav {
        padding-left: 0 !important;
        flex-direction: column;
    }

    .navbar .container-fluid {
        padding-left: 8px !important;
    }
}

/* Responsive for main header image */
@media (max-width: 768px) {
    .main-header-img {
        height: auto;
        min-height: 180px;
        padding: 16px 0;
    }

    .main-header-content h1 {
        font-size: 1.4rem;
    }

    .main-header-content p {
        font-size: 0.9rem;
        padding: 4px 12px;
    }

    /* Responsive for stats section */
    .stats-cards-wrap {
        flex-direction: column !important;
        align-items: center !important;
    }

    .stats-card {
        width: 90% !important;
        min-width: unset !important;
    }

    /* Responsive for footer */
    .footer-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .footer-info-group,
    .footer-info-nav,
    .footer-payments {
        margin-left: 0 !important;
        align-self: stretch !important;
        width: 100% !important;
    }

    .footer-payments-grid {
        grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
    }

    .footer-socials {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-main .container {
        padding: 0 12px;
    }
}

/* Language Switcher Mobile Positioning */
@media (max-width: 768px) {
    #langSwitcherWrap {
        top: 330px !important;
    }
}

@media (max-width: 768px) {
    .footer-nav {
        margin: 0 !important;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .footer-nav-link {
        padding: 6px 10px;
        font-size: 1rem;
        justify-content: flex-start;
        width: 100%;
    }
    
    /* Спиране на hover ефектите за мобилен изглед */
    .game-img-wrap:hover .game-img-overlay {
        opacity: 0;
    }
    .game-img-wrap:hover img {
        filter: brightness(0.85) blur(0.2px);
    }
    
    /* Промяна на размерите на изображенията за мобилен изглед */
    .game-watch-item {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .game-img-wrap {
        width: 100% !important;
        height: 120px !important;
        border-radius: 12px;
    }
    
    .game-img-wrap img {
        object-fit: cover;
    }
    
    /* Промяна на позицията на заглавията за мобилен изглед */
    .game-title {
        position: absolute;
        left: 50%;
        top: 35%;
        transform: translate(-50%, -50%);
        color: #fff;
        font-size: 1.1rem;
        font-weight: 600;
        text-align: center;
        letter-spacing: 0.5px;
        padding: 6px 8px;
        border-radius: 4px;
        z-index: 4;
        box-shadow: 0 2px 8px 0 #181a2022;
        margin: 0;
        display: inline-block;
        width: 220px;
        min-width: 0;
        max-width: 100%;
        white-space: nowrap;
        line-height: 1;
        height: fit-content;
    }
}

/* Server Chart Card Styles */
.server-chart-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.server-chart-card h4 {
    color: #e0e0e0;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.server-chart-card h4 i {
    color: #ffb300;
    margin-right: 8px;
}

.chart-container {
    position: relative;
    height: 200px;
    margin-bottom: 15px;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #bfc9d1;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-color.players {
    background-color: #ffb300;
}

.legend-color.uptime {
    background-color: #00ff88;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .server-chart-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .chart-container {
        height: 180px;
    }
    
    .chart-legend {
        gap: 15px;
    }
    
    .legend-item {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .server-chart-card {
        padding: 12px;
    }
    
    .server-chart-card h4 {
        font-size: 1rem;
    }
    
    .chart-container {
        height: 160px;
    }
    
    .chart-legend {
        gap: 12px;
    }
}

/* ==================== PAGINATION STYLES ==================== */

.pagination-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32px 0;
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-item {
    display: flex;
    align-items: center;
}

.pagination-btn {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: var(--cs-orange);
    background: transparent;
    border: 2px solid var(--cs-orange);
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.pagination-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 179, 0, 0.15), transparent);
    transition: left 0.5s ease;
}

.pagination-btn:hover::before {
    left: 100%;
}

.pagination-btn:hover {
    background: var(--cs-orange);
    color: #ffffff;
    border-color: var(--cs-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 26, 0.4);
}

.pagination-btn:active {
    transform: translateY(0);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-btn.active {
    background: var(--cs-orange);
    border-color: var(--cs-orange);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(255, 107, 26, 0.5);
}

.pagination-btn.active:hover {
    background: var(--cs-orange-dark);
    border-color: var(--cs-orange-dark);
    transform: translateY(-2px);
}

.pagination-prev,
.pagination-next {
    padding: 8px 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pagination-prev i,
.pagination-next i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.pagination-prev:hover i {
    transform: translateX(-2px);
}

.pagination-next:hover i {
    transform: translateX(2px);
}

/* Pagination Dots */
.pagination-dots {
    padding: 0 8px;
    display: flex;
    align-items: center;
}

.pagination-ellipsis {
    color: var(--cs-orange);
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 3px;
    padding: 0 8px;
    opacity: 0.7;
}

.pagination-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-info-text {
    color: #bfc9d1;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-info-text i {
    color: #ffb300;
    font-size: 0.8rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .pagination-wrapper {
        padding: 18px 20px;
        gap: 12px;
    }
    
    .pagination-btn {
        min-width: 38px;
        height: 38px;
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .pagination-prev,
    .pagination-next {
        padding: 6px 12px;
    }
    
    .pagination-info-text {
        font-size: 0.8rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .pagination-list {
        gap: 4px;
    }
    
    .pagination-btn {
        min-width: 34px;
        height: 34px;
        padding: 4px 8px;
        font-size: 0.8rem;
    }
    
    .pagination-dots {
        display: none;
    }
    
    /* Hide middle numbers on very small screens */
    .pagination-number:nth-child(n+6):nth-child(-n+7) {
        display: none;
    }
}

/* ==================== AUTOCOMPLETE STYLES ==================== */

.autocomplete-wrapper {
    position: relative;
    flex: 1;
    width: 100%;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(28, 32, 44, 0.98);
    border: 1.5px solid rgba(255, 179, 0, 0.3);
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 32px rgba(24, 26, 32, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    max-height: 280px;
    overflow-y: auto;
    display: none;
}

.autocomplete-dropdown.show {
    display: block;
    animation: autocompleteSlideDown 0.2s ease-out;
}

@keyframes autocompleteSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.highlighted {
    background: rgba(255, 179, 0, 0.08);
    border-left: 3px solid #ffb300;
    padding-left: 13px;
}

.autocomplete-item-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 179, 0, 0.15);
    border-radius: 6px;
    color: #ffb300;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.autocomplete-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.autocomplete-item-title {
    color: #e0e0e0;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
}

.autocomplete-item-subtitle {
    color: #bfc9d1;
    font-size: 0.8rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.autocomplete-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #aeb2bb;
    font-size: 0.75rem;
    margin-top: 2px;
}

.autocomplete-item-meta .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #43e97b;
}

.autocomplete-section-title {
    padding: 8px 16px;
    background: rgba(255, 179, 0, 0.06);
    border-bottom: 1px solid rgba(255, 179, 0, 0.2);
    color: #ffb300;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.autocomplete-no-results {
    padding: 20px 16px;
    text-align: center;
    color: #aeb2bb;
    font-style: italic;
    font-size: 0.85rem;
}

.autocomplete-loading {
    padding: 16px;
    text-align: center;
    color: #ffb300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
}

.autocomplete-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Custom scrollbar for autocomplete dropdown */
.autocomplete-dropdown::-webkit-scrollbar {
    width: 6px;
}

.autocomplete-dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 12px 0;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 179, 0, 0.3);
    border-radius: 3px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 179, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .autocomplete-dropdown {
        max-height: 240px;
        font-size: 0.9rem;
    }
    
    .autocomplete-item {
        padding: 10px 14px;
        gap: 10px;
    }
    
    .autocomplete-item-icon {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .autocomplete-item-title {
        font-size: 0.85rem;
    }
    
    .autocomplete-item-subtitle {
        font-size: 0.75rem;
    }
}

:root {
            --bg-primary: #12151a;
            --bg-secondary: #1a1d24;
            --bg-tertiary: #22262f;
            --text-primary: #ffffff;
            --text-secondary: #9ca3af;
            --accent-blue: #3b82f6;
            --accent-green: #10b981;
            --accent-yellow: #fbbf24;
            --accent-red: #ef4444;
            --border-color: #2a2e38;
        }

        .stats-container {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 16px;
            padding: 2rem;
            margin-bottom: 2rem;
        }
        
        .stat-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 1.5rem;
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .stat-icon {
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }
        
        .stat-value {
            font-size: 2rem;
            font-weight: bold;
            color: #fff;
        }
        
        .stat-label {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            margin-top: 0.25rem;
        }
        
        .filter-container {
            background: #1a1d24;
            border-radius: 12px;
            padding: 1.25rem;
            margin-bottom: 2rem;
            border: 1px solid #2a2e38;
        }
        
        .filter-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }
        
        .filter-tag {
            background: #22262f;
            border: 1px solid #374151;
            color: #9ca3af !important;
            padding: 0.4rem 1rem;
            border-radius: 6px;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 0.85rem;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
        }
        
        .filter-tag:hover {
            background: var(--accent-blue);
            color: #fff !important;
            transform: translateY(-2px);
        }
        
        .filter-tag.active {
            background: #10b981;
            color: #fff !important;
            border-color: #10b981;
            box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
        }
        
        .servers-table {
            background: var(--bg-secondary);
            border-radius: 12px;
            overflow: hidden;
        }
        
        .rank-badge {
            width: 35px;
            height: 35px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: #fff;
        }
        
        .rank-1 { background: linear-gradient(135deg, #ffd700, #ffed4e); color: #000; }
        .rank-2 { background: linear-gradient(135deg, #c0c0c0, #e8e8e8); color: #000; }
        .rank-3 { background: linear-gradient(135deg, #cd7f32, #e6a64d); color: #fff; }
        .rank-default { background: var(--bg-tertiary); }
        
        .player-bar {
            width: 100px;
            height: 6px;
            background: var(--bg-tertiary);
            border-radius: 3px;
            overflow: hidden;
            margin-bottom: 0.75rem;
        }
        
        .player-fill {
            height: 100%;
            background: var(--accent-green);
            transition: width 0.3s ease;
        }
        
        .player-fill.high {
            background: var(--accent-yellow);
        }
        
        .player-fill.full {
            background: var(--accent-red);
        }
        
        .modern-header {
            text-align: center;
            margin-bottom: 2rem;
            padding-top: 2rem;
        }
        
        .table-dark {
            --bs-table-bg: var(--bg-tertiary);
        }
        
        .table > tbody > tr {
            border-color: var(--border-color);
        }
        
        .btn-modern {
            background: var(--accent-blue);
            border: none;
            color: #fff;
            padding: 0.5rem 1rem;
            border-radius: 6px;
            text-align: center;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 0.85rem;
            font-weight: 500;
            text-transform: uppercase;
        }
        
        .btn-modern:hover {
            background: #1a8cd8;
            color: #fff;
            transform: translateY(-2px);
        }
        
        /* View Toggle Buttons */
        .view-toggle {
            display: flex;
            gap: 0.5rem;
            justify-content: flex-end;
            margin-bottom: 1.5rem;
        }
        
        .view-toggle .btn {
            background: transparent;
            border: 1px solid #374151;
            color: #9ca3af;
            padding: 0.4rem 1rem;
            border-radius: 6px;
            transition: all 0.3s ease;
            font-size: 0.85rem;
            font-weight: 500;
        }
        
        .view-toggle .btn:hover {
            background: var(--bg-primary);
            color: var(--text-primary);
        }
        
        .view-toggle .btn.active {
            background: #3b82f6;
            color: #fff;
            border-color: #3b82f6;
            box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
        }
        
        /* Grid View Styles */
        .servers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        @media (min-width: 768px) {
            .servers-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (min-width: 1200px) {
            .servers-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (min-width: 1600px) {
            .servers-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        
        .server-card {
            background: linear-gradient(135deg, #161c2e 0%, #0a0e1a 100%);
            border: 2px solid rgba(255, 107, 26, 0.2);
            border-radius: 0;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(255, 107, 26, 0.05);
            transition: var(--transition-base);
            position: relative;
            clip-path: polygon(
                0 10px, 10px 0,
                calc(100% - 10px) 0, 100% 10px,
                100% 100%, 0 100%
            );
            overflow: hidden;
            transition: all 0.3s ease;
            position: relative;
            display: flex;
            flex-direction: column;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }
        
        .server-card .map-preview {
            width: 100%;
            height: 150px;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
            background-color: #2a2e38;
        }
        
        .server-card .map-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
        }
        
        .server-card .server-badges {
            position: absolute;
            bottom: 10px;
            left: 10px;
            display: flex;
            gap: 8px;
            z-index: 2;
        }
        
        .server-card .badge-tag {
            background: rgba(0, 0, 0, 0.6);
            color: #fff;
            padding: 3px 8px;
            border-radius: 6px;
            font-size: 0.65rem;
            font-weight: 600;
            backdrop-filter: blur(10px);
            text-transform: uppercase;
        }
        
        .server-card .badge-tag.vip {
            background: linear-gradient(90deg, #fbbf24, #f59e0b);
            color: #000;
        }
        
        .server-card .badge-tag.cs1 {
            background: #f97316;
        }
        
        .server-card .badge-tag.cs2 {
            background: #10b981;
        }
        
        .server-card .badge-tag.players {
            background: rgba(29, 155, 240, 0.9);
        }
        
        .server-card .badge-tag.full {
            background: rgba(249, 24, 128, 0.9);
        }
        
        .server-card .server-content {
            padding: 1rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .server-card .stat-item {
            margin-bottom: 15px;
            padding: 10px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
        }
        
        .server-card .stat-label {
            color: var(--text-secondary);
            font-size: 0.75rem;
            margin-bottom: 0.25rem;
        }
        
        .server-card .stat-value {
            color: var(--text-primary);
            font-weight: 500;
        }
        
        .server-card .player-progress {
            width: 100%;
            height: 8px;
            background: var(--bg-tertiary);
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 0.75rem;
        }
        
        .server-card .player-progress-fill {
            height: 100%;
            background: var(--accent-green);
            transition: width 0.3s ease;
        }
        
        .server-card .player-progress-fill.high {
            background: var(--accent-yellow);
        }
        
        .server-card .player-progress-fill.full {
            background: var(--accent-red);
        }
        
        .server-card .action-buttons {
            display: flex;
            gap: 0.5rem;
            margin-top: auto;
        }
        
        .server-card .btn-action {
            flex: 1;
            background: var(--bg-tertiary);
            border: none;
            color: var(--text-primary);
            padding: 0.6rem;
            border-radius: 6px;
            text-align: center;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 0.85rem;
            font-weight: 500;
            text-transform: uppercase;
        }
        
        .server-card .btn-action.connect {
            background: #ef4444;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
        }
        
        .server-card .btn-action.connect:hover {
            background: #dc2626;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
        }
        
        /* Table View Improvements */
        .table-dark {
            --bs-table-bg: transparent;
        }
        
        .table {
            border-collapse: collapse;
            border-spacing: 0;
        }
        
        .table > tbody > tr {
            background: transparent;
            transition: all 0.15s ease;
            position: relative;
            overflow: hidden;
        }
        
        .table > tbody > tr:hover {
            filter: brightness(1.1);
        }
        
        .server-flag {
            width: 20px;
            height: 14px;
            margin-right: 0.5rem;
            display: inline-block;
        }
        
        .player-bar-cell {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .player-bar-cell .player-count {
            min-width: 50px;
            font-weight: 500;
        }
        
        .map-tag {
            background: var(--bg-tertiary);
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.8rem;
            color: var(--text-secondary);
        }
        
        /* Profile & Language Dropdown Styles */
        .btn-user {
            background: rgba(102, 126, 234, 0.1);
            border: 1px solid rgba(102, 126, 234, 0.3);
            color: #fff;
            padding: 8px 15px;
            border-radius: 5px;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
        }
        
        .btn-user:hover {
            background: rgba(102, 126, 234, 0.2);
            border-color: #667eea;
        }
        
        .user-avatar-small {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .user-icon {
            font-size: 1.2rem;
            color: #667eea;
        }
        
        .dropdown-menu {
            background: #1a1f2e;
            border: 1px solid rgba(102, 126, 234, 0.3);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }
        
        .dropdown-item {
            color: #b4bcd0;
            padding: 10px 20px;
            transition: all 0.3s ease;
        }
        
        .dropdown-item:hover {
            background: rgba(102, 126, 234, 0.1);
            color: #fff;
        }
        
        .dropdown-divider {
            border-color: rgba(255, 255, 255, 0.1);
        }
        
        /* Language Selector */
        .language-selector {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .language-btn {
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #b4bcd0;
            padding: 6px 12px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: all 0.3s ease;
        }
        
        .language-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.3);
            color: #fff;
        }
        
        .language-btn.active {
            background: rgba(102, 126, 234, 0.2);
            border-color: #667eea;
            color: #667eea;
        }
        
        /* Custom styles for filter buttons */
        .filter-btn:hover {
            background: #2a2e38 !important;
            border-color: #4b5563 !important;
        }
        
        input[type="text"]:focus {
            outline: none;
            border-color: #3b82f6 !important;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }
        
        button {
            border: none;
            outline: none;
        }
        
        /* Table hover effect */
        tr:hover {
            background: #22262f !important;
        }

/* Universal dark tooltip style like in the image */
.custom-tooltip {
  position: absolute;
  background: rgba(20, 20, 28, 0.98);
  color: #e2e8f0;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: none;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

.custom-tooltip.show {
  opacity: 1;
  display: flex;
}

.custom-tooltip i {
  color: #ff6b6b;
  font-size: 16px;
}

/* Arrow pointing down */
.custom-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(20, 20, 28, 0.98);
}

/* Hide old map popups */
.top10-map-popup,
.top10-players-popup {
  display: none !important;
}

/* Favorites and likes buttons styles */
.server-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.btn-favorite,
.btn-like {
  flex: 1;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #6b7280;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.btn-favorite:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.btn-favorite.active {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

.btn-like:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}

.btn-like.active {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
  color: #3b82f6;
}

.btn-favorite i,
.btn-like i {
  font-size: 14px;
}

.btn-favorite .count,
.btn-like .count {
  font-weight: 600;
}
		
#langSwitcherWrap {
    position: fixed;
    top: 50%;
    left: 10px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#langSwitcherBtn {
    border: 1.5px solid rgb(255 255 255 / 8%);
    background: rgb(255 255 255 / 8%);
    backdrop-filter: blur(7px);
    border-radius: 5px 12px 5px 12px;
    color: #fff;
    padding: 10px 16px 10px 10px;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 #181a2022;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.18s, color 0.18s;
}
#langSwitcherBtn:hover {
    background: #43e97b;
    color: #181a20;
}
#langMenu {
    display: none;
    flex-direction: column;
    border: 1.5px solid rgb(255 255 255 / 8%);
    background: rgb(255 255 255 / 8%);
    backdrop-filter: blur(7px);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 24px 0 #181a2022;
    margin-top: 2px;
    min-width: 120px;
    overflow: hidden;
}
#langMenu.show {
    display: flex;
}
.langMenuItem {
    padding: 10px 18px;
    color: #fff;
    font-size: 1.08rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.langMenuItem:hover {
    background: #43e97b;
    color: #181a20;
}
.lang-flag {
    width: 24px;
    height: 16px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 1px 4px 0 #181a2022;
    border: 1px solid #23272f;
}    /* Profile Page Styles */
        .profile-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 30px;
        }
        
        .profile-avatar-section {
            display: flex;
            align-items: center;
            gap: 20px;
        }
        
        .profile-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }
        
        .avatar-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .player-avatar-letter {
            font-size: 48px;
            color: white;
            font-weight: bold;
        }
        
        .avatar-edit-overlay {
            position: absolute;
            bottom: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.6);
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            cursor: pointer;
        }
        
        .profile-info h3 {
            color: white;
            margin: 0 0 10px 0;
            font-size: 24px;
        }
        
        .profile-status {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 10px;
        }
        
        .status-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #22c55e;
            animation: pulse 2s infinite;
        }
        
        .status-dot.offline {
            background: #6b7280;
            animation: none;
        }
        
        .status-text {
            color: rgba(255, 255, 255, 0.9);
            font-size: 14px;
        }
        
        .profile-meta {
            color: rgba(255, 255, 255, 0.7);
            font-size: 13px;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
        
        .profile-actions {
            margin-left: auto;
        }
        
        .btn-edit-profile {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            padding: 10px 20px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .btn-edit-profile:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        /* Card Styles */
        .profile-stats-card, .profile-details-card, .profile-security-card, .profile-activity-card {
            background: #1a1a1a;
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .stats-title, .details-title, .security-title, .activity-title {
            color: white;
            font-size: 18px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .section-badge {
            background: linear-gradient(135deg, #667eea, #764ba2);
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 12px;
            color: white;
            display: inline-block;
            margin-left: auto;
        }
        
        .stat-item {
            margin-bottom: 15px;
            padding: 10px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
        }
        
        .stat-value {
            font-size: 20px;
            color: white;
            margin-bottom: 5px;
        }
        
        .stat-label {
            font-size: 13px;
            color: #9ca3af;
        }
        
        /* Table Styles */
        .servers-table, .sessions-table {
            width: 100%;
            color: white;
        }
        
        .servers-table th, .sessions-table th {
            background: rgba(255, 255, 255, 0.05);
            padding: 12px;
            text-align: left;
            font-size: 13px;
            color: #9ca3af;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .servers-table td, .sessions-table td {
            padding: 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }
        
        .sessions-table th, .sessions-table td:last-child {
            text-align: center;
        }
        
        /* Pagination Styles */
        .pagination-btn:hover {
            background: rgba(102, 126, 234, 0.2) !important;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
            color: white !important;
            text-decoration: none;
        }
        
        .pagination-number:hover {
            background: rgba(102, 126, 234, 0.2) !important;
            color: white !important;
            transform: translateY(-2px);
            text-decoration: none;
        }
        
        @media (max-width: 576px) {
            .pagination-container {
                padding: 0 10px;
            }
            
            .pagination-btn, .pagination-number {
                font-size: 0.85rem !important;
            }
        }
        
        .game-badge {
            background: linear-gradient(135deg, #667eea, #764ba2);
            padding: 4px 8px;
            border-radius: 6px;
            font-size: 11px;
            display: inline-block;
        }
        
        .sessions-badge, .time-badge {
            background: rgba(255, 255, 255, 0.1);
            padding: 4px 8px;
            border-radius: 6px;
            font-size: 12px;
            display: inline-block;
        }
        
        .view-btn {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 6px 12px;
            border-radius: 6px;
            text-decoration: none;
            font-size: 13px;
            display: inline-block;
            transition: opacity 0.3s;
        }
        
        .view-btn:hover {
            opacity: 0.8;
            color: white;
            text-decoration: none;
        }
        
        .empty-state {
            text-align: center;
            padding: 40px;
            color: #6b7280;
        }
        
        .empty-icon {
            font-size: 48px;
            margin-bottom: 15px;
            color: #4b5563;
        }
        
        .empty-title {
            font-size: 18px;
            margin-bottom: 5px;
            color: #9ca3af;
        }
        
        .empty-text {
            font-size: 14px;
            color: #6b7280;
        }
        
        .session-status {
            padding: 4px 8px;
            border-radius: 6px;
            font-size: 11px;
        }
        
        .session-status.active {
            background: rgba(34, 197, 94, 0.2);
            color: #22c55e;
        }
        
        .session-status.completed {
            background: rgba(107, 114, 128, 0.2);
            color: #9ca3af;
        }
        
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
            100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
        }
		
		.gmon_boks {
    position: relative;
    width: 100%;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ccc;
    font-size: 13.5px;
    background-color: #3c404a;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px
}

.gmon_boks-image {
    position: relative;
    width: 32%;
    height: 100%;
    overflow: hidden
}

.gmon_boks-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1)
}

.gmon_boks-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left,rgb(60 64 74 / .3),rgb(60 64 74));
    z-index: 1
}

.gmon_boks-image i {
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    font-size: 40px;
    color: #ccc;
    transition: color 0.3s ease,transform 0.3s ease;
    z-index: 2
}

@media (max-width: 600px) {
    .gmon_boks-image i {
        display:none
    }
}

.gmon_boks-image:hover i {
    color: #ff0;
    transform: translateY(-50%) scale(1.5);
    z-index: 2
}

.gmon_boks-container {
    display: flex;
    align-items: center;
    gap: 10px
}

/* Additional Global Styles */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.card {
    background: linear-gradient(145deg, #161c2e 0%, #0a0e1a 100%);
    border: 2px solid rgba(255, 107, 26, 0.3);
    border-radius: 0;
    position: relative;
    box-shadow: 0 0 40px rgba(255, 107, 26, 0.15), inset 0 0 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition-base);
    clip-path: polygon(
        0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)
    );
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cs-orange), transparent);
    animation: scan 4s linear infinite;
}

/* Disabled for performance
@keyframes scan {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(100px); opacity: 0.5; }
    100% { transform: translateY(0); opacity: 1; }
}
*/

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

/* CS2 Gaming Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 26, 0.5),
                    0 0 40px rgba(255, 107, 26, 0.3),
                    0 0 60px rgba(255, 107, 26, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 107, 26, 0.8),
                    0 0 60px rgba(255, 107, 26, 0.5),
                    0 0 80px rgba(255, 107, 26, 0.3);
    }
}

@keyframes glitch {
    0%, 100% {
        text-shadow: 2px 2px 0 var(--cs-red), -2px -2px 0 var(--cs-blue);
    }
    25% {
        text-shadow: -2px 2px 0 var(--cs-red), 2px -2px 0 var(--cs-blue);
    }
    50% {
        text-shadow: 2px -2px 0 var(--cs-red), -2px 2px 0 var(--cs-blue);
    }
    75% {
        text-shadow: -2px -2px 0 var(--cs-red), 2px 2px 0 var(--cs-blue);
    }
}

@keyframes radar {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes laserBeam {
    0% {
        transform: translateX(-100%) skewX(-30deg);
    }
    100% {
        transform: translateX(200%) skewX(-30deg);
    }
}

/* CS2 Rank System Colors */
.rank-global { 
    background: linear-gradient(135deg, #b393d3, #8b7ab8);
    text-shadow: 0 0 20px rgba(179, 147, 211, 0.8);
}
.rank-supreme { 
    background: linear-gradient(135deg, #ff6b1a, #ff8c4a);
    text-shadow: 0 0 20px rgba(255, 107, 26, 0.8);
}
.rank-legendary { 
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}
.rank-master { 
    background: linear-gradient(135deg, #0e7fff, #4da3ff);
    text-shadow: 0 0 20px rgba(14, 127, 255, 0.8);
}
.rank-silver { 
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    text-shadow: 0 0 20px rgba(192, 192, 192, 0.8);
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(102, 126, 234, 0.1);
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Styles */
.form-control {
    background: rgba(24, 26, 32, 0.5);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.form-control:focus {
    background: rgba(24, 26, 32, 0.8);
    border-color: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Tables */
.table {
    color: var(--text-primary);
}

.table-dark {
    background: rgba(24, 26, 32, 0.5);
}

/* Utility Classes - CS2 Gaming */
.text-muted {
    color: var(--text-secondary) !important;
}

.text-cs-orange { color: var(--cs-orange) !important; }
.text-cs-yellow { color: var(--cs-yellow) !important; }
.text-cs-blue { color: var(--cs-blue) !important; }
.text-cs-red { color: var(--cs-red) !important; }
.text-cs-green { color: var(--cs-green) !important; }

.bg-cs-orange { background: var(--cs-orange) !important; }
.bg-cs-yellow { background: var(--cs-yellow) !important; }
.bg-cs-blue { background: var(--cs-blue) !important; }
.bg-cs-red { background: var(--cs-red) !important; }
.bg-cs-green { background: var(--cs-green) !important; }

/* Kill Feed Style */
.kill-feed {
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 15px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.8), transparent);
    border-left: 3px solid var(--cs-orange);
}

/* Money Display */
.money {
    color: var(--cs-green);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.money::before {
    content: '$';
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Team Colors */
.team-t {
    color: var(--cs-orange);
    text-shadow: 0 0 10px rgba(255, 107, 26, 0.5);
}

.team-ct {
    color: var(--cs-blue);
    text-shadow: 0 0 10px rgba(14, 127, 255, 0.5);
}

/* Score Display */
.score {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    letter-spacing: 5px;
    background: linear-gradient(135deg, var(--cs-orange), var(--cs-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Bomb Timer */
.bomb-timer {
    color: var(--cs-red);
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    animation: bombPulse 1s ease infinite;
}

@keyframes bombPulse {
    0%, 100% { 
        color: var(--cs-red); 
        text-shadow: 0 0 20px rgba(255, 70, 85, 0.8);
    }
    50% { 
        color: #ffffff; 
        text-shadow: 0 0 30px rgba(255, 255, 255, 1);
    }
}

.bg-dark-card {
    background: var(--bg-card);
}

/* CS2 Special Effects */
.cs2-glow {
    animation: neonPulse 2s ease infinite;
}

.cs2-border {
    position: relative;
}

.cs2-border::before,
.cs2-border::after {
    content: '';
    position: absolute;
    background: var(--cs-orange);
}

.cs2-border::before {
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cs-orange), transparent);
    animation: slide 3s linear infinite;
}

.cs2-border::after {
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cs-orange), transparent);
    animation: slide 3s linear infinite reverse;
}

/* Crosshair Cursor for Gaming Feel */
.game-area {
    cursor: crosshair;
}

/* CS2 Weapon Skins Theme */
.skin-fade {
    background: linear-gradient(135deg, #ff6b1a 0%, #161c2e 50%, #ff6b1a 100%);
}

.skin-asiimov {
    background: linear-gradient(135deg, #ffffff 0%, #ff6b1a 50%, #000000 100%);
}

.skin-hyper-beast {
    background: linear-gradient(135deg, #9b59ff 0%, #ff6b1a 50%, #00ff88 100%);
}

/* Glowing Text Effect */
.glow-text {
    text-shadow: 0 0 10px var(--cs-orange),
                 0 0 20px var(--cs-orange),
                 0 0 30px var(--cs-orange),
                 0 0 40px var(--cs-orange);
}

/* Radar Scanner Effect */
.radar-container {
    position: relative;
    overflow: hidden;
}

.radar-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--cs-orange), transparent 30deg);
    animation: radar 4s linear infinite;
    transform-origin: center;
    opacity: 0.3;
}

/* Additional Admin Theme Styles */
.content-wrapper {
    background: var(--bg-dark);
    min-height: calc(100vh - 68px);
}

/* Card Hover Effects */
.card:hover,
.server-card:hover,
.stats-card:hover,
.news-card:hover,
.server-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Button Hover Improvements */
.btn:hover {
    transform: translateY(-2px);
}

/* Section Headers - Normal Style */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    text-transform: none;
    letter-spacing: normal;
    position: relative;
    text-shadow: none;
    text-align: left;
    margin: 0;
    padding: 10px 0;
    display: block;
    width: 100%;
}

h1::after, h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--cs-orange), transparent);
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--cs-orange), var(--cs-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.4;
}

h2 {
    font-size: 2rem;
    color: var(--cs-orange);
    line-height: 1.4;
}

h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    border-left: none;
    padding: 15px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

h4 {
    font-size: 1.3rem;
    line-height: 1.3;
}

h5 {
    font-size: 1.1rem;
    line-height: 1.3;
}

h6 {
    font-size: 1rem;
    line-height: 1.3;
}

/* Links - CS2 Style */
a {
    color: var(--cs-orange);
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: 600;
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cs-orange), var(--cs-yellow));
    transition: width 0.3s;
}

a:hover {
    color: var(--cs-yellow);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

a:hover::after {
    width: 100%;
}

/* Loading States - CS2 Style */
.spinner-border {
    color: var(--cs-orange);
    border-right-color: transparent;
    animation: radar 1s linear infinite;
}

.loading-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.loading-container::before {
    content: 'LOADING';
    position: absolute;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--cs-orange);
    animation: glitch 2s infinite;
}

/* Progress Bars - CS2 Style */
.progress {
    background: linear-gradient(90deg, #0a0e1a 0%, #161c2e 100%);
    border: 2px solid rgba(255, 107, 26, 0.3);
    border-radius: 0;
    height: 25px;
    position: relative;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    overflow: visible;
}

.progress::before {
    content: 'PROGRESS';
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--cs-orange);
    opacity: 0.5;
    z-index: 2;
}

.progress-bar {
    background: linear-gradient(90deg, var(--cs-orange) 0%, var(--cs-yellow) 50%, var(--cs-orange) 100%);
    background-size: 200% 100%;
    position: relative;
    height: 100%;
    animation: progressMove 2s linear infinite;
    box-shadow: 0 0 20px rgba(255, 107, 26, 0.5);
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: pulse 1s ease infinite;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Tooltips */
.tooltip .tooltip-inner {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Custom Select */
.form-select {
    background: var(--bg-card) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23667eea'/%3e%3c/svg%3e") no-repeat right .75rem center/16px 12px;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Breadcrumbs */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item {
    color: var(--text-secondary);
}

.breadcrumb-item.active {
    color: var(--text-primary);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-secondary);
}

/* Tabs */
.nav-tabs {
    border-bottom: 2px solid var(--border-color);
}

.nav-tabs .nav-link {
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    transition: var(--transition-fast);
}

.nav-tabs .nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
    border-bottom-color: var(--primary-color);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background: transparent;
    border: none;
    border-bottom: 3px solid var(--primary-color);
}

/* Pagination Additional Styles */
.page-link {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.page-link:hover {
    background: var(--bg-hover);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: transparent;
    color: white;
}

/* Checkbox and Radio */
.form-check-input {
    background-color: var(--bg-card);
    border-color: var(--border-color);
}

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

.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Switches */
.form-switch .form-check-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23667eea'/%3e%3c/svg%3e");
}

.form-switch .form-check-input:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='white'/%3e%3c/svg%3e");
}

.border-purple {
    border-color: var(--primary-color) !important;
}

.shadow-purple {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.gmon_boks-icons-left {
    position: relative;
    padding-left: 5px;
    z-index: 2;
    font-weight: 700;
    text-align: left
}

.gmon_boks-icons-left img {
    width: 46px;
    height: 46px;
    object-fit: cover
}

@media (max-width: 480px) {
    .gmon_boks-icons-left img {
        width:30px;
        height: 30px
    }

    .gmon_boks-icons-left {
        padding-left: 5px
    }
}

.gmon_boks-content-left {
    position: relative;
    z-index: 2;
    font-weight: 700;
    text-align: left;
}

/* ============================================
   GLOBAL HEADER FIXES - CS2/CSGO GAMING THEME
   Applied to ALL card headers and sections
   Fixes crushed/compressed headers issue
   ============================================ */

/* Fix ALL Headers in Cards - Centered and Proper Spacing */
.card-header,
.card-title,
.panel-heading,
.box-header,
.widget-header,
.content-header,
.section-header,
.gold-header,
.vip-header,
.stats-header,
.news-header,
.server-header,
.profile-header,
.modal-header,
.tab-header,
.table-header {
    background: transparent !important;
    padding: 15px !important;
    min-height: 55px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    border-bottom: 2px solid var(--cs-orange) !important;
    position: relative !important;
    overflow: hidden !important;
    font-family: var(--font-primary) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Fix ALL H1-H6 inside any card or section */
.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6,
.card-header h1,
.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5,
.card-header h6,
.panel-heading h1,
.panel-heading h2,
.panel-heading h3,
.panel-heading h4,
.panel-heading h5,
.panel-heading h6,
.box-header h1,
.box-header h2,
.box-header h3,
.box-header h4,
.box-header h5,
.box-header h6,
.section-header h1,
.section-header h2,
.section-header h3,
.section-header h4,
.section-header h5,
.section-header h6,
[class*="header"] h1,
[class*="header"] h2,
[class*="header"] h3,
[class*="header"] h4,
[class*="header"] h5,
[class*="header"] h6 {
    margin: 0 !important;
    padding: 10px 15px !important;
    font-family: var(--font-heading) !important;
    font-size: 1.3rem !important;
    font-weight: 500 !important;
    color: var(--cs-orange) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
    line-height: 1.4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    border: none !important;
    text-align: left !important;
    min-height: 45px !important;
}

/* Icons inside headers */
[class*="header"] i {
    font-size: 1.3rem !important;
    color: var(--cs-orange) !important;
    text-shadow: none !important;
    flex-shrink: 0 !important;
}

/* Remove after pseudo elements from all headers */
[class*="header"] h1::after,
[class*="header"] h2::after,
[class*="header"] h3::after,
[class*="header"] h4::after,
[class*="header"] h5::after,
[class*="header"] h6::after {
    display: none !important;
}

/* Special styling for GOLD/VIP sections */
.gold-header h3,
.vip-header h3,
.gold-section-title,
[class*="gold"] h3,
[class*="vip"] h3 {
    background: linear-gradient(135deg, #ffd700, #ff6b1a, #ffd700) !important;
    background-size: 200% 200% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: goldShine 3s ease infinite !important;
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   Fixes lag and improves site speed
   ============================================ */

/* GPU Acceleration for smooth animations */
.card,
.navbar,
.stats-card,
.server-card,
.modal,
.dropdown-menu {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Reduce animation complexity */
* {
    animation-fill-mode: both;
    animation-play-state: running;
}

/* Optimize transitions */
* {
    transition-timing-function: ease-out !important;
}

/* Disable expensive effects on hover for performance */
@media (hover: hover) {
    .card:hover::before,
    .stats-card:hover::before,
    .server-card:hover::before {
        animation: none !important;
    }
}

/* Reduce box-shadow complexity */
.card,
.stats-card,
.server-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Disable unnecessary animations */
.stats-card::before,
.server-card::after,
.card::before {
    animation: none !important;
}

/* Optimize backdrop filters */
.modal-backdrop,
.navbar {
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
}

/* Reduce animation frequency */
@keyframes headerShine {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes goldShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 107, 26, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 107, 26, 0.5);
    }
}

/* Performance mode for low-end devices */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
    
    .navbar::after,
    .card::before,
    .stats-card::before,
    .server-card::after,
    .modal-content::before,
    body::before {
        display: none !important;
    }
}

/* Font loading already optimized via Google Fonts */

/* Reduce repaints */
.navbar,
.card-header,
.section-header {
    will-change: auto !important;
}

/* Simplify clip-paths for performance */
@media (max-width: 768px) {
    .card,
    .stats-card,
    .server-card {
        clip-path: none !important;
    }
}

/* Optimize scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Reduce gradient complexity */
.card,
.stats-card,
.server-card {
    background: #161c2e !important;
}

/* Cache animations */
[class*="header"]::before {
    animation-delay: 0s !important;
    animation-duration: 10s !important;
}