/* --- FUNDAMENT I ZMIENNE --- */
:root {
    --bg-main: #050506;
    --bg-side: #0a0a0c;
    --bg-card: #0f0f12;
    --accent: #8b5cf6; 
    --accent-glow: rgba(139, 92, 246, 0.4);
    --kick: #00ff88;
    --twitch: #9146ff;
    --tiktok: #00f2ea;
    --text: #ffffff;
    --text-dim: #64748b;
    --border: #1a1a1f;
    --cyber-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    background-color: var(--bg-main); 
    color: var(--text); 
    font-family: 'Rajdhani', sans-serif; 
    display: flex; 
    min-height: 100vh; 
}

/* --- SIDEBAR --- */
.sidebar { 
    width: 260px; height: 100vh; background: var(--bg-side); 
    border-right: 1px solid var(--border); position: fixed; 
    left: 0; top: 0; padding: 30px; z-index: 1000; 
}
.logo { font-size: 28px; font-weight: 700; color: var(--accent); margin-bottom: 40px; letter-spacing: 2px; }
.logo span { color: #fff; }
.nav-menu { list-style: none; }
.nav-menu a { 
    text-decoration: none; color: var(--text-dim); padding: 12px 15px; 
    display: flex; align-items: center; gap: 15px; border-radius: 12px; 
    transition: 0.3s; font-weight: 600; 
}
.nav-menu a:hover, .nav-menu a.active { background: rgba(139, 92, 246, 0.1); color: #fff; }

/* --- GŁÓWNY CONTENT --- */
.content { 
    margin-left: 260px; 
    flex: 1; 
    padding: 40px; 
    max-width: 1600px; 
    display: flex;
    flex-direction: column;
}

/* --- SLIDER --- */
.main-slider {
    width: 100%; height: 380px; border-radius: 25px; overflow: hidden;
    margin-bottom: 50px; border: 1px solid var(--border); position: relative;
}
.slide {
    width: 100%; height: 100%; background-size: cover; background-position: center;
    display: flex; align-items: center; padding: 60px; position: relative;
}
.slide::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(5,5,6,0.9) 0%, rgba(5,5,6,0.2) 100%);
}
.slide-content { position: relative; z-index: 2; max-width: 500px; }
.slide-content h1 { font-size: 48px; font-weight: 700; margin: 15px 0; line-height: 1.1; text-transform: uppercase; }
.btn-main {
    background: #fff; color: #000; padding: 14px 30px; text-decoration: none;
    border-radius: 12px; font-weight: 700; display: inline-block; transition: 0.3s;
}

/* --- GRID UKŁAD --- */
.grid { 
    display: grid; 
    grid-template-columns: 440px 1fr; 
    gap: 30px; 
    margin-bottom: 60px; 
    align-items: start; 
}

/* --- KARTY --- */
.card { 
    background: var(--bg-card); 
    border-radius: 24px; 
    border: 1px solid var(--border); 
    padding: 30px; 
    transition: 0.3s ease; 
}
.card h3 { color: var(--accent); margin-bottom: 20px; font-size: 24px; display: flex; align-items: center; gap: 15px; }

/* --- PRZYCISKI (CYBER-CUT) - POPRAWIONE ODSTĘPY --- */
.filter-btn, .map-badge, .spawn-selector button {
    background: #1a1a1f;
    color: #fff;
    padding: 12px 30px; 
    margin: 8px;
    border: none !important;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    clip-path: var(--cyber-path);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; 
    transition: 0.3s;
}

.filter-btn.active, .map-badge.active, .spawn-selector button.active {
    background: var(--accent) !important;
    color: #000 !important;
    box-shadow: 0 0 15px var(--accent-glow);
}

.filter-btn:hover, .map-badge:hover, .spawn-selector button:hover {
    background: #25252b;
    transform: translateY(-2px);
}

