/* --- RESET A ZÁKLADNÍ NASTAVENÍ --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #111;
    color: #fff;
}

body.no-scroll {
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
}

/* --- HLAVNÍ CONTAINER (HEADER) --- */
.main-header {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding-top: 75px;
}

/* --- VIDEO NA POZADÍ --- */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(11, 36, 41, 0.95) 0%,     
        rgba(11, 36, 41, 0.7) 30%,    
        rgba(0, 0, 0, 0.35) 50%,       
        rgba(0, 0, 0, 0.35) 100%        
    );
    z-index: 2;
}

.nav-bar, .hero-content, .stats-bar {
    position: relative;
    z-index: 3;
}

/* --- NAVIGAČNÍ LIŠTA --- */
.nav-bar {
    background-color: rgba(11, 36, 41, 0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 50px 15px 50px;
    z-index: 100;
    position: fixed;
    top: 32px;
    left: 0;
    width: 100%;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease, top 0.4s ease;
}

.nav-bar.scrolled {
    background-color: rgba(11, 36, 41, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    padding: 10px 50px;
    top: 0;
}

.logo-area {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    z-index: 12; 
}

.logo-img {
    height: 45px;
    margin-right: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.1;
}

.logo-sub {
    font-size: 11px;
    color: #a0b0b2;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.nav-links a:hover {
    color: #379967;
    transform: translateY(-2px); 
}

.mobile-menu-footer {
    display: none;
}

/* --- HAMBURGER MENU --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 12; 
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hero-content {
    flex: 1; 
    display: flex;
    align-items: center; 
    max-width: 1200px;
    width: 100%;
    margin: 0 5%;
    padding: 0 50px;
}

.hero-center-box {
    width: 100%;
}

.badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.badges a {
    color: white;
    text-decoration: none;
}

.badge {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(11, 36, 41, 0.6);
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.badge:hover {
    background: #59a673;
    border-color: #59a673;
}

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 90px;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.hero-title span {
    display: block;
}

.text-green {
    color: #379967;
}

.text-white {
    color: #ffffff;
}

.hero-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-filled {
    background-color: #379967;
    color: #fff;
    border: 1px solid #379967;
}

.btn-filled:hover {
    background-color: #2b7a52;
    border-color: #2b7a52;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid #379967;
    background-color: rgba(11, 36, 41, 0.7);
    color: #fff;
}

.btn-outline:hover {
    background-color: #379967;
    transform: translateY(-2px);
}

.stats-bar {
    background-color: #379967;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

.stat-box {
    text-align: center;
    padding: 25px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.stat-box:last-child {
    border-right: none;
}

.stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   HLAVNÍ SEKCE - NOVINKY Z KLUBU
   ========================================================================== */
main {
    background-color: #ffffff;
    color: #333;
}

.news-section {
    padding: 80px 0;
}

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

.section-header {
    margin-bottom: 40px;
}

.section-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #379967;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 55px;
    line-height: 1.1;
    text-transform: uppercase;
}

.text-dark {
    color: #0b2429;
}

.news-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    width: 100%;
}

