/* Importowanie sportowych czcionek Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Orbitron:wght@400;500;700;800;900&family=Russo+One&family=Exo+2:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

/* Reset i podstawy */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Kolorystyka Silesia Szymanów */
    --primary-green: #028a42;
    --dark-green: #016835;
    --light-green: #dcfce7;
    --accent-red: #dc2626;
    --warm-red: #ef4444;
    --off-white: #fafafa;
    --light-gray: #f8f9fa;
    --text-dark: #374151;
    --text-medium: #6b7280;
    --text-light: #9ca3af;
    
    /* Sportowe cienie */
    --stadium-shadow: 3px 8px 20px rgba(2, 138, 66, 0.15), -2px 3px 12px rgba(2, 138, 66, 0.08);
    --pitch-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    --glow-effect: 0 0 25px rgba(220, 38, 38, 0.3);
    
    /* Typografia - Sportowe czcionki */
    --font-main: 'Rajdhani', 'Roboto Condensed', 'Arial Narrow', sans-serif;
    --font-heading: 'Orbitron', 'Exo 2', 'Oswald', sans-serif;
    --font-accent: 'Russo One', 'Impact', sans-serif;
}

html {
    /* Klucz: clip na elemencie root powstrzymuje poziome przepełnienie
       (także elementów position:fixed, np. widget bota) i nie psuje
       sticky headera tak jak zrobiłby to overflow-x: hidden. */
    overflow-x: clip;
    max-width: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--off-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    font-weight: 400;
    font-size: 1.2rem;
}

/* Fix poziomej szerokości na mobile: 4-kolumnowe siatki statystyk
   (wpisy blogowe i strona główna) zwijają się do 2 kolumn na małych ekranach. */
@media (max-width: 600px) {
    [style*="repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Improve paragraph readability */
p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Odtwarzacz muzyki - hymn Silesii */
.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 50px;
    box-shadow: var(--stadium-shadow);
    z-index: 10001;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    will-change: transform;
    backface-visibility: hidden;
}

.music-player.expanded {
    width: 320px;
    border-radius: 25px;
}

.music-player.collapsed {
    width: 60px;
    height: 60px;
}

.player-toggle {
    width: 60px;
    height: 60px;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.player-toggle:hover {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.player-content {
    display: none;
    padding: 20px;
    color: white;
}

.music-player.expanded .player-content {
    display: block;
}

.music-player.expanded .player-toggle {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.player-info {
    margin-bottom: 15px;
    text-align: center;
}

.track-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--accent-red);
}

.track-artist {
    font-size: 0.9rem;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.8);
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.control-btn.play-pause {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-green);
}

.progress-container {
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: white;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 5px;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.volume-slider {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.volume-icon {
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.volume-icon:hover {
    opacity: 0.7;
}

/* Header music player */
.header-music-player {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
    background: rgba(2, 138, 66, 0.1);
    border-radius: 25px;
    padding: 0.3rem 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(2, 138, 66, 0.2);
}

.header-music-player:hover {
    background: rgba(2, 138, 66, 0.15);
    transform: translateY(-1px);
}

.header-play-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    color: var(--primary-green);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.2rem 0.4rem;
    border-radius: 15px;
}

.header-play-btn:hover {
    background: rgba(2, 138, 66, 0.1);
    transform: scale(1.05);
}

.header-play-btn.playing {
    color: var(--accent-red);
}

.header-play-btn.playing .music-icon {
    animation: pulse 2s infinite;
}

.header-track-info {
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 500;
    display: none;
}

.header-music-player:hover .header-track-info {
    display: block;
}

.header-track-title {
    white-space: nowrap;
    color: var(--accent-red);
}

/* Responsive dla urządzeń mobilnych */
@media (max-width: 768px) {
    .music-player {
        bottom: 15px;
        right: 15px;
    }

    .music-player.expanded {
        width: 280px;
        left: 10px;
        right: 10px;
        width: calc(100% - 20px);
        max-width: 320px;
        bottom: 15px;
    }

    .header-music-player {
        display: none;
    }

    /* Mobile music player */
    .mobile-music-item {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0.5rem 0;
        padding: 0.5rem 0;
    }

    .mobile-music-player {
        padding: 0;
    }

    .mobile-play-btn {
        background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
        border: none;
        color: white;
        padding: 0.8rem 1rem;
        border-radius: 12px;
        font-size: 1rem;
        cursor: pointer;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        font-family: var(--font-main);
        font-weight: 600;
        gap: 0.5rem;
    }

    .mobile-play-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(2, 138, 66, 0.3);
    }

    .mobile-play-btn.playing {
        background: linear-gradient(135deg, var(--accent-red), #dc2626);
    }

    .mobile-play-btn.playing .mobile-play-icon {
        animation: pulse 2s infinite;
    }

    .mobile-play-text {
        text-align: center;
    }

    .mobile-play-icon {
        /* Icon będzie wyśrodkowany przez gap w parent */
    }
}

/* Hide mobile music player on desktop */
@media (min-width: 769px) {
    .mobile-music-item {
        display: none;
    }
}

/* Enhanced text size for better mobile readability */
@media (max-width: 768px) {
    body {
        font-size: 1.1rem;
    }

    p {
        font-size: 1.1rem;
        line-height: 1.65;
    }
}

/* Sportowe nagłówki */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

h2 {
    font-size: 2.8rem;
    font-weight: 800;
}

h3 {
    font-size: 2.2rem;
    font-weight: 700;
}

h4 {
    font-size: 1.8rem;
    font-weight: 600;
}

/* Akcenty sportowe */
.team-name, .score, .match-result {
    font-family: var(--font-accent);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Liczby i statystyki */
.number, .stat-number, .counter {
    font-family: var(--font-heading);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

/* Sticky Solid Header */
.header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    position: sticky; /* align with sticky-header.css */
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--stadium-shadow);
}

.header.scrolled {
    box-shadow: 0 6px 30px rgba(2, 138, 66, 0.25);
}

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 65px;
    width: 65px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.logo:hover img {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 2px;
    left: 50%;
    background-color: var(--accent-red);
    transition: all 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Mobile menu overlay */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    /* Poprawa wyśrodkowania głównej sekcji */
    main {
        padding-top: 100px !important;
    }
    
    .section {
        padding: 2rem 0 !important;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-green);
        flex-direction: column;
        padding: 0.5rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        gap: 0;
    }
    
    .nav-links.mobile-open {
        display: flex;
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
    }
    
    /* Lepsze style dla kart zawodników na mobile */
    .players-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 0 1rem !important;
    }
    
    .team-filters {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        padding: 0 1rem !important;
    }
    
    .position-filter {
        font-size: 0.9rem !important;
        padding: 0.5rem 1rem !important;
    }

    /* Poprawki dla hero section na mobile */
    .hero {
        min-height: 100vh;
        min-height: 100dvh; /* Dla nowszych przeglądarek */
        padding-top: 95px; /* Wysokość headera + 5px odstępu */
        padding-bottom: 1rem;
        box-sizing: border-box;
        position: relative;
        z-index: 2 !important; /* Hero powyżej sponsors na mobile */
    }

    .hero-content {
        padding: 1rem !important;
        width: 100%;
        max-width: none;
    }

    .next-match {
        margin: 2rem auto 1rem;
        padding: 1.5rem 1rem;
    }

    /* Sekcja sponsorów na mobile */
    .sponsors-section {
        margin-top: 0 !important; /* Usunięto przerwę na mobile */
        padding: 2.5rem 0 !important;
    }
    
    .nav-links a {
        display: block;
        color: white;
        text-decoration: none;
        padding: 8px 16px;
        font-size: 1rem;
        font-weight: 500;
        border-radius: 4px;
        transition: all 0.3s ease;
        text-align: center;
        margin: 0;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}


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

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

/* Hero z uwydatnionym logo */
.hero {
    /* Elastyczna wysokość: rośnie gdy treści jest więcej niż viewport */
    min-height: 100vh; /* fallback */
    min-height: 100dvh; /* nowsze przeglądarki */
    padding-top: 95px; /* kompensacja wysokości nagłówka na desktopie */
    padding-bottom: 1rem;
    background: linear-gradient(135deg, rgba(2, 138, 66, 0.85) 0%, rgba(1, 104, 53, 0.9) 100%),
                url('media/choragiewka_silesia.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: visible; /* nie ucina licznika na dole */
    box-sizing: border-box;
    z-index: 2; /* Hero powyżej sponsors */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
    animation: heroFadeIn 1.2s ease-out;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 4px solid rgba(255, 255, 255, 0.3);
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    }
    to {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 40px rgba(2, 138, 66, 0.4);
    }
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero .subtitle {
    font-size: clamp(1.3rem, 2.8vw, 1.6rem);
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
}

.location-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin: 1.5rem auto;
    max-width: 400px;
    font-size: 0.95rem;
}

.next-match {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.8rem 2.2rem;
    margin: 2.5rem auto 0;
    max-width: 500px;
    box-shadow: var(--stadium-shadow);
    animation: pulseGlow 3s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        box-shadow: var(--stadium-shadow);
    }
    to {
        box-shadow: var(--stadium-shadow), var(--glow-effect);
    }
}

.next-match h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.match-details {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.match-date {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    opacity: 0.9;
    color: white !important;
}

/* Countdown Timer Styles */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    min-width: 70px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

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

.countdown-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.3rem;
}

@media (max-width: 480px) {
    .countdown-timer {
        gap: 0.5rem;
    }

    .countdown-item {
        min-width: 60px;
        padding: 0.6rem 0.8rem;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }
}

/* Newsletter Section Styles */
.newsletter-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="newsletter-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(2,138,66,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23newsletter-pattern)"/></svg>');
    opacity: 0.6;
}