/* --- AIM SENS CALCULATOR --- */
.calc-container { display: flex; flex-direction: column; gap: 15px; }
.calc-input-group label { display: block; font-size: 12px; color: var(--accent); font-weight: 700; margin-bottom: 5px; text-transform: uppercase; }
.calc-input-group input {
    width: 100%; padding: 12px; background: #000; border: 1px solid var(--border);
    border-radius: 10px; color: #fff; font-family: inherit; outline: none;
}
.results-box { background: rgba(255,255,255,0.02); padding: 18px; border-radius: 15px; border: 1px solid var(--border); margin-top: 10px; }
.res-item { font-size: 15px; color: var(--text-dim); margin-bottom: 8px; display: flex; justify-content: space-between; }
.res-item span { color: #fff; font-weight: 700; }

/* --- MAPA I VIDEO --- */
.map-box { 
    position: relative; 
    width: 70%;           /* Zmieniono z 70%, aby wypełniało kolumnę */
    max-width: 1100px;     /* Ustawia limit szerokości, żeby mapa nie była za wielka */
    margin: 0 auto;        /* CENTROWANIE BOXA W POZIOMIE */
    border-radius: 20px; 
    overflow: hidden; 
    border: 1px solid var(--border); 
    background: #000; 
}

.map-box img { 
    width: 100%; 
    display: block; 
    opacity: 0.6; 
}

.video-ui { 
    margin: 25px auto 0;   /* Dodano auto dla marginesów bocznych */
    max-width: 1100px;     /* Taka sama szerokość jak mapa powyżej */
    background: rgba(0, 0, 0, 0.5); 
    padding: 20px; 
    border-radius: 20px; 
    border: 1px solid var(--border); 
}

.video-frame { 
    border-radius: 15px; 
    overflow: hidden; 
    aspect-ratio: 16 / 9; 
    background: #000; 
    border: 1px solid var(--border); 
}

/* --- KONTENER PARTNERÓW --- */
.partners-row { 
    display: flex; 
    gap: 25px; 
    margin-top: 40px; 
    flex-wrap: wrap; 
    justify-content: center;
}

/* --- KARTA PARTNERA (MODERN NEON) --- */
.partner-card {
    background: rgba(255, 255, 255, 0.03); /* Bardzo delikatne tło */
    backdrop-filter: blur(12px); /* Mocne rozmycie tła */
    -webkit-backdrop-filter: blur(12px);
    padding: 35px 20px;
    width: 240px;
    text-align: center;
    border-radius: 15px; /* Zaokrąglone rogi zamiast ściętych */
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    overflow: hidden;
}

/* Poświata wewnątrz karty */
.partner-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: 0.5s;
}

.partner-card:hover::before {
    opacity: 1;
}

/* --- AWATAR --- */
.avatar-container { 
    width: 120px; 
    height: 120px; 
    margin: 0 auto 20px; 
    position: relative; 
}

.avatar-container img { 
    width: 100%; 
    height: 100%; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s;
    position: relative;
    z-index: 2;
}

/* --- KOLORY I RAMKI DLA PLATFORM --- */
/* KICK (Zielony) */
.partner-card[data-platform="kick"]:hover {
    border-color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}
