/* Mobile Specific Buttons */
.mobile-only {
    display: none !important;
}

@media (max-width: 1024px) and (pointer: coarse) {
    .mobile-only {
        display: flex !important;
    }
}

/* Performance Mode - Disable all animations */
body.no-animations * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

body.no-animations .reveal {
    opacity: 1 !important;
    transform: none !important;
}

.btn-vip-nav {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.75rem;
    margin-left: -15px;
    /* Przyciągnięcie do logo */
    box-shadow: 0 0 15px rgba(245, 166, 35, 0.4);
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(245, 166, 35, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(245, 166, 35, 0.7);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(245, 166, 35, 0.4);
    }
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(245, 166, 35, 0.4);
    animation: pulse 2s infinite;
}

:root {
    --primary-color: #f5a623;
    --secondary-color: #1a1a1a;
    --accent-color: #ffd700;
    --bg-dark: #0a0a0a;
    --text-white: #ffffff;
    --text-gray: #aaaaaa;
    --card-bg: rgba(20, 20, 20, 0.8);
    --border-glow: 0 0 15px rgba(245, 166, 35, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    user-select: none;
    -webkit-user-select: none;
}

img {
    pointer-events: none;
    -webkit-user-drag: none;
}

html {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

html::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.btn,
.nav-links,
.user-name {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

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

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

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

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

/* Navbar Styles */
.navbar {
    display: none; /* Ukryty na PC – widoczny tylko na telefonie */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

/* Pokaż navbar tylko na telefonie */
@media (max-width: 768px) {
    .navbar {
        display: block;
    }
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-white);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 1px;
    user-select: none;
}

.nav-logo-img {
    height: 35px;
    width: auto;
}

.nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 100px;
    gap: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    will-change: transform;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
}

.nav-links.active {
    transform: translateX(0);
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    opacity: 0.7;
    font-family: 'Oswald', sans-serif;
    margin: 15px 0;
}

.nav-link:hover {
    opacity: 1;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-white);
    transition: all 0.3s ease;
}

/* Hamburger animation – dla wszystkich urządzeń */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile hero buttons */
@media (max-width: 1024px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px !important;
    }

    .hero-buttons .btn {
        width: 280px;
        margin: 0 !important;
        text-align: center;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('hero-bg.webp') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(30, 20, 0, 0.5), rgba(15, 10, 0, 1));
}

.hero-content {
    position: relative;
    z-index: 10;
    animation: fadeIn 1s ease-out;
}

/* Fog Effect */
@keyframes float {

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

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

.main-logo {
    width: 350px;
    max-width: 85%;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.2)) drop-shadow(0 0 15px rgba(245, 166, 35, 0.4));
}

.anim-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

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

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

.glitch {
    font-size: 5rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 10px;
    position: relative;
    text-shadow: 0.05em 0 0 rgba(255, 150, 0, 0.75),
        -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
        0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    animation: glitch-anim 500ms infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-anim 650ms infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-0.025em, -0.0125em);
    opacity: 0.8;
}

.glitch::after {
    animation: glitch-anim 375ms infinite;
    clip-path: polygon(0 80%, 100% 20%, 100% 100%, 0 100%);
    transform: translate(0.0125em, 0.025em);
    opacity: 0.8;
}

@keyframes glitch-anim {
    0% {
        text-shadow: 0.05em 0 0 rgba(255, 150, 0, 0.75),
            -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
            -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }

    14% {
        text-shadow: 0.05em 0 0 rgba(255, 150, 0, 0.75),
            -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
            -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }

    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 150, 0, 0.75),
            0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
            -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 150, 0, 0.75),
            0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
            -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 150, 0, 0.75),
            0.05em 0 0 rgba(0, 255, 0, 0.75),
            0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 150, 0, 0.75),
            0.05em 0 0 rgba(0, 255, 0, 0.75),
            0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    100% {
        text-shadow: -0.025em 0 0 rgba(255, 150, 0, 0.75),
            -0.025em -0.025em 0 rgba(0, 255, 0, 0.75),
            -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: 5px;
    margin-bottom: 40px;
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto 0;
}

/* Server Grid */
.servers-section {
    background: url('server-bg.webp') center/cover no-repeat;
    position: relative;
}

.servers-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 5, 0.75) 0%,
        rgba(10, 8, 2, 0.5) 40%,
        rgba(5, 5, 5, 0.85) 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* Blur-fade przejście dolne servers -> stats */
.servers-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, #050505 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    mask-image: linear-gradient(to bottom, transparent, black);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black);
    pointer-events: none;
    z-index: 2;
}

.servers-section .container {
    position: relative;
    z-index: 1;
}

.servers-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

@media (max-width: 1200px) and (pointer: coarse) {
    .servers-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Server Cards Enhancement */
.server-card {
    background: var(--card-bg);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.server-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(245, 166, 35, 0.2);
    background: rgba(30, 30, 30, 0.9);
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transition: 0.5s;
}

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

.server-header h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.server-desc {
    color: var(--text-gray);
    margin-bottom: 20px;
    white-space: nowrap;
    overflow: visible;
    font-size: 0.9rem;
}

/* Server Card Wrapper */
.server-card-wrapper {
    position: relative;
    width: 380px;
    max-width: 100%;
}

/* Wipe Card - Appears on hover */
.wipe-card {
    margin-top: 10px;
    padding: 15px 20px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid rgba(245, 166, 35, 0.5);
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 0 25px rgba(245, 166, 35, 0.5), inset 0 0 15px rgba(245, 166, 35, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.wipe-countdown {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(245, 166, 35, 0.8);
}

.server-card-wrapper:hover .wipe-card {
    opacity: 1;
    transform: translateY(0);
    max-height: 80px;
    padding: 15px 20px;
}

/* Wipe Countdown - Expanding Card */
.wipe-info {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
}

/* The original .wipe-countdown rule is kept for context, but the new one takes precedence for .wipe-card */
/*
.wipe-countdown {
    padding: 15px 0;
    margin-top: 15px;
    border-top: 2px solid rgba(46, 204, 113, 0.5);
    color: #2ecc71;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

.wipe-countdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2ecc71, #27ae60, #2ecc71);
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.8);
}
*/

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    }

    50% {
        box-shadow: 0 0 25px rgba(76, 175, 80, 0.9);
    }
}

.server-card:hover .wipe-info {
    max-height: 80px;
    opacity: 1;
}

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

.players-count {
    font-size: 1.2rem;
    font-weight: 700;
}

.status-text.online,
.status-ok {
    color: #4caf50;
}

.status-text.offline,
.status-err {
    color: #f44336;
}


.copy-ip {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Oswald', sans-serif;
}

.copy-ip:hover {
    background: var(--primary-color);
    color: #000;
}

.copy-ip.copied::after {
    content: 'SKOPIOWANO!';
    position: absolute;
    background: #4caf50;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}

/* Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    transition: 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #ffb74d;
    box-shadow: var(--border-glow);
    transform: scale(1.05);
}

.btn-secondary {
    border: 2px solid var(--text-white);
    color: var(--text-white);
    margin-left: 20px;
}

.btn-secondary:hover {
    background: var(--text-white);
    color: #000;
}

/* Stats Section */
.stats-section {
    background: url('stats-bg.webp') center/cover no-repeat;
    padding: 100px 0;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        #050505 0%,
        rgba(5, 5, 5, 0.70) 15%,
        rgba(8, 6, 2, 0.55) 50%,
        rgba(5, 5, 5, 0.80) 85%,
        #050505 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* Blur-fade przejście dolne stats -> shop */
.stats-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, #050505 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    mask-image: linear-gradient(to bottom, transparent, black);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black);
    pointer-events: none;
    z-index: 2;
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.stat-box {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
}

.stat-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(245, 166, 35, 0.1);
}

.stat-box i {
    font-size: 2.2rem;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(245, 166, 35, 0.5);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 20px rgba(245, 166, 35, 0.3);
    font-family: 'Outfit', sans-serif;
}

.stat-box .stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Shop Layout */
.shop-section {
    background: url('shop-bg.webp') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.shop-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.4), rgba(10, 10, 10, 0.9));
    z-index: 1;
}