.newsletter-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(2, 138, 66, 0.1);
}

.newsletter-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 800;
}

.newsletter-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.7;
}

.newsletter-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.newsletter-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--light-green);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.newsletter-feature:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.newsletter-form {
    margin-bottom: 2rem;
    position: relative;
}

/* Pulsing glow effect for the entire form */
.newsletter-form {
    animation: newsletterPulse 3s ease-in-out infinite;
}

@keyframes newsletterPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(2, 138, 66, 0.1);
    }
    50% {
        box-shadow: 0 0 30px 10px rgba(2, 138, 66, 0.15);
    }
}

.form-group-newsletter {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(2, 138, 66, 0.03) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 16px;
    border: 1px solid rgba(2, 138, 66, 0.1);
    position: relative;
    animation: formGroupFloat 6s ease-in-out infinite;
}

@keyframes formGroupFloat {
    0%, 100% {
        transform: translateY(0px);
        box-shadow: 0 5px 20px rgba(2, 138, 66, 0.1);
    }
    50% {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(2, 138, 66, 0.15);
    }
}

/* Attention-grabbing shake effect every 10 seconds */
.form-group-newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(45deg, var(--primary-green), var(--dark-green), var(--primary-green));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    animation: borderGlow 10s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 90%, 100% {
        opacity: 0;
    }
    95% {
        opacity: 1;
        animation: shake 0.5s ease-in-out;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1.1rem;
    font-family: var(--font-main);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    position: relative;
    animation: inputBreathe 4s ease-in-out infinite;
    font-weight: 500;
}

.newsletter-input::placeholder {
    color: #9ca3af;
    transition: color 0.3s ease;
    animation: placeholderPulse 3s ease-in-out infinite;
}

@keyframes placeholderPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
        color: rgba(2, 138, 66, 0.6);
    }
}

@keyframes inputBreathe {
    0%, 100% {
        transform: scale(1);
        border-color: #e5e7eb;
    }
    50% {
        transform: scale(1.02);
        border-color: rgba(2, 138, 66, 0.3);
    }
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-green);
    background: white;
    box-shadow: 0 0 0 3px rgba(2, 138, 66, 0.1), 0 0 20px rgba(2, 138, 66, 0.2);
    animation: none;
    transform: scale(1.05);
}

.newsletter-button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    border: none;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    animation: buttonShine 3s ease-in-out infinite;
}

/* Shine effect animation */
@keyframes buttonShine {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(2, 138, 66, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(2, 138, 66, 0.5);
        transform: translateY(-1px);
    }
}

/* Shine overlay effect */
.newsletter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
    animation: buttonShineOverlay 3s ease-in-out infinite;
}

@keyframes buttonShineOverlay {
    0%, 100% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
}

.newsletter-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(2, 138, 66, 0.4);
    animation: none;
}

.newsletter-button:hover::before {
    animation: none;
    left: 100%;
}

.newsletter-button:active {
    transform: translateY(0);
}

.newsletter-privacy {
    text-align: center;
    color: var(--text-medium);
}

.newsletter-stats {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-green);
    font-family: var(--font-heading);
    font-weight: 900;
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.newsletter-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.soccer-animation {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.soccer-ball {
    font-size: 4rem;
    animation: kickBall 3s ease-in-out infinite;
    position: absolute;
    z-index: 10;
}

.soccer-goal {
    font-size: 6rem;
    opacity: 0.8;
    position: absolute;
    right: 0;
    z-index: 5;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes kickBall {
    0%, 100% {
        transform: translateX(-100px) rotate(0deg);
    }
    50% {
        transform: translateX(50px) rotate(180deg);
    }
}

/* Mobile styles for newsletter */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 3rem 0;
    }

    .newsletter-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        margin: 0 1rem;
    }

    .newsletter-title {
        font-size: 2rem;
    }

    .newsletter-subtitle {
        font-size: 1.1rem;
    }

    .newsletter-features {
        grid-template-columns: 1fr;
    }

    .form-group-newsletter {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-button {
        justify-content: center;
    }

    .newsletter-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .soccer-animation {
        width: 200px;
        height: 200px;
    }

    .soccer-ball {
        font-size: 3rem;
    }

    .soccer-goal {
        font-size: 4rem;
    }
}

/* Silesia Team Enhancement */
.home-team,
span.home-team {
    font-weight: 700;
    font-size: 1.1em;
    color: var(--primary-green);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.our-match .home-team,
.our-match span.home-team {
    font-size: 1.2em;
    font-weight: 800;
}

/* Poprawka koloru dla wygranych meczów u siebie */
.our-match .match-result.win {
    color: #014F24 !important; /* Ciemniejszy zielony dla lepszego kontrastu */
}

.match-teams .home-team {
    position: relative;
}

.match-teams .home-team::before {
    content: '⚽';
    margin-right: 5px;
    font-size: 0.9em;
}


/* Sekcje z organicznym layoutem */
.section {
    padding: 5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, rgba(2, 138, 66, 0.03), rgba(255, 255, 255, 0.05));
}

.section:nth-child(odd) {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(2, 138, 66, 0.02));
}

.container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 2.1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-green);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red), var(--warm-red));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Sekcja sponsorów - przewijany pasek */
.sponsors-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    padding: 3rem 0;
    overflow: hidden;
    position: relative;
    margin-top: 0; /* Usunięto przerwę od hero section */
}

.sponsors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.sponsors-header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.sponsors-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.title-sponsor {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 600px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.title-sponsor h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #ffd700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.sponsor-logo-main {
    width: 800px;
    height: 280px;
    background: white;
    border-radius: 25px;
    margin: 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-green);
    font-size: 1.6rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
    max-width: 90%;
}

.tech-sponsor {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 600px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.tech-sponsor h4 {
    font-size: 1.3rem;
    color: #e2e8f0;
    margin-bottom: 0.8rem;
}

.sponsor-logo-tech {
    width: 300px;
    height: 120px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-green);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(2, 138, 66, 0.2);
}