.partner-card[data-platform="kick"]:hover img { border-color: #00ff88; }

/* TWITCH (Fioletowy) */
.partner-card[data-platform="twitch"]:hover {
    border-color: #9146ff;
    box-shadow: 0 0 20px rgba(145, 70, 255, 0.3);
}
.partner-card[data-platform="twitch"]:hover img { border-color: #9146ff; }

/* TIKTOK (Czerwony/Neon) */
.partner-card[data-platform="tiktok"]:hover {
    border-color: #ff0050;
    box-shadow: 0 0 20px rgba(255, 0, 80, 0.3);
}
.partner-card[data-platform="tiktok"]:hover img { border-color: #ff0050; }

/* --- TEKST --- */
.p-name { 
    font-size: 19px; 
    font-weight: 800; 
    color: #fff; 
    margin-bottom: 5px; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.p-platform {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- SOCIAL MEDIA --- */
.p-socials { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    margin-top: 15px;
    opacity: 0.5;
    transition: 0.3s;
}

.partner-card:hover .p-socials {
    opacity: 1;
}

.p-socials a { 
    color: #fff; 
    font-size: 18px; 
    transition: 0.3s; 
}

.p-socials a:hover { 
    transform: translateY(-3px);
    color: inherit; /* Przyjmuje kolor platformy z karty */
}

/* --- LIVE DOT --- */
.live-dot { 
    position: absolute; 
    top: 15px; 
    right: 15px; 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    z-index: 10; 
    animation: pulseLive 1.5s infinite; 
}

.partner-card[data-platform="kick"] .live-dot { background: #00ff88; box-shadow: 0 0 10px #00ff88; }
.partner-card[data-platform="twitch"] .live-dot { background: #9146ff; box-shadow: 0 0 10px #9146ff; }
.partner-card[data-platform="tiktok"] .live-dot { background: #ff0050; box-shadow: 0 0 10px #ff0050; }

@keyframes pulseLive {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Hover na całą kartę */
.partner-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
}


/* Animacje OFICJALNI PARTNERZY */

.fa-handshake, .fa-shield-halved, .fa-crown {
    filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.5));
    animation: iconPulse 2s infinite ease-in-out;
}

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


/* --- STOPKA --- */
.simple-footer {
    margin-top: auto; 
    padding: 60px 0 40px;
    text-align: center;
    width: 100%;
}
.footer-line {
    width: 50px;
    height: 2px;
    background: var(--border);
    margin: 0 auto 20px;
}
.simple-footer p {
    font-size: 14px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.author-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}
.author-link:hover { color: var(--accent); }

/* --- DODATKI --- */
#mapPoints i { pointer-events: all; animation: pulseSmoke 2s infinite ease-in-out; }
@keyframes pulseSmoke {
    0% { filter: drop-shadow(0 0 2px var(--accent)); }
    50% { filter: drop-shadow(0 0 8px var(--accent)); }
    100% { filter: drop-shadow(0 0 2px var(--accent)); }
}

@media (max-width: 1024px) {
    .sidebar { width: 80px; }
    .content { margin-left: 80px; }
    .grid { grid-template-columns: 1fr; }
}

/* =========================================
   NOWE STYLE: PŁYWAJĄCY PLAYER WIDEO 
   (DODANE BEZ ZMIAN W POWYŻSZYM KODZIE)
   ========================================= */

.floating-player {
    position: fixed;
    top: 100px;
    right: 40px;
    width: 380px;
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: 15px;
    z-index: 9999;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 15px var(--accent-glow);
    overflow: hidden;
    animation: slideInPlayer 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes slideInPlayer {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.player-handle {
    background: var(--bg-side);
    padding: 10px 15px;
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.player-handle span {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--accent);
}

.player-handle button {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 16px;
}

.player-handle button:hover { color: #ff4b4b; }

.player-body { padding: 10px; }

.video-container-mini {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.video-container-mini iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Selektor spawnów w playerze */
.spawn-selector-mini {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    gap: 5px;
}

.spawn-selector-mini button {
    flex: 1;
    background: #1a1a1f;
    border: 1px solid var(--border);
    color: #fff;
    padding: 5px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    font-size: 11px;
    transition: 0.2s;
}

.spawn-selector-mini button:hover { background: #25252b; }
.spawn-selector-mini button.active { background: var(--accent); color: #000; border-color: var(--accent); }

/* Box z bindem w playerze */
.bind-box-mini {
    background: #000;
    border: 1px dashed var(--accent);
    padding: 8px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.bind-box-mini code {
    font-size: 10px;
    color: #ccc;
    word-break: break-all;
    max-width: 250px;
}

.bind-box-mini span { font-size: 11px; color: var(--text-dim); }

.bind-box-mini button {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 4px 8px;
    font-weight: 800;
    font-size: 9px;
    border-radius: 3px;
    cursor: pointer;
}


/* --- TESTOWE MENU PURPLE (.testmenu) --- */
:root {
    --tm-bg: #0c0a15;                /* Bardzo głęboki fioletowy odcień czerni */
    --tm-accent: #a855f7;            /* Wyrazisty fioletowy (Purple Neon) */
    --tm-accent-hover: #c084fc;      /* Jaśniejszy fiolet przy najechaniu */
    --tm-text: #71717a;              /* Przygaszony szary */
    --tm-text-active: #ffffff;       /* Czysta biel */
    --tm-glow: rgba(168, 85, 247, 0.4); /* Fioletowa poświata */
    --tm-radius: 14px;
}

.testmenu {
    width: 260px;
    height: 100vh;
    background: var(--tm-bg);
    padding: 25px 15px;
    position: fixed;
    left: 0;
    top: 0;
    border-right: 1px solid rgba(168, 85, 247, 0.1); /* Delikatna fioletowa krawędź */
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
}

/* Logo */
.testmenu .logo {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 35px;
    padding-left: 10px;
    text-shadow: 0 0 15px var(--tm-glow);
}

.testmenu .logo span { color: var(--tm-accent); }

/* Nawigacja */
.testmenu .nav-menu {
    list-style: none;
    padding: 0;
}

.testmenu .nav-menu li {
    margin-bottom: 6px;
}

.testmenu .nav-menu li a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--tm-text);
    text-decoration: none;
    padding: 12px 18px;
    border-radius: var(--tm-radius);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Efekt Hover - Fioletowy blur */
.testmenu .nav-menu li a:hover {
    background: rgba(168, 85, 247, 0.05);
    color: var(--tm-text-active);
    transform: translateX(8px);
}

.testmenu .nav-menu li a:hover i {
    color: var(--tm-accent-hover);
    filter: drop-shadow(0 0 8px var(--tm-accent));
}

/* Klasa aktywna - Pełny fioletowy neon */
.testmenu .nav-menu li a.active {
    background: rgba(168, 85, 247, 0.12) !important;
    color: #fff !important;
    box-shadow: inset 4px 0 0 0 var(--tm-accent);
}

.testmenu .nav-menu li a.active i {
    color: var(--tm-accent);
    filter: drop-shadow(0 0 10px var(--tm-accent));
}

/* Separator/Label sekcji (NARZĘDZIA) */
.testmenu .sep {
    font-size: 10px;
    color: var(--tm-accent);
    opacity: 0.8;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin: 25px 0 10px 18px;
    list-style: none;
    text-transform: uppercase;
}

/* Ikony */
.testmenu .nav-menu li a i {
    width: 22px;
    font-size: 18px;
    transition: all 0.3s ease;
}












/* --- KONTENER SLIDERA --- */
.main-slider {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    background: #050506;
    /* Delikatne rozświetlenie prawej strony, gdzie jest radar */
    background: radial-gradient(circle at 75% 50%, rgba(139, 92, 246, 0.12), #050506);
}

.slide {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

/* --- KOMPAKTOWY RADAR (280px) --- */
.radar-container {
    position: absolute;
    top: 50%;
    left: 65%;
    width: 280px; 
    height: 280px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.radar-circle {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
}

.radar-sweep {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(139, 92, 246, 0.5) 0deg, transparent 90deg);
    animation: radar-rotate 4s linear infinite;
}

/* --- MRUGAJĄCE KROPKI NA RADARZE --- */
.radar-point {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #00ff80;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff80;
    opacity: 0;
    z-index: 2;
}

/* Kropki zsynchronizowane z obrotem (4s) */
.p1 { 
    top: 35%; left: 75%; 
    animation: point-flicker 4s infinite; 
    animation-delay: 0.6s; 
}
.p2 { 
    top: 60%; left: 30%; 
    animation: point-flicker 4s infinite; 
    animation-delay: 2.3s; 
}

/* --- TREŚĆ SLIDERA --- */
.slide-content {
    position: relative;
    z-index: 10;
    padding-left: 8%;
}

.slide-content h1 {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 5px;
    background: linear-gradient(to right, #ffffff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

/* --- RUCHOMA KRESKA POD PRZYCISKIEM --- */
.slide-content::after {
    content: '';
    display: block;
    width: 165px;
    height: 3px;
    margin-top: 15px;
    margin-bottom: 25px;
    border-radius: 2px;
    
    /* Tło linii (ciemna ścieżka) */
    background-color: rgba(139, 92, 246, 0.15);
    
    /* "Biegający" blik światła */
    background-image: linear-gradient(90deg, 
        transparent 0%, 
        rgba(139, 92, 246, 0) 30%, 
        #8b5cf6 50%, 
        rgba(139, 92, 246, 0) 70%, 
        transparent 100%);
        
    background-size: 80px 100%; /* Rozmiar biegającego punktu */
    background-repeat: no-repeat;
    
    animation: moveLineRunning 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* --- PRZYCISK --- */
.btn-main {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 4px 15px rgba(109, 40, 217, 0.4);
    transition: all 0.3s ease;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.7);
}

/* --- DEFINICJE ANIMACJI --- */
@keyframes radar-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes point-flicker {
    0% { opacity: 0; transform: scale(0.4); }
    5% { opacity: 1; transform: scale(1.1); }
    15% { opacity: 0; transform: scale(1); }
    100% { opacity: 0; }
}

@keyframes moveLineRunning {
    0% { background-position: -130px 0; }
    100% { background-position: 260px 0; }
}


#lvl-icon-container {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    margin-right: 8px;
    vertical-align: middle;
}

#lvl-icon-container img {
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.faceit-row-main {
    display: flex;
    align-items: center; /* Centruje ikonę i tekst w pionie */
    gap: 10px;           /* Robi odstęp między ikoną a ELO */
}

#lvl-icon-container {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lvl-icon-container img {
    max-width: 100%;
    height: auto;
}
#lvl-icon-container { min-width: 32px; min-height: 32px; display: inline-block; }


@keyframes pulseCommunity {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Przycisk Community w menu filtrów */
.side-btn.community-btn.active {
    background: linear-gradient(45deg, #ff00ff, #8b5cf6);
    border-color: #fff;
    color: #fff;
}

@keyframes communityPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.8; text-shadow: 0 0 15px #a855f7; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}





/* Kontener testu - dopasowany do szerokości karty */
.test-area-idle {
    width: 100%;
    height: 140px; /* Nieco niższy, żeby nie zajmował pół strony */
    background: #000;
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    user-select: none;
}

/* Stany kolorystyczne */
.test-area-wait { background: #441111 !important; cursor: wait; }
.test-area-go { background: #00ff88 !important; cursor: crosshair; transform: scale(1.02); }

#test-msg {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
}

/* Przycisk START - identyczny styl jak inputy w kalkulatorze */
#start-test-btn {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    background: var(--accent);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

#start-test-btn:hover {
    filter: brightness(1.2);
}

/* Animacja dla rangi Global Elite */
@keyframes eliteGlow {
    0% { text-shadow: 0 0 5px #fff; }
    50% { text-shadow: 0 0 20px var(--accent); }
    100% { text-shadow: 0 0 5px #fff; }
}


/* 1. GŁÓWNY STYL (PC) */
.grid { 
    display: grid; 
    /* Lewa kolumna (Kalkulator+Reflex) ma 440px, prawa (Mapa) resztę */
    grid-template-columns: 440px 1fr; 
    gap: 30px; 
    margin-bottom: 60px; 
    align-items: start; /* Dzięki temu lewa kolumna nie rozciąga się sztucznie do wysokości mapy */
}

/* 2. STYL NA TELEFONY (RESPONSYWNOŚĆ) */
@media (max-width: 1024px) {
    .sidebar { width: 80px; }
    .content { margin-left: 80px; }
    
    /* Na małym ekranie usuwamy układ obok siebie i robimy jeden pod drugim */
    .grid { 
        grid-template-columns: 1fr; 
    }
}




/* ==========================================
   STYLIZACJA MODALA ZGŁOSZEŃ (COMMUNITY)
   ========================================== */

/* --- Sekcja przycisku pod mapą --- */
.community-upload-section {
    text-align: center;
    padding: 20px 0;
    margin-top: 10px;
}

/* Przycisk w stylu Terrorystów (ścięte rogi) */
.add-nade-btn {
    background: #1a1a1a; 
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    /* Efekt ściętych rogów - styl CS */
    clip-path: polygon(10% 0, 100% 0, 100% 75%, 90% 100%, 0 100%, 0 25%);
    
    transition: all 0.2s ease-in-out;
    box-shadow: none !important;
}

.add-nade-btn:hover {
    background: #5865F2; /* Zmiana na kolor akcentu przy najechaniu */
    filter: brightness(1.1);
}

/* --- Struktura Modala --- */
.modal {
    display: none;
    position: fixed;
    z-index: 999999 !important;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    overflow-y: auto;
}

.community-modal {
    background: #0f0f0f !important;
    margin: 5% auto;
    width: 90%;
    max-width: 480px;
    border: 1px solid #222 !important;
    border-top: 4px solid #5865F2 !important;
    border-radius: 20px;
    position: relative;
    color: white;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    animation: modalFadeIn 0.4s ease-out;
}

.modal-body { padding: 0 30px 30px 30px; }
.modal-header { padding: 30px; text-align: left; }
.modal-header h3 { margin: 0; font-size: 24px; display: flex; align-items: center; gap: 12px; }

.info-badge {
    display: inline-block;
    background: rgba(88, 101, 242, 0.1);
    color: #5865F2;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 900;
    margin-top: 10px;
    text-transform: uppercase;
}

.community-info {
    background: rgba(88, 101, 242, 0.05);
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid #5865F2;
    margin-bottom: 25px;
}

.community-info p { font-size: 13px; color: #ccc; margin: 0; line-height: 1.5; }

/* --- Formularz --- */
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-size: 13px; color: #999; font-weight: 600; }

.form-group input, .form-select {
    width: 100%;
    padding: 14px;
    background: #161616;
    border: 1px solid #252525;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input:focus, .form-select:focus {
    outline: none;
    border-color: #5865F2;
    background: #1a1a1a;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' width='18px' height='18px'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

/* --- Przyciski w modalu --- */
.modal-close {
    position: absolute; right: 20px; top: 25px;
    width: 36px; height: 36px; background: #1a1a1a;
    border-radius: 50%; display: flex; justify-content: center;
    align-items: center; cursor: pointer; color: #555; transition: 0.3s;
}

.modal-close:hover { background: #ff4655; color: white; transform: rotate(90deg); }

.send-community-btn {
    width: 100%; padding: 16px; margin-top: 10px;
    background: #5865F2; color: white; border: none;
    border-radius: 12px; font-weight: 800; cursor: pointer;
    display: flex; justify-content: center; align-items: center; gap: 12px;
    transition: 0.3s;
}

.send-community-btn:hover { filter: brightness(1.2); }

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



/* PARTNERZT */


.partner-card {
    display: block;        /* Ważne dla tagu <a> */
    text-decoration: none; /* Usuwa podkreślenie linku */
    color: inherit;        /* Dziedziczy kolory tekstu ze strony */
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.03); /* Subtelne rozjaśnienie */
}

/* Żeby ikonki sociali nie reagowały na kolor linku */
.p-socials i {
    color: #888;
    margin: 0 5px;
    transition: color 0.2s;
}

.partner-card:hover .p-socials i {
    color: #fff; /* Ikonki świecą mocniej, gdy najeżdżasz na całą kartę */
}





/*powiadomienia live*/


.live-widget {
    position: fixed;
    bottom: -200px; /* Startuje poza ekranem */
    right: 20px;
    width: 280px;
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    z-index: 1000000;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.live-widget.show { bottom: 20px; }

.live-widget-content { padding: 15px; }

.live-header { display: flex; justify-content: space-between; margin-bottom: 12px; }

.live-badge {
    background: #ff4655;
    color: white;
    font-size: 10px;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 4px;
    animation: blink 1s infinite;
}

.live-user { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.live-user img { width: 45px; height: 45px; border-radius: 50%; border: 2px solid #5865F2; }
.live-info strong { display: block; color: white; font-size: 16px; }
.live-info span { color: #888; font-size: 12px; }

.watch-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #5865F2;
    color: white;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    gap: 8px;
}


.close-widget {
    background: #222; /* Ciemne tło przycisku */
    border: none;
    color: #666; /* Szary kolor ikony */
    width: 26px;
    height: 26px;
    border-radius: 50%; /* Idealne koło */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.close-widget:hover {
    background: #ff4655; /* Kolor Valorant/CSowy czerwony */
    color: white;
    transform: rotate(90deg); /* Fajny efekt obrotu przy najechaniu */
}


@keyframes blink { 50% { opacity: 0.5; } }