::-webkit-scrollbar {
    display: block !important;
    background-color: #e30613;
    width: 5px;
}
::-webkit-scrollbar-thumb {
    background-color: #ffcc00;
    outline: none;
    border-radius: 5px;
}
:root {
    --jaga-red: #e30613;
    --jaga-yellow: #ffcc00;
    --jaga-red-glow: rgba(227, 6, 19, 0.6);
    --bg-body: #0f0f0f;
    --bg-card: #161616;
    --text-main: #f0f0f0;
    --text-muted: #aaaaaa;
    --border: #2a2a2a;
    --font-main: 'Roboto', 'Arial', sans-serif;
    --transition: all 0.3s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Roboto', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    background-color: var(--bg-body); 
    background-image: radial-gradient(circle at 50% 0%, #2a0b0b 0%, #0f0f0f 60%);
    color: var(--text-main); 
    line-height: 1.6; 
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; }
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}
.loader-curtain {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50.5%;
    background: #0a0a0a;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2;
}
.curtain-top {
    top: 0;
    border-bottom: 4px solid var(--jaga-red);
    transform-origin: top;
}
.curtain-bottom {
    bottom: 0;
    border-top: 4px solid var(--jaga-yellow);
    transform-origin: bottom;
}
.loader-content {
    position: relative;
    z-index: 3;
    text-align: center;
    transition: opacity 0.3s ease;
}
.loader-logo {
    width: 120px;
    animation: pulseLogo 1.5s infinite;
    filter: drop-shadow(0 0 20px var(--jaga-red-glow));
}
.loader-text {
    margin-top: 15px;
    color: var(--jaga-yellow);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    animation: blink 1s infinite alternate;
}
@keyframes pulseLogo {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
@keyframes blink {
    from { opacity: 0.5; }
    to { opacity: 1; }
}
.loaded .curtain-top {
    transform: translateY(-100%);
}
.loaded .curtain-bottom {
    transform: translateY(100%);
}
.loaded .loader-content {
    opacity: 0;
    pointer-events: none;
}
.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }
header { 
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 3px solid var(--jaga-red); 
    height: 80px;
    display: flex;
    align-items: center;
}
.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%;
}
.logo-wrapper { cursor: pointer; display: flex; align-items: center; z-index: 1002; position: relative; }
.logo-circle { 
    width: 60px; height: 60px; 
    border-radius: 50%; overflow: hidden; 
    border: 2px solid var(--jaga-yellow); 
    background: white;
    display: flex; align-items: center; justify-content: center; 
    transition: var(--transition); 
    box-shadow: 0 0 15px var(--jaga-red-glow);
}
.logo-circle:hover { transform: scale(1.1) rotate(5deg); border-color: var(--jaga-red); }
.logo-circle img { width: 100%; height: 100%; object-fit: cover; }
.nav-extra-img { height: 40px; margin-left: 20px; display: block; }
.nav-menu { 
    display: flex; 
    list-style: none; 
    gap: 15px; 
    align-items: center; 
}
.nav-btn { 
    background: transparent; border: 1px solid transparent;
    font-size: 0.85rem; font-weight: 700; 
    color: var(--text-main); 
    text-transform: uppercase; cursor: pointer; 
    padding: 8px 15px; border-radius: 20px;
    transition: var(--transition); 
    display: flex; align-items: center; gap: 8px; 
    text-decoration: none;
}
.nav-btn i { color: var(--text-muted); transition: var(--transition); }
.nav-btn:hover, .nav-btn.active { 
    background: rgba(227, 6, 19, 0.15); 
    border-color: var(--jaga-red); color: white;
    box-shadow: 0 0 10px rgba(227, 6, 19, 0.2);
}
.nav-btn:hover i, .nav-btn.active i { color: var(--jaga-yellow); }
.hamburger {
    display: none; 
    background: none; border: none; cursor: pointer;
    z-index: 1002; position: relative;
}
.hamburger i { font-size: 1.8rem; color: var(--text-main); transition: 0.3s; }
.hamburger.active i { transform: rotate(90deg); color: var(--jaga-red); }
.mobile-menu-overlay {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1001;
    transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.mobile-menu-overlay.open { right: 0; }
.mobile-nav-list { list-style: none; text-align: center; }
.mobile-nav-list li { margin: 20px 0; opacity: 0; transform: translateY(20px); transition: 0.3s; }
.mobile-menu-overlay.open .mobile-nav-list li { opacity: 1; transform: translateY(0); }
.mobile-btn {
    font-size: 1.5rem; font-weight: 900; color: white; text-transform: uppercase;
    text-decoration: none; border: none; background: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 15px;
}
.mobile-btn i { color: var(--jaga-yellow); font-size: 1.2rem; }
.mobile-btn.active, .mobile-btn:hover { color: var(--jaga-red); }
.ticker-wrapper {
    display: flex;
    background: linear-gradient(90deg, #0f0f0f 0%, #1a1a1a 100%);
    border-bottom: 1px solid #333; border-top: 1px solid #222;
    height: 45px; overflow: hidden; position: relative;
}
.ticker-label {
    background: var(--jaga-red); color: white; font-weight: 900; font-size: 0.8rem;
    padding: 0 20px; display: flex; align-items: center; justify-content: center;
    gap: 8px; text-transform: uppercase; letter-spacing: 1px;
    position: relative; z-index: 10; flex-shrink: 0;
}
.ticker-label::after {
    content: ''; position: absolute; top: 0; right: -15px;
    width: 30px; height: 100%; background: var(--jaga-red);
    transform: skewX(-20deg); z-index: -1;
}
.live-dot { width: 8px; height: 8px; background: white; border-radius: 50%; animation: pulse 1.5s infinite; }
.ticker-container { flex: 1; display: flex; align-items: center; overflow: hidden; position: relative; }
.ticker-track { display: flex; align-items: center; white-space: nowrap; animation: scroll 35s linear infinite; }
.ticker-item { margin-right: 50px; color: #e0e0e0; font-size: 0.9rem; display: flex; align-items: center; }
.ticker-item i { color: var(--jaga-yellow); margin-right: 8px; }
.ticker-tag { color: var(--jaga-yellow); font-weight: 800; margin-right: 6px; text-transform: uppercase; font-size: 0.8rem; }
@keyframes scroll { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
.hero { 
    height: 550px; 
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(15,15,15,1)), url('https://i.imgur.com/kXlubUB.jpeg'); 
    /* https://i.imgur.com/y1MnBtf.png - stare zdjęcie hero. */
    background-size: cover; background-position: center; 
    display: flex; align-items: center; justify-content: center; color: white; 
    margin-bottom: 40px; position: relative;
    overflow: hidden; 
    perspective: 1000px;
}
.hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 120px;
    background: linear-gradient(to top, var(--bg-body), transparent);
    z-index: 1;
}
.hero-content { position: relative; z-index: 5; width: 100%; text-align: center; transition: transform 0.1s ease-out; }
.hero-content h1 { font-size: 4rem; text-transform: uppercase; font-weight: 900; text-shadow: 0 10px 30px rgba(0,0,0,0.8); margin-bottom: 20px; line-height: 1.1; }
.hero-content h1 span { background: linear-gradient(to right, var(--jaga-yellow), #fff); -webkit-background-clip: text; color: transparent; }
.hero-tag { font-size: 1.1rem; background: var(--jaga-red); color: white; display: inline-flex; align-items: center; gap: 10px; padding: 10px 30px; font-weight: bold; border-radius: 50px; box-shadow: 0 0 20px var(--jaga-red-glow); }
.flashback-container { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; pointer-events: none; will-change: transform, opacity; }
.hero-bg-logo { width: 450px; opacity: 0.12; display: block; animation: rotateLogo 60s linear infinite; }
@keyframes rotateLogo { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.player-img { position: absolute; bottom: 0; z-index: 3; filter: drop-shadow(0 0 20px rgba(0,0,0,0.5)); transition: transform 0.1s ease-out; will-change: transform; }
.player-imaz { right: 2%; height: 90%; animation: slideInRight 1.2s ease-out; }
.player-pululu { left: 2%; height: 90%; animation: slideInLeft 1.2s ease-out; }
@keyframes slideInRight { from { transform: translateX(150px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideInLeft { from { transform: translateX(-150px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
h2.section-header { font-size: 1.8rem; text-transform: uppercase; margin-bottom: 25px; border-left: 5px solid var(--jaga-red); padding-left: 15px; color: white; display: flex; align-items: center; gap: 15px; text-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }
.news-card { background: var(--bg-card); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); cursor: pointer; position: relative; transform-style: preserve-3d; transform: perspective(1000px); transition: transform 0.1s ease; }
.news-card-content { pointer-events: none; transform: translateZ(20px); }
.news-img { height: 200px; background: #222; position: relative; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.news-badge { position: absolute; top: 15px; right: 15px; background: var(--jaga-yellow); color: #000; padding: 5px 10px; font-weight: 800; font-size: 0.7rem; border-radius: 4px; text-transform: uppercase; }
.news-body { padding: 20px; }
.news-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; color: white; line-height: 1.3; }
.read-more { color: var(--jaga-yellow); font-weight: bold; font-size: 0.85rem; text-transform: uppercase; }
.news-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.1), transparent 40%); z-index: 3; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.news-card:hover::before { opacity: 1; }
.content-box { background: var(--bg-card); padding: 30px; border-radius: 12px; border: 1px solid var(--border); }
.match-center { display: flex; justify-content: center; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.match-box { 
    flex: 1; 
    min-width: 300px; 
    background: var(--bg-card); 
    border-radius: 12px; 
    overflow: hidden; 
    border: 1px solid var(--border); 
    position: relative; 
    display: flex;
    flex-direction: column;
}
.match-header { background: rgba(255,255,255,0.05); padding: 12px; text-align: center; font-size: 0.8rem; color: var(--text-muted); font-weight: bold; text-transform: uppercase; }
.match-score, .match-vs-container { flex-grow: 1; }
.match-score { padding: 25px; display: flex; align-items: center; justify-content: space-between; }
.team { text-align: center; flex: 1; font-weight: bold; color: white; }
.team-logo { width: 60px; height: 60px; object-fit: contain; display: block; margin: 0 auto 10px; filter: drop-shadow(0 5px 5px rgba(0,0,0,0.5)); }
.score-display { background: #000; color: var(--jaga-yellow); padding: 5px 15px; font-size: 1.8rem; font-weight: 900; border-radius: 6px; border: 1px solid #333; }
.match-footer { 
    text-align: center; 
    padding: 8px 0; 
    background: var(--jaga-red); 
    color: white; 
    font-size: 0.8rem; 
    font-weight: bold; 
    line-height: 1;
    text-transform: uppercase;
    display: flex; 
    align-items: center;
    justify-content: center;
    gap: 8px; 
}
.next-match-box { background: linear-gradient(145deg, var(--bg-card) 0%, #1a1a1a 100%); box-shadow: 0 0 20px rgba(0,0,0,0.2); border: 1px solid #333; }
.match-vs-container { display: flex; justify-content: space-between; align-items: center; padding: 20px 30px 10px 30px; }
.vs-badge { font-size: 1.5rem; font-weight: 900; font-style: italic; color: var(--jaga-red); text-shadow: 0 0 10px rgba(227, 6, 19, 0.5); animation: vsPulse 1.5s infinite alternate; }
@keyframes vsPulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.2); opacity: 1; } }
.team-logo.scale-up { width: 65px; height: 65px; transition: transform 0.3s; }
.next-match-box:hover .team-logo.scale-up { transform: scale(1.1); }
.compact-timer { padding: 10px; background: transparent; border-top: 1px solid #222; }
.compact-timer .time-val { font-size: 1.2rem; color: white; }
.compact-timer .time-label { color: var(--jaga-yellow); }
.countdown-timer { display: flex; justify-content: center; gap: 10px; padding: 20px; background: rgba(0,0,0,0.3); }
.time-box { text-align: center; }
.time-val { font-size: 1.5rem; font-weight: 900; color: var(--jaga-yellow); line-height: 1; }
.time-label { font-size: 0.6rem; color: #888; text-transform: uppercase; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.squad-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; min-width: 500px; }
.squad-table th { text-align: left; color: var(--text-muted); padding: 10px; font-size: 0.8rem; text-transform: uppercase; }
.squad-table td { padding: 15px; background: var(--bg-card); color: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.squad-table tr td:first-child { border-left: 1px solid var(--border); border-radius: 8px 0 0 8px; }
.squad-table tr td:last-child { border-right: 1px solid var(--border); border-radius: 0 8px 8px 0; }
.num-circle { background: var(--jaga-red); width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: bold; }
.promo-block {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://i.imgur.com/iorDjwd.jpeg');
    background-size: cover;
    background-position: center;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}
.promo-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 5px; height: 100%;
    background: var(--jaga-yellow);
}
.promo-title { font-size: 2rem; text-transform: uppercase; font-weight: 900; margin-bottom: 10px; color: white; }
.promo-text { color: #ddd; margin-bottom: 25px; font-size: 1.1rem; }
.btn-action {
    display: inline-block;
    background: var(--jaga-red);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
    border: 2px solid transparent;
}
.btn-action:hover {
    background: transparent;
    border-color: var(--jaga-red);
    color: var(--jaga-red);
}
footer {
    background-color: #080808;
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 4px solid var(--jaga-red);
    position: relative;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
}
.footer-col h4 i { color: var(--jaga-red); }
.footer-col p {
    font-size: 13px; opacity: 0.8; line-height: 1.8; color: #ccc; margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-links a:hover {
    color: var(--jaga-yellow);
    padding-left: 10px;
    border-bottom-color: var(--jaga-red);
}
.footer-links a i { font-size: 0.8rem; color: var(--jaga-red); }
.social-links { display: flex; gap: 10px; }
.social-btn {
    width: 36px; height: 36px; background: #1a1a1a;
    display: flex; align-items: center; justify-content: center;
    border-radius: 4px; color: #fff; text-decoration: none;
    transition: 0.3s; border: 1px solid #333;
}
.social-btn:hover { background: var(--jaga-red); border-color: var(--jaga-red); transform: translateY(-2px); }
.copyright {
    border-top: 1px solid #1a1a1a; padding-top: 30px;
    text-align: center; font-size: 13px; color: #888; line-height: 1.8;
}
.copyright a { color: #888; text-decoration: none; transition: 0.3s; }
.copyright a:hover { color: var(--jaga-yellow); }
.author-highlight { color: var(--jaga-yellow); font-weight: bold; }
@media (max-width: 900px) {
    .nav-menu, .nav-extra-img { display: none; }
    .hamburger { display: block; }
    .hero-bg-logo { width: 350px; }
    .player-imaz { height: 70%; right: -30px; opacity: 0.8; }
    .player-pululu { height: 70%; left: -30px; opacity: 0.8; }
    .hero-content h1 { font-size: 3rem; }
    .hero { height: 450px; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    body {
        font-size: 17px; 
        line-height: 1.6;
    }

    h1, h2, h3, .nav-btn, .mobile-btn {
        font-weight: 900 !important;
        letter-spacing: 0.5px;
    }

    .news-card-content p {
        font-size: 1rem;
    }

    .ticker-track {
        animation-duration: 20s; 
    }
    
    .ticker-container {
        display: flex;
        justify-content: flex-start;
    }

    .ticker-track {
        display: flex;
        align-items: center;
        white-space: nowrap;
        will-change: transform;
        animation: scrollTicker 20s linear infinite;
    }

    @keyframes scrollTicker {
         0% { transform: translateX(0); }
         100% { transform: translateX(-100%); }
    }

    .ticker-label span { display: none; } 
    .ticker-label { padding: 0 15px; }
    .ticker-item { font-size: 0.85rem; margin-right: 30px; }
    .hero-bg-logo { width: 250px; opacity: 0.15; }
    .player-imaz { height: 60%; right: -50px; /* opacity: 0.5; */ z-index: 3; }
    .player-pululu { height: 60%; left: -50px; /* opacity: 0.5; */ z-index: 3; }
    .hero-content h1 { font-size: 2.2rem; position: relative; z-index: 6; }
    .hero-tag { font-size: 0.9rem; padding: 8px 20px; z-index: 6; position: relative; }
    .grid-container { grid-template-columns: 1fr; }
    .content-box { padding: 20px; }
}