.tech-sponsor-logo {
    max-width: 280px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-sponsor {
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-sponsor:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.tech-sponsor:hover .tech-sponsor-logo {
    transform: scale(1.05);
}

.tech-sponsor::before {
    content: "📞 Kliknij aby poznać szczegóły";
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.tech-sponsor:hover::before {
    opacity: 1;
}

/* Mobile fix for sponsor */
@media (max-width: 768px) {
    .sponsor-logo-tech {
        width: 250px !important;
        height: 100px !important;
    }

    .tech-sponsor-logo {
        max-width: 230px !important;
        max-height: 80px !important;
        width: auto !important;
        height: auto !important;
    }

    .tech-sponsor {
        padding: 1.5rem !important;
        max-width: 400px !important;
    }
    
    .tech-sponsor::before {
        content: "👆 Kliknij";
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
}

.sponsors-info {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.sponsors-info p {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0 auto;
    max-width: 350px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: gentle-glow 2s ease-in-out infinite alternate;
}

@keyframes gentle-glow {
    0% {
        box-shadow: 0 2px 15px rgba(2, 138, 66, 0.2);
    }
    100% {
        box-shadow: 0 4px 20px rgba(2, 138, 66, 0.4);
    }
}

.sponsors-scroll {
    margin-top: 2rem;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.sponsors-track {
    display: inline-flex;
    animation: scroll 30s linear infinite;
    gap: 3rem;
    align-items: center;
}

.sponsors-track:hover {
    animation-play-state: paused;
}

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

.sponsor-item {
    flex-shrink: 0;
    width: 400px;
    height: 160px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.sponsor-item:hover {
    transform: scale(1.1);
}

.sponsor-logo-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Specjalne style dla sponsorów z logo */
.sponsor-item.sponsor-with-logo {
    padding: 0;
    overflow: hidden;
}

.sponsor-item.sponsor-with-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Elementy bez onclick - nie klikalne */
.sponsor-item.sponsor-with-logo:not([onclick]) {
    cursor: default;
}

.sponsor-item.sponsor-with-logo:not([onclick]):hover {
    transform: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sponsor-cta {
    text-align: center;
    margin-top: 2rem;
    color: white;
}

.sponsor-cta p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.btn-sponsor {
    background: var(--accent-red);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
}

.btn-sponsor:hover {
    background: var(--warm-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

/* O klubie - lokalny charakter */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.location-highlights {
    background: var(--light-green);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 2rem;
    border-left: 4px solid var(--primary-green);
}

.location-highlights h4 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.highlight-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem;
}

.highlight-icon {
    font-size: 1.2rem;
    color: var(--primary-green);
}

.club-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--pitch-shadow);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid var(--primary-green);
}

.value-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--stadium-shadow);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--dark-green);
    margin-bottom: 0.8rem;
}

/* Aktualności - bento box layout */
.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.main-news {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--pitch-shadow);
    transition: transform 0.3s ease;
}

.main-news:hover {
    transform: translateY(-2px);
    box-shadow: var(--stadium-shadow);
}

.news-image {
    height: 250px;
    background: linear-gradient(45deg, var(--primary-green), var(--dark-green));
    position: relative;
    overflow: hidden;
}

.news-content {
    padding: 2rem;
}

.news-date {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-red);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.side-news {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--pitch-shadow);
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateX(5px);
    border-left-color: var(--accent-red);
}

.news-item h4 {
    font-size: 1.1rem;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.news-item .date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-medium);
}

.read-blog-link {
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.3s ease;
}

.main-news:hover .read-blog-link {
    color: var(--accent-red);
}

.clickable-trophy {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.main-news:hover .clickable-trophy {
    transform: scale(1.05);
}

.main-news:hover .clickable-trophy::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

/* Tabela ligowa - pełna tabela */
.league-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--pitch-shadow);
    margin-top: 2rem;
}

.table-header {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.table-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: var(--light-green);
    color: var(--dark-green);
    padding: 1rem 0.8rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: left;
    border-bottom: 2px solid var(--primary-green);
    white-space: nowrap;
}

tr.our-team {
    background: rgba(2, 138, 66, 0.08);
    border: 2px solid var(--primary-green);
}

tr.our-team td {
    font-weight: 600;
    color: var(--dark-green);
}

td {
    padding: 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.position {
    font-weight: 700;
    color: var(--accent-red);
    text-align: center;
    width: 40px;
}

.team-name {
    font-family: var(--font-main);
    font-weight: 500;
    color: var(--text-dark);
    min-width: 200px;
}

/* Terminarz z countdown */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.match-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--pitch-shadow);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
}

.match-card.upcoming {
    border-color: var(--accent-red);
    background: linear-gradient(145deg, #fff 0%, rgba(220, 38, 38, 0.02) 100%);
}

.match-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--stadium-shadow);
}

.match-date-header {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-red);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-teams {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-green);
    line-height: 1.3;
}

.match-score {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 1rem 0;
}

.match-score.upcoming {
    font-size: 1.1rem;
    color: var(--text-medium);
}

.match-time {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* Galeria z stadium lighting */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--pitch-shadow);
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--stadium-shadow), 0 0 30px rgba(2, 138, 66, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Kontakt jak karta zawodnika */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--pitch-shadow);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.contact-item:hover {
    background: var(--light-green);
}

.contact-icon {
    font-size: 1.3rem;
    color: var(--primary-green);
    width: 30px;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--pitch-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-green);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 3rem;
}

.form-group select option:disabled {
    color: #9ca3af;
    font-style: italic;
}

.form-group select:invalid {
    color: #9ca3af;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--stadium-shadow);
}

/* Goalscorers Section */
.team-goals-stats {
    margin-bottom: 3rem;
}

.stats-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    background: linear-gradient(135deg, var(--primary-green), #4ade80);
    padding: 2rem;
    border-radius: 20px;
    color: white;
    box-shadow: 0 8px 25px rgba(2, 138, 66, 0.2);
}

.main-stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.additional-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sub-stat {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.sub-stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    min-width: 2rem;
    text-align: center;
}

.sub-stat-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.goalscorers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Nowy layout: TOP3 i reszta w 3 kolumnach */
.top-scorers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

#additionalScorers {
    /* gdy pokazywany, ustawiamy display:grid w JS */
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 1024px) {
    .top-scorers-grid,
    #additionalScorers {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }
}

@media (max-width: 640px) {
    .top-scorers-grid,
    #additionalScorers {
        grid-template-columns: 1fr;
    }
}

/* Ensure card image sizing is not overridden by row styles */
.goalscorer-card .scorer-photo img {
    width: 160px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center top;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.goalscorer-card .scorer-info { flex-grow: 1; }
.goalscorer-card .scorer-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-green);
    margin: 0 0 0.3rem 0;
    line-height: 1.2;
}
.goalscorer-card .scorer-position-text {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.goalscorer-card .player-jersey-number {
    font-size: 0.9rem;
    color: var(--primary-green);
    font-weight: 600;
    background: rgba(2, 138, 66, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    margin-left: 0.5rem;
}

.goalscorer-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 1.8rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 140px;
}

.goalscorer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(2, 138, 66, 0.15);
    border-color: var(--primary-green);
}

.goalscorer-card.top-scorer {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    border: 3px solid #d97706;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.goalscorer-card.top-scorer .scorer-name,
.goalscorer-card.top-scorer .scorer-position-text {
    color: white;
}

.scorer-position-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    gap: 0.3rem;
}

.scorer-position {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-green);
    background: #f0f9ff;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.goals-label-circle {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: center;
}

.goalscorer-card.top-scorer .scorer-position {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.6rem;
}

.goalscorer-card.top-scorer .goals-label-circle {
    color: rgba(255, 255, 255, 0.9);
}

.scorer-photo {
    flex-shrink: 0;
}

.scorer-photo img {
    width: 160px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center top;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scorer-info {
    flex-grow: 1;
}

.scorer-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-green);
    margin: 0 0 0.3rem 0;
    line-height: 1.2;
}

.scorer-position-text {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.player-jersey-number {
    font-size: 0.9rem;
    color: var(--primary-green);
    font-weight: 600;
    background: rgba(2, 138, 66, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    margin-left: 0.5rem;
}

.goalscorer-card.top-scorer .player-jersey-number {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.2);
}


/* Lista strzelców jako sekcja (wrapper) */
.goalscorers-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Pozycje zawodników */
.scorer-position-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    gap: 0.3rem;
}

.scorer-position {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-green);
    background: #f0f9ff;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--primary-green);
}

.goals-label-circle {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: center;
}

/* (usunięto style wierszy; używamy kart) */

/* Informacje o zawodniku */
.scorer-info {
    flex-grow: 1;
}

