/* ==========================================================================
   PÓŁNOCNA STRONA KOSZYKÓWKI - STYLE SYSTEM "REALISTIC AURORA FLOW"
   ========================================================================== */

/* 1. ZMIENNE I KOLORY */
:root {
    --primary: #00f2ff;
    --secondary: #ff6600;
    
    /* PALETA AURORA */
    --gold: #FFD700;
    --sea: #00b4d8;
    --green: #00cc66;
    --navy: #0a192f;
    --orange: #ff6600;

    --dark-bg: #0b1120;
    --glass-bg: #0b1120; 

    --font-heading: 'Oswald', sans-serif;
    --font-text: 'Roboto', sans-serif;
}

/* 2. RESET I TŁO */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }

body {
    padding-top: 70px; 
    background-color: transparent; /* ZMIANA: transparent, by przepuścić zorzę */
    color: #ffffff;
    font-family: var(--font-text);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* TŁO 3D (WebGL Container) */
#aurora-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -9999; /* Najniższa warstwa */
    pointer-events: none;
    background: #050810;
}

#aurora-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* 3. PRELOADER ZAKCELEROWANY GPU */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: #050810; display: flex !important; flex-direction: column; justify-content: center; align-items: center;
    z-index: 99999; transition: opacity 0.5s ease, visibility 0.5s;
}
.pulsing-logo {
    width: 50vw; max-width: 500px; min-width: 250px; height: auto; margin-bottom: 50px;
    animation: pulseLogo 3s infinite ease-in-out;
    filter: drop-shadow(0 0 40px rgba(0, 242, 255, 0.15));
}
.loading-bar {
    width: 300px; height: 4px; background: rgba(255,255,255,0.05); border-radius: 4px; position: relative; overflow: hidden;
}
.loading-bar::after {
    content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--primary)); 
    transform-origin: left center;
    transform: scaleX(0);
    animation: loadProgressGPU 1.5s ease-in-out infinite;
    will-change: transform;
}
.loader-hidden { opacity: 0; visibility: hidden; }

/* =========================================
   4. UI - SZKLANE KARTY "LIQUID BORDER"
   ========================================= */
@keyframes spinGradient {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.glass-panel {
    position: relative;
    border-radius: 20px; 
    padding: 40px; 
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: var(--glass-bg);
    overflow: hidden; /* ZMIANA: Przywrócono ucinanie, aby naprawić błąd "kwadratów" */
    z-index: 1;
}

.glass-panel::before {
    content: ''; position: absolute; top: 50%; left: 50%; z-index: -2;
    width: 150%; height: 150%; aspect-ratio: 1/1; 
    background: conic-gradient(from 0deg, var(--navy), var(--sea), var(--green), var(--gold), var(--orange), var(--navy));
    animation: spinGradient 12s linear infinite;
    filter: blur(10px); opacity: 0.8;
}

.glass-panel::after {
    content: ''; position: absolute; z-index: -1; inset: 3px; 
    background: rgba(10, 15, 30, 0.95); border-radius: 18px;
}

.glass-panel:hover::before {
    filter: blur(5px); opacity: 1; animation: spinGradient 6s linear infinite;
}

/* 5. TYPOGRAFIA */
h1, h2, h3, h4 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 1px; }
.text-glow-blue { color: var(--primary); text-shadow: 0 0 25px rgba(0, 242, 255, 0.6); }
.text-glow-orange { color: var(--secondary); text-shadow: 0 0 25px rgba(255, 102, 0, 0.6); }