.news-card {
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.news-img-wrapper {
    position: relative;
    height: 350px;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #379967;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date { font-size: 12px; margin-bottom: 10px; }

.news-card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.news-excerpt {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.read-more {
    margin-top: auto;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.card-dark { background-color: #1a3237; flex: 1 1 0%; }
.card-dark .read-more { color: #379967; }
.card-dark .read-more:hover { color: #59b885; }
.card-dark .news-content { color: #fff; }
.card-dark .news-date { color: #a0b0b2; }
.card-dark .news-excerpt { color: #d0d0d0; }

.card-light { background-color: #f7f7f7; flex: 1 1 0%; }
.card-light .news-content { color: #333; }
.card-light .news-card-title { color: #0b2429; }
.card-light .news-date { color: #888; }
.card-light .news-excerpt { color: #555; }
.card-light .read-more { color: #888; }
.card-light .read-more:hover { color: #379967; }

.card-dark a.read-more { color: #379967 !important; }
.card-dark a.read-more:hover { color: #59b885 !important; }

.news-actions { text-align: center; }

/* ==========================================================================
   SEKCE - NEJBLIŽŠÍ ZÁPASY
   ========================================================================== */
.matches-section {
    background-color: #f0f2f5; 
    padding: 80px 0;
    color: #333;
}

.team-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    scroll-margin-top: 100px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: #379967; 
    color: #fff;
    transition: all 0.3s ease;
}

.filter-btn.active { background-color: #0b2429; }

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.team-grid-hidden { display: none !important; }

.matches-grid {
    display: flex;
    gap: 30px;
    width: 100%;
}

.match-card {
    flex: 1 1 0%;
    border-radius: 6px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.match-light { background-color: #e3e8ed; color: #0b2429; }
.match-dark { background-color: #0b2429; color: #fff; }

.match-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 25px;
}

.match-date {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.match-round {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.match-light .match-round { color: #506070; }
.match-dark .match-round { color: #a0b0b2; }

.match-vs-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
    width: 100%;
}

.match-logo {
    width: 85px; 
    height: 85px;
    object-fit: contain;
}

.match-vs {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-style: italic;
    font-weight: 700;
}
.match-light .match-vs { color: #0b2429; }
.match-dark .match-vs { color: #fff; }

.match-score {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 2px;
}

.text-red { color: #cc3333; }

.match-teams-detail {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.match-teams-detail p { margin: 2px 0; }

.match-time {
    font-family: 'Oswald', sans-serif;
    font-size: 46px;
    font-weight: 700;
    margin-top: auto; 
}

/* ==========================================================================
   SEKCE – VÝSLEDKY + TABULKA
   ========================================================================== */
.results-section {
    background-color: #ffffff;
    padding: 80px 0;
    color: #333;
}

#vysledky { scroll-margin-top: 80px; }

.results-layout {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 40px;
    align-items: start;
    width: 100%;
}

.results-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.results-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.result-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.result-card:hover { transform: scale(1.01); }

.res-dark { background-color: #0b2429; color: #fff; }
.res-light { background-color: #e3e8ed; color: #0b2429; }

.res-team {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    width: 25%;
}

.team-left { text-align: right; }
.team-right { text-align: left; }

.res-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.res-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 35%;
    text-align: center;
}

.res-venue { font-size: 12px; color: #888; margin-bottom: 2px; }
.res-dark .res-venue { color: #a0b0b2; }

.res-score {
    font-family: 'Oswald', sans-serif;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1px;
}

.text-red-score { color: #ff4d4d; }
.text-green-score { color: #16a34a; }

.res-date { font-size: 11px; color: #666; margin-top: 2px; margin-bottom: 10px; }
.res-dark .res-date { color: #cbd5e1; }

.res-buttons { display: flex; gap: 8px; }

.r-btn {
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-green { background-color: #379967; color: #fff; border: 1px solid #379967; }
.btn-green:hover { background-color: #2b7a52; border-color: #2b7a52; }

.btn-outline-small { border: 1px solid rgba(0, 0, 0, 0.2); color: #333; }
.res-dark .btn-outline-small { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.btn-outline-small:hover { background-color: rgba(255, 255, 255, 0.1); border-color: #379967; color: #379967; }

/* LIGOVÁ TABULKA */
.table-sidebar-wrapper { width: 100%; }

.table-container {
    border: 2px solid #379967;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fcfcfc;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.league-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: #333;
}

.league-table th, .league-table td { padding: 10px 14px; text-align: center; }

.league-table th {
    font-family: 'Oswald', sans-serif;
    background-color: #e3e8ed;
    color: #0b2429;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #cbd5e1;
}

.league-table .th-team { text-align: left; }
.league-table td { border-bottom: 1px solid #f0f0f0; }
.league-table tbody tr:last-child td { border-bottom: none; }
.league-table tbody tr td:nth-child(2) { text-align: left; }
.league-table tbody tr td:first-child,
.league-table tbody tr td:last-child { font-weight: 700; }

.league-table .highlight-row { background-color: #379967 !important; color: #ffffff !important; }
.league-table .highlight-row td { color: #ffffff !important; font-weight: 700; border-bottom: none; }

/* ==========================================================================
   SEKCE – NAŠE TÝMY
   ========================================================================== */
.teams-section {
    background-color: #f0f2f5;
    padding: 80px 0;
    color: #333;
}

.teams-desc { font-size: 15px; color: #506070; margin-top: 8px; }

.teams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.teams-grid--other {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 0;
}

.other-divisions-title { margin-bottom: 30px; }

.team-card {
    background-color: #e3e8ed;
    border-radius: 8px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.team-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.team-card--active { background-color: #0b2429; color: #fff; }

.team-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #379967;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.team-name {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: inherit;
    margin-bottom: 8px;
}

.team-card--active .team-name { color: #fff; }
.team-league { font-size: 13px; color: #506070; }
.team-card--active .team-league { color: #a0b0b2; }
a.team-card { text-decoration: none; color: inherit; }

/* ==========================================================================
   SEKCE – HISTORIE
   ========================================================================== */
.history-section {
    background-color: #0b2429;
    padding: 80px 0;
    color: #fff;
}

.history-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.history-tagline { font-size: 13px; color: #59a673; letter-spacing: 0.5px; margin-top: 10px; margin-bottom: 25px; }
.history-text { font-size: 15px; line-height: 1.7; color: #c0d0d2; margin-bottom: 16px; }

.timeline { display: flex; flex-direction: column; }

.timeline-item {
    display: flex;
    gap: 25px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    align-items: flex-start;
}

.timeline-item:last-child { border-bottom: none; }

.timeline-year {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #379967;
    min-width: 70px;
    line-height: 1;
}

.timeline-content h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.timeline-content p { font-size: 13px; color: #a0b0b2; line-height: 1.5; }

/* ==========================================================================
   SEKCE – SPONZOŘI
   ========================================================================== */
.sponsors-section {
    background-color: #f0f2f5;
    padding: 80px 0;
    overflow: hidden;
}

.sponsors-desc { font-size: 15px; color: #506070; margin-top: 8px; margin-bottom: 50px; }

.sponsors-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    display: block;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    padding: 20px 0;
}

.sponsors-track {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    will-change: transform;
}

.sponsors-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sponsor-logo {
    max-height: 65px;
    max-width: 150px;
    object-fit: contain;
    opacity: 0.65;
    transition: opacity 0.3s, transform 0.3s;
    filter: grayscale(30%);
}

.sponsor-logo:hover { opacity: 1; transform: scale(1.1); filter: grayscale(0%); }

/* ==========================================================================
   PATIČKA
   ========================================================================== */
.site-footer {
    background-color: #0b2429;
    color: #fff;
    padding: 60px 0 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-address { font-size: 13px; line-height: 1.8; color: #a0b0b2; margin-top: 15px; }

.footer-col-title {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 18px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: #a0b0b2; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: #379967; }

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 12px;
    color: #506070;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.countdown-section {
    background: linear-gradient(135deg, #0b2429 0%, #1a3d44 100%);
    padding: 50px 0;
}
.countdown-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}
.countdown-match {
    display: flex;
    align-items: center;
    gap: 20px;
}
.countdown-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
}
.countdown-vs-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.countdown-team {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}
.countdown-vs {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #379967;
    letter-spacing: 2px;
}
.countdown-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.countdown-date {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}
.countdown-soutez {
    font-size: 12px;
    color: #a0b0b2;
    letter-spacing: 0.5px;
}
.countdown-timer {
    display: flex;
    align-items: center;
    gap: 10px;
}
.countdown-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 16px 24px;
    min-width: 80px;
}
.countdown-num {
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #379967;
    line-height: 1;
}
.countdown-lbl {
    font-size: 10px;
    font-weight: 700;
    color: #a0b0b2;
    letter-spacing: 1px;
    margin-top: 4px;
}
.countdown-sep {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #379967;
    margin-bottom: 16px;
}

.match-countdown {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
    width: 100%;
    justify-content: center;
}
.cd-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 8px 10px;
    min-width: 50px;
}
.cd-num {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #379967;
    line-height: 1;
}
.cd-lbl {
    font-size: 8px;
    font-weight: 700;
    color: #a0b0b2;
    letter-spacing: 1px;
    margin-top: 3px;
}
.cd-sep {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #379967;
    margin-bottom: 12px;
}
@media (max-width: 600px) {
    .hero-title { font-size: 38px; }
    .main-header { padding-top: 60px; }
    .stats-bar { display: none; }

    .cd-num { font-size: 20px; }
    .cd-box { padding: 6px 7px; min-width: 38px; }
    .cd-sep { font-size: 16px; }
    .cd-lbl { font-size: 7px; }
    .match-countdown { gap: 4px; }

    .match-logo { width: 60px; height: 60px; }
    .match-score { font-size: 32px; }
    .match-vs { font-size: 24px; }
    .match-date { font-size: 18px; }
    .match-time { font-size: 36px; }
    .match-card { padding: 25px 15px; }

    .res-score { font-size: 28px; }
    .res-logo { width: 40px; height: 40px; }
    .res-center { padding: 0 10px; }
    .result-card { padding: 14px 10px; }

    .filter-btn { padding: 8px 16px; font-size: 12px; }
    .section-title { font-size: 30px; }
    .container { padding: 0 16px; }

    .news-section, .matches-section, .results-section,
    .teams-section, .history-section, .sponsors-section { padding: 40px 0; }

    .teams-grid, .teams-grid--other { grid-template-columns: 1fr 1fr; gap: 10px; }
    .team-card { padding: 20px 10px; }
    .team-badge { width: 42px; height: 42px; font-size: 14px; }
    .team-name { font-size: 13px; }
    .team-league { font-size: 11px; }

    .footer-top { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-col-title { font-size: 12px; }
    .footer-links a { font-size: 12px; }
}

@media (max-width: 380px) {
    .hero-title { font-size: 30px; }
    .section-title { font-size: 26px; }
    .match-logo { width: 45px; height: 45px; }
    .res-team { font-size: 10px; }
}

.matches-grid {
    align-items: flex-start;
}

/* NAV DROPDOWN */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(11, 36, 41, 0.97);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    min-width: 200px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(55,153,103,0.2);
    z-index: 200;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: rgba(11, 36, 41, 0.97);
    border-left: 1px solid rgba(55,153,103,0.2);
    border-top: 1px solid rgba(55,153,103,0.2);
    transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown-menu.open {
    display: block;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 9px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #a0b0b2 !important;
    transition: color 0.2s, background 0.2s;
    transform: none !important;
}

.nav-dropdown-menu li a:hover {
    color: #fff !important;
    background: rgba(55,153,103,0.15);
    transform: none !important;
}

.nav-dropdown-menu li + li {
    border-top: 1px solid rgba(255,255,255,0.06);
}

article.news-card.card-dark a.read-more,
    article.news-card.card-dark a.read-more:link,
    article.news-card.card-dark a.read-more:visited {
        color: #379967 !important;
        text-decoration: none !important;
    }
    .news-card, .team-card, .timeline-item, .result-card, .match-card {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .news-card.visible, .team-card.visible, .timeline-item.visible, .result-card.visible, .match-card.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .section-header {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .section-header.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .hero-title .text-green {
        opacity: 0;
        transform: translateX(-40px);
        animation: slideInLeft 0.8s ease 0.3s forwards;
    }
    .hero-title .text-white {
        opacity: 0;
        transform: translateX(40px);
        animation: slideInRight 0.8s ease 0.6s forwards;
    }
    .hero-desc {
        opacity: 0;
        animation: fadeIn 0.8s ease 1s forwards;
    }
    .hero-actions {
        opacity: 0;
        animation: fadeIn 0.8s ease 1.2s forwards;
    }
    @keyframes slideInLeft {
        to { opacity: 1; transform: translateX(0); }
    }
    @keyframes slideInRight {
        to { opacity: 1; transform: translateX(0); }
    }
    @keyframes fadeIn {
        to { opacity: 1; }
    }
    .btn {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }
    a.team-card {
        position: relative;
        overflow: hidden;
    }
    a.team-card::after {
        content: 'ZOBRAZIT TÝM →';
        position: absolute;
        bottom: -40px;
        left: 0;
        right: 0;
        background: #379967;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1px;
        padding: 10px;
        text-align: center;
        transition: bottom 0.3s ease;
    }
    a.team-card:hover::after {
        bottom: 0;
    }
    a.team-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    a.team-card.team-card--oddil::after {
    content: 'ZOBRAZIT ODDÍL →';
    }

    .social-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    background: #0b2429b0;
    padding: 7px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    width: 100%;
    z-index: 101;
    transition: transform 0.4s ease;
}

.social-top-bar.hidden {
    transform: translateY(-100%);
}

.nav-social-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}

.social-top-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: color 0.2s;
}

.social-top-link:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .social-top-bar {
        display: none;
    }

    .nav-bar {
        top: 0;
    }
}

/* ==========================================================================
   RESPONSIVITA
   ========================================================================== */

@media (max-width: 850px) {
    .video-overlay {
        background: linear-gradient(to bottom, #0b2429f0 0%, #0b2429cc 40%, rgba(0, 0, 0, 0.6) 100%);
    }

    .nav-bar { padding: 15px 25px; }
    .menu-toggle { display: flex; }

    .menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); background-color: #59a673; }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background-color: #59a673; }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background-color: rgba(11, 36, 41, 0.92);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 120px 0 40px 0;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 9;
    }

    .main-nav.active { transform: translateY(0); }
    .nav-links { flex-direction: column; align-items: center; gap: 30px; }

    .nav-links a {
        font-size: 28px;
        font-family: 'Oswald', sans-serif;
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s;
    }

    .main-nav.active .nav-links li:nth-child(1) a { transition-delay: 0.2s; opacity: 1; transform: translateX(0); }
    .main-nav.active .nav-links li:nth-child(2) a { transition-delay: 0.3s; opacity: 1; transform: translateX(0); }
    .main-nav.active .nav-links li:nth-child(3) a { transition-delay: 0.4s; opacity: 1; transform: translateX(0); }
    .main-nav.active .nav-links li:nth-child(4) a { transition-delay: 0.5s; opacity: 1; transform: translateX(0); }
    .main-nav.active .nav-links li:nth-child(5) a { transition-delay: 0.6s; opacity: 1; transform: translateX(0); }
    .main-nav.active .nav-links li:nth-child(6) a { transition-delay: 0.7s; opacity: 1; transform: translateX(0); }

    .mobile-menu-footer { display: flex; flex-direction: column; align-items: center; gap: 15px; }
    .mobile-socials { display: flex; align-items: center; gap: 25px; }

    .mobile-socials a {
        color: #fff;
        font-size: 24px;
        display: flex;
        align-items: center;
        text-decoration: none;
        transition: color 0.3s, transform 0.3s;
    }

    .mobile-socials a:hover { color: #379967; transform: scale(1.1); }
    .mobile-social-icon { width: 24px; height: 24px; object-fit: contain; display: block; transition: transform 0.3s; }
    .mobile-menu-info { font-size: 11px; color: #a0b0b2; letter-spacing: 1px; }

    .hero-title { font-size: 55px; }
    .hero-content { padding: 0 25px; margin: 0; }
    .hero-desc br { display: none; }

    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat-box { padding: 15px 5px; border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
    .stat-box:nth-child(2) { border-right: none; }
    .stat-box:nth-child(3), .stat-box:nth-child(4) { border-bottom: none; }
    .stat-number { font-size: 32px; }

    .news-grid { flex-direction: column; gap: 16px; }
    .card-dark, .card-light { flex: none; width: 100%; }

    .team-filters { justify-content: center; flex-wrap: wrap; gap: 8px; }
    .matches-grid { flex-direction: column; gap: 20px; }
    .match-card { width: 100%; }

    .results-layout { grid-template-columns: 1fr; gap: 30px; }

    .result-card {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: auto auto auto;
        padding: 20px 15px;
        gap: 8px;
        align-items: center;
        justify-items: center;
        text-align: center;
    }

    .res-team.team-left {
        grid-column: 1;
        grid-row: 1;
        text-align: center !important;
        width: 100%;
        font-size: 12px;
    }

    .res-team.team-right {
        grid-column: 3;
        grid-row: 1;
        text-align: center !important;
        width: 100%;
        font-size: 12px;
    }

    .res-logo {
        width: 65px;
        height: 65px;
        grid-row: 2;
    }

    .res-logo:first-of-type { grid-column: 1; }
    .res-logo:last-of-type { grid-column: 3; }

    .res-center {
        grid-column: 2;
        grid-row: 1 / 3;
        width: auto;
        border-top: none;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
    }

    .res-score { font-size: 44px; }
    .res-venue { font-size: 10px; order: -1; }
    .res-date { font-size: 10px; }

    .res-buttons {
        grid-column: 1 / -1;
        grid-row: 3;
        justify-content: center;
        margin-top: 4px;
    }

    .container { padding: 0 25px; }
    .section-title { font-size: 40px; }

    .history-layout { grid-template-columns: 1fr; gap: 40px; }

    .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-brand { grid-column: 1 / -1; }

    .teams-grid,
    .teams-grid--other { grid-template-columns: repeat(2, 1fr); gap: 15px; }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        background: rgba(255,255,255,0.05);
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        margin-top: 10px;
        display: none;
        border-left: 2px solid #379967;
        margin-left: 10px;
    }

    .nav-dropdown-menu.open {
        display: block;
    }

    .nav-dropdown-menu li a {
        font-size: 16px !important;
        padding: 8px 16px !important;
        color: #a0b0b2 !important;
    }

    .nav-dropdown > a::after {
        content: ' ▾';
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .footer-top { grid-template-columns: 1fr; }
    .teams-grid,
    .teams-grid--other { grid-template-columns: 1fr 1fr; }
}

/* --- SOCIÁLNÍ SÍTĚ V NAV --- */

.nav-social-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.social-top-link {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    transition: color 0.3s, transform 0.3s;
}

.social-top-link:hover {
    color: #379967;
    transform: scale(1.1);
}

@media (max-width: 850px) {
    .nav-socials { display: none; }
}

/* ==========================================================================
   VYPNUTÍ ANIMACÍ NA MOBILU (výkon)
   ========================================================================== */
@media (max-width: 850px) {
    /* Vstupní animace karet a nadpisů — vše rovnou viditelné, žádné transitions */
    .news-card, .team-card, .timeline-item, .result-card, .match-card,
    .section-header {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* Hero animace */
    .hero-title .text-green,
    .hero-title .text-white,
    .hero-desc,
    .hero-actions {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    /* Hover/transition efekty, které na dotykovém displeji nedávají smysl */
    .btn, .news-card, .team-card, .player-card, .person-card, .match-card, .result-card {
        transition: none !important;
    }

    /* Blur je pro mobilní GPU drahý — plné pozadí místo průhledného rozmazání */
    .main-nav {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: rgba(11, 36, 41, 0.99) !important;
    }
    #zkusebni-banner {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: #0b2429 !important;
    }
}