.scorer-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-green);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.scorer-position-text {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.player-jersey-number {
    font-size: 0.9rem;
    color: var(--primary-green);
    font-weight: 600;
    background: rgba(2, 138, 66, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    margin-right: 0.5rem;
    display: inline-block;
}

/* Dodatkowi strzelcy (ukrywani/pokazywani) */
.additional-scorers {
    transition: all 0.5s ease;
}

.show-all-scorers {
    text-align: center;
    margin-top: 2rem;
}

.btn-show-scorers {
    background: linear-gradient(135deg, var(--primary-green), #4ade80);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(2, 138, 66, 0.2);
}

.btn-show-scorers:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 138, 66, 0.3);
    background: linear-gradient(135deg, #059669, var(--primary-green));
}

.btn-text {
    font-weight: 600;
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-show-scorers:hover .btn-icon {
    transform: scale(1.2);
}

/* Responsive dla sekcji strzelców */
@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    /* Responsywne style dla nowej listy strzelców */
    .goalscorer-row {
        padding: 1rem;
        gap: 1rem;
        flex-direction: row;
    }

    .rank-number {
        font-size: 1.4rem;
        min-width: 2rem;
    }

    .scorer-position {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.4rem;
    }

    .scorer-photo img {
        width: 80px;
        height: 100px;
    }

    .scorer-name {
        font-size: 1.1rem;
    }

    .scorer-position-text {
        font-size: 0.8rem;
    }

    .player-jersey-number {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
        margin-right: 0.3rem;
    }

    .btn-show-scorers {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Dodatkowe style dla bardzo małych ekranów - sekcja strzelców */
@media (max-width: 480px) {
    .goalscorer-row {
        padding: 0.8rem;
        gap: 0.8rem;
        flex-direction: column;
        text-align: center;
    }

    .rank-number {
        font-size: 1.2rem;
        min-width: auto;
        margin-bottom: 0.5rem;
    }

    .scorer-position-container {
        order: 2;
        margin: 0.5rem 0;
    }

    .scorer-position {
        width: 2rem;
        height: 2rem;
        font-size: 1.2rem;
    }

    .goals-label-circle {
        font-size: 0.7rem;
    }

    .scorer-photo {
        order: 1;
        margin: 0 auto;
    }

    .scorer-photo img {
        width: 70px;
        height: 85px;
    }

    .scorer-info {
        order: 3;
        text-align: center;
    }

    .scorer-name {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .scorer-position-text {
        font-size: 0.75rem;
    }

    .player-jersey-number {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
        display: inline-block;
        margin: 0.2rem 0 0 0;
    }

    .btn-show-scorers {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .stats-container {
        padding: 1rem;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .sub-stat-number {
        font-size: 1.2rem;
    }

    .sub-stat-label {
        font-size: 0.8rem;
    }
}

/* Footer z lokalnym charakterem */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1f2937 100%);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-red);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive - Mobile First */

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .sponsors-track {
        gap: 2rem;
    }

    .sponsor-item {
        width: 300px;
        height: 120px;
        font-size: 1rem;
    }

    .sponsors-info p {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
        max-width: 280px;
    }

    .highlight-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
        height: 80px;
    }

    .logo {
        font-size: 1.3rem;
        gap: 10px;
    }

    .logo img {
        height: 50px;
        width: 50px;
    }

    /* Dodatkowe poprawki hero section na małych ekranach */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: 85px; /* Mniejszy header na 480px + 5px odstępu */
        padding-bottom: 0.5rem;
        box-sizing: border-box;
        position: relative;
        z-index: 2 !important; /* Hero powyżej sponsors */
    }

    .hero-logo {
        width: 90px;
        height: 90px;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        padding: 1rem !important;
        width: 100%;
        max-width: none;
    }

    .next-match {
        padding: 1.5rem 1rem;
        margin: 1.5rem auto 0;
    }

    /* Sekcja sponsorów na małych ekranach */
    .sponsors-section {
        margin-top: 0 !important; /* Usunięto przerwę na małych ekranach */
        padding: 2rem 0 !important;
    }

    .table-container {
        overflow-x: scroll;
    }

    th, td {
        padding: 0.5rem 0.3rem;
        font-size: 0.75rem;
    }

    .title-sponsor {
        padding: 1.5rem 1rem;
    }

    .sponsor-logo-main {
        width: 600px;
        height: 220px;
        font-size: 1.3rem;
        border-width: 3px;
        max-width: 95%;
    }

    .main-sponsor-logo {
        max-width: 520px;
        max-height: 180px;
    }
}

/* Animacje sportowe */
@keyframes ballBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.ball-icon {
    animation: ballBounce 2s infinite;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Dodatkowe animacje multimedialne */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Widget Facebooka - zawsze widoczny */
.facebook-widget {
    position: fixed;
    right: 20px;
    bottom: 90px;
    z-index: 10000;
    background: linear-gradient(135deg, #1877f2, #0d5bd9);
    border-radius: 16px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: facebookPulse 3s ease-in-out infinite alternate;
    will-change: transform;
    backface-visibility: hidden;
}

.facebook-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
    color: white;
}

@keyframes facebookPulse {
    from {
        box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
    }
    to {
        box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3), 0 0 0 8px rgba(24, 119, 242, 0.1);
    }
}

.facebook-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.facebook-widget:hover .facebook-tooltip {
    opacity: 1;
}

.facebook-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
}

/* Music Player Tooltip */
.music-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(2, 138, 66, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.player-toggle:hover ~ .music-tooltip {
    opacity: 1;
}

.music-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(2, 138, 66, 0.9);
}


/* Nawigacja piłkarska po prawej stronie */
.football-nav {
    position: fixed;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.football-nav-item {
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.football-goal {
    width: 60px;
    height: 40px;
    border: 3px solid var(--primary-green);
    border-top: none;
    border-radius: 0 0 8px 8px;
    background: rgba(2, 138, 66, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.football-goal::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    height: 3px;
    background: var(--primary-green);
}

.football-goal::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px dashed rgba(2, 138, 66, 0.3);
    border-top: none;
}

.football-nav-item.active .football-goal {
    background: rgba(2, 138, 66, 0.2);
    box-shadow: 0 0 15px rgba(2, 138, 66, 0.3);
}

.football-ball {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: white;
    border-radius: 50%;
    border: 2px solid #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    z-index: 10;
}

.football-ball::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 30% 30%, transparent 20%, #333 21%, #333 23%, transparent 24%),
        radial-gradient(circle at 70% 30%, transparent 20%, #333 21%, #333 23%, transparent 24%),
        radial-gradient(circle at 50% 70%, transparent 20%, #333 21%, #333 23%, transparent 24%);
}

.football-nav-item.active .football-ball {
    right: 15px;
    opacity: 1;
    transform: translateY(-10%) scale(1.1);
    animation: ballScoreGoal 0.6s ease-out forwards;
}

@keyframes ballScoreGoal {
    0% {
        transform: translateY(-50%) translateX(0) scale(1);
        opacity: 0;
    }
    30% {
        opacity: 1;
        transform: translateY(-30%) translateX(-20px) scale(1.05);
    }
    70% {
        transform: translateY(-15%) translateX(-40px) scale(1.08);
    }
    100% {
        transform: translateY(-10%) translateX(-55px) scale(1.1);
        opacity: 1;
    }
}

.football-nav-label {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.football-nav-label::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--text-dark);
}

.football-nav-item:hover .football-nav-label {
    opacity: 1;
    right: 85px;
}



/* Sekcja 1,5% podatku */
.tax-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.tax-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    animation: taxShimmer 4s ease-in-out infinite;
}

@keyframes taxShimmer {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
}

.tax-content {
    display: grid;
    grid-template-columns: 320px 1fr auto;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 280px;
}

.tax-krs-image {
    width: 320px;
    height: 320px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: krsImagePulse 3s ease-in-out infinite;
}

.tax-krs-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

@keyframes krsImagePulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(245, 158, 11, 0.4);
    }
    50% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 8px rgba(245, 158, 11, 0.1);
    }
}

.tax-info h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.tax-info p {
    color: #451a03;
    font-size: 1rem;
    line-height: 1.5;
}

.tax-krs-number {
    background: white;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    font-family: var(--font-mono);
    font-weight: 700;
    color: #92400e;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tax-footer {
    background: rgba(245, 158, 11, 0.1);
    border-top: 1px solid rgba(245, 158, 11, 0.3);
    padding: 1rem;
    margin: -1rem -1rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* Team photo section */
.team-photo-section {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--pitch-shadow);
    margin: 3rem 0;
    position: relative;
}

.team-photo-header {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    padding: 1.5rem 2rem;
    text-align: center;
}

.team-photo-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.team-photo-container {
    position: relative;
    overflow: hidden;
}

.team-photo {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
    transition: transform 0.6s ease;
}

.team-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.team-photo-section:hover .team-photo {
    transform: scale(1.05);
}

.team-photo-section:hover .team-photo-overlay {
    transform: translateY(0);
}