.shop-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(245, 166, 35, 0.18) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    animation: fireFlicker 4s infinite alternate;
}

@keyframes fireFlicker {
    0% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }

    25% {
        opacity: 1;
        transform: translate(-50%, -52%) scale(1.05);
    }

    50% {
        opacity: 0.8;
        transform: translate(-49%, -50%) scale(0.95);
    }

    75% {
        opacity: 0.9;
        transform: translate(-51%, -51%) scale(1.02);
    }

    100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }
}

.shop-embers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Ember Animation Styles */
.ember-source {
    position: absolute;
    width: 20px;
    height: 20px;
    z-index: 1;
    pointer-events: none;
}

.source-pit {
    left: 28%;
    bottom: 20%;
}

.source-stove {
    left: 90%;
    bottom: 32%;
}

@media (max-width: 1024px) {
    .source-pit {
        left: 50%;
        bottom: 10%;
    }

    .source-stove {
        display: none;
    }
}

.fire-glow-simple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.15) 0%, transparent 70%);
    filter: blur(15px);
    animation: glowPulse 4s infinite alternate;
}

@keyframes glowPulse {
    0% {
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.ember {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 3px;
    height: 3px;
    background: #f5a623;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255, 94, 0, 0.5);
    animation: rise 5s infinite linear;
    opacity: 0;
}

@keyframes rise {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translateY(-60vh) translateX(var(--tx)) scale(0);
        opacity: 0;
    }
}

.shop-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.product-card {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 450px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.product-card::after {
    content: 'POLECANE';
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(245, 166, 35, 0.5);
}

.product-card:hover {
    transform: translateY(-20px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(245, 166, 35, 0.15), 0 0 30px rgba(245, 166, 35, 0.1);
}

.product-card h3 {
    font-size: 2.2rem;
    margin: 15px 0;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.product-desc {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.5;
}

.product-features {
    list-style: none;
    margin: 30px 0;
    padding: 0;
    text-align: left;
}

.product-features li {
    margin-bottom: 12px;
    color: #ddd;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.product-features li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Community Section */
.community-section {
    background: linear-gradient(to top, rgba(245, 166, 35, 0.05), transparent);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-btn {
    text-decoration: none;
    color: #fff;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 2px;
    transition: 0.3s;
    font-family: 'Oswald', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.social-btn i {
    font-size: 1.4rem;
}

.social-btn.discord {
    background: #5865F2;
}

.social-btn.youtube {
    background: #FF0000;
}

.social-btn.tiktok {
    background: #000000;
    border: 1px solid #fff;
}

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

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #000;
    color: var(--text-gray);
    font-size: 0.9rem;
}

@media (max-width: 1024px) and (pointer: coarse) {
    .stats-container-split {
        grid-template-columns: 1fr;
    }

    .glitch {
        font-size: 3.5rem;
    }

    .main-logo {
        width: 300px;
        max-width: 80%;
        margin-bottom: 15px;
    }

    .main-logo {
        width: 250px;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 3px;
        margin-bottom: 25px;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 20px 60px 20px;
    }
}

/* Admin Modal & Login */
.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    /* usunięto blur dla admina */
    animation: fadeIn 0.3s ease;
}

.admin-modal {
    background: #0a0a0a;
    border: 1px solid rgba(245, 166, 35, 0.3);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.steam-icon-large {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 15px rgba(245, 166, 35, 0.5));
}

.btn-steam-large {
    background: #171a21;
    color: white;
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    border: 1px solid #2a475e;
    border-radius: 8px;
    margin: 30px 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-steam-large:hover {
    background: #2a475e;
    border-color: #66c0f4;
    transform: translateY(-2px);
}

.btn-small {
    font-size: 0.8rem;
    padding: 8px 20px;
    opacity: 0.6;
}

/* Premium Admin Panel */
.admin-panel {
    position: relative;
    width: 95%;
    max-width: 1200px;
    height: 85vh;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 0 100px rgba(0, 0, 0, 1);
    /* usunięto animację paneli */
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.admin-panel-sidebar {
    width: 300px;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
    padding: 0 10px;
}

.admin-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.admin-name {
    display: block;
    font-weight: 800;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

.admin-id {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.admin-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-nav-item {
    background: transparent;
    border: none;
    color: var(--text-gray);
    padding: 15px 20px;
    text-align: left;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s;
}

.admin-nav-item:hover {
    background: rgba(255, 255, 255, 0.03);
    color: white;
}

.admin-nav-item.active {
    background: var(--primary-color);
    color: white;
}

.badge-soon {
    font-size: 0.6rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
    color: var(--text-gray);
}

.btn-logout {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.admin-panel-content {
    flex: 1;
    padding: 60px;
    overflow-y: auto;
}

.admin-tab {
    display: none;
}

.admin-tab.active {
    display: block;
    /* usunięto animację */
}

.admin-tab h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.admin-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Oswald', sans-serif;
}

.status-ok {
    color: #4caf50;
}

.placeholder-box {
    height: 200px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-weight: 600;
    letter-spacing: 3px;
}

.add-admin-form {
    display: flex;
    gap: 15px;
    margin: 30px 0 50px;
}

.admin-input {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 15px 20px;
    color: white;
    border-radius: 8px;
    outline: none;
}

.current-admins {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}

.current-admins h3 {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.admin-list-item {
    background: rgba(245, 166, 35, 0.05);
    border: 1px solid rgba(245, 166, 35, 0.1);
    padding: 15px 25px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.role-tag {
    background: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
}

/* UI Effects */
.shadow-premium {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 166, 35, 0.1);
}

.glow-text {
    text-shadow: 0 0 15px rgba(245, 166, 35, 0.5);
    color: var(--primary-color);
}

.btn-glow {
    box-shadow: 0 0 15px rgba(245, 166, 35, 0.3);
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(245, 166, 35, 0.5);
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
}

.small-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 12px;
}

.admin-list-info {
    display: flex;
    align-items: center;
}

/* Dashboard Extras */
.btn-refresh-stats {
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 15px;
    transition: 0.3s;
}

.btn-refresh-stats:hover {
    color: var(--primary-color);
    transform: rotate(180deg);
}

.admin-servers-mini-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-mini-server-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

.status-err {
    color: #f44336;
}

/* Console Box */
.admin-console-box {
    background: #050505;
    border: 1px solid #1a1a1a;
    height: 400px;
    border-radius: 10px;
    padding: 20px;
    overflow-y: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
}

.console-line {
    color: #00ff00;
    margin-bottom: 5px;
    opacity: 0.8;
}

.console-line::before {
    content: '>';
    margin-right: 10px;
    color: #444;
}

/* Particles Background */
#hero-particles {
    opacity: 0.5;
}

/* Ban History */
.ban-filters {
    margin-bottom: 20px;
}

.ban-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
    scroll-behavior: smooth;
}

.ban-list::-webkit-scrollbar {
    width: 6px;
}

.ban-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
}

.ban-list::-webkit-scrollbar-thumb {
    background: rgba(245, 166, 35, 0.4);
    border-radius: 3px;
}

.ban-list::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 166, 35, 0.7);
}

.ban-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(245, 166, 35, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ban-player {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}

.ban-name {
    display: block;
    font-weight: 700;
    color: white;
}

.ban-steamid {
    display: block;
    font-size: 0.75rem;
    color: var(--text-gray);
    font-family: monospace;
}

.ban-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.ban-reason {
    color: #f44336;
    font-weight: 600;
}

.ban-date {
    color: var(--text-gray);
    font-size: 0.8rem;
}

.btn-danger {
    background: #f44336;
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.btn-danger:hover {
    background: #d32f2f;
}

.btn-small {
    font-size: 0.8rem;
    padding: 6px 12px;
}

/* IP Tracker */
.tab-description {
    color: var(--text-gray);
    margin-bottom: 25px;
}

.ip-tracker-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
    scroll-behavior: smooth;
}

/* Custom scrollbar for IP tracker list */
.ip-tracker-list::-webkit-scrollbar {
    width: 6px;
}

.ip-tracker-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
}

.ip-tracker-list::-webkit-scrollbar-thumb {
    background: rgba(245, 166, 35, 0.4);
    border-radius: 3px;
}

.ip-tracker-list::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 166, 35, 0.7);
}

.ip-tracker-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: all 0.3s ease;
}

/* 5+ IPs - RED / DANGER */
.ip-tracker-item.ip-danger {
    border-color: rgba(244, 67, 54, 0.5);
    background: rgba(244, 67, 54, 0.08);
    box-shadow: 0 0 15px rgba(244, 67, 54, 0.15), inset 0 0 20px rgba(244, 67, 54, 0.05);
}

.ip-tracker-item.ip-danger .tracker-name {
    color: #ff5252;
}

.ip-tracker-item.ip-danger .ip-tag {
    background: rgba(244, 67, 54, 0.2);
    color: #ff8a80;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* 3-4 IPs - ORANGE / WARNING */
.ip-tracker-item.ip-warning {
    border-color: rgba(255, 152, 0, 0.4);
    background: rgba(255, 152, 0, 0.06);
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.1), inset 0 0 15px rgba(255, 152, 0, 0.03);
}

.ip-tracker-item.ip-warning .tracker-name {
    color: #ffab40;
}

.ip-tracker-item.ip-warning .ip-tag {
    background: rgba(255, 152, 0, 0.2);
    color: #ffcc80;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

/* IP count badge colors */
.ip-count-normal {
    color: #4caf50;
    font-weight: 600;
}

.ip-count-warning {
    color: #ff9800;
    font-weight: 700;
}

.ip-count-danger {
    color: #f44336;
    font-weight: 700;
    font-size: 0.9rem;
}

.ip-tracker-item.suspicious {
    border-color: rgba(255, 193, 7, 0.3);
    background: rgba(255, 193, 7, 0.03);
}

.ip-player-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
}

.ip-player-name {
    display: block;
    font-weight: 700;
}

.ip-player-id {
    display: block;
    font-size: 0.75rem;
    color: var(--text-gray);
    font-family: monospace;
}

.ip-addresses {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.ip-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: monospace;
}

.ip-badge.warn {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.ip-count {
    color: var(--text-gray);
    font-size: 0.8rem;
}

.ip-status {
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
}

.ip-status.danger {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.ip-status.ok {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.tracker-name {
    display: block;
    font-weight: 700;
    color: white;
}

.tracker-steamid {
    display: block;
    font-size: 0.75rem;
    color: var(--text-gray);
    font-family: monospace;
}

.ip-tracker-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 200px;
}

.ip-tracker-ips {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ip-tag {
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: monospace;
    color: #ccc;
}

.ban-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 200px;
}


/* Admin Chat */
.admin-chat-container {
    display: flex;
    flex-direction: column;
    height: 450px;
}

.admin-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    display: flex;
    gap: 10px;
    max-width: 80%;
}

.chat-message.self {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
}

.chat-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 12px;
}

.chat-message.self .chat-content {
    background: rgba(245, 166, 35, 0.2);
}

.chat-author {
    display: block;
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 4px;
}

.chat-text {
    display: block;
    color: white;
}

.chat-time {
    display: block;
    font-size: 0.7rem;
    color: var(--text-gray);
    margin-top: 5px;
    text-align: right;
}

.admin-chat-input {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.admin-chat-input .admin-input {
    flex: 1;
}

/* Admin Roles */
.admin-select {
    padding: 10px;
    cursor: pointer;
}

.role-tag {
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.role-root {
    background: linear-gradient(135deg, #f44336, #c62828);
    color: white;
}

.role-admin {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
}

.role-mod {
    background: linear-gradient(135deg, #4caf50, #388e3c);
    color: white;
}

.role-support {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
}

.admin-name-text {
    display: block;
    font-weight: 700;
    color: white;
}

.admin-steamid-text {
    display: block;
    font-size: 0.7rem;
    color: var(--text-gray);
    font-family: monospace;
}

.admin-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    margin-bottom: 10px;
}

.admin-list-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.add-admin-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.add-admin-section h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.add-admin-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.add-admin-form .admin-input {
    flex: 1;
    min-width: 200px;
}

/* Admin Panel Layout */
.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Prevent body scroll when admin panel is open */
body.admin-panel-open {
    overflow: hidden !important;
    height: 100vh !important;
}

.admin-panel {
    display: flex;
    width: 95%;
    max-width: 1400px;
    height: 85vh;
    background: rgba(20, 20, 20, 0.98);
    border-radius: 20px;
    border: 1px solid rgba(245, 166, 35, 0.2);
    overflow: hidden;
}

.admin-panel-sidebar {
    width: 260px;
    background: rgba(10, 10, 10, 0.9);
    padding: 25px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.admin-user-details {
    display: flex;
    flex-direction: column;
}

.admin-name {
    font-weight: 700;
    color: white;
}

.admin-id {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-family: monospace;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    text-align: left;
}

.admin-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.admin-nav-item.active {
    background: rgba(245, 166, 35, 0.2);
    color: var(--primary-color);
}

.admin-nav-item i {
    width: 20px;
}

.admin-sidebar-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-exit {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-exit:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(245, 166, 35, 0.3);
    color: var(--primary-color);
}

.btn-logout {
    background: transparent;
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #f44336;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: rgba(244, 67, 54, 0.2);
}

.admin-panel-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    height: 100%;
    max-height: 85vh;
}

.admin-tab {
    display: none;
}

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

.admin-tab h2 {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-refresh-stats {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.btn-refresh-stats:hover {
    background: rgba(245, 166, 35, 0.3);
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.stat-label {
    display: block;
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.admin-servers-mini-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-mini-server-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-ok {
    color: #4caf50;
    font-weight: 600;
}

.status-err {
    color: #f44336;
    font-weight: 600;
}

.admin-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    width: 100%;
}

.admin-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.placeholder-box {
    text-align: center;
    padding: 40px;
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

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

/* =========================================
   BASE MAP STYLES
   ========================================= */

.base-map-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.base-map-controls .btn-small {
    padding: 8px 12px;
    font-size: 0.9rem;
}

.base-count {
    margin-left: auto;
    color: var(--primary-color);
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
}

.server-map-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.server-tab-btn {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

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

.server-tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    font-weight: 600;
}

.base-map-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 1 / 1;
    background-color: #0d0d0d;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    cursor: grab;
    margin: 0 auto;
}

.base-map-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: center center;
    transition: transform 0.1s ease-out;
    background: url('map_x2.png') center center / cover no-repeat;
}

.base-map-container:active {
    cursor: grabbing;
}

.base-map-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 10% 10%;
    pointer-events: none;
}

.base-map-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.base-map-grid::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.base-markers {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.base-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.2s ease;
    box-shadow: 0 0 10px rgba(245, 166, 35, 0.5);
    z-index: 10;
}

.marker-highlight {
    background: #00ff00 !important;
    transform: translate(-50%, -50%) scale(2) !important;
    box-shadow: 0 0 30px #00ff00, 0 0 60px rgba(0, 255, 0, 0.5) !important;
    z-index: 9999 !important;
    animation: markerPulse 1s infinite !important;
}

@keyframes markerPulse {
    0% {
        transform: translate(-50%, -50%) scale(2);
    }

    50% {
        transform: translate(-50%, -50%) scale(2.5);
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
    }
}

.base-marker i {
    font-size: 10px;
    color: white;
}

.base-marker:hover {
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.8);
    z-index: 100;
}

.base-marker.marker-small {
    width: 18px;
    height: 18px;
    background: #888;
    box-shadow: 0 0 8px rgba(136, 136, 136, 0.5);
}

.base-marker.marker-small i {
    font-size: 8px;
}

.base-marker.marker-medium {
    width: 24px;
    height: 24px;
    background: #ffa500;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.base-marker.marker-large {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    box-shadow: 0 0 15px rgba(245, 166, 35, 0.7);
}

.base-marker.marker-large i {
    font-size: 14px;
}

.base-tooltip {
    position: absolute;
    background: rgba(20, 20, 20, 0.98);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 15px;
    min-width: 200px;
    max-width: 280px;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-50%) translateY(-100%);
    transition: opacity 0.2s ease;
    z-index: 1000;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.base-tooltip.visible {
    opacity: 1;
}

.tooltip-header {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tooltip-info {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.tooltip-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tooltip-info i {
    color: var(--primary-color);
}

.tooltip-members {
    font-size: 0.8rem;
    color: #aaa;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    line-height: 1.5;
}

.tooltip-members strong {
    color: white;
}

.map-loading,
.map-no-data {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-gray);
    font-size: 1rem;
    text-align: center;
}

.map-loading i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    color: var(--primary-color);
}

/* =========================================
   ANTI-CHEAT PANEL STYLES
   ========================================= */

.ac-filters {
    margin-bottom: 15px;
}

.ac-stats-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ac-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.5px;
}

.ac-stat-total {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ac-stat-high {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.ac-stat-medium {
    background: rgba(255, 152, 0, 0.15);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.ac-stat-low {
    background: rgba(255, 235, 59, 0.1);
    color: #fdd835;
    border: 1px solid rgba(255, 235, 59, 0.2);
}

.ac-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    padding-right: 5px;
}

/* Cheater cards */
.ac-card {
    background: rgba(40, 40, 40, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    transition: all 0.3s ease;
    /* usunięto animację */
    position: relative;
    min-height: 80px;
    /* Prevent collapse */
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.ac-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #555;
    /* Default */
    z-index: 5;
}

.ac-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.ac-card-high::before {
    background: #f44336;
    box-shadow: 0 0 15px rgba(244, 67, 54, 0.4);
}

.ac-card-medium::before {
    background: #ff9800;
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.4);
}

.ac-card-low::before {
    background: #fdd835;
    box-shadow: 0 0 15px rgba(253, 216, 53, 0.4);
}

.ac-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px 18px 26px;
    /* Added left padding for the bar */
    gap: 15px;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    user-select: none;
    transition: background 0.3s;
}

.ac-card-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.ac-card-body {
    display: none !important;
    padding: 0 20px 20px 26px;
    animation: fadeIn 0.3s ease;
    width: 100%;
}

.ac-card.expanded .ac-card-body {
    display: block !important;
}

.ac-expand-icon {
    margin-left: 10px;
    transition: transform 0.3s;
    color: var(--text-gray);
    opacity: 0.5;
    font-size: 1.2rem;
}

.ac-card.expanded .ac-expand-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
    opacity: 1;
}

.ac-player-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ac-level-badge {
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.75rem;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    white-space: nowrap;
}

.ac-level-high {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.4);
    animation: pulseHigh 2s infinite;
}

@keyframes pulseHigh {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(244, 67, 54, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(244, 67, 54, 0.6);
    }
}

.ac-level-medium {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.4);
}

.ac-level-low {
    background: rgba(253, 216, 53, 0.15);
    color: #fdd835;
    border: 1px solid rgba(253, 216, 53, 0.3);
}

.ac-player-details {
    display: flex;
    flex-direction: column;
}

.ac-player-name {
    font-weight: 700;
    color: white;
    font-size: 1rem;
}

.ac-player-steamid {
    font-size: 0.72rem;
    color: var(--text-gray);
    font-family: monospace;
}

.ac-copyable {
    cursor: pointer;
    transition: color 0.2s;
}

.ac-copyable:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.ac-card-stats {
    display: flex;
    gap: 15px;
}

.ac-mini-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 14px;
    border-radius: 8px;
    min-width: 60px;
}