/* 6. PRZYCISKI */
.btn {
    display: inline-block; padding: 14px 35px;
    font-family: var(--font-heading); font-weight: 700; text-decoration: none; text-transform: uppercase;
    border-radius: 50px; transition: all 0.3s ease; cursor: pointer; border: 2px solid transparent; letter-spacing: 1px;
}
.btn-primary { background: linear-gradient(45deg, var(--secondary), #ff4500); color: #fff; box-shadow: 0 10px 25px rgba(255, 102, 0, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(255, 102, 0, 0.6); }
.btn-secondary { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color: #000; box-shadow: 0 0 30px rgba(0, 242, 255, 0.6); }
.btn-outline { border: 2px solid rgba(255,255,255,0.3); color: #fff; }
.btn-outline:hover { border-color: var(--gold); background: rgba(255,215,0,0.1); color: var(--gold); box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }

/* =========================================
   7. NAWIGACJA
   ========================================= */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; height: 70px; padding: 0 5%; 
    display: flex; justify-content: space-between; align-items: center; 
    background: rgba(5, 8, 16, 0.95); backdrop-filter: blur(20px); 
    z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-left { display: flex; align-items: center; gap: 30px; }
.logo, .logo a { display: flex; align-items: center; height: 100%; }
.logo img { height: 50px !important; width: auto !important; display: block; object-fit: contain; }

.nav-socials { display: flex; align-items: center; gap: 12px; }
.social-link { color: #ffffff; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); transition: all 0.3s ease; text-decoration: none; }
.nav-socials .social-link:hover { background: transparent; }
.nav-socials .social-link:nth-child(1):hover { background: #1877F2 !important; color: #ffffff !important; box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4) !important; }
.nav-socials .social-link:nth-child(2):hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important; color: #ffffff !important; box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4) !important; }
.nav-socials .social-link:nth-child(3):hover { background: #000000 !important; color: #ffffff !important; box-shadow: 0 5px 15px rgba(255, 255, 255, 0.25) !important; border: 1px solid rgba(255, 255, 255, 0.4); }

.nav-links { list-style: none !important; display: flex !important; gap: 25px; align-items: center; margin: 0; padding: 0; }
.nav-links a { color: #ffffff !important; text-decoration: none !important; font-family: 'Oswald', sans-serif !important; font-size: 0.9rem; text-transform: uppercase; transition: 0.3s; display: inline-block; }
.nav-links a:hover { color: #FFD700 !important; }

.hamburger { display: none; font-size: 1.5rem; color: #fff; cursor: pointer; }

/* ========================================== */
/* GŁÓWNA TABLICA WYNIKÓW (RETRO DOT MATRIX)  */
/* ========================================== */
.main-scoreboard-container {
    display: flex;
    justify-content: center;
    margin: 40px auto 20px auto;
    padding: 0 15px;
    width: 100%;
}

.main-scoreboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Bardzo ciemne tło */
    background-color: #040404;
    
    /* NOWOŚĆ: Matryca zgaszonych punktów (imitacja fizycznych diod) */
    background-image: radial-gradient(circle, #1a1a1a 1.5px, transparent 1.5px);
    background-size: 5px 5px; /* Gęstość siatki */
    
    /* GRUBA RAMKA 3D */
    border: 6px solid #1a1a1a;
    border-bottom: 6px solid #252525;
    border-right: 6px solid #222;
    border-radius: 14px;
    padding: 30px 40px;
    /* Głębszy cień wewnętrzny i lekka poświata na zewnątrz */
    box-shadow: inset 0 0 50px rgba(0,0,0,1), 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 242, 255, 0.05);
    min-width: 60%;
    max-width: 950px;
    position: relative;
}

/* Powiększone nazwy drużyn */
.sb-teams-large {
    font-family: 'DotGothic16', sans-serif;
    font-size: 2.8rem; /* ZNACZNIE WIĘKSZE */
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    /* Dodajemy delikatne tło pod tekst, żeby lepiej "siedział" na siatce */
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5));
}

.team-psk-large {
    color: #00f2ff; 
    /* Mocniejsze żarzenie */
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.9), 0 0 5px #00f2ff;
}

.team-opponent-large {
    color: #ffaa00; 
    text-shadow: 0 0 15px rgba(255, 170, 0, 0.9), 0 0 5px #ffaa00;
}

.vs-divider-large {
    color: #ff3333; 
    text-shadow: 0 0 15px rgba(255, 51, 51, 0.9), 0 0 5px #ff3333;
    font-size: 2rem; /* Większe VS */
    margin: 0 30px;
    font-family: 'DotGothic16', sans-serif;
    position: relative;
    top: -2px;
}

.sb-timer-large {
    font-family: 'DS-Digital', sans-serif;
    font-style: italic;
    font-size: 6rem; /* Jeszcze odrobinę większy zegar */
    font-weight: normal;
    color: #00f2ff; 
    /* Intensywne neonowe światło, które "przykrywa" siatkę pod spodem */
    text-shadow: 0 0 30px rgba(0, 242, 255, 1), 0 0 8px #00f2ff; 
    letter-spacing: 8px;
    white-space: nowrap;
    line-height: 0.9;
    margin-top: 5px;
}

@keyframes pulse-live-large {
    0% { opacity: 1; text-shadow: 0 0 30px red, 0 0 10px red; }
    50% { opacity: 0.6; text-shadow: 0 0 15px red, 0 0 5px red; }
    100% { opacity: 1; text-shadow: 0 0 30px red, 0 0 10px red; }
}

/* Responsywność dla telefonów */
@media (max-width: 768px) {
    .main-scoreboard { padding: 25px 20px; width: 95%; border-width: 4px; }
    .sb-timer-large { font-size: 3.8rem; letter-spacing: 4px; }
    .sb-teams-large { font-size: 1.5rem; display: flex; flex-direction: column; gap: 5px; }
    .vs-divider-large { margin: 5px 0; font-size: 1.2rem; }
}
.mobile-socials { display: none !important; }
@media (max-width: 768px) {
    body { padding-top: 80px; }
    .hamburger { display: block; }
    .nav-socials { display: none; }
    .nav-links { position: fixed; right: 0; top: 80px; height: calc(100vh - 80px); width: 100%; background: rgba(5, 8, 16, 0.95); flex-direction: column; padding-top: 50px; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1); will-change: transform; overflow-y: auto; }
    .nav-links.active { transform: translateX(0); }
    .mobile-socials { display: flex !important; justify-content: center; gap: 20px; margin-top: auto; margin-bottom: 40px; width: 80%; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 30px; }
    .mobile-socials .social-link { display: flex !important; align-items: center !important; justify-content: center !important; width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; background: rgba(255, 255, 255, 0.05); color: #ffffff; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.1); }
    .mobile-socials .social-link i { margin: 0 !important; padding: 0 !important; }
}

/* 8. INPUTY */
input, select, textarea { width: 100%; padding: 15px; margin-bottom: 20px; background: rgba(0,0,0,0.5); border: 2px solid rgba(255,255,255,0.1); border-radius: 12px; color: #fff; font-family: var(--font-text); transition: 0.3s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 25px rgba(0, 242, 255, 0.3); background: rgba(0,0,0,0.7); }

/* 9. HERO I RESZTA */
.hero { min-height: 70vh; height: auto; display: flex; justify-content: center; align-items: center; text-align: center; padding-top: 100px; padding-bottom: 120px; }
.hero h1 { font-size: 4rem; margin-bottom: 20px; line-height: 1.1; }
.hero-white { color: #fff !important; text-shadow: 0 0 30px var(--primary); }
.hero-outline { color: transparent !important; -webkit-text-stroke: 1px var(--secondary); letter-spacing: 2px; }

@keyframes pulseLogo { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.85; } 100% { transform: scale(1); opacity: 1; } }
@keyframes loadProgressGPU { 0% { transform: translateX(0) scaleX(0); } 50% { transform: translateX(30%) scaleX(0.7); } 100% { transform: translateX(100%) scaleX(1); } }
@keyframes floatIcon { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-20px) rotate(10deg); } 100% { transform: translateY(0px) rotate(0deg); } }
@keyframes auroraGlowPulse { 0% { filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.9)) drop-shadow(0 0 35px rgba(0, 242, 255, 0.7)); } 25% { filter: drop-shadow(0 0 8px rgba(0, 204, 102, 0.9)) drop-shadow(0 0 35px rgba(0, 204, 102, 0.7)); } 50% { filter: drop-shadow(0 0 12px rgba(255, 215, 0, 1.0)) drop-shadow(0 0 45px rgba(255, 215, 0, 0.8)); } 75% { filter: drop-shadow(0 0 8px rgba(255, 102, 0, 0.9)) drop-shadow(0 0 35px rgba(255, 102, 0, 0.7)); } 100% { filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.9)) drop-shadow(0 0 35px rgba(0, 242, 255, 0.7)); } }

footer { text-align: center; padding: 50px 20px; border-top: 1px solid rgba(255,255,255,0.05); background: linear-gradient(to top, #000, transparent); color: #666; font-size: 0.9rem; margin-top: 80px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.overlap-section { margin-top: -100px; position: relative; z-index: 20; margin-bottom: 80px; }

@media (max-width: 992px) { .overlap-section { margin-top: 0px !important; padding-top: 60px; } .hero { min-height: auto; padding-top: 150px; padding-bottom: 60px; height: auto; } }
@media (max-width: 768px) { .hero h1 { font-size: 2.5rem; } .pulsing-logo { width: 70vw; } .hero-buttons { display: flex !important; flex-direction: column !important; gap: 25px !important; width: 100%; max-width: 400px; margin: 0 auto; } .hero-buttons .btn { width: 100% !important; display: block; text-align: center; margin: 0 !important; } }

.krs-info { text-align: center; font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); margin-top: 10px; padding-bottom: 20px; font-weight: 300; letter-spacing: 0.5px; }
.top-legal-bar { width: 100%; background: linear-gradient(90deg, #081025 0%, #101c37 50%, #004e66 100%); color: #ffffff; text-align: center; font-size: 12px; padding: 10px 0; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; border-bottom: 1px solid #ffcc00; position: relative; z-index: 1001; }
@media (max-width: 480px) { .top-legal-bar { font-size: 9px; } }

.hero-logo { display: block; margin: 0 auto 25px auto; max-width: 250px; height: auto; animation: auroraGlowPulse 8s ease-in-out infinite; will-change: filter; }
@media (max-width: 768px) { .hero-logo { max-width: 180px; margin-bottom: 20px; } }
.float-icon { animation: floatIcon 4s ease-in-out infinite; will-change: transform; }

.maps-container { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; margin-top: 30px; width: 100%; }
.map-wrapper { position: relative; border-radius: 20px; overflow: hidden; height: 350px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid rgba(255, 255, 255, 0.1); background: #0b1120; }
@media (max-width: 992px) { .maps-container { grid-template-columns: 1fr; gap: 20px; } .map-wrapper { height: 300px; } }

.schedule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; width: 100%; }
.card-wtorki { order: 1; } .card-czwartki { order: 2; } .card-niedziele { order: 3; } .map-leczyce { order: 4; grid-column: 1 / 3; } .map-wicko { order: 5; grid-column: 3 / 4; }
@media (max-width: 992px) { .schedule-grid { grid-template-columns: 1fr; gap: 20px; } .card-wtorki { order: 1; } .card-czwartki { order: 2; } .map-leczyce { order: 3; grid-column: 1 / -1; height: 300px; } .card-niedziele { order: 4; } .map-wicko { order: 5; grid-column: 1 / -1; height: 300px; } }

/* =========================================
   KLASY POMOCNICZE (UTILITY CLASSES)
   ========================================= */
.page-header { margin-top: 120px; margin-bottom: 60px; text-align: center; } .section-spacing { margin-bottom: 100px; } .section-title-wrapper { margin-bottom: 30px; display: flex; align-items: center; gap: 20px; } .text-center { text-align: center; } 
.main-title { font-size: 3.5rem; margin-bottom: 10px; } .subtitle { color: #aaa; font-size: 1.2rem; max-width: 700px; margin: 0 auto; } .section-title { font-size: 2rem; margin: 0; } .text-muted { color: #ccc; }
.title-line { flex-grow: 1; height: 1px; } .line-gold { background: linear-gradient(90deg, var(--gold), transparent); } .line-sea { background: linear-gradient(90deg, var(--sea), transparent); }
.card-header-flex { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; } .card-time { font-size: 2.5rem; font-weight: bold; color: #fff; margin: 0 0 20px 0; } .card-time span { font-size: 1rem; color: #888; font-weight: normal; } .card-list { list-style: none; color: #ccc; margin-bottom: 30px; } .card-list li { margin-bottom: 10px; } .card-list i { width: 25px; display: inline-block; text-align: center; } 
.btn-full { width: 100%; display: block; text-align: center; font-size: 0.9rem; } 
.badge { padding: 5px 10px; border-radius: 5px; font-size: 0.8rem; border: 1px solid; } .badge-sea { background: rgba(0, 180, 216, 0.2); color: var(--sea); border-color: var(--sea); } .badge-green { background: rgba(0, 204, 102, 0.2); color: var(--green); border-color: var(--green); } .badge-orange { background: rgba(255, 102, 0, 0.2); color: var(--orange); border-color: var(--orange); }
.text-gold { color: var(--gold) !important; } .text-sea { color: var(--sea) !important; } .text-green { color: var(--green) !important; } .text-orange { color: var(--orange) !important; } .glow-gold { text-shadow: 0 0 15px rgba(255, 215, 0, 0.4); } .glow-sea { text-shadow: 0 0 15px rgba(0, 180, 216, 0.4); }

.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; } .flex-wrap { display: flex; flex-wrap: wrap; gap: 40px; } .flex-1 { flex: 1; min-width: 300px; } .flex-2 { flex: 2; min-width: 300px; }
.circle-icon { width: 100px; height: 100px; margin: 0 auto 20px; border-radius: 50%; border: 3px solid; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.3); } .step-number { position: absolute; top: -20px; left: 20px; background: var(--secondary); color: #fff; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: bold; font-size: 1.2rem; box-shadow: 0 0 15px rgba(255,102,0,0.5); z-index: 10; }
.download-box { display: flex; align-items: center; gap: 20px; background: rgba(255,255,255,0.05); padding: 20px; border-radius: 15px; margin-bottom: 20px; text-decoration: none; border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; } .download-box:hover { background: rgba(255,255,255,0.1); border-color: var(--primary); transform: translateX(5px); }

.align-center { align-items: center; } .justify-around { justify-content: space-around; } .icon-huge { font-size: 8rem; } .icon-large { font-size: 2.5rem; margin-bottom: 15px; } .glow-orange { text-shadow: 0 0 30px rgba(255, 102, 0, 0.6); }
.stat-box { flex: 1; min-width: 200px; padding: 30px; } .stat-number { font-size: 3rem; margin: 0; } .stat-label { color: #aaa; text-transform: uppercase; font-size: 0.9rem; }
.panel-flat { border-radius: 0; border-left: none; border-right: none; padding: 20px 0; margin-bottom: 0; }

.icon-box { width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid; } .icon-box-gold { background: rgba(255, 215, 0, 0.1); border-color: var(--gold); } .icon-box-sea { background: rgba(0, 180, 216, 0.1); border-color: var(--sea); } .icon-box-green { background: rgba(0, 204, 102, 0.1); border-color: var(--green); } .icon-box-primary { background: rgba(0, 242, 255, 0.1); border-color: var(--primary); width: 60px; height: 60px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .check-item { display: flex; align-items: center; gap: 15px; } @media (max-width: 768px) { .check-list { grid-template-columns: 1fr; } } 
.social-btn { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 1.5rem; color: #fff; text-decoration: none; transition: transform 0.3s, box-shadow 0.3s; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); } .social-btn:hover { transform: translateY(-5px); } .fb:hover { background: #1877F2; box-shadow: 0 0 20px rgba(24, 119, 242, 0.5); border-color: #1877F2; } .ig:hover { background: #E1306C; box-shadow: 0 0 20px rgba(225, 48, 108, 0.5); border-color: #E1306C; } .tt:hover { background: #000000; box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); border-color: #fff; }
.alert-success { background: rgba(0, 204, 102, 0.2); border: 1px solid var(--green); color: var(--green); padding: 20px; border-radius: 10px; text-align: center; margin-bottom: 30px; }
.form-label { color: #888; font-size: 0.9rem; margin-bottom: 5px; display: block; }

/* =========================================
   PASEK WYNIKÓW PSK (AUTOSCROLL)
   ========================================= */
.psk-ticker-container { width: 100%; height: 50px; background: rgba(0, 0, 0, 0.95); border-bottom: 2px solid var(--primary); position: fixed; top: 70px; z-index: 998; overflow: hidden; display: flex; align-items: center; }
.ticker-scroll { display: flex; width: max-content; animation: pskRolling 40s linear infinite; }
.ticker-items { display: flex; align-items: center; }
.ticker-match { display: flex; align-items: center; padding: 0 50px; white-space: nowrap; font-family: 'Oswald', sans-serif; color: #fff; height: 50px; }
.t-info { color: var(--primary); font-size: 0.8rem; margin-right: 15px; opacity: 0.8; } .t-team { display: flex; align-items: center; gap: 10px; text-transform: uppercase; } .t-team img { width: 25px; height: 25px; object-fit: contain; }
.psk-main-logo { width: 50px !important; height: 50px !important; filter: drop-shadow(0 0 5px rgba(0, 242, 255, 0.5)); }
.t-result { background: #222; padding: 2px 10px; margin: 0 15px; border-radius: 4px; font-weight: 700; min-width: 50px; text-align: center; } .t-result.is-final { background: var(--secondary); box-shadow: 0 0 10px rgba(255, 102, 0, 0.3); }
@keyframes pskRolling { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.psk-ticker-container:hover .ticker-scroll { animation-play-state: paused; }

/* =========================================
   ROZGRYWKI - TABELE I HISTORIA
   ========================================= */
.rozgrywki-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; align-items: start; }
@media (max-width: 992px) { .rozgrywki-grid { grid-template-columns: 1fr; } }
.match-history-list { display: flex; flex-direction: column; } .table-panel { padding: 30px; } .table-responsive { width: 100%; overflow-x: auto; }
.league-table { width: 100%; border-collapse: collapse; font-family: 'Roboto', sans-serif; min-width: 500px; } .league-table th { padding: 12px 10px; text-align: center; font-size: 0.85rem; color: #888; text-transform: uppercase; border-bottom: 2px solid rgba(255,255,255,0.1); } .league-table td { padding: 15px 10px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.highlight-psk { background: rgba(0, 242, 255, 0.1); } .highlight-psk td { color: #fff; border-top: 1px solid var(--primary); border-bottom: 1px solid var(--primary); } .highlight-psk td:first-child { border-left: 3px solid var(--primary); }
.table-team-cell { display: flex; align-items: center; gap: 12px; } .table-team-cell img { width: 25px; height: 25px; object-fit: contain; }
.league-section-header { background: rgba(0, 242, 255, 0.1); padding: 8px 15px; border-left: 3px solid var(--primary); margin: 20px 0 10px 0; color: #fff; font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 0.9rem; }
.match-history-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); gap: 20px; } .match-history-item:last-child { border-bottom: none; }
.mh-info { flex: 0 0 auto; color: var(--primary); font-weight: bold; font-family: 'Oswald', sans-serif; font-size: 0.8rem; } .mh-teams { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; font-family: 'Oswald', sans-serif; } .mh-logo { width: 70px; height: 70px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 0 5px rgba(0, 242, 255, 0.6)); } .mh-opponent { font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-score-result-group { display: flex; align-items: center; gap: 15px; flex: 0 0 auto; } .mh-score { font-weight: bold; white-space: nowrap; font-family: 'Oswald', sans-serif; } .mh-result { display: flex; }
.result-badge { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 6px; font-weight: 900; font-family: 'Oswald', sans-serif; } .badge-win { background: #00cc66; color: #000; box-shadow: 0 0 10px rgba(0, 204, 102, 0.4); } .badge-loss { background: #ff4444; color: #fff; box-shadow: 0 0 10px rgba(255, 68, 68, 0.4); }
@media (max-width: 768px) { .match-history-item { flex-wrap: wrap; padding: 15px 0; gap: 10px; } .mh-info { flex: 0 0 100%; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 8px; margin-bottom: 5px; } .mh-teams { flex: 1 1 auto; justify-content: flex-start; } .mh-opponent { white-space: normal; font-size: 0.95rem; } .mh-score-result-group { flex: 0 0 auto; gap: 10px; } .mh-score { font-size: 1rem; } }

/* =========================================
   KADRA ZESPOŁU (ROSTER)
   ========================================= */
.roster-league-header { display: flex; align-items: center; margin-bottom: 30px; } .roster-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.player-card { padding: 0 !important; display: flex; flex-direction: column; text-align: center; transition: transform 0.4s ease, box-shadow 0.4s ease; cursor: pointer; } .player-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0, 242, 255, 0.2); }
.player-photo-wrapper { position: relative; width: 100%; height: 280px; background: linear-gradient(to bottom, rgba(255,255,255,0.05), transparent); border-bottom: 2px solid var(--primary); overflow: hidden; } .player-photo { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s ease; } .player-card:hover .player-photo { transform: scale(1.05); }
.player-number { position: absolute; bottom: -15px; right: 20px; font-family: 'Oswald', sans-serif; font-size: 3.5rem; font-weight: 900; color: rgba(255, 255, 255, 0.1); -webkit-text-stroke: 1px rgba(255,255,255,0.8); line-height: 1; z-index: 10; } .player-card:hover .player-number { color: var(--secondary); -webkit-text-stroke: 0px; text-shadow: 0 0 20px rgba(255, 102, 0, 0.6); }
.player-info { padding: 25px 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; } .player-name { font-size: 1.5rem; line-height: 1.1; margin-bottom: 10px; letter-spacing: 1px; } .player-position { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; }
@media (max-width: 1200px) { .roster-grid { grid-template-columns: repeat(4, 1fr); } } @media (max-width: 992px) { .roster-grid { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 768px) { .roster-grid { grid-template-columns: repeat(2, 1fr); } .player-photo-wrapper { height: 240px; } } @media (max-width: 480px) { .roster-grid { grid-template-columns: 1fr; gap: 25px; } .player-photo-wrapper { height: 280px; } }

/* =========================================
   MODUŁ AKTUALNOŚCI (BLOG)
   ========================================= */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.news-card { padding: 0 !important; display: flex; flex-direction: column; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; } .news-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0, 242, 255, 0.15); }
.news-image-wrapper { position: relative; width: 100%; height: 220px; overflow: hidden; border-bottom: 2px solid var(--primary); } .news-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; } .news-card:hover .news-image { transform: scale(1.08); }
.news-date-badge { position: absolute; bottom: 15px; left: 15px; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px); color: var(--primary); padding: 5px 12px; border-radius: 4px; font-family: 'Oswald', sans-serif; font-size: 0.85rem; border: 1px solid rgba(0, 242, 255, 0.3); }
.news-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; } .news-title { font-size: 1.3rem; margin-bottom: 15px; line-height: 1.3; color: #fff; } .news-excerpt { font-size: 0.95rem; line-height: 1.6; margin-bottom: 25px; }

/* =========================================
   POJEDYNCZY ARTYKUŁ (WIDOK SZCZEGÓŁOWY)
   ========================================= */
.single-article-panel { padding: 40px 50px !important; }
.article-hero-image { width: 100%; height: 400px; border-radius: 12px; overflow: hidden; margin-bottom: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid rgba(0, 242, 255, 0.2); } .article-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.article-body { font-size: 1.1rem; line-height: 1.8; color: #e0e0e0; font-family: 'Roboto', sans-serif; } .article-body strong { color: #fff; font-weight: 700; }
@media (max-width: 768px) { .single-article-panel { padding: 25px 20px !important; } .article-title { font-size: 1.8rem !important; } .article-hero-image { height: 250px; margin-bottom: 25px; } .article-body { font-size: 1rem; } .article-footer { flex-direction: column; gap: 15px; align-items: flex-start !important; } }

/* =========================================
   GALERIA PSK - STYL DOPASOWANY DO BOXÓW
   ========================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-item { position: relative; height: 200px; cursor: pointer; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.4); transition: transform 0.3s ease; z-index: 1; } .gallery-item:hover { transform: translateY(-5px); }
.gallery-img { width: 100%; height: 100%; object-fit: contain; border-radius: 11px; transition: transform 0.4s ease; z-index: 1; }
.gallery-overlay { position: absolute; inset: 5px; background: rgba(0, 242, 255, 0.1); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; border-radius: 10px; z-index: 2; pointer-events: none; } .gallery-overlay i { font-size: 2rem; color: var(--primary); text-shadow: 0 0 10px var(--primary); } .gallery-item:hover .gallery-overlay { opacity: 1; }
.lightbox { display: none; position: fixed; z-index: 99999 !important; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); align-items: center; justify-content: center; flex-direction: column; backdrop-filter: blur(10px); } .lightbox-content { max-width: 90%; max-height: 80vh; border: 2px solid var(--primary); z-index: 100000; }
@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } .gallery-item { height: 250px; } }

/* =========================================
   ZAKŁADKI LIGOWE W TABELI - WERSJA PRO
   ========================================= */
.league-tabs { display: flex; gap: 12px; margin-bottom: 25px; flex-wrap: wrap; justify-content: center; border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding-bottom: 20px; }
.btn-league-tab { appearance: none; -webkit-appearance: none; background: rgba(0, 0, 0, 0.5) !important; border: 1px solid rgba(255, 255, 255, 0.15) !important; color: #aaaaaa !important; padding: 10px 25px !important; border-radius: 50px !important; cursor: pointer; font-family: 'Oswald', sans-serif !important; font-size: 0.95rem !important; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important; box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important; }
.btn-league-tab:hover { background: rgba(0, 242, 255, 0.1) !important; border-color: var(--primary) !important; color: #ffffff !important; transform: translateY(-2px); }
.btn-league-tab.active { background: linear-gradient(45deg, var(--primary), #00b4d8) !important; color: #000000 !important; border-color: transparent !important; font-weight: 700 !important; box-shadow: 0 5px 25px rgba(0, 242, 255, 0.6) !important; transform: translateY(-2px); }

/* =========================================
   CENTRUM MECZOWE (STRONA GŁÓWNA) - NAPRAWA GIGANTYCZNYCH LOGOTYPÓW
   ========================================= */
.match-center-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; }
.panel-heading { font-size: 1.5rem; margin-bottom: 25px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 10px; display: flex; align-items: center; gap: 15px; text-transform: uppercase; font-family: 'Oswald', sans-serif; }
.upcoming-match { background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 15px 20px; margin-bottom: 15px; transition: transform 0.3s, box-shadow 0.3s; }
.upcoming-match:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 242, 255, 0.15); border-color: rgba(0, 242, 255, 0.3); }
.highlighted-match { background: linear-gradient(135deg, rgba(0, 242, 255, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%); border: 1px solid var(--primary); padding: 25px 20px; }
.um-date { font-family: 'Oswald', sans-serif; color: #aaa; font-size: 0.85rem; text-align: center; margin-bottom: 15px; letter-spacing: 1px; } 
.highlighted-match .um-date { color: var(--primary); font-size: 0.95rem; font-weight: bold; }

/* ROZWIĄZANIE PROBLEMU ROZJECHANYCH LOGOTYPÓW */
.um-teams { display: flex; justify-content: space-around; align-items: center; gap: 10px; font-family: 'Oswald', sans-serif; font-size: 1.1rem; }
.highlighted-match .um-teams { font-size: 1.3rem; }
.um-team { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }

/* Pudełko blokujące grafiki - MUSI TU BYĆ */
.um-logo-wrapper { width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; overflow: visible; }
.um-logo-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2)); }
.highlighted-match .um-logo-wrapper { width: 90px; height: 90px; }

.um-vs { font-size: 1.2rem; font-weight: 900; color: rgba(255, 255, 255, 0.2); padding-bottom: 25px; }
.mini-table td, .mini-table th { padding: 12px 5px; font-size: 0.95rem; }

@media (max-width: 992px) { .match-center-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .um-logo-wrapper { width: 50px; height: 50px; } .highlighted-match .um-logo-wrapper { width: 65px; height: 65px; } }

/* ==========================================================================
   12. PANEL ADMINISTRATORA - STYLE PANCERNE
   ========================================================================== */
.admin-manual-update { display: flex; flex-wrap: wrap; gap: 15px; align-items: flex-end; margin-top: 20px; }
.admin-manual-update .form-group { flex: 1; min-width: 100px; }
.admin-manual-update label { display: block; font-size: 0.75rem; color: #888; margin-bottom: 5px; text-transform: uppercase; }

.btn-boss {
    display: block; width: 100%; max-width: 280px;
    background: linear-gradient(45deg, #00f2ff, #0060ff) !important;
    color: #000000 !important; font-family: 'Oswald', sans-serif !important;
    font-weight: 800 !important; text-transform: uppercase; letter-spacing: 1px;
    padding: 14px 25px !important; border: none !important; border-radius: 8px !important;
    cursor: pointer; transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.4); text-align: center; margin-top: 10px;
}
.btn-boss:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 242, 255, 0.6); filter: brightness(1.2); }
.admin-manual-update input { margin-bottom: 0 !important; padding: 10px !important; }

@media (max-width: 768px) {
    .admin-manual-update .form-group { min-width: 45%; }
    .btn-boss { max-width: 100%; }
}