.team-photo-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Lightbox - powiększenie zdjęcia zespołu */
.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
    cursor: zoom-out;
    animation: lightboxFadeIn 0.25s ease;
}

.image-lightbox.active {
    display: flex;
}

.image-lightbox img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.image-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.image-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body.lightbox-open {
    overflow: hidden;
}

/* Responsive dla nowych elementów */
@media (max-width: 768px) {
    .facebook-widget {
        right: 15px;
        bottom: 80px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .football-nav {
        display: none; /* Ukryj nawigację piłkarską na mobile */
    }

    .tax-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .tax-krs-image {
        width: 240px;
        height: 240px;
        margin: 0 auto;
    }

    .team-photo {
        height: auto;
    }

}

@media (max-width: 1200px) {
    .football-nav {
        right: 80px;
    }
}

/* Przejścia między stronami */
.page-transition {
    opacity: 0;
    /* Usunięto transform na body, aby nie psuć position: fixed; dla widżetów */
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.loaded {
    opacity: 1;
}

/* Historia klubu - strona */
.page-header {
    text-align: center;
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, var(--off-white) 0%, #f0f8f0 100%);
    border-radius: 16px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(2, 138, 66, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(2, 138, 66, 0.03) 0%, transparent 50%);
    animation: headerFloat 15s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes headerFloat {
    0% { transform: rotate(0deg) translate(0, 0); }
    100% { transform: rotate(5deg) translate(20px, -10px); }
}

.page-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--primary-green);
    box-shadow: 0 8px 25px rgba(2, 138, 66, 0.2);
    position: relative;
    z-index: 2;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--primary-green);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    font-style: italic;
    position: relative;
    z-index: 2;
}

.history-section {
    margin-bottom: 4rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary-green);
    position: relative;
    overflow: hidden;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: 
        radial-gradient(circle, rgba(2, 138, 66, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateX(50%) translateY(-50%);
}

.timeline-item.founding {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, var(--off-white) 100%);
    border-left-color: #f59e0b;
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    background: rgba(2, 138, 66, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    min-width: 140px;
    text-align: center;
    border: 2px solid rgba(2, 138, 66, 0.2);
}

.timeline-content h2,
.timeline-content h3 {
    margin-bottom: 1rem;
    color: var(--dark-green);
}

.timeline-content p {
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.founding-details {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.detail-item {
    padding: 0.8rem 1.2rem;
    background: rgba(2, 138, 66, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-green);
}

.league-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.moments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.moment-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-green);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.moment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.moment-year {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(2, 138, 66, 0.1);
}

.moment-card h4 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.match-list {
    margin-top: 1.5rem;
}

.match-item {
    background: var(--off-white);
    padding: 0.7rem 1rem;
    margin: 0.5rem 0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-gray);
    border-left: 3px solid var(--primary-green);
}

.partners-history {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partner-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-3px);
}

.partner-card h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.partner-card a {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
}

.partner-card a:hover {
    text-decoration: underline;
}

.current-status {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.status-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-green);
}

.status-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.status-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
    line-height: 1.3;
}

.mission-statement {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.mission-statement::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: missionFloat 12s ease-in-out infinite alternate;
}

@keyframes missionFloat {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    100% { transform: translateX(20px) translateY(-20px) rotate(5deg); }
}

.mission-statement h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.mission-statement p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.club-motto {
    font-size: 1.3rem;
    font-style: italic;
    text-align: center;
    border-left: 4px solid rgba(255,255,255,0.5);
    padding-left: 2rem;
    margin: 2rem 0 0;
    position: relative;
    z-index: 2;
}

.photo-credit {
    text-align: center;
    padding: 2rem;
    background: var(--off-white);
    border-radius: 12px;
    margin-top: 3rem;
    border: 1px solid rgba(2, 138, 66, 0.1);
}

/* Responsive dla strony Historia */
@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-date {
        min-width: auto;
        width: fit-content;
        align-self: center;
    }
    
    .moments-grid {
        grid-template-columns: 1fr;
    }
    
    .current-status {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-statement {
        padding: 2rem;
    }
    
    .partners-history {
        grid-template-columns: 1fr;
    }
}

/* Galerie fotograficzne na stronie Historia */
.photo-gallery-grid {
    margin-top: 2rem;
}

.gallery-year-section {
    margin-bottom: 3rem;
}

.gallery-year-section h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    border-bottom: 3px solid var(--primary-green);
    padding-bottom: 0.5rem;
}

.gallery-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-grid-2016 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-green);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-preview {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--off-white);
}

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

.gallery-card:hover .gallery-thumb {
    transform: scale(1.05);
}

.gallery-preview::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, rgba(0,0,0,0.1));
    z-index: 1;
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-info h4 {
    font-size: 1.1rem;
    color: var(--dark-green);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.gallery-date {
    background: var(--primary-green);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.8rem;
}

.gallery-count {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Szczegółowa historia meczów */
.match-history-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.match-details-card {
    display: flex;
    gap: 2rem;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-green);
    position: relative;
    transition: transform 0.3s ease;
}

.match-details-card:hover {
    transform: translateX(5px);
}

.match-details-card.highlight {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border-left-color: #007acc;
}

.match-details-card.highlight::before {
    content: '🏆';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
}

.match-date {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    background: rgba(2, 138, 66, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    min-width: 140px;
    height: fit-content;
}

.match-content {
    flex: 1;
}

.match-content h4 {
    font-size: 1.4rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.match-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.match-time, .match-venue, .match-note, .match-result {
    background: var(--off-white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(2, 138, 66, 0.2);
}

.match-result {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-weight: 700;
    animation: pulseSuccess 2s ease-in-out infinite;
}

@keyframes pulseSuccess {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.goal-scorers {
    background: rgba(2, 138, 66, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
    border-left: 4px solid var(--primary-green);
}

.goal-scorers h5 {
    color: var(--primary-green);
    margin-bottom: 0.8rem;
}

.goal-scorers ul {
    list-style: none;
    padding: 0;
}

.goal-scorers li {
    background: white;
    margin: 0.5rem 0;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-green);
}

.team-lineup {
    background: var(--off-white);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.team-lineup h5 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.team-lineup p {
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

/* Responsive dla nowych elementów */
@media (max-width: 768px) {
    .gallery-grid-2016 {
        grid-template-columns: 1fr;
    }
    
    .gallery-row {
        grid-template-columns: 1fr;
    }
    
    .match-details-card {
        flex-direction: column;
        text-align: center;
    }
    
    .match-date {
        min-width: auto;
        align-self: center;
    }
    
    .gallery-preview {
        height: 150px;
    }
    
    .match-info {
        justify-content: center;
    }
}

/* Timeline klubu */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-green), var(--dark-green));
    border-radius: 2px;
    z-index: 0;
}

.timeline-milestone {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInTimeline 0.8s ease-out forwards;
}

.timeline-milestone:nth-child(2) { animation-delay: 0.2s; }
.timeline-milestone:nth-child(3) { animation-delay: 0.4s; }
.timeline-milestone:nth-child(4) { animation-delay: 0.6s; }
.timeline-milestone:nth-child(5) { animation-delay: 0.8s; }
.timeline-milestone:nth-child(6) { animation-delay: 1.0s; }
.timeline-milestone:nth-child(7) { animation-delay: 1.2s; }
.timeline-milestone:nth-child(8) { animation-delay: 1.4s; }

@keyframes fadeInTimeline {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-milestone.left {
    justify-content: flex-end;
    text-align: right;
}

.timeline-milestone.right {
    justify-content: flex-start;
    text-align: left;
}

.timeline-milestone.left .milestone-content {
    margin-right: 80px;
}

.timeline-milestone.right .milestone-content {
    margin-left: 80px;
}

.milestone-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 25px rgba(2, 138, 66, 0.3);
    z-index: 2;
    border: 4px solid white;
}

.timeline-milestone.highlight .milestone-year {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    animation: pulseGold 2s ease-in-out infinite;
    transform: translateX(-50%) scale(1.1);
}

@keyframes pulseGold {
    0%, 100% { box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3); }
    50% { box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5); }
}

.milestone-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-green);
}

.timeline-milestone.highlight .milestone-content {
    border-top-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.milestone-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.milestone-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: white;
    transform: translateY(-50%) rotate(45deg);
    border: 2px solid #e5e7eb;
    z-index: 1;
}