.ac-mini-stat span {
    font-size: 0.65rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ac-mini-stat strong {
    font-size: 1rem;
    color: var(--primary-color);
    font-family: 'Oswald', sans-serif;
}

/* Flags */
.ac-flags-section {
    padding: 12px 20px 15px 26px;
    /* Match header padding */
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.ac-no-flags {
    color: #666;
    font-size: 0.8rem;
    font-style: italic;
}

.ac-flag-badge {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 0.3px;
}

.ac-flag-linearity {
    background: rgba(244, 67, 54, 0.2);
    color: #ef5350;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.ac-flag-vertical {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.ac-flag-variance {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.ac-flag-similarity {
    background: rgba(33, 150, 243, 0.2);
    color: #42a5f5;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.ac-flag-timing {
    background: rgba(76, 175, 80, 0.2);
    color: #66bb6a;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.ac-flag-default {
    background: rgba(255, 255, 255, 0.08);
    color: #aaa;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Expandable sections */
.ac-section {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.ac-section summary {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    user-select: none;
    font-weight: 600;
}

.ac-section summary:hover {
    color: white;
    background: rgba(255, 255, 255, 0.02);
}

.ac-section summary i {
    color: var(--primary-color);
    width: 16px;
}

.ac-section[open] summary {
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Alert history */
.ac-alerts-list {
    padding: 8px 15px;
    max-height: 200px;
    overflow-y: auto;
}

.ac-alert-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    transition: background 0.2s;
    flex-wrap: wrap;
}

.ac-alert-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.ac-alert-time {
    color: var(--text-gray);
    font-family: monospace;
    font-size: 0.72rem;
    min-width: 120px;
}

.ac-alert-weapon {
    color: var(--primary-color);
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    min-width: 80px;
}

.ac-alert-score {
    color: #f44336;
    font-weight: 700;
    min-width: 45px;
}

.ac-alert-level {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 800;
    min-width: 55px;
    text-align: center;
}

.ac-alert-detail {
    color: #666;
    font-family: monospace;
    font-size: 0.68rem;
    margin-left: auto;
}

/* Notes */
.ac-notes-list {
    padding: 8px 15px;
    max-height: 150px;
    overflow-y: auto;
}

.ac-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 6px;
    background: rgba(245, 166, 35, 0.04);
    border: 1px solid rgba(245, 166, 35, 0.08);
}

.ac-note-admin {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.78rem;
    white-space: nowrap;
    min-width: 80px;
}

.ac-note-text {
    color: white;
    font-size: 0.85rem;
    flex: 1;
    word-break: break-word;
}

.ac-note-time {
    color: #555;
    font-size: 0.68rem;
    font-family: monospace;
    white-space: nowrap;
}

.ac-note-form {
    display: flex;
    gap: 8px;
    padding: 10px 15px;
}

.ac-note-form .admin-input {
    flex: 1;
    padding: 8px 12px;
    font-size: 0.85rem;
}

.ac-note-form .btn {
    padding: 8px 14px;
    font-size: 0.85rem;
}

.ac-empty {
    color: #555;
    font-size: 0.8rem;
    text-align: center;
    padding: 15px;
}

/* Card actions */
.ac-card-actions {
    display: flex;
    gap: 10px;
    padding: 12px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    justify-content: flex-end;
}

.ac-btn-dismiss {
    background: rgba(244, 67, 54, 0.15) !important;
    border: 1px solid rgba(244, 67, 54, 0.3) !important;
    color: #f44336 !important;
    cursor: pointer;
    transition: all 0.3s !important;
}

.ac-btn-dismiss:hover {
    background: rgba(244, 67, 54, 0.3) !important;
}

.ac-btn-steam {
    background: rgba(23, 26, 33, 0.8) !important;
    border: 1px solid rgba(42, 71, 94, 0.5) !important;
    color: #66c0f4 !important;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s !important;
}

.ac-btn-steam:hover {
    background: rgba(42, 71, 94, 0.5) !important;
}

.ac-btn-discord {
    background: rgba(88, 101, 242, 0.2) !important;
    border: 1px solid rgba(88, 101, 242, 0.4) !important;
    color: #7289da !important;
    cursor: pointer;
    transition: all 0.3s !important;
}

.ac-btn-discord:hover {
    background: rgba(88, 101, 242, 0.4) !important;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.3);
}

.ac-no-flags {
    color: #555;
    font-size: 0.8rem;
}

/* Scrollbar for anti-cheat list */
.ac-list::-webkit-scrollbar,
.ac-alerts-list::-webkit-scrollbar,
.ac-notes-list::-webkit-scrollbar {
    width: 4px;
}

.ac-list::-webkit-scrollbar-track,
.ac-alerts-list::-webkit-scrollbar-track,
.ac-notes-list::-webkit-scrollbar-track {
    background: transparent;
}

.ac-list::-webkit-scrollbar-thumb,
.ac-alerts-list::-webkit-scrollbar-thumb,
.ac-notes-list::-webkit-scrollbar-thumb {
    background: rgba(245, 166, 35, 0.3);
    border-radius: 2px;
}

/* ===================== */
/* F7 REPORTS STYLES     */
/* ===================== */

.report-filters {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.report-filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.report-filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.report-filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.report-filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Report stats bar */
.report-stats-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.report-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.report-stat-total {
    color: #ccc;
}

.report-stat-cheat {
    color: #f44336;
    border-color: rgba(244, 67, 54, 0.2);
}

.report-stat-abuse {
    color: #ff9800;
    border-color: rgba(255, 152, 0, 0.2);
}

.report-stat-spam {
    color: #2196f3;
    border-color: rgba(33, 150, 243, 0.2);
}

.report-stat-other {
    color: #9e9e9e;
    border-color: rgba(158, 158, 158, 0.2);
}

/* Report list */
.report-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
    scroll-behavior: smooth;
}

.report-list::-webkit-scrollbar {
    width: 6px;
}

.report-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
}

.report-list::-webkit-scrollbar-thumb {
    background: rgba(245, 166, 35, 0.4);
    border-radius: 3px;
}

.report-list::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 166, 35, 0.7);
}