.timeline-milestone.left .milestone-content::before {
    right: -10px;
    border-left: none;
    border-bottom: none;
}

.timeline-milestone.right .milestone-content::before {
    left: -10px;
    border-right: none;
    border-top: none;
}

.milestone-content h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.timeline-milestone.highlight .milestone-content h3 {
    color: #f59e0b;
}

.milestone-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.milestone-details {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.timeline-milestone.left .milestone-details {
    justify-content: flex-end;
}

.detail-badge {
    background: var(--primary-green);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.detail-badge.success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.detail-badge.current {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

/* Archive Teaser */
.archive-teaser {
    background: linear-gradient(135deg, var(--off-white), #f0f8f0);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    border: 2px solid rgba(2, 138, 66, 0.1);
    position: relative;
    overflow: hidden;
}

.archive-teaser::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(2, 138, 66, 0.05) 0%, transparent 70%);
    animation: teaserFloat 15s ease-in-out infinite alternate;
}

@keyframes teaserFloat {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(20px, -20px) rotate(5deg); }
}

.teaser-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.teaser-icon {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
}

.teaser-text h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.teaser-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.teaser-highlights {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.teaser-highlights li {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.archive-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    padding: 1.5rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(2, 138, 66, 0.3);
    position: relative;
    z-index: 2;
}

.archive-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(2, 138, 66, 0.4);
}

.cta-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.archive-cta:hover .cta-icon {
    transform: translateX(5px);
}

/* Timeline responsive */
@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }
    
    .timeline-milestone {
        flex-direction: column;
        text-align: left;
    }
    
    .timeline-milestone.left,
    .timeline-milestone.right {
        justify-content: flex-start;
    }
    
    .timeline-milestone.left .milestone-content,
    .timeline-milestone.right .milestone-content {
        margin: 0 0 0 80px;
        max-width: none;
    }
    
    .milestone-year {
        left: 30px;
        width: 80px;
        height: 80px;
        font-size: 0.9rem;
    }
    
    .milestone-content::before {
        left: -10px !important;
        border-right: none !important;
        border-top: none !important;
    }
    
    .teaser-content {
        flex-direction: column;
        text-align: center;
    }
    
    .teaser-highlights {
        grid-template-columns: 1fr;
    }
}

/* Historia teaser na stronie głównej */
.historia-teaser {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    border-radius: 20px;
    padding: 3rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.historia-teaser::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: historiaFloat 12s ease-in-out infinite alternate;
}

@keyframes historiaFloat {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(30px, -30px) rotate(3deg); }
}

.historia-teaser .teaser-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.teaser-timeline {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.timeline-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline-dot {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border: 3px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    position: relative;
}

.timeline-dot.current {
    background: #fbbf24;
    border-color: #f59e0b;
    animation: currentDotPulse 2s ease-in-out infinite;
}

@keyframes currentDotPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(251, 191, 36, 0); }
}

.timeline-line-mini {
    width: 40px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.teaser-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.teaser-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.historia-highlights {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.mini-badge {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.historia-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.historia-cta:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
    color: white;
}

.cta-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.historia-cta:hover .cta-arrow {
    transform: translateX(5px);
}

/* Historia teaser responsive */
@media (max-width: 768px) {
    .historia-teaser {
        padding: 2rem;
        margin-top: 3rem;
    }

    .historia-teaser .teaser-content {
        flex-direction: column;
        gap: 2.5rem; /* Zwiększony odstęp między timeline a tekstem */
        text-align: center;
    }

    .teaser-timeline {
        margin-bottom: 1rem; /* Dodatkowy margines na dole timeline */
    }

    .timeline-mini {
        justify-content: center;
        margin-bottom: 1rem; /* Margines na dole timeline */
    }

    .timeline-dot {
        width: 50px;
        height: 50px;
        font-size: 0.7rem;
    }
    
    .timeline-line-mini {
        width: 30px;
    }
    
    .historia-highlights {
        justify-content: center;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.8rem !important;
        margin-top: 1.5rem !important; /* Przesunięcie kafelków w dół */
        padding: 0 1rem !important; /* Padding dla lepszego wyrównania */
    }
    
    .mini-badge {
        background: rgba(255,255,255,0.2) !important;
        border: 1px solid rgba(255,255,255,0.3) !important;
        padding: 0.6rem 1rem !important;
        border-radius: 20px !important;
        font-size: 0.8rem !important;
        font-weight: 500 !important;
        backdrop-filter: blur(10px) !important;
        display: inline-block !important;
        margin-bottom: 0.5rem !important; /* Margines na dole dla lepszego rozłożenia */
        text-align: center !important;
        white-space: nowrap !important; /* Zapobiega łamaniu tekstu */
    }
    
    .teaser-text h3 {
        font-size: 1.6rem;
    }
    
    .teaser-text p {
        display: block !important;
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Force Historia section to display properly on all devices */
    .section .historia-teaser {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .section .historia-teaser * {
        display: initial !important;
        visibility: inherit !important;
    }
    
    .section .historia-teaser .teaser-content {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .section .historia-teaser .timeline-mini {
        display: flex !important;
    }
    
    .section .historia-teaser .timeline-dot {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .teaser-text h3 {
        margin-bottom: 1rem !important;
    }

    .teaser-text p {
        margin-bottom: 1.5rem !important;
    }
}

/* Dodatkowe poprawki dla bardzo małych ekranów - Historia */
@media (max-width: 480px) {
    .historia-teaser {
        padding: 1.5rem !important;
        margin-top: 2rem !important;
    }

    .historia-teaser .teaser-content {
        gap: 2rem !important;
    }

    .timeline-dot {
        width: 45px !important;
        height: 45px !important;
        font-size: 0.65rem !important;
    }

    .timeline-line-mini {
        width: 25px !important;
    }

    .historia-highlights {
        margin-top: 2rem !important;
        padding: 0 0.5rem !important;
        gap: 0.6rem !important;
    }

    .mini-badge {
        padding: 0.5rem 0.8rem !important;
        font-size: 0.75rem !important;
        margin-bottom: 0.4rem !important;
    }

    .teaser-text h3 {
        font-size: 1.4rem !important;
        margin-bottom: 1rem !important;
    }

    .teaser-text p {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }
}

/* Team Statistics Section */
.team-statistics {
    background: linear-gradient(135deg, #1a472a 0%, #2d5937 100%);
    color: white;
    padding: 4rem 0;
    margin: 4rem 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.team-statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');
    opacity: 0.3;
}

.stats-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.stats-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
    to { text-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.3); }
}

.stats-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.view-toggle {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a472a;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

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

.view-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.view-toggle:hover::before {
    left: 100%;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.2);
}

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

.stat-card.clicked {
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffd700;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: rotateY(360deg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.age-chart {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chart-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.chart-bar {
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.chart-bar:nth-child(2) { animation-delay: 0.1s; }
.chart-bar:nth-child(3) { animation-delay: 0.2s; }
.chart-bar:nth-child(4) { animation-delay: 0.3s; }
.chart-bar:nth-child(5) { animation-delay: 0.4s; }

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

.bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.bar-container {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    height: 20px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 10px;
    width: 0%;
    transition: width 1s ease-in-out;
    position: relative;
}

.bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

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

.team-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.comparison-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.comparison-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.comparison-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.comparison-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffd700;
}

/* Player highlight effect */
.player-card.stat-highlight {
    transform: scale(1.05);
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.2), rgba(255, 237, 78, 0.2));
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid #ffd700;
    animation: highlightPulse 1s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 8px 25px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 12px 35px rgba(0, 0, 0, 0.4); }
}

/* Loading animation for counters */
.stat-number[data-target] {
    position: relative;
}

.stat-number[data-target]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
}

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

/* Mobile Responsive for Team Statistics */
@media (max-width: 768px) {
    .team-statistics .stats-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .team-statistics .stat-card {
        padding: 1.5rem;
    }
    
    .team-statistics .stat-number {
        font-size: 2.5rem;
    }
    
    .team-statistics .stats-header h3 {
        font-size: 2rem;
    }
    
    .team-statistics .team-comparison {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .team-statistics {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }
}

/* Sponsor Modal Styles - NAJPROSTSZA WERSJA */
.sponsor-modal {
    display: none;
    position: fixed !important;
    z-index: 999998 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.sponsor-modal-content {
    background: white !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    z-index: 999999 !important;
}

.sponsor-modal-close {
    color: white !important;
    background: rgba(0, 0, 0, 0.8) !important;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000001;
    border: 2px solid white;
}

.sponsor-modal-close:hover {
    background: #ff4444 !important;
    transform: scale(1.1);
    color: white !important;
}

.sponsor-modal-header {
    background: var(--primary-green);
    padding: 20px;
    color: white;
    border-radius: 10px 10px 0 0;
    margin: -20px -20px 20px -20px;
}

.sponsor-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="%23ffffff" fill-opacity="0.1"><circle cx="20" cy="20" r="2"/></g></svg>');
    opacity: 0.3;
}

.sponsor-modal-logo {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.sponsor-modal-logo img {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: white;
    padding: 5px;
}

.sponsor-modal-logo .sponsor-text-logo {
    width: 80px;
    height: 80px;
    background: white;
    color: var(--primary-green);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.1;
    padding: 5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.sponsor-modal-name {
    position: relative;
    z-index: 1;
}

.sponsor-modal-name h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sponsor-modal-name span {
    background: rgba(255, 215, 0, 0.9);
    color: var(--dark-green);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.sponsor-modal-body {
    padding: 2rem;
}

.sponsor-modal-body p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-family: var(--font-main);
}

.sponsor-contact {
    background: var(--light-green);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-green);
}

.sponsor-contact h4 {
    color: var(--dark-green);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.sponsor-contact p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.sponsor-contact strong {
    color: var(--primary-green);
    font-weight: 600;
}

.sponsor-modal-footer {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(2, 138, 66, 0.1);
}

.sponsor-thanks {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--primary-green);
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Cursor pointer dla kliknięcia */
.title-sponsor, .tech-sponsor, .sponsor-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.title-sponsor:hover, .tech-sponsor:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 138, 66, 0.2);
}

.sponsor-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(2, 138, 66, 0.15);
}

/* Mobile responsive dla modal */
@media (max-width: 768px) {
    .sponsor-modal-content {
        width: 95%;
        max-width: none;
        max-height: 95vh;
    }
    
    .sponsor-modal-header {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .sponsor-modal-logo img,
    .sponsor-modal-logo .sponsor-text-logo {
        width: 60px;
        height: 60px;
    }
    
    .sponsor-modal-name h3 {
        font-size: 1.5rem;
    }
    
    .sponsor-modal-body {
        padding: 1.5rem;
    }
    
    .sponsor-modal-close {
        top: 10px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

/* ==================== BLOG STYLES ==================== */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 8rem 0 4rem 0;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="20" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="80" r="2.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
}

.blog-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    font-family: var(--font-main);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.blog-hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.blog-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.blog-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.blog-hero .stat-item {
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Blog Posts Section */
.blog-posts-section {
    padding: 4rem 0;
    background: var(--off-white);
}

/* Featured Post */
.featured-post {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--stadium-shadow);
    margin-bottom: 4rem;
    transition: transform 0.3s ease;
}

.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(2, 138, 66, 0.15);
}

.featured-post .post-meta {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem 0 2rem;
    align-items: center;
}

.post-date {
    font-family: var(--font-main);
    font-size: 0.85rem;
    color: var(--accent-red);
    font-weight: 600;
}

.post-category {
    font-family: var(--font-main);
    font-size: 0.85rem;
    color: var(--primary-green);
    background: var(--light-green);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 500;
}

.featured-post .post-image {
    height: 300px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    margin: 1.5rem 2rem;
    border-radius: 12px;
}

.victory-badge {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    background: var(--accent-red);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.score-display {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.match-info {
    font-family: var(--font-main);
    font-size: 1.1rem;
    opacity: 0.9;
    text-align: center;
}

.featured-post .post-content {
    padding: 2rem;
}

.featured-post h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.post-excerpt p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-green);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-main);
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.read-more-btn:hover {
    background: var(--dark-green);
    transform: translateX(5px);
}

/* Blog Posts List */
.blog-posts-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-post-row {
    display: flex;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--pitch-shadow);
    transition: all 0.3s ease;
}

.blog-post-row:hover {
    transform: translateY(-2px);
    box-shadow: var(--stadium-shadow);
}

.post-date-sidebar {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    text-align: center;
}

.date-day {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.date-month {
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.2rem;
}

.date-year {
    font-family: var(--font-main);
    font-size: 0.7rem;
    opacity: 0.8;
    margin-top: 0.2rem;
}

.post-content-row {
    flex: 1;
    padding: 1.5rem 2rem;
}

.post-category-row {
    font-family: var(--font-main);
    font-size: 0.8rem;
    color: var(--primary-green);
    background: var(--light-green);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.post-content-row h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--dark-green);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.post-content-row p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.post-link {
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.post-link:hover {
    color: var(--accent-red);
}

/* Full Article Styles */
.full-article-section {
    background: white;
    padding: 4rem 0;
}

.full-article {
    max-width: 800px;
    margin: 0 auto;
}

.back-to-blog {
    background: var(--light-gray);
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-to-blog:hover {
    background: var(--primary-green);
    color: white;
    transform: translateX(-3px);
}

.article-header {
    margin-bottom: 3rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.article-date {
    color: var(--accent-red);
    font-weight: 600;
}

.article-author {
    color: var(--primary-green);
    font-weight: 500;
}

.article-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--dark-green);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.match-summary {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
}

.match-teams-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.away-team, .home-team-full {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.score-full {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: white;
}

.match-details-full {
    font-size: 1rem;
    opacity: 0.9;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-green);
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--light-green);
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
}

.article-section {
    margin-bottom: 3rem;
}

.article-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-green);
}

.goal-highlight {
    background: var(--light-green);
    border: 2px solid var(--primary-green);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

/* Bramki zdobyte przez Silesię (zielone) */
.goal-highlight.goal-silesia {
    background: var(--light-green);
    border: 2px solid var(--primary-green);
}

/* Bramki stracone przez Silesię (czerwone) */
.goal-highlight.goal-conceded {
    background: rgba(220, 38, 38, 0.1);
    border: 2px solid var(--accent-red);
}

.goal-highlight h4 {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    color: var(--dark-green);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.goal-silesia {
    border-color: var(--primary-green);
    background: linear-gradient(135deg, var(--light-green), rgba(2, 138, 66, 0.1));
}

.goals-sequence {
    margin: 2rem 0;
}

/* Usunięto regułę .second-half .goal-highlight - kolory będą kontrolowane przez klasy goal-silesia i goal-conceded */

.substitutions-box {
    background: var(--off-white);
    border: 2px solid var(--primary-green);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.substitutions-box h4 {
    font-family: var(--font-accent);
    color: var(--dark-green);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 1rem;
}

.substitutions-box ul {
    list-style: none;
    padding: 0;
}

.substitutions-box li {
    font-family: var(--font-main);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.next-match-box {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.next-match-box h4 {
    font-family: var(--font-accent);
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.match-stats {
    background: var(--off-white);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.match-stats h4 {
    font-family: var(--font-accent);
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--pitch-shadow);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.tag {
    font-family: var(--font-main);
    font-size: 0.8rem;
    background: var(--light-green);
    color: var(--dark-green);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-weight: 500;
}

/* Blog Pagination */
.blog-pagination {
    background: var(--light-gray);
    padding: 2rem 0;
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-info {
    font-family: var(--font-main);
    color: var(--text-medium);
    font-weight: 500;
}

.page-links {
    display: flex;
    gap: 0.5rem;
}

.page-link {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-main);
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link.current {
    background: var(--primary-green);
    color: white;
}

.page-link:not(.current) {
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--light-gray);
}

.page-link:not(.current):hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

/* Blog Responsive Design */
@media (max-width: 768px) {
    .blog-hero {
        padding: 6rem 0 3rem 0;
    }
    
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .featured-post .post-image {
        height: 200px;
        margin: 1rem;
    }
    
    .score-display {
        font-size: 3rem;
    }
    
    .blog-post-row {
        flex-direction: column;
    }
    
    .post-date-sidebar {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        padding: 1rem;
        min-width: unset;
    }
    
    .match-teams-full {
        flex-direction: column;
        gap: 1rem;
    }
    
    .score-full {
        font-size: 2rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .pagination {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-tags {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .featured-post h2 {
        font-size: 1.5rem;
    }
    
    .post-content-row {
        padding: 1rem;
    }
    
    .full-article {
        padding: 0 1rem;
    }
    
    .match-summary {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== INDIVIDUAL POST STYLES ==================== */

.post-page {
    background: white;
    min-height: 100vh;
    padding-top: 6rem;
    /* Test if CSS is loading */
    position: relative;
}

.post-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-green);
    z-index: 1000;
}

.post-navigation {
    margin-bottom: 2rem;
}

.post-header {
    margin-bottom: 3rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.post-date {
    color: var(--accent-red);
    font-weight: 600;
}

.post-author {
    color: var(--primary-green);
    font-weight: 500;
}

.post-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--dark-green);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
}

.post-intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-green);
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--light-green);
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
}

.post-section {
    margin-bottom: 3rem;
}

.post-section h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-green);
}

.post-section h3 {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    color: var(--dark-green);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.post-tags .tag {
    font-family: var(--font-main);
    font-size: 0.8rem;
    background: var(--light-green);
    color: var(--dark-green);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-weight: 500;
}

/* Responsive for individual posts */
@media (max-width: 768px) {
    .post-title {
        font-size: 2rem !important;
    }
    
    .post-content {
        padding: 0 1rem !important;
    }
    
    .post-footer {
        padding: 0 1rem !important;
    }
    
    .post-tags {
        justify-content: center;
    }
    
    .container {
        padding: 0 1rem !important;
    }
    
    .post-page {
        padding-top: 5rem !important;
    }
}

/* Extra mobile styles */
@media screen and (max-width: 480px) {
    * {
        box-sizing: border-box !important;
    }

    /* Dodatkowe zabezpieczenia dla hero section */
    .hero {
        min-height: 100vh !important;
        min-height: 100dvh !important;
        height: auto !important;
        padding-top: 80px !important;
        padding-bottom: 1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 2 !important; /* Hero zawsze powyżej sponsors */
    }

    /* Zabezpieczenie przed nakładaniem się sekcji */
    .sponsors-section {
        margin-top: 0 !important; /* Usunięto przerwę na bardzo małych ekranach */
        position: relative !important;
        z-index: 0 !important; /* Poniżej hero section */
        padding: 1.5rem 0 !important;
    }

    .hero-content {
        padding: 1rem !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    html {
        font-size: 16px !important;
    }
    
    body {
        font-size: 14px !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .post-title {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
    }
    
    .post-content {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        padding: 0 0.5rem !important;
    }
    
    .header {
        padding: 0.5rem 0 !important;
    }
    
    .nav-links {
        font-size: 0.9rem !important;
    }
    
    .mobile-menu-btn {
        display: block !important;
    }
}

/* ==================== SHOP POST STYLES ==================== */

.shop-hero-image {
    text-align: center;
    margin: 2rem 0;
}

.shop-summary {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
}

.shop-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.shop-info span {
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.product-highlight {
    background: var(--light-green);
    border: 2px solid var(--primary-green);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.product-highlight h3 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.product-highlight ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.product-highlight li {
    padding: 0.3rem 0;
    font-size: 1rem;
}

.price {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 1.2rem;
}

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.accessory-item {
    background: white;
    border: 2px solid var(--light-green);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.accessory-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--stadium-shadow);
    border-color: var(--primary-green);
}

.accessory-item h4 {
    color: var(--dark-green);
    margin-bottom: 0.8rem;
}

.package-highlight {
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.package-highlight.premium {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border: 3px solid #ffa500;
    color: #333;
}

.package-highlight.standard {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border: 3px solid var(--dark-green);
    color: var(--text-dark);
}

.package-highlight.basic {
    background: linear-gradient(135deg, var(--light-gray), #e9ecef);
    border: 3px solid var(--text-medium);
    color: var(--text-dark);
}

.package-highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.package-contents ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.package-contents li {
    padding: 0.5rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.package-price {
    text-align: center;
    margin-top: 1.5rem;
}

.old-price {
    display: block;
    text-decoration: line-through;
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.new-price {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.savings {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-green);
    background: rgba(255, 255, 255, 0.8);
    padding: 0.3rem 1rem;
    border-radius: 15px;
    display: inline-block;
}

.ordering-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.order-method {
    background: white;
    border: 2px solid var(--light-green);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.order-method:hover {
    transform: translateY(-2px);
    border-color: var(--primary-green);
    box-shadow: var(--pitch-shadow);
}

.order-method h3 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.delivery-info {
    background: var(--off-white);
    border: 2px solid var(--primary-green);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.delivery-info h3 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    text-align: center;
}

.delivery-info ul {
    list-style: none;
    padding: 0;
}

.delivery-info li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-green);
}

.delivery-info li:last-child {
    border-bottom: none;
}

.support-goals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--light-green);
    transition: all 0.3s ease;
}

.support-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary-green);
    box-shadow: var(--pitch-shadow);
}

.support-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.support-item h4 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.support-item p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin: 0;
}

.call-to-action {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 2rem 0;
}

.call-to-action h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.call-to-action p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Shop Preview Two Columns Layout */
.shop-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.shop-image-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shop-image-column img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--stadium-shadow);
    transition: transform 0.3s ease;
}

.shop-image-column img:hover {
    transform: scale(1.02);
}

.shop-text-column {
    padding: 1rem;
}

.shop-text-column h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.shop-text-column p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.shop-highlights {
    margin: 1.5rem 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.highlight-icon {
    font-size: 1.2rem;
    margin-right: 0.8rem;
    width: 24px;
    text-align: center;
}

.shop-quick-info {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.quick-info-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.quick-info-item h4 {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 0.3rem;
}

.quick-info-item p {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 1rem;
    margin: 0;
}

.shop-cta {
    text-align: center;
    margin-top: 2rem;
}

.btn-shop {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--stadium-shadow);
}

.btn-shop:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-effect);
}

.shop-support-text {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-medium);
    font-style: italic;
}

/* Responsive styles for shop */
@media (max-width: 768px) {
    .shop-two-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .shop-text-column h3 {
        font-size: 1.6rem;
    }

    .shop-quick-info {
        justify-content: center;
        gap: 1rem;
    }

    .shop-info {
        flex-direction: column;
        gap: 1rem;
    }

    .shop-hero-image img {
        max-width: 100%;
        height: auto;
    }
    
    .accessories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .ordering-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .support-goals {
        grid-template-columns: 1fr;
    }
    
    .package-highlight {
        padding: 1.5rem;
    }
    
    .new-price {
        font-size: 1.5rem;
    }
    
    .post-page {
        padding-top: 5rem;
    }
    
    .post-title {
        font-size: 1.8rem;
    }
}

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

    .support-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Agencja AERO popup styles */
.agencja-aero-popup-header {
    text-align: center !important;
}

.large-logo-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 1.5rem !important;
}

.agencja-aero-large-logo {
    width: 150px !important;
    height: 150px !important;
    border-radius: 15px !important;
    object-fit: contain !important;
    background: white !important;
    padding: 10px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.agencja-aero-info h2 {
    text-align: center !important;
    line-height: 1.3 !important;
    margin-bottom: 0.8rem !important;
}

/* Legacy sponsor popup logo styles */
.sponsor-popup-header {
    text-align: center !important;
}

.sponsor-popup-logo {
    width: 120px !important;
    height: 120px !important;
    border-radius: 15px !important;
    object-fit: contain !important;
    background: white !important;
    padding: 10px !important;
    margin: 0 auto 1rem auto !important;
    display: block !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.sponsor-popup h2 {
    text-align: center !important;
    line-height: 1.3 !important;
    margin-bottom: 0.8rem !important;
}

/* Main sponsor logo styles */
.main-sponsor-logo {
    max-width: 720px;
    max-height: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    display: block;
    margin: 1rem auto;
}

/* Efekt premium dla głównego sponsora */
.sponsor-logo-main::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    border-radius: 22px;
    z-index: -1;
    animation: golden-glow 3s ease-in-out infinite alternate;
}

@keyframes golden-glow {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

/* Copy to clipboard animations */
@keyframes slideInFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Staff Section - Full Width Rows */
.staff-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.staff-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.staff-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.staff-photo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.staff-info {
    flex: 1;
}

.staff-name {
    color: var(--primary-green);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.staff-role {
    color: var(--accent-red);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.staff-info p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .staff-row {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .staff-photo {
        width: 100px;
        height: 100px;
    }

    .staff-name {
        font-size: 1.3rem;
    }
}