/* Report card */
.report-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.report-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

/* Type-specific card borders */
.report-card.report-type-cheat {
    border-left: 3px solid #f44336;
}

.report-card.report-type-abuse {
    border-left: 3px solid #ff9800;
}

.report-card.report-type-spam {
    border-left: 3px solid #2196f3;
}

.report-card.report-type-other {
    border-left: 3px solid #9e9e9e;
}

/* Report card header */
.report-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(0, 0, 0, 0.2);
}

.report-type-badge {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 4px;
}

.report-type-badge.report-type-cheat {
    background: rgba(244, 67, 54, 0.2);
    color: #ff5252;
}

.report-type-badge.report-type-abuse {
    background: rgba(255, 152, 0, 0.2);
    color: #ffab40;
}

.report-type-badge.report-type-spam {
    background: rgba(33, 150, 243, 0.2);
    color: #64b5f6;
}

.report-type-badge.report-type-other {
    background: rgba(158, 158, 158, 0.2);
    color: #bdbdbd;
}

.report-time {
    color: var(--text-gray);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Report card body */
.report-card-body {
    padding: 18px 20px;
}

.report-players {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.report-player {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.report-label {
    font-size: 0.65rem;
    color: var(--text-gray);
    font-weight: 700;
    letter-spacing: 2px;
    font-family: 'Oswald', sans-serif;
}

.report-player-name {
    font-weight: 700;
    font-size: 1rem;
    color: white;
}

.report-target .report-player-name {
    color: #ff5252;
}

.report-player-id {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-family: monospace;
}

.report-arrow {
    color: var(--text-gray);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.report-message-section {
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.report-subject {
    color: #ddd;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.report-message {
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.5;
}

.report-message em {
    color: #666;
}

/* Report card actions */
.report-card-actions {
    display: flex;
    gap: 10px;
    padding: 10px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    justify-content: flex-end;
}

.report-btn-steam {
    background: rgba(23, 26, 33, 0.8) !important;
    border: 1px solid rgba(42, 71, 94, 0.5) !important;
    color: #66c0f4 !important;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s !important;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.report-btn-steam:hover {
    background: rgba(42, 71, 94, 0.5) !important;
}

/* === MOBILNE POPRAWKI (DODANE) === */
@media (max-width: 768px) and (pointer: coarse) {

    html,
    body {
        overflow-x: hidden !important;
        width: 100%;
        max-width: 100vw;
    }

    .container {
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .servers-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .server-card {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px !important;
        white-space: normal !important;
        min-width: 0 !important;
    }

    .server-name {
        white-space: normal !important;
        font-size: 1.5rem !important;
        word-wrap: break-word;
    }

    .nav-links {
        width: 100vw !important;
        right: -100vw !important;
        left: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .nav-links.active {
        transform: translateX(-100vw) !important;
    }

    .hero-title {
        font-size: 2.2rem !important;
        word-wrap: break-word;
    }

    .hero-buttons {
        flex-direction: column !important;
        width: 100% !important;
        align-items: center !important;
        gap: 15px;
    }

    .btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
        white-space: normal !important;
    }

    .social-links {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        width: 100%;
    }

    .social-btn {
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }

    .server-meta,
    .wipe-info,
    .server-stats {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .server-meta span,
    .wipe-info span,
    .stat {
        white-space: normal !important;
        word-wrap: break-word;
    }

    .modal-content {
        width: 95% !important;
        margin: 5% auto !important;
        padding: 15px !important;
    }

    .servers-section,
    .server-desc {
        color: #fff;
    }

    #servers {
        color: #fff;
    }

    .navbar-content {
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-toggle {
        margin-right: 0;
    }

    /* ======== ADMIN PANEL MOBILE FIXES ======== */
    .admin-panel {
        flex-direction: column !important;
        height: 100vh !important;
        width: 100vw !important;
        border-radius: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    .admin-panel-sidebar {
        width: 100% !important;
        padding: 60px 15px 15px 15px !important;
        box-sizing: border-box !important;
        flex-direction: row !important;
        align-items: center !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        overflow-x: auto !important;
        white-space: nowrap !important;
    }

    .admin-user-info {
        display: none !important;
        /* Hide user avatar to save space on mobile */
    }

    .admin-nav {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
    }

    .admin-nav-item {
        margin-bottom: 0 !important;
        padding: 10px 15px !important;
    }

    .admin-panel-content {
        padding: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        flex: 1 !important;
    }

    .admin-stats-grid,
    .admin-servers-mini-list {
        grid-template-columns: 1fr !important;
        display: grid !important;
    }

    .report-card-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .report-btn-steam,
    .btn-warn,
    .btn-ban {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

/* Base Map Search & Highlight */
.base-map-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.base-map-search-wrapper {
    display: flex;
    gap: 10px;
    flex: 1;
    min-width: 250px;
}

.base-map-buttons {
    display: flex;
    gap: 10px;
}

.base-marker.marker-highlight {
    color: #4caf50 !important;
    transform: scale(2.5) !important;
    filter: drop-shadow(0 0 15px #4caf50) !important;
    z-index: 1000 !important;
    animation: markerPulse 1s infinite alternate !important;
}

@keyframes markerPulse {
    from {
        transform: scale(2) translateY(0);
        filter: drop-shadow(0 0 10px #4caf50);
    }

    to {
        transform: scale(3) translateY(-5px);
        filter: drop-shadow(0 0 25px #4caf50);
    }
}

/* ========== HEADSHOT STATS TAB ========== */
.hs-stats-list {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 5px;
}

.hs-updated {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-bottom: 12px;
    font-style: italic;
}

.hs-table {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hs-table-header {
    display: grid;
    grid-template-columns: 50px 2fr 1fr 1fr 1fr 1fr;
    padding: 10px 15px;
    background: rgba(245, 166, 35, 0.15);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.hs-table-row {
    display: grid;
    grid-template-columns: 50px 2fr 1fr 1fr 1fr 1fr;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    align-items: center;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.hs-table-row:hover {
    background: rgba(245, 166, 35, 0.08);
    border-color: rgba(245, 166, 35, 0.2);
    transform: translateX(3px);
}

/* Medal rows */
.hs-row-gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 215, 0, 0.02) 100%);
    border-color: rgba(255, 215, 0, 0.25) !important;
}

.hs-row-silver {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.06) 0%, rgba(192, 192, 192, 0.02) 100%);
    border-color: rgba(192, 192, 192, 0.2) !important;
}

.hs-row-bronze {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.06) 0%, rgba(205, 127, 50, 0.02) 100%);
    border-color: rgba(205, 127, 50, 0.2) !important;
}

.hs-col-rank {
    font-size: 1.1rem;
    text-align: center;
    font-weight: 700;
}

.hs-col-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.hs-col-name strong {
    color: #fff;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hs-col-name small {
    color: var(--text-gray);
    font-size: 0.7rem;
    font-family: monospace;
}

.hs-col-kills {
    text-align: center;
}

.hs-col-kills strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-family: 'Oswald', sans-serif;
}

.hs-col-double,
.hs-col-triple {
    text-align: center;
}

.hs-col-dist {
    text-align: center;
    color: #8bc9ff;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Badges */
.hs-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
}

.hs-badge-double {
    background: rgba(255, 152, 0, 0.2);
    color: #ffb74d;
    border: 1px solid rgba(255, 152, 0, 0.4);
}

.hs-badge-triple {
    background: rgba(244, 67, 54, 0.2);
    color: #ef5350;
    border: 1px solid rgba(244, 67, 54, 0.4);
}

/* Responsive */
@media (max-width: 768px) {

    .hs-table-header,
    .hs-table-row {
        grid-template-columns: 35px 1.5fr 1fr 0.8fr 0.8fr 0.8fr;
        padding: 8px 10px;
        font-size: 0.75rem;
    }

    .hs-col-name strong {
        font-size: 0.8rem;
    }

    .hs-col-name small {
        font-size: 0.6rem;
    }

    .hs-badge {
        padding: 1px 6px;
        font-size: 0.7rem;
    }
}
/* Premium Admin Panel Close Button */
.admin-close-panel-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1001;
}
.admin-close-panel-btn:hover {
    background: #f44336;
    border-color: #f44336;
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(244, 67, 54, 0.5);
}

/* Allow manual text selection & copying of SteamIDs across the entire admin panel */
.hs-col-name small,
.hs-col-name strong,
.tracker-steamid,
.report-player-id,
.ac-player-steamid,
.ban-card,
.ban-list,
.hs-table-row,
.tracker-name,
.tracker-steamid,
.report-player-name {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

/* Polished styling & Rank glow details for Headshot Stats */
.hs-row-gold .hs-col-rank {
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
    color: #ffd700;
}
.hs-row-silver .hs-col-rank {
    text-shadow: 0 0 8px rgba(192, 192, 192, 0.5);
    color: #e0e0e0;
}
.hs-row-bronze .hs-col-rank {
    text-shadow: 0 0 8px rgba(205, 127, 50, 0.4);
    color: #cd7f32;
}

.hs-table-row {
    position: relative;
    overflow: hidden;
}

.hs-table-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: transparent;
    transition: background 0.2s ease;
}

.hs-row-gold::before { background: #ffd700; }
.hs-row-silver::before { background: #c0c0c0; }
.hs-row-bronze::before { background: #cd7f32; }

.hs-table-row:hover {
    background: rgba(245, 166, 35, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(245, 166, 35, 0.05);
}


/* =========================================
   ADMIN PANEL � MOBILE RESPONSIVE (Pixel 9a & similar)
   ========================================= */

@media (max-width: 768px) {

    /* Overlay fills the entire screen */
    .admin-modal-overlay {
        align-items: flex-start;
        padding: 0;
    }

    /* Panel: full screen, column layout */
    .admin-panel {
        width: 100%;
        height: 100dvh;
        max-width: 100%;
        border-radius: 0;
        flex-direction: column;
        border: none;
    }

    /* ---- Sidebar � Bottom Tab Bar ---- */
    .admin-panel-sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 0;
        flex-direction: row;
        align-items: center;
        order: 2;
        background: rgba(10, 10, 10, 0.98);
        flex-shrink: 0;
    }

    /* Hide user info & logout on mobile */
    .admin-user-info,
    .admin-sidebar-footer {
        display: none;
    }

    /* Nav becomes horizontal scrollable row */
    .admin-nav {
        flex-direction: row;
        flex: 1;
        gap: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px 0;
    }

    .admin-nav::-webkit-scrollbar {
        display: none;
    }

    /* Nav items: icon + tiny label */
    .admin-nav-item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 8px 12px;
        border-radius: 0;
        font-size: 0.5rem;
        letter-spacing: 0.2px;
        min-width: 54px;
        flex-shrink: 0;
        text-align: center;
        white-space: nowrap;
    }

    .admin-nav-item i {
        font-size: 1.2rem;
        width: auto;
    }

    .admin-nav-item.active {
        background: transparent;
        color: var(--primary-color);
        border-bottom: 2px solid var(--primary-color);
    }

    .admin-nav-item:hover {
        background: rgba(255, 255, 255, 0.04);
    }

    /* Content area: scrollable, takes remaining height */
    .admin-panel-content {
        order: 1;
        flex: 1;
        padding: 16px 14px;
        overflow-y: auto;
        height: calc(100dvh - 72px);
        max-height: none;
        -webkit-overflow-scrolling: touch;
    }

    /* Close button � fixed top-right */
    .admin-close-panel-btn {
        position: fixed;
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        z-index: 10001;
        background: rgba(0, 0, 0, 0.75);
        border-color: rgba(255, 255, 255, 0.15);
    }

    /* Tab headings */
    .admin-tab h2 {
        font-size: 1.3rem;
        margin-bottom: 16px;
        padding-right: 46px;
    }

    /* Stats grid: 2 columns */
    .admin-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 18px;
    }

    .admin-stat-card {
        padding: 14px 12px;
    }

    .stat-value {
        font-size: 1.2rem;
    }

    /* Mini server cards */
    .admin-mini-server-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 10px 12px;
    }

    /* Ban list */
    .ban-list {
        max-height: none;
        padding-right: 0;
    }

    .ban-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .ban-player {
        min-width: 0;
        flex: 1;
    }

    .ban-details {
        width: 100%;
    }

    /* IP Tracker */
    .ip-tracker-list {
        max-height: none;
        padding-right: 0;
    }

    .ip-tracker-item {
        flex-wrap: wrap;
        gap: 10px;
    }

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

    .ip-tracker-ips {
        width: 100%;
    }

    /* Anti-cheat */
    .ac-list {
        max-height: none;
    }

    .ac-card-header {
        padding: 12px 14px 12px 20px;
        gap: 8px;
    }

    .ac-card-stats {
        flex-wrap: wrap;
        gap: 6px;
    }

    .ac-card-body {
        padding: 0 12px 14px 20px;
    }

    .ac-alert-row {
        flex-wrap: wrap;
        gap: 4px;
        font-size: 0.72rem;
    }

    .ac-card-actions {
        flex-wrap: wrap;
        gap: 8px;
    }

    .ac-stats-bar {
        gap: 6px;
    }

    .ac-stat {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    /* Admin Chat */
    .admin-chat-container {
        height: calc(100dvh - 210px);
    }

    /* Base Map */
    .base-map-container {
        max-width: 100%;
        aspect-ratio: 1 / 1;
    }

    .base-map-controls {
        flex-wrap: wrap;
        gap: 6px;
    }

    .server-map-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }

    /* Headshot stats */
    .hs-table-header,
    .hs-table-row {
        grid-template-columns: 28px 1.5fr 0.8fr 0.7fr 0.7fr 0.7fr;
        padding: 8px 6px;
        font-size: 0.7rem;
    }

    /* Add admin form */
    .add-admin-form {
        flex-direction: column;
    }

    .add-admin-form .admin-input,
    .add-admin-form .btn {
        width: 100%;
    }

    /* Prevent horizontal overflow */
    .admin-tab {
        overflow-x: hidden;
    }

    /* Login modal */
    .admin-modal {
        width: 92%;
        padding: 36px 22px;
    }
}

/* Extra small (<=390px � Pixel 9a, iPhone SE) */
@media (max-width: 390px) {

    .admin-nav-item {
        padding: 8px 9px;
        min-width: 46px;
        font-size: 0.45rem;
    }

    .admin-nav-item i {
        font-size: 1.1rem;
    }

    .admin-panel-content {
        padding: 12px 10px;
    }

    .admin-stats-grid {
        gap: 8px;
    }

    .stat-value {
        font-size: 1.05rem;
    }

    .ac-level-badge {
        font-size: 0.65rem;
        padding: 4px 10px;
    }

    .ac-player-name {
        font-size: 0.85rem;
    }

    .ac-player-steamid {
        font-size: 0.65rem;
    }
}

/* =========================================
   ADMIN NAV � MOBILE TOUCH IMPROVEMENTS
   ========================================= */

@media (max-width: 768px) {

    /* Bigger, more tappable nav items */
    .admin-nav-item {
        min-height: 60px;
        padding: 10px 14px;
    }

    /* Larger icon for better visibility */
    .admin-nav-item i {
        font-size: 1.35rem;
    }

    /* Active tab: gold underline + icon glow */
    .admin-nav-item.active i {
        color: var(--primary-color);
        filter: drop-shadow(0 0 6px rgba(245, 166, 35, 0.7));
    }

    /* Show label only on active tab, hidden otherwise */
    .admin-nav-item:not(.active) {
        color: rgba(170, 170, 170, 0.6);
        font-size: 0;        /* hide text on inactive tabs */
    }

    .admin-nav-item.active {
        font-size: 0.55rem;  /* show text only when active */
        color: var(--primary-color);
    }

    /* Tap highlight */
    .admin-nav-item:active {
        background: rgba(245, 166, 35, 0.1);
    }
}

@media (max-width: 390px) {
    .admin-nav-item {
        min-height: 56px;
        padding: 8px 10px;
    }

    .admin-nav-item i {
        font-size: 1.2rem;
    }
}

/* =========================================
   ADMIN PANEL MOBILE � CRITICAL FIX
   Override overflow:hidden & flex sizing
   ========================================= */

@media (max-width: 768px) {

    /* Must override original overflow:hidden which clips the sidebar */
    .admin-panel {
        overflow: visible !important;
        height: 100svh !important;        /* svh = safe viewport height (respects browser chrome) */
        height: 100dvh !important;        /* dvh = dynamic viewport height (Chrome Android support) */
        display: flex !important;
        flex-direction: column !important;
    }

    /* Content: flex:1 with min-height:0 forces proper shrink */
    .admin-panel-content {
        flex: 1 1 auto !important;
        min-height: 0 !important;         /* CRITICAL � allows flex child to shrink with overflow:auto */
        height: auto !important;          /* remove fixed height that fights flex */
        max-height: none !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Sidebar: never shrink, always visible */
    .admin-panel-sidebar {
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 56px;
        overflow: visible !important;
    }

    /* Overlay: align to start so panel fills from top */
    .admin-modal-overlay {
        align-items: flex-start !important;
        overflow: hidden !important;
    }
}

/* =========================================
   ADMIN PANEL � PIXEL 9A POLISH FIX
   ========================================= */

@media (max-width: 768px) {

    /* �� CHAT: Fix collapsed input field ��������������� */
    .admin-chat-container {
        display: flex;
        flex-direction: column;
        height: calc(100svh - 185px);
        height: calc(100dvh - 185px);
    }

    .admin-chat-messages {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 14px;
        border-radius: 10px;
    }

    .admin-chat-input {
        flex-shrink: 0;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
        margin-top: 10px;
        padding: 0;
    }

    /* Critical: override width:100% so flex can size the input */
    .admin-chat-input .admin-input {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        padding: 12px;
        font-size: 0.9rem;
    }

    /* Send button: square, icon-only */
    .admin-chat-input .btn {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        font-size: 1.1rem;
    }

    /* �� IP TRACKER: Fix search + checkbox layout ������ */
    .ip-filters {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: stretch !important;
    }

    #ip-search {
        width: 100% !important;
    }

    .ip-toggle-wrapper {
        font-size: 0.85rem !important;
        gap: 8px !important;
        white-space: normal !important;
    }

    /* IP tags wrap nicely */
    .ip-list {
        gap: 5px;
    }

    .ip-tag {
        font-size: 0.75rem;
        padding: 3px 8px;
    }

    /* �� BANS: Compact layout �������������������������� */
    .ban-item {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 12px;
    }

    .ban-player {
        flex: 1;
        min-width: 0;
        gap: 8px;
    }

    .ban-player img.small-avatar {
        flex-shrink: 0;
    }

    .ban-details {
        width: 100%;
        order: 3;
    }

    /* ODBANUJ � compact, right-aligned */
    .ban-item .btn-danger {
        width: auto !important;
        padding: 7px 16px;
        font-size: 0.8rem;
        margin-left: auto;
        flex-shrink: 0;
    }

    /* �� F7 REPORTS: Stack player info on mobile ������� */
    .report-players {
        flex-direction: column;
        gap: 6px;
    }

    .report-arrow {
        transform: rotate(90deg);
        text-align: center;
    }

    .report-filter-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 8px;
    }

    .report-filter-btn {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .report-stats-bar {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    /* �� HS STATS: Better table fit ������������������� */
    .hs-table-header,
    .hs-table-row {
        grid-template-columns: 26px 1.4fr 0.7fr 0.7fr 0.7fr 0.8fr;
        gap: 4px;
        font-size: 0.68rem;
        padding: 8px 6px;
    }

    .hs-col-name strong {
        font-size: 0.72rem;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100px;
    }

    .hs-col-name small {
        font-size: 0.55rem;
    }

    .hs-badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }

    .hs-updated {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }

    /* �� ANTI-CHEAT: Better card spacing �������������� */
    .ac-card-header {
        flex-wrap: nowrap;
        align-items: center;
    }

    .ac-player-info {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    .ac-player-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }

    .ac-card-stats {
        flex-shrink: 0;
        gap: 6px;
    }

    .ac-mini-stat {
        text-align: center;
        min-width: 40px;
    }

    .ac-mini-stat span {
        font-size: 0.6rem;
        display: block;
        color: var(--text-gray);
    }

    .ac-mini-stat strong {
        font-size: 0.85rem;
        display: block;
    }

    /* �� DASHBOARD: Status bar stacks ����������������� */
    .admin-status-bar {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .status-item {
        font-size: 0.8rem !important;
    }

    /* Admin tab h2 sizing */
    .admin-tab h2 {
        font-size: 1.15rem;
        letter-spacing: 1px;
    }

    /* Tab description */
    .tab-description {
        font-size: 0.82rem;
        margin-bottom: 14px;
    }

    /* General input spacing */
    .admin-input {
        padding: 11px 13px;
        font-size: 0.88rem;
    }
}

/* =========================================
   ADMIN PANEL � BASE MAP SEARCH FIX
   ========================================= */

@media (max-width: 768px) {
    /* �� BASE MAP: Fix search wrapper ����������������� */
    .base-map-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .base-map-search-wrapper {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        width: 100%;
        margin-bottom: 8px;
    }

    .base-map-search-wrapper .admin-input {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
    }

    .base-map-search-wrapper .btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    
    .base-map-buttons {
        display: flex;
        gap: 6px;
        justify-content: flex-start;
        margin-bottom: 8px;
    }
    
    .base-count {
        align-self: flex-start;
        margin-left: 0;
    }
}

/* =========================================
   ADMIN PANEL � REVERT ANTI-CHEAT TO ORIGINAL
   ========================================= */

@media (max-width: 768px) {
    /* Revert to original wrap behavior */
    .ac-card-header {
        flex-wrap: wrap !important;
    }

    .ac-player-info {
        flex: initial !important;
        overflow: visible !important;
    }

    .ac-player-name {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        max-width: none !important;
    }

    .ac-card-stats {
        flex-wrap: wrap !important;
    }

    .ac-mini-stat {
        min-width: 0 !important;
        text-align: left !important;
    }

    .ac-mini-stat span, 
    .ac-mini-stat strong {
        display: inline-block !important;
        font-size: inherit !important;
    }
}

@media (max-width: 768px) {
    /* =========================================
       ADMIN PANEL � REVERT BANS FIX
       ========================================= */
    .ban-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    
    .ban-player {
        width: 100% !important;
    }

    .ban-details {
        width: 100% !important;
        text-align: left !important;
    }

    .ban-item .btn-danger {
        width: 100% !important;
        margin: 0 !important;
    }
}

@media (max-width: 768px) {
    /* =========================================
       ADMIN PANEL � ROBUST IP TRACKER FIX
       ========================================= */
    .ip-filters {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        align-items: flex-start !important;
    }

    #ip-search {
        width: 100% !important;
        flex: none !important;
    }

    .ip-toggle-wrapper {
        width: 100% !important;
        white-space: normal !important;
        font-size: 0.85rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    /* IP Tracker Cards */
    .ip-tracker-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 14px !important;
    }

    .ip-tracker-info {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
    }

    .ip-tracker-info .tracker-name {
        font-weight: 700 !important;
        font-size: 0.95rem !important;
    }

    .ip-tracker-info .tracker-steamid {
        font-family: monospace !important;
        font-size: 0.75rem !important;
        color: var(--text-gray) !important;
    }

    .ip-tracker-ips {
        width: 100% !important;
    }

    .ip-count {
        display: block !important;
        margin-bottom: 8px !important;
    }

    .ip-list {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .ip-tag {
        font-size: 0.75rem !important;
        padding: 4px 8px !important;
    }
}

@media (max-width: 768px) {
    /* =========================================
       ADMIN PANEL � BIGGER BASE MAP SEARCH
       ========================================= */
    .base-map-controls {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .base-map-search-wrapper {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .base-map-search-wrapper #base-search {
        flex: 1 1 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 14px 16px !important;
        font-size: 1rem !important;
        height: 48px !important;
        border-radius: 8px !important;
    }

    .base-map-search-wrapper .btn {
        flex: 0 0 auto !important;
        height: 48px !important;
        padding: 0 20px !important;
        font-size: 0.95rem !important;
        font-weight: bold !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .base-map-buttons {
        display: flex !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
    }

    .base-map-buttons .btn {
        height: 44px !important;
        min-width: 44px !important;
        font-size: 1.1rem !important;
        padding: 0 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    /* =========================================
       ADMIN PANEL � FIX BASE MAP SEARCH & BUTTONS
       ========================================= */
    .base-map-search-wrapper {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        gap: 10px !important;
    }

    /* Force the search input to take up all available space */
    .base-map-search-wrapper #base-search {
        flex: 1 1 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        display: block !important;
    }

    /* Force the SZUKAJ button to size to its content, NOT 100% */
    .base-map-search-wrapper .btn {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
    }

    /* Fix the zoom/refresh buttons layout (make them a row again) */
    .base-map-buttons {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    /* Force the zoom buttons to be small squares */
    .base-map-buttons .btn {
        flex: 1 1 auto !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        aspect-ratio: 1 / 1 !important;
        height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Keep the base count text styling */
    .base-count {
        margin-left: auto !important;
        margin-top: 8px !important;
        display: block !important;
        width: 100% !important;
        text-align: left !important;
    }
    
    .base-map-controls {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
}
