:root {
    --primary-green: #2E8B57;
    --dark-green: #1f6b41;
    --light-green: #4CAF50;
    --lighter-green: #e8f5e8;
    --gold: #FFD700;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --text-dark: #2d3748;
    --text-light: #718096;
    --interview-blue: #2c5282;
    
    --grass-gradient: linear-gradient(135deg, #2E8B57 0%, #3CB371 50%, #2E8B57 100%);
    --field-gradient: linear-gradient(145deg, var(--white) 0%, var(--lighter-green) 100%);
    --card-gradient: linear-gradient(145deg, var(--white) 0%, rgba(255, 255, 255, 0.1) 100%);
    
    --bg-color: var(--white);
    --text-color: var(--dark-gray);
    --header-bg: var(--white);
    --footer-bg: var(--dark-green);
    --primary-color: var(--primary-green);
    --secondary-color: var(--dark-green);
    --border-color: var(--primary-green);
    --nav-bg: var(--white);
    --nav-text: var(--primary-green);
    --nav-hover-bg: var(--primary-green);
    --nav-hover-text: var(--white);
    --card-bg: var(--white);
    --shadow: 0 4px 15px rgba(46, 139, 87, 0.15);
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --header-bg: #2d3748;
    --footer-bg: #1a365d;
    --primary-color: var(--light-green);
    --secondary-color: #45a049;
    --border-color: var(--light-green);
    --nav-bg: #2d3748;
    --nav-text: #e0e0e0;
    --nav-hover-bg: var(--light-green);
    --nav-hover-text: #ffffff;
    --card-bg: #2d3748;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --interview-blue: #3b6fb6;
    --primary-green: #38a169;
    
    --field-gradient: linear-gradient(145deg, #1a1a1a 0%, #0f2d1d 100%);
    --card-gradient: linear-gradient(145deg, #2d3748 0%, rgba(76, 175, 80, 0.1) 100%);
    --lighter-green: #0f2d1d;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(46, 139, 87, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(46, 139, 87, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(76, 175, 80, 0.02) 0%, transparent 30%);
    pointer-events: none;
    z-index: -1;
}

[data-theme="dark"] body::before {
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(46, 139, 87, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(46, 139, 87, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(76, 175, 80, 0.03) 0%, transparent 30%);
}



header {
    background: var(--grass-gradient);
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(46, 139, 87, 0.2);
    position: relative;
    border-bottom: 3px solid var(--gold);
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--gold) 25%, 
        var(--white) 50%, 
        var(--gold) 75%, 
        transparent 100%);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 1.5rem auto;
    padding: 0 20px;
    position: relative;
}


.header-content::before {
    content: '⚽';
    position: absolute;
    font-size: 140px;
    opacity: 0.1;
    right: 30px;
    top: -40px;
    transform: rotate(15deg);
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(15deg); }
    50% { transform: translateY(-20px) rotate(25deg); }
}

.logo-container {
    flex-shrink: 0;
    margin-right: 10px;
    position: relative;
    z-index: 1;
}

.main-logo {
    height: 80px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--white);
    transition: all 0.4s ease;
    background: var(--white);
    padding: 5px;
}

.main-logo:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 10px 25px rgba(46, 139, 87, 0.4);
    border-color: var(--gold);
}

.header-text {
    text-align: left;
    flex: 1;
    min-width: 300px;
    position: relative;
    z-index: 1;
}

h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: left;
    letter-spacing: -0.5px;
}

.citat {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 0;
    text-align: left;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}



.theme-switch-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 18px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-green);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

[data-theme="dark"] .theme-switch-wrapper {
    background: rgba(45, 55, 72, 0.95);
    border: 2px solid var(--light-green);
}

.theme-switch-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.25);
}

.theme-text {
    margin-left: 10px;
    font-size: 14px;
    color: var(--primary-green);
    font-weight: 700;
}

[data-theme="dark"] .theme-text {
    color: var(--light-green);
}

.theme-switch {
    display: inline-block;
    height: 26px;
    position: relative;
    width: 54px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    background-color: white;
    bottom: 4px;
    content: "";
    height: 18px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 18px;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-green);
}

input:checked + .slider:before {
    transform: translateX(28px);
}



.menu {
    background: linear-gradient(to right, 
        rgba(46, 139, 87, 0.95), 
        rgba(31, 107, 65, 0.95));
    padding: 1rem;
    border-radius: 15px;
    margin: 0 auto;
    max-width: 1200px;
    box-shadow: var(--shadow);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

nav ul li a {
    text-decoration: none;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.4s ease;
    padding: 14px 24px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s;
    z-index: -1;
}

nav ul li a:hover::before,
nav ul li a.nav-active::before {
    left: 100%;
}

nav ul li a:hover,
nav ul li a.nav-active {
    background: var(--gold);
    color: var(--dark-green);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

nav ul li a i {
    color: var(--gold);
    transition: color 0.3s ease;
}

nav ul li a:hover i,
nav ul li a.nav-active i {
    color: var(--dark-green);
}



#content {
    flex: 1;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    background: var(--bg-color);
}

.welcome-section {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    border-left: 6px solid var(--primary-green);
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(46, 139, 87, 0.05) 0%, 
        transparent 70%);
    z-index: 0;
}

.welcome-section h2 {
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.welcome-section p {
    color: var(--text-color);
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.page-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    border: 2px solid rgba(46, 139, 87, 0.1);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .page-section {
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.page-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-green);
}

.page-section h2 {
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    padding-bottom: 1rem;
    display: inline-block;
    position: relative;
}

.page-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 4px;
    background: var(--primary-green);
    border-radius: 2px;
}

.page-section h2 i {
    margin-right: 15px;
    color: var(--gold);
}


.featured-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
}

.featured-section {
    position: relative;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 18px;
    border: 2px solid rgba(46, 139, 87, 0.1);
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

[data-theme="dark"] .featured-section {
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.featured-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(46, 139, 87, 0.15);
}

.featured-section:first-child {
    border-left: 6px solid var(--primary-green);
}

.featured-section:last-child {
    border-left: 6px solid var(--interview-blue);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(46, 139, 87, 0.2);
}

.section-header h3 {
    color: var(--primary-green);
    font-size: 1.4rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.featured-section:last-child .section-header h3 {
    color: var(--interview-blue);
}

.view-all-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-all-link:hover {
    color: var(--dark-green);
    transform: translateX(5px);
    gap: 12px;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.featured-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.8rem;
    border-left: 4px solid var(--primary-green);
    transition: all 0.4s ease;
    border: 1px solid rgba(46, 139, 87, 0.1);
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.05);
}

[data-theme="dark"] .featured-item {
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.featured-section:last-child .featured-item {
    border-left: 4px solid var(--interview-blue);
}

.featured-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(46, 139, 87, 0.15);
    border-color: var(--primary-green);
}

.featured-section:last-child .featured-item:hover {
    border-color: var(--interview-blue);
    box-shadow: 0 15px 30px rgba(44, 82, 130, 0.15);
}

.featured-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-badge.článok {
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    color: var(--white);
    box-shadow: 0 3px 8px rgba(46, 139, 87, 0.3);
}

.featured-badge.rozhovor {
    background: linear-gradient(to right, var(--interview-blue), #4299e1);
    color: var(--white);
    box-shadow: 0 3px 8px rgba(44, 82, 130, 0.3);
}

.featured-date {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 12px;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-date::before {
    content: '📅';
    font-size: 0.9rem;
}

.featured-title {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.featured-section:last-child .featured-title {
    color: var(--interview-blue);
}

.featured-excerpt {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.featured-link {
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    color: var(--white);
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.featured-section:last-child .featured-link {
    background: linear-gradient(to right, var(--interview-blue), #4299e1);
}

.featured-link:hover {
    background: linear-gradient(to right, var(--light-green), var(--primary-green));
    transform: translateX(8px);
    color: var(--white);
    gap: 15px;
    box-shadow: 0 6px 15px rgba(46, 139, 87, 0.3);
}

.featured-section:last-child .featured-link:hover {
    background: linear-gradient(to right, #4299e1, var(--interview-blue));
    box-shadow: 0 6px 15px rgba(44, 82, 130, 0.3);
}

.quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(46, 139, 87, 0.1);
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 15px;
    transition: all 0.4s ease;
    border: 2px solid rgba(46, 139, 87, 0.1);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .quick-info-item {
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.quick-info-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary-green);
    box-shadow: 0 15px 35px rgba(46, 139, 87, 0.15);
}

.quick-info-item i {
    font-size: 2rem;
    color: var(--white);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    flex-shrink: 0;
}

.quick-info-item h4 {
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.quick-info-item p {
    color: var(--text-color);
    font-size: 0.95rem;
    margin: 0;
}



.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.content-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 18px;
    border-left: 6px solid var(--primary-green);
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 2px solid rgba(46, 139, 87, 0.1);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .content-card {
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.content-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(46, 139, 87, 0.05) 0%, 
        transparent 70%);
    z-index: 0;
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 139, 87, 0.2);
    border-color: var(--primary-green);
}

.content-card > * {
    position: relative;
    z-index: 1;
}

.content-card h3 {
    color: var(--primary-green);
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.content-card h3 i {
    margin-right: 12px;
    color: var(--gold);
}


.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.article-card {
    background: var(--card-bg);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border-left: 6px solid var(--primary-green);
    border: 2px solid rgba(46, 139, 87, 0.1);
    position: relative;
}

[data-theme="dark"] .article-card {
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 139, 87, 0.2);
    border-color: var(--primary-green);
}

.article-preview {
    padding: 2.5rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.article-date {
    background: linear-gradient(to right, var(--lighter-green), rgba(46, 139, 87, 0.1));
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    color: var(--primary-green);
}

[data-theme="dark"] .article-date {
    background: rgba(76, 175, 80, 0.2);
    color: var(--light-green);
}

.article-category {
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(46, 139, 87, 0.3);
}

.article-title {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--primary-green);
    line-height: 1.3;
    font-weight: 700;
}

.article-excerpt {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more-btn {
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.3);
}

.read-more-btn:hover {
    background: linear-gradient(to right, var(--light-green), var(--primary-green));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(46, 139, 87, 0.4);
    gap: 15px;
}

.article-full {
    display: none;
    padding: 0 2.5rem 2.5rem;
    border-top: 2px solid rgba(46, 139, 87, 0.1);
}

.article-full.active {
    display: block;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.article-image-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--lighter-green), rgba(46, 139, 87, 0.1));
    border-radius: 12px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-weight: 700;
    border: 3px dashed var(--primary-green);
    font-size: 1.1rem;
}

.article-content {
    line-height: 1.7;
    color: var(--text-color);
    font-size: 1.05rem;
}

.article-content p {
    margin-bottom: 1.2rem;
}

.article-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.8rem;
    position: relative;
}





.article-content li::before {
    content: '⚽';
    position: absolute;
    left: -1.5rem;
    color: var(--primary-green);
}

.close-article {
    background: var(--light-gray);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

[data-theme="dark"] .close-article {
    background: #374151;
    color: var(--light-green);
    border: 2px solid var(--light-green);
}

.close-article:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(46, 139, 87, 0.3);
}

[data-theme="dark"] .close-article:hover {
    background: var(--light-green);
    color: var(--dark-gray);
}






.article-meta, .article-full-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.article-date, .article-category {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.article-date {
    background: linear-gradient(to right, var(--lighter-green), rgba(46, 139, 87, 0.1));
    color: var(--primary-green);
}

.article-category {
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    color: var(--white);
    box-shadow: 0 3px 8px rgba(46, 139, 87, 0.3);
}

[data-theme="dark"] .article-date {
    background: rgba(76, 175, 80, 0.2);
    color: var(--light-green);
}

[data-theme="dark"] .article-category {
    background: linear-gradient(to right, var(--light-green), rgba(76, 175, 80, 0.8));
}

.article-meta i, .article-full-meta i {
    font-size: 0.9rem;
}


.article-preview .article-title,
.article-full-header h3 {
    margin-top: 15px;
    margin-bottom: 20px;
    line-height: 1.4;
}
.rozhovory-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
}

.rozhovor-card {
    background: var(--card-bg);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border-left: 6px solid var(--interview-blue);
    border: 2px solid rgba(44, 82, 130, 0.1);
}

[data-theme="dark"] .rozhovor-card {
    border: 2px solid rgba(44, 82, 130, 0.2);
}

.rozhovor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(44, 82, 130, 0.2);
    border-color: var(--interview-blue);
}

.rozhovor-header {
    padding: 2rem 2rem 1.5rem;
}

.rozhovor-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.rozhovor-date {
    background: linear-gradient(to right, rgba(44, 82, 130, 0.1), #e8f0f5);
    color: var(--interview-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.rozhovor-category {
    background: linear-gradient(to right, var(--interview-blue), #4299e1);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(44, 82, 130, 0.3);
}

.rozhovor-title {
    color: var(--interview-blue);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.rozhovor-person {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.rozhovor-person strong {
    color: var(--interview-blue);
    font-weight: 700;
}

.rozhovor-preview {
    padding: 0 2rem 2rem;
}

.rozhovor-excerpt {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.read-rozhovor-btn {
    background: linear-gradient(to right, var(--interview-blue), #4299e1);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.3);
}

.read-rozhovor-btn:hover {
    background: linear-gradient(to right, #4299e1, var(--interview-blue));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44, 82, 130, 0.4);
    gap: 15px;
}

.rozhovor-full {
    display: none;
    padding: 0 2rem 2rem;
    border-top: 2px solid rgba(44, 82, 130, 0.1);
}

.rozhovor-full.active {
    display: block;
    animation: fadeIn 0.6s ease;
}

.rozhovor-image-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #e8f0f5, rgba(44, 82, 130, 0.1));
    border-radius: 12px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--interview-blue);
    font-weight: 700;
    border: 3px dashed var(--interview-blue);
    font-size: 1.1rem;
}

.rozhovor-content {
    line-height: 1.7;
    color: var(--text-color);
    font-size: 1.05rem;
}

.rozhovor-content p {
    margin-bottom: 1.2rem;
}

.rozhovor-content strong {
    color: var(--interview-blue);
    font-weight: 700;
}

.rozhovor-content em {
    color: var(--primary-green);
    font-style: italic;
    font-weight: 500;
}

.close-rozhovor {
    background: var(--light-gray);
    color: var(--interview-blue);
    border: 2px solid var(--interview-blue);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    margin-top: 2rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

[data-theme="dark"] .close-rozhovor {
    background: #374151;
    color: #4299e1;
    border: 2px solid #4299e1;
}

.close-rozhovor:hover {
    background: var(--interview-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(44, 82, 130, 0.3);
}

[data-theme="dark"] .close-rozhovor:hover {
    background: #4299e1;
    color: var(--dark-gray);
}

.section-description {
    color: var(--text-color);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-size: 1.15rem;
    line-height: 1.7;
}



.gallery-section {
    padding: 2.5rem;
    background: var(--card-bg);
    border-radius: 20px;
    margin: 2rem 0;
    border: 2px solid rgba(46, 139, 87, 0.1);
}

[data-theme="dark"] .gallery-section {
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.5s ease;
    aspect-ratio: 4/3;
    background: var(--card-bg);
    cursor: pointer;
    border: 3px solid transparent;
}

[data-theme="dark"] .gallery-item {
    border: 3px solid rgba(76, 175, 80, 0.3);
}

.gallery-item:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(46, 139, 87, 0.25);
    border-color: var(--primary-green);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(46, 139, 87, 0.95));
    color: var(--white);
    padding: 1.8rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .image-caption {
    transform: translateY(0);
}

.image-caption h3 {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.image-caption p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}


.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 15px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 5px solid var(--primary-green);
}

.lightbox-caption {
    color: var(--white);
    max-width: 350px;
}

.lightbox-title {
    color: var(--light-green);
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
}

.lightbox-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1.05rem;
}


.team-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.team-btn {
    padding: 15px 30px;
    border: none;
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    color: var(--white);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
}

.team-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s;
}

.team-btn:hover::before {
    left: 100%;
}

.team-btn:hover {
    background: linear-gradient(to right, var(--light-green), var(--primary-green));
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(46, 139, 87, 0.4);
}

.team-btn.active {
    background: linear-gradient(to right, var(--dark-green), var(--primary-green));
    box-shadow: 0 5px 20px rgba(46, 139, 87, 0.5);
    transform: translateY(-2px);
}

.team-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.team-content.active {
    display: block;
}

.team-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--primary-green);
}

.team-header h3 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.team-coach {
    color: var(--text-color);
    font-size: 1.2rem;
    font-style: italic;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.player-card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid rgba(46, 139, 87, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .player-card {
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.player-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-green);
    box-shadow: 0 20px 40px rgba(46, 139, 87, 0.2);
}

.player-card::before {
    content: '⚽';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 100px;
    opacity: 0.05;
    transform: rotate(25deg);
    z-index: 0;
}

.player-photo {
    all: unset;
    
    width: 180px !important;
    height: 180px !important;
    border-radius: 50% !important;
    border: 6px solid var(--primary-green) !important;
    overflow: hidden !important;
    position: relative !important;
    box-sizing: border-box !important;
    margin: 0 auto 1.5rem !important;
    display: block !important;
    background: var(--white) !important;
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.3) !important;
    
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
}

.player-photo img {
    all: unset;
    
    
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    border-radius: 50% !important;
    
    
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
}

.player-info h4 {
    color: var(--primary-green);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.player-info p {
    margin: 0.5rem 0;
    color: var(--text-color);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}


.player-number-badge {
    position: absolute !important;
    top: 5px !important;
    right: 10px !important;
    background: var(--primary-green) !important;
    color: var(--white) !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 650 !important;
    font-size: 1.6rem !important;
    z-index: 100 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    border: 3px solid var(--white) !important;
}



.football-form-container {
    max-width: 650px;
    margin: 2rem auto;
    padding: 3rem;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 6px solid var(--primary-green);
    border: 2px solid rgba(46, 139, 87, 0.1);
}

[data-theme="dark"] .football-form-container {
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.football-form-container h2 {
    color: var(--primary-green);
    margin-top: 0;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1.05rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(46, 139, 87, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--card-bg);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    border: 2px solid rgba(76, 175, 80, 0.3);
    background: #374151;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.15);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
    margin: 0;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--text-color);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(to right, var(--light-green), var(--primary-green));
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(46, 139, 87, 0.4);
}

.submit-btn::after {
    content: '⚽';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.4s ease;
    font-size: 1.2rem;
}

.submit-btn:hover::after {
    right: 20px;
    opacity: 1;
}



footer {
    background: var(--grass-gradient);
    color: var(--white);
    padding: 4rem 1rem 2rem;
    margin-top: auto;
    position: relative;
    border-top: 3px solid var(--gold);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--gold) 25%, 
        var(--white) 50%, 
        var(--gold) 75%, 
        transparent 100%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    padding: 1.5rem;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 2rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1.2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 1.05rem;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(10px);
}

.footer-links a i {
    width: 24px;
    text-align: center;
    color: var(--gold);
    font-size: 1.1rem;
}

.footer-contact p {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
}

.footer-contact i {
    color: var(--gold);
    width: 24px;
    font-size: 1.1rem;
}

.footer-social {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.4s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--gold);
    color: var(--dark-green);
    transform: translateY(-5px) rotate(15deg);
    border-color: var(--gold);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.footer-bottom p:first-child {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.footer-bottom p:last-child {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}



.news-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border-left: 6px solid var(--primary-green);
    box-shadow: var(--shadow);
    border: 2px solid rgba(46, 139, 87, 0.1);
    transition: all 0.3s ease;
}

[data-theme="dark"] .news-item {
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(46, 139, 87, 0.15);
    border-color: var(--primary-green);
}

.news-item h3 {
    color: var(--primary-green);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.news-date {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
}

.read-more {
    display: inline-block;
    margin-top: 1.2rem;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.read-more:hover {
    color: var(--dark-green);
    transform: translateX(8px);
    gap: 15px;
}



.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    border: 3px solid var(--primary-green);
    animation: modalFadeIn 0.4s ease;
}

[data-theme="dark"] .modal-content {
    background: #2d3748;
    border: 3px solid var(--light-green);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-green);
    background: rgba(46, 139, 87, 0.1);
    transform: rotate(90deg);
}

.modal-body p {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.6;
}

.submitted-data {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--lighter-green), rgba(46, 139, 87, 0.1));
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
}

.submitted-data h4 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.submitted-data p {
    margin: 0.8rem 0;
    font-size: 1rem;
    color: var(--text-color);
}

.modal-footer {
    margin-top: 2rem;
    text-align: center;
}

.modal-ok-btn {
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.4s;
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.3);
}

.modal-ok-btn:hover {
    background: linear-gradient(to right, var(--light-green), var(--primary-green));
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(46, 139, 87, 0.4);
}


.loading-players {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-color);
}

.loading-players .spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 3px solid var(--primary-green);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.error-loading,
.no-players {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 8px;
    margin: 1rem;
}

.no-players {
    color: var(--text-color);
    background: rgba(0, 0, 0, 0.05);
}

.error-loading i,
.no-players i {
    font-size: 3rem;
    margin-bottom: 1rem;
}




.loading-players {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-color);
    background: rgba(46, 139, 87, 0.05);
    border-radius: 12px;
    border: 2px dashed rgba(46, 139, 87, 0.2);
    margin: 1rem;
}

[data-theme="dark"] .loading-players {
    background: rgba(76, 175, 80, 0.1);
    border: 2px dashed rgba(76, 175, 80, 0.3);
}

.loading-players .spinner {
    border: 4px solid rgba(46, 139, 87, 0.1);
    border-radius: 50%;
    border-top: 4px solid var(--primary-green);
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.error-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 12px;
    margin: 1rem;
}

.error-loading i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dc3545;
}


.no-players {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-color);
    background: rgba(0, 0, 0, 0.03);
    border: 1px dashed rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin: 1rem;
}

[data-theme="dark"] .no-players {
    background: rgba(76, 175, 80, 0.05);
    border: 2px dashed rgba(76, 175, 80, 0.2);
}

.no-players i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}


button[onclick*="loadAndDisplayPlayers"] {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

button[onclick*="loadAndDisplayPlayers"]:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}



::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--lighter-green);
    border-radius: 5px;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-green), var(--light-green));
    border-radius: 5px;
    border: 2px solid var(--lighter-green);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--light-green), #2E8B57);
    border: 2px solid #1a1a1a;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--light-green), var(--primary-green));
}



@media (max-width: 1200px) {
    .header-content,
    .menu,
    #content,
    .footer-content,
    .footer-bottom {
        max-width: 1000px;
    }
}

@media (max-width: 992px) {
    .featured-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .header-content::before {
        font-size: 100px;
        right: 20px;
        top: -30px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .header-text {
        text-align: center;
        min-width: auto;
    }
    
    h1 {
        text-align: center;
        font-size: 2.2rem;
    }
    
    .citat {
        text-align: center;
    }
    
    .theme-switch-wrapper {
        top: 15px;
        right: 15px;
        padding: 10px 15px;
    }
    
    .theme-text {
        display: none;
    }
    
    nav ul {
        flex-direction: column;
        gap: 8px;
    }
    
    nav ul li a {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .lightbox-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .team-selector {
        flex-direction: column;
        align-items: center;
    }
    
    .team-btn {
        width: 250px;
    }
    
    .players-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .page-section,
    .welcome-section,
    .gallery-section,
    .football-form-container {
        padding: 2rem;
    }
    
    .article-preview,
    .rozhovor-header,
    .rozhovor-preview {
        padding: 1.8rem;
    }
}

@media (max-width: 576px) {
    .header-content::before {
        font-size: 80px;
        right: 10px;
        top: -20px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .citat {
        font-size: 1rem;
    }
    
    .main-logo {
        height: 70px;
    }
    
    .featured-container {
        gap: 2rem;
    }
    
    .featured-section {
        padding: 1.5rem;
    }
    
    .featured-item {
        padding: 1.5rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .players-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quick-info-item {
        padding: 1.2rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .modal-content {
        padding: 2rem;
        width: 95%;
    }
    
    .page-section h2 {
        font-size: 1.8rem;
    }
    
    .welcome-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
    }
    
    #content {
        padding: 1.5rem 0.5rem;
    }
    
    .header-content {
        padding: 0 10px;
    }
    
    .menu {
        border-radius: 10px;
        margin: 0 10px;
    }
    
    .page-section,
    .welcome-section,
    .gallery-section,
    .football-form-container {
        padding: 1.5rem;
        border-radius: 15px;
        margin: 1.5rem 10px;
    }
    
    .featured-section,
    .article-preview,
    .rozhovor-header,
    .rozhovor-preview {
        padding: 1.2rem;
    }
    
    .footer-section {
        padding: 1rem;
    }
    
    .theme-switch-wrapper {
        top: 10px;
        right: 10px;
    }
    
    .header-content::before {
        display: none;
    }
    
    .team-btn {
        width: 100%;
        max-width: 250px;
    }
}
.floating {
    animation: float 4s ease-in-out infinite;
}

.loading-soccer {
    display: inline-block;
    animation: spin 1.5s linear infinite;
}


.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    z-index: 4000;
    transition: width 0.3s ease;
}

@media print {
    .theme-switch-wrapper,
    .menu,
    .footer-social,
    .modal,
    .lightbox {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .page-section,
    .content-card,
    .article-card,
    .rozhovor-card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        break-inside: avoid;
    }
}


.user-auth-container {
    position: fixed;
    top: 20px;
    right: 120px;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.15);
    border: 2px solid var(--primary-green);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

[data-theme="dark"] .user-auth-container {
    background: rgba(45, 55, 72, 0.95);
    border: 2px solid var(--light-green);
}

.user-auth-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.25);
}


.login-btn {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .login-btn {
    color: var(--light-green);
}

.login-btn:hover {
    color: var(--dark-green);
    gap: 12px;
}


.user-dropdown {
    position: relative;
}

.user-btn {
    background: none;
    border: none;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 0;
}

[data-theme="dark"] .user-btn {
    color: var(--light-green);
}

.user-btn i.fa-caret-down {
    font-size: 12px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 180px;
    display: none;
    z-index: 1002;
    margin-top: 10px;
}

[data-theme="dark"] .dropdown-menu {
    background: #2d3748;
    border: 1px solid #4a5568;
}

.user-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
    border-bottom: 1px solid #eee;
}

[data-theme="dark"] .dropdown-item {
    color: #e0e0e0;
    border-bottom: 1px solid #4a5568;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: var(--lighter-green);
    color: var(--primary-green);
}

[data-theme="dark"] .dropdown-item:hover {
    background-color: #4a5568;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 5px 0;
}

[data-theme="dark"] .dropdown-divider {
    background: #4a5568;
}

@media (max-width: 768px) {
    .user-auth-container {
        right: 100px;
        padding: 6px 12px;
    }
    
    .login-btn, .user-btn {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .user-auth-container {
        right: 80px;
        padding: 5px 10px;
    }
    
    .theme-text {
        display: none;
    }
    
    .login-btn span, .user-btn span:not(.username) {
        display: none;
    }
    
    .login-btn i, .user-btn i:first-child {
        margin: 0;
    }
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2E8B57 0%, #3CB371 50%, #2E8B57 100%);
    padding: 20px;
}

.login-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
    border-left: 6px solid var(--primary-green);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.login-header p {
    color: var(--text-color);
}

.login-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-green);
    font-weight: 700;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(46, 139, 87, 0.2);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: var(--card-bg);
    color: var(--text-color);
}

[data-theme="dark"] .form-control {
    border: 2px solid rgba(76, 175, 80, 0.3);
}

.form-control:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.15);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-login:hover {
    background: linear-gradient(to right, var(--light-green), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 139, 87, 0.3);
}

.login-links {
    margin-top: 20px;
    text-align: center;
}

.login-links a {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 14px;
}

.login-links a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    color: #dc3545;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    color: #28a745;
}


.theme-switch-wrapper,
.user-auth-container {
    position: static !important;
    top: auto !important;
    right: auto !important;
}


.top-controls-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    flex-wrap: nowrap;
}


@media (max-width: 768px) {
    .top-controls-container {
        flex-direction: row;
        gap: 10px;
    }
    
    .theme-switch-wrapper .theme-text,
    .user-auth-container .login-btn span,
    .user-auth-container .user-btn span:not(.fa) {
        display: none;
    }
}

@media (max-width: 576px) {
    .top-controls-container {
        top: 10px;
        right: 10px;
    }
}



.user-dropdown {
    position: relative;
    z-index: 1002;
}

.user-btn {
    background: none;
    border: none;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .user-btn {
    color: var(--light-green);
}

.user-btn:hover {
    background: rgba(46, 139, 87, 0.1);
    transform: translateY(-1px);
}

.user-btn i.fa-caret-down {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.user-btn:hover i.fa-caret-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--white);
    border: 1px solid rgba(46, 139, 87, 0.2);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.15);
    min-width: 200px;
    display: none;
    z-index: 1003;
    overflow: hidden;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

[data-theme="dark"] .dropdown-menu {
    background: #2d3748;
    border: 1px solid rgba(76, 175, 80, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.dropdown-menu.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: var(--white);
    transform: rotate(45deg);
    border-left: 1px solid rgba(46, 139, 87, 0.2);
    border-top: 1px solid rgba(46, 139, 87, 0.2);
}

[data-theme="dark"] .dropdown-menu::before {
    background: #2d3748;
    border-left: 1px solid rgba(76, 175, 80, 0.3);
    border-top: 1px solid rgba(76, 175, 80, 0.3);
}

.dropdown-item {
    display: block;
    padding: 15px 20px;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

[data-theme="dark"] .dropdown-item {
    color: #e0e0e0;
    border-bottom: 1px solid rgba(76, 175, 80, 0.1);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: var(--lighter-green);
    color: var(--primary-green);
    padding-left: 25px;
}

[data-theme="dark"] .dropdown-item:hover {
    background-color: rgba(76, 175, 80, 0.2);
    color: var(--light-green);
}

.dropdown-item.logout-item:hover {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

[data-theme="dark"] .dropdown-item.logout-item:hover {
    background-color: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}


@media (max-width: 768px) {
    .dropdown-menu {
        min-width: 180px;
        right: -10px;
    }
    
    .dropdown-menu::before {
        right: 15px;
    }
}

@media (max-width: 576px) {
    .user-btn span {
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .dropdown-menu {
        min-width: 160px;
        right: -20px;
    }
}




.dropdown-divider {
    height: 1px;
    background: rgba(46, 139, 87, 0.2);
    margin: 8px 0;
    border: none;
}

[data-theme="dark"] .dropdown-divider {
    background: rgba(76, 175, 80, 0.3);
}


.dropdown-item[href="admin.php"] {
    background: linear-gradient(to right, rgba(46, 139, 87, 0.1), rgba(76, 175, 80, 0.05));
    border-left: 3px solid var(--primary-green);
    font-weight: 700;
    color: var(--primary-green) !important;
}

[data-theme="dark"] .dropdown-item[href="admin.php"] {
    background: rgba(76, 175, 80, 0.15);
    border-left: 3px solid var(--light-green);
    color: var(--light-green) !important;
}

.dropdown-item[href="admin.php"]:hover {
    background: linear-gradient(to right, rgba(46, 139, 87, 0.2), rgba(76, 175, 80, 0.1));
    padding-left: 25px;
}

.dropdown-item[href="admin.php"] i {
    color: var(--primary-green) !important;
}

[data-theme="dark"] .dropdown-item[href="admin.php"] i {
    color: var(--light-green) !important;
}


.badge.bg-warning {
    background: linear-gradient(135deg, var(--gold), #FFED4E) !important;
    color: var(--dark-green) !important;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

[data-theme="dark"] .badge.bg-warning {
    color: var(--dark-gray) !important;
}



.user-dropdown {
    position: relative;
    z-index: 1002;
}




.checkbox-group {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 1.5rem !important;
}

.checkbox-group input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    margin-top: 2px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    accent-color: var(--primary-green) !important;
}

[data-theme="dark"] .checkbox-group input[type="checkbox"] {
    accent-color: var(--light-green) !important;
}

.checkbox-group label {
    margin: 0 !important;
    font-weight: 600 !important;
    color: var(--text-color) !important;
    text-align: left !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
    user-select: none !important;
    display: block !important;
    flex: 1 !important;
}

.checkbox-group label strong {
    color: var(--primary-green) !important;
    font-weight: 700 !important;
}

[data-theme="dark"] .checkbox-group label strong {
    color: var(--light-green) !important;
}


.checkbox-group:hover label {
    color: var(--primary-green) !important;
}

[data-theme="dark"] .checkbox-group:hover label {
    color: var(--light-green) !important;
}


.checkbox-group input[required] + label::after {
    content: " *" !important;
    color: #dc3545 !important;
    font-weight: 700 !important;
}


.checkbox-group label a {
    color: var(--primary-green) !important;
    text-decoration: underline !important;
    font-weight: 700 !important;
}

.checkbox-group label a:hover {
    color: var(--dark-green) !important;
    text-decoration: none !important;
}

[data-theme="dark"] .checkbox-group label a {
    color: var(--light-green) !important;
}

[data-theme="dark"] .checkbox-group label a:hover {
    color: #90ee90 !important;
}


.football-form .checkbox-group {
    background: rgba(46, 139, 87, 0.05) !important;
    padding: 15px !important;
    border-radius: 8px !important;
    border-left: 3px solid var(--primary-green) !important;
    transition: all 0.3s ease !important;
}

[data-theme="dark"] .football-form .checkbox-group {
    background: rgba(76, 175, 80, 0.1) !important;
    border-left: 3px solid var(--light-green) !important;
}

.football-form .checkbox-group:hover {
    background: rgba(46, 139, 87, 0.1) !important;
    transform: translateX(5px) !important;
}

[data-theme="dark"] .football-form .checkbox-group:hover {
    background: rgba(76, 175, 80, 0.15) !important;
}


@media (max-width: 768px) {
    .checkbox-group {
        align-items: flex-start !important;
        gap: 10px !important;
    }
    
    .checkbox-group input[type="checkbox"] {
        margin-top: 3px !important;
        width: 18px !important;
        height: 18px !important;
    }
}

@media (max-width: 480px) {
    .checkbox-group {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    
    .checkbox-group label {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }
}

.user-btn {
    background: none;
    border: none;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .user-btn {
    color: var(--light-green);
}

.user-btn:hover {
    background: rgba(46, 139, 87, 0.1);
    transform: translateY(-1px);
}

.user-btn i.fa-caret-down {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.user-btn:hover i.fa-caret-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--white);
    border: 1px solid rgba(46, 139, 87, 0.2);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.15);
    min-width: 200px;
    display: none;
    z-index: 1003;
    overflow: hidden;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

[data-theme="dark"] .dropdown-menu {
    background: #2d3748;
    border: 1px solid rgba(76, 175, 80, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.dropdown-menu.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: var(--white);
    transform: rotate(45deg);
    border-left: 1px solid rgba(46, 139, 87, 0.2);
    border-top: 1px solid rgba(46, 139, 87, 0.2);
}

[data-theme="dark"] .dropdown-menu::before {
    background: #2d3748;
    border-left: 1px solid rgba(76, 175, 80, 0.3);
    border-top: 1px solid rgba(76, 175, 80, 0.3);
}

.dropdown-item {
    display: block;
    padding: 15px 20px;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

[data-theme="dark"] .dropdown-item {
    color: #e0e0e0;
    border-bottom: 1px solid rgba(76, 175, 80, 0.1);
}

.dropdown-item:last-child {
    border-bottom: none;
}


.dropdown-item:hover {
    background-color: var(--lighter-green);
    color: var(--primary-green);
    padding-left: 25px;
}

[data-theme="dark"] .dropdown-item:hover {
    background-color: rgba(76, 175, 80, 0.2);
    color: var(--light-green);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}



@media (max-width: 768px) {
    .dropdown-menu {
        min-width: 180px;
        right: -10px;
    }
    
    .dropdown-menu::before {
        right: 15px;
    }
}

@media (max-width: 576px) {
    .user-btn span {
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .dropdown-menu {
        min-width: 160px;
        right: -20px;
    }
}


.poll-sidebar {
    position: fixed;
    top: 120px;
    right: 20px;
    width: 320px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(46, 139, 87, 0.2);
    border: 2px solid var(--primary-green);
    z-index: 900;
    overflow: hidden;
    transition: all 0.3s ease;
    max-height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
}

.poll-sidebar.collapsed {
    width: 60px;
    height: 60px;
}

.poll-header {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.poll-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.poll-toggle {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.poll-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(180deg);
}

.poll-content {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    display: block;
}

.poll-sidebar.collapsed .poll-content {
    display: none;
}

.poll-description {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.poll-player {
    background: rgba(46, 139, 87, 0.05);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(46, 139, 87, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.poll-player:hover {
    background: rgba(46, 139, 87, 0.1);
    transform: translateX(-5px);
    border-color: var(--primary-green);
}

.poll-player.selected {
    background: rgba(46, 139, 87, 0.15);
    border: 2px solid var(--primary-green);
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.2);
}

.player-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.player-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-green);
    flex-shrink: 0;
}

.player-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-details h4 {
    margin: 0 0 5px 0;
    color: var(--primary-green);
    font-size: 1rem;
}



.player-details p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.85rem;
    opacity: 0.8;
}

.player-number-badge {
    background: var(--primary-green);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    margin-left: auto;
}

.vote-form {
    margin-top: 20px;
    display: block;
}

.poll-sidebar.collapsed .vote-form {
    display: none;
}

.email-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(46, 139, 87, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    background: var(--card-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.email-input:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.vote-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vote-button:hover:not(:disabled) {
    background: linear-gradient(to right, var(--light-green), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
}

.vote-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.poll-results-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--primary-green);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.poll-results-link:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

.poll-message {
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.9rem;
    display: none;
}

.poll-message.success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    color: #28a745;
    display: block;
}

.poll-message.error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    color: #dc3545;
    display: block;
}

.poll-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(46, 139, 87, 0.1);
    font-size: 0.85rem;
    color: var(--text-color);
}

.poll-sidebar.collapsed .poll-stats {
    display: none;
}


@media (max-width: 1200px) {
    .poll-sidebar {
        width: 300px;
    }
}

@media (max-width: 992px) {
    .poll-sidebar {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 500px;
        margin: 20px auto;
        max-height: none;
    }
    
    .poll-sidebar.collapsed {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 576px) {
    .poll-sidebar {
        width: 95%;
        margin: 20px auto;
    }
    
    .poll-header h3 {
        font-size: 1rem;
    }
    
    .player-info {
        gap: 10px;
    }
    
    .player-photo {
        width: 40px;
        height: 40px;
    }
}



.poll-fixed-widget {
    position: fixed;
    top: 150px;
    right: 20px;
    width: 250px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(46, 139, 87, 0.15);
    border: 2px solid var(--primary-green);
    z-index: 900;
    overflow: hidden;
}

.poll-widget-header {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    padding: 12px 15px;
    text-align: center;
    border-bottom: 2px solid var(--gold);
}

.poll-widget-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.poll-widget-table {
    width: 100%;
    border-collapse: collapse;
}

.poll-widget-table tr {
    border-bottom: 1px solid rgba(46, 139, 87, 0.1);
    transition: background-color 0.2s;
}

.poll-widget-table tr:last-child {
    border-bottom: none;
}

.poll-widget-table tr:hover {
    background: rgba(46, 139, 87, 0.05);
}

.poll-widget-table td {
    padding: 10px 15px;
    vertical-align: middle;
}

.player-name {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 0.9rem;
}

.vote-button-cell {
    text-align: center;
    width: 60px;
}

.vote-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s;
}

.vote-btn:hover:not(:disabled) {
    background: var(--dark-green);
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(46, 139, 87, 0.3);
}

.vote-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.vote-btn.voted {
    background: var(--gold);
    color: var(--dark-green);
}

.vote-form-container {
    padding: 15px;
    border-top: 1px solid rgba(46, 139, 87, 0.1);
}

.poll-email-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid rgba(46, 139, 87, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    background: var(--card-bg);
    color: var(--text-color);
}

.poll-email-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(46, 139, 87, 0.1);
}

.submit-vote-btn {
    width: 100%;
    padding: 8px;
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-vote-btn:hover:not(:disabled) {
    background: linear-gradient(to right, var(--light-green), var(--primary-green));
}

.submit-vote-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.poll-message-small {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 8px;
    padding: 5px;
    border-radius: 4px;
}

.poll-message-small.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.poll-message-small.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.poll-month-info {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-color);
    padding: 5px 15px;
    background: rgba(46, 139, 87, 0.05);
    border-top: 1px solid rgba(46, 139, 87, 0.1);
}

@media (max-width: 1200px) {
    .poll-fixed-widget {
        right: 10px;
        width: 230px;
    }
}

@media (max-width: 768px) {
    .poll-fixed-widget {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 400px;
        margin: 20px auto;
    }
}



.poll-fixed-widget {
    position: fixed;
    top: 150px;
    right: 20px;
    width: 250px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(46, 139, 87, 0.15);
    border: 2px solid var(--primary-green);
    z-index: 900;
    overflow: hidden;
}

.poll-widget-header {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    padding: 12px 15px;
    text-align: center;
    border-bottom: 2px solid var(--gold);
}

.poll-widget-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.poll-month-info {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-color);
    padding: 5px 15px;
    background: rgba(46, 139, 87, 0.05);
    border-top: 1px solid rgba(46, 139, 87, 0.1);
}

.poll-widget-table {
    width: 100%;
    border-collapse: collapse;
}

.poll-widget-table tr {
    border-bottom: 1px solid rgba(46, 139, 87, 0.1);
    transition: background-color 0.2s;
}

.poll-widget-table tr:last-child {
    border-bottom: none;
}

.poll-widget-table tr:hover {
    background: rgba(46, 139, 87, 0.05);
}

.poll-widget-table td {
    padding: 10px 15px;
    vertical-align: middle;
}

.player-name {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 0.9rem;
}

.vote-button-cell {
    text-align: center;
    width: 60px;
}

.vote-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s;
}

.vote-btn:hover:not(:disabled) {
    background: var(--dark-green);
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(46, 139, 87, 0.3);
}

.vote-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.vote-btn.voted {
    background: var(--gold);
    color: var(--dark-green);
}

.vote-form-container {
    padding: 15px;
    border-top: 1px solid rgba(46, 139, 87, 0.1);
}

.poll-email-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid rgba(46, 139, 87, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    background: var(--card-bg);
    color: var(--text-color);
}

.poll-email-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(46, 139, 87, 0.1);
}

.submit-vote-btn {
    width: 100%;
    padding: 8px;
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-vote-btn:hover:not(:disabled) {
    background: linear-gradient(to right, var(--light-green), var(--primary-green));
}

.submit-vote-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.poll-message-small {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 8px;
    padding: 5px;
    border-radius: 4px;
}

.poll-message-small.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.poll-message-small.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}


@media (max-width: 1200px) {
    .poll-fixed-widget {
        right: 10px;
        width: 230px;
    }
}

@media (max-width: 768px) {
    .poll-fixed-widget {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 400px;
        margin: 20px auto;
    }
}




.poll-fixed-widget {
    position: fixed;
    top: 150px;
    right: 20px;
    width: 250px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(46, 139, 87, 0.15);
    border: 2px solid var(--primary-green);
    z-index: 900;
    overflow: hidden;
    transition: top 0.3s ease;
}

.poll-widget-header {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    padding: 12px 15px;
    text-align: center;
    border-bottom: 2px solid var(--gold);
}

.poll-widget-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.poll-month-info {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-color);
    padding: 5px 15px;
    background: rgba(46, 139, 87, 0.05);
    border-top: 1px solid rgba(46, 139, 87, 0.1);
}

.poll-widget-table {
    width: 100%;
    border-collapse: collapse;
}

.poll-widget-table tr {
    border-bottom: 1px solid rgba(46, 139, 87, 0.1);
    transition: background-color 0.2s;
}

.poll-widget-table tr:last-child {
    border-bottom: none;
}

.poll-widget-table tr:hover {
    background: rgba(46, 139, 87, 0.05);
}

.poll-widget-table td {
    padding: 10px 15px;
    vertical-align: middle;
}

.player-name {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 0.9rem;
}

.vote-button-cell {
    text-align: center;
    width: 60px;
}

.vote-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s;
}

.vote-btn:hover:not(:disabled) {
    background: var(--dark-green);
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(46, 139, 87, 0.3);
}

.vote-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.vote-btn.voted {
    background: var(--gold);
    color: var(--dark-green);
}

.vote-form-container {
    padding: 15px;
    border-top: 1px solid rgba(46, 139, 87, 0.1);
}

.poll-email-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid rgba(46, 139, 87, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    background: var(--card-bg);
    color: var(--text-color);
}

.poll-email-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(46, 139, 87, 0.1);
}

.submit-vote-btn {
    width: 100%;
    padding: 8px;
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-vote-btn:hover:not(:disabled) {
    background: linear-gradient(to right, var(--light-green), var(--primary-green));
}

.submit-vote-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.poll-message-small {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 8px;
    padding: 5px;
    border-radius: 4px;
    display: none;
}

.poll-message-small.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    display: block;
}

.poll-message-small.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    display: block;
}

@media (max-width: 1200px) {
    .poll-fixed-widget {
        right: 10px;
        width: 230px;
    }
}

@media (max-width: 768px) {
    .poll-fixed-widget {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 400px;
        margin: 20px auto;
    }
}

.poll-player-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-green);
    margin-right: 10px;
}

.poll-widget-table tr td:first-child {
    display: flex;
    align-items: center;
    padding: 8px 5px;
}

.poll-widget-table .player-name {
    font-weight: 600;
    color: var(--text-color);
}

.poll-widget-table .player-info {
    display: flex;
    flex-direction: column;
}

.poll-widget-table .player-position {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.poll-widget-table .player-team {
    font-size: 0.75rem;
    color: var(--primary-green);
    margin-top: 1px;
    font-weight: 500;
}

.refresh-players-btn {
    background: none;
    border: none;
    color: var(--primary-green);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s;
}

.refresh-players-btn:hover {
    background: var(--hover-bg);
    transform: rotate(180deg);
}

.poll-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

#pollLoading {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.poll-no-players {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.poll-no-players i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
}

.vote-btn.selected {
    background-color: var(--primary-green) !important;
    color: white !important;
    transform: scale(1.1);
}

.player-photo-container {
    display: flex;
    align-items: center;
}

.poll-player-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-green);
    margin-right: 10px;
}

@media (max-width: 768px) {
    .poll-player-photo {
        width: 35px;
        height: 35px;
    }
    
    .poll-widget-table .player-position {
        font-size: 0.75rem;
    }
    
    .poll-widget-table .player-team {
        font-size: 0.7rem;
    }
}


@media (max-width: 1400px) {
    .header-content,
    .menu,
    #content,
    .footer-content,
    .footer-bottom {
        max-width: 1140px;
    }
}


@media (max-width: 1200px) {
    .header-content,
    .menu,
    #content,
    .footer-content,
    .footer-bottom {
        max-width: 960px;
    }
    
    .featured-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .poll-fixed-widget {
        right: 10px;
        width: 230px;
    }
    
    .header-content::before {
        font-size: 100px;
        right: 20px;
        top: -30px;
    }
}


@media (max-width: 992px) {
    .header-content,
    .menu,
    #content,
    .footer-content {
        max-width: 720px;
        padding: 0 15px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    

    .featured-section {
        padding: 1.8rem;
    }
    
    .content-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .players-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.8rem;
    }
    
    .page-section,
    .welcome-section,
    .gallery-section,
    .football-form-container {
        padding: 2rem;
    }
    

    .poll-fixed-widget {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 500px;
        margin: 20px auto;
    }
    
   
    .top-controls-container {
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }
    
    .theme-switch-wrapper .theme-text,
    .user-auth-container .login-btn span,
    .user-auth-container .user-btn span:not(.username) {
        display: none;
    }
}


@media (max-width: 768px) {
    body {
        padding: 0;
        overflow-x: hidden;
    }
    
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .header-text {
        text-align: center;
        min-width: auto;
    }
    
    h1 {
        text-align: center;
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .citat {
        text-align: center;
        font-size: 1.1rem;
    }
    
    .logo-container {
        margin-right: 0;
    }
    
    .main-logo {
        height: 70px;
    }
    
    .header-content::before {
        font-size: 80px;
        right: 10px;
        top: -20px;
    }
    
   
    nav ul {
        flex-direction: column;
        gap: 8px;
    }
    
    nav ul li a {
        width: 100%;
        max-width: 280px;
        min-width: auto;
        padding: 12px 20px;
        font-size: 15px;
        justify-content: center;
    }
    
    /* HLAVNÝ OBSAH */
    #content {
        padding: 1.5rem 0.8rem;
    }
    
    .welcome-section {
        padding: 2.5rem 1.5rem;
        margin: 1.5rem 0;
    }
    
    .welcome-section h2 {
        font-size: 2rem;
    }
    
    .page-section {
        padding: 1.8rem;
        margin: 1.5rem 0;
        border-radius: 15px;
    }
    
    .page-section h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .page-section h2::after {
        left: 10%;
        width: 80%;
    }
    
    /* ČLÁNKY A ROZHOVORY */
    .featured-container {
        gap: 2rem;
    }
    
    .featured-section {
        padding: 1.5rem;
    }
    
    .featured-item {
        padding: 1.5rem;
    }
    
    .articles-grid,
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* GALÉRIA */
    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
    
    .image-caption {
        padding: 1.2rem;
        transform: translateY(0);
        position: relative;
        background: linear-gradient(transparent, rgba(46, 139, 87, 0.9));
    }
    
    /* LIGHTBOX */
    .lightbox-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .lightbox-image {
        max-width: 95%;
        max-height: 60vh;
    }
    
    /* TÍMY A HRÁČI */
    .team-selector {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .team-btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
    }
    
    .players-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .player-card {
        padding: 1.5rem;
    }
    
    .player-photo {
        width: 140px !important;
        height: 140px !important;
        margin: 0 auto 1.2rem !important;
    }
    
    /* FORMULÁRE */
    .football-form-container {
        padding: 1.8rem;
        margin: 1.5rem 0;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 16px;
    }
    
    /* QUICK INFO */
    .quick-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2.5rem;
    }
    
    .quick-info-item {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
    }
    
    .quick-info-item i {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    /* FOOTER */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section {
        padding: 1.2rem;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* TOP CONTROLS */
    .top-controls-container {
        position: fixed;
        top: 15px;
        right: 15px;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
    }
    
    .theme-switch-wrapper {
        padding: 8px 12px;
    }
    
    .user-auth-container {
        padding: 6px 12px;
    }
    
    .login-btn, .user-btn {
        font-size: 12px;
        gap: 5px;
    }
    
    .login-btn span, .user-btn span:not(.username) {
        display: none;
    }
    
    /* MODÁLY */
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    /* ANKETA */
    .poll-player-photo {
        width: 35px;
        height: 35px;
    }
    
    .poll-widget-table .player-position {
        font-size: 0.75rem;
    }
    
    .poll-widget-table .player-team {
        font-size: 0.7rem;
    }
}

/* -------------------- */
/* MALÉ MOBILY (480px - 576px) */
/* -------------------- */
@media (max-width: 576px) {
    /* EŠTE MENŠIE TEXTY */
    h1 {
        font-size: 1.8rem;
    }
    
    .citat {
        font-size: 1rem;
    }
    
    .main-logo {
        height: 65px;
    }
    
    .header-content::before {
        display: none;
    }
    
    /* MENŠIE PADDINGY */
    #content {
        padding: 1rem 0.5rem;
    }
    
    .menu {
        padding: 0.8rem;
        border-radius: 12px;
        margin: 0 0.5rem;
    }
    
    nav ul li a {
        padding: 10px 16px;
        font-size: 14px;
        max-width: 250px;
    }
    
    .page-section,
    .welcome-section,
    .gallery-section,
    .football-form-container,
    .featured-section {
        padding: 1.5rem 1rem;
        margin: 1rem 0.5rem;
        border-radius: 12px;
    }
    
    .featured-item,
    .article-preview,
    .rozhovor-header,
    .rozhovor-preview {
        padding: 1.2rem;
    }
    
    /* MENŠIE FORMULÁRE */
    .football-form-container h2 {
        font-size: 1.6rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    /* CHECKBOXY */
    .checkbox-group {
        align-items: flex-start !important;
        gap: 10px !important;
    }
    
    .checkbox-group input[type="checkbox"] {
        width: 18px !important;
        height: 18px !important;
        margin-top: 3px !important;
    }
    
    .checkbox-group label {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }
    
    /* ANKETA */
    .poll-fixed-widget {
        width: calc(100% - 1rem);
        margin: 1rem auto;
    }
    
    /* USER DROPDOWN */
    .user-btn span.username {
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .dropdown-menu {
        min-width: 160px;
        right: -20px;
    }
    
    .dropdown-menu::before {
        right: 15px;
    }
}

/* -------------------- */
/* VEĽMI MALÉ MOBILY (do 480px) */
/* -------------------- */
@media (max-width: 480px) {
    /* EXTRA MALÉ ÚPRAVY */
    h1 {
        font-size: 1.6rem;
    }
    
    .citat {
        font-size: 0.95rem;
    }
    
    .main-logo {
        height: 60px;
    }
    
    /* NAVIGÁCIA - ZMENŠIŤ */
    nav ul li a {
        padding: 8px 14px;
        font-size: 13px;
        max-width: 220px;
    }
    
    /* ODSTRÁNIŤ ZBYTOČNÉ ANIMÁCIE NA MOBILE */
    .gallery-item:hover {
        transform: translateY(-5px) scale(1.02);
    }
    
    .featured-item:hover {
        transform: translateY(-5px);
    }
    
    .content-card:hover {
        transform: translateY(-5px);
    }
    
    /* MENŠIE GAPY */
    .content-grid,
    .articles-grid,
    .players-grid,
    .gallery-container {
        gap: 1rem;
    }
    
    /* TOP CONTROLS - KOMPAKTNEJŠIE */
    .top-controls-container {
        top: 10px;
        right: 10px;
        gap: 8px;
    }
    
    .theme-switch-wrapper {
        padding: 6px 10px;
    }
    
    .user-auth-container {
        padding: 5px 8px;
    }
    
    .theme-switch {
        width: 48px;
        height: 24px;
    }
    
    .slider:before {
        height: 16px;
        width: 16px;
    }
    
    input:checked + .slider:before {
        transform: translateX(24px);
    }
}

/* -------------------- */
/* ORIENTÁCIA NAŠÍRKU NA MOBILE */
/* -------------------- */
@media (max-width: 768px) and (orientation: landscape) {
    .header-content {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }
    
    .header-text {
        text-align: left;
    }
    
    h1 {
        text-align: left;
        font-size: 1.8rem;
    }
    
    .citat {
        text-align: left;
    }
    
    .featured-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}


@media (min-width: 768px) and (max-height: 600px) {
    .poll-fixed-widget {
        top: 100px;
    }
    
    .top-controls-container {
        top: 10px;
    }
    
    .header {
        padding: 1rem;
    }
    
    .header-content {
        margin-bottom: 1rem;
    }
}


@media (max-width: 768px) {
    [data-theme="dark"] .menu {
        background: linear-gradient(to right, 
            rgba(46, 139, 87, 0.9), 
            rgba(31, 107, 65, 0.9));
    }
    
    [data-theme="dark"] .page-section,
    [data-theme="dark"] .content-card,
    [data-theme="dark"] .featured-section {
        border-color: rgba(76, 175, 80, 0.15);
    }
    
    [data-theme="dark"] .gallery-item {
        border-color: rgba(76, 175, 80, 0.2);
    }
}


@media print {
    .theme-switch-wrapper,
    .user-auth-container,
    .menu,
    .footer-social,
    .modal,
    .lightbox,
    .poll-fixed-widget,
    .top-controls-container {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
    }
    
    .page-section,
    .content-card,
    .article-card,
    .rozhovor-card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
    
    footer {
        background: white !important;
        color: black !important;
        border-top: 1px solid #ddd;
    }
}



.poll-icon-container {
    position: fixed;
    top: 120px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 899;
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
    border: 3px solid var(--white);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(46, 139, 87, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
    }
}

.poll-icon-container:hover {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 10px 30px rgba(46, 139, 87, 0.6);
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
}

.poll-icon-container.active {
    background: linear-gradient(135deg, var(--gold), #FFD166);
    transform: scale(1.1) rotate(0deg);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.poll-icon {
    font-size: 28px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.poll-icon-container:hover .poll-icon {
    transform: scale(1.2);
}

.poll-icon-container.active .poll-icon {
    color: var(--dark-green);
    transform: rotate(360deg);
}


.poll-fixed-widget {
    position: fixed;
    top: 120px;
    right: 30px;
    width: 250px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(46, 139, 87, 0.15);
    border: 2px solid var(--primary-green);
    z-index: 900;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    visibility: hidden;
}

.poll-fixed-widget.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    right: 100px; 
}


.poll-fixed-widget.active {
    top: 120px;
    right: 100px;
}


@media (max-width: 768px) {
    .poll-icon-container {
        top: 100px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .poll-icon {
        font-size: 22px;
    }
    
    .poll-fixed-widget.active {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1);
        width: 90%;
        max-width: 400px;
        right: auto;
        z-index: 1000;
    }
    
    .poll-fixed-widget.active ~ .poll-icon-container {
        opacity: 0.5;
        pointer-events: none;
    }
}


.article-full-header {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(46, 139, 87, 0.15);
}

.article-full-title {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 25px;
    line-height: 1.3;
    font-weight: 800;
}

.article-full-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px; 
    padding-top: 15px;
    border-top: 1px solid rgba(46, 139, 87, 0.1);
}


@media (max-width: 768px) {
    .article-full-header {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    .article-full-title {
        font-size: 1.7rem;
        margin-bottom: 20px;
    }
    
    .article-full-meta {
        gap: 10px;
        margin-top: 12px;
        padding-top: 12px;
    }
}

@media (max-width: 480px) {
    .article-full-title {
        font-size: 1.5rem;
        margin-bottom: 18px;
    }
    
    .article-full-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}



@media (max-width: 480px) {
    .poll-icon-container {
        top: 90px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .poll-fixed-widget.active {
        width: 95%;
        max-height: 80vh;
        overflow-y: auto;
    }
}



.poll-widget-table tr {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.poll-widget-table tr.player-selected {
    background: rgba(46, 139, 87, 0.1);
    border-left: 3px solid var(--primary-green);
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(46, 139, 87, 0.15);
}

.poll-widget-table tr.player-selected td:first-child {
    background: linear-gradient(to right, rgba(46, 139, 87, 0.05), transparent);
}

.poll-widget-table tr.player-selected .player-name {
    color: var(--dark-green);
    font-weight: 700;
}

.poll-widget-table tr.player-selected .player-photo-container {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.poll-widget-table tr.player-selected .poll-player-photo {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}


.vote-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}



    .rozhovor-image-container {
        width: 100%;
        height: 300px;
        overflow: hidden;
        border-radius: 10px;
        margin-bottom: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
    
    .rozhovor-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .rozhovor-image-container:hover .rozhovor-image {
        transform: scale(1.05);
    }
    
    
    
    @media (max-width: 768px) {
        .rozhovor-image-container {
            height: 200px;
        }
    }


.vote-btn:hover:not(.selected) {
    background: var(--dark-green);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.3);
}

.vote-btn.selected {
    background: linear-gradient(135deg, var(--gold), #FFD166);
    color: var(--dark-green);
    transform: scale(1.15);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    border: 2px solid var(--white);
}

.vote-btn.selected:hover {
    background: linear-gradient(135deg, #FFD166, var(--gold));
    transform: scale(1.2);
}

.vote-btn i {
    transition: all 0.3s ease;
}

.vote-btn.selected i {
    animation: checkPop 0.4s ease;
}

@keyframes checkPop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    70% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


@keyframes selectPlayer {
    0% {
        background-color: transparent;
        transform: translateX(0);
    }
    50% {
        background-color: rgba(46, 139, 87, 0.2);
        transform: translateX(10px);
    }
    100% {
        background-color: rgba(46, 139, 87, 0.1);
        transform: translateX(5px);
    }
}

.poll-widget-table tr.player-selected {
    animation: selectPlayer 0.5s ease forwards;
}

.player-selected-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--gold);
    color: var(--dark-green);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 900;
    border: 2px solid var(--white);
    z-index: 10;
    animation: badgeAppear 0.5s ease;
}

@keyframes badgeAppear {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}




.poll-email-input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.2);
}

#submitVote:not(:disabled) {
    background: linear-gradient(to right, var(--primary-green), var(--dark-green));
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.3);
}

#submitVote:not(:disabled):hover {
    background: linear-gradient(to right, var(--dark-green), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(46, 139, 87, 0.4);
}


@media (max-width: 768px) {
    .poll-widget-table tr.player-selected {
        background: rgba(46, 139, 87, 0.15);
        border-left: 4px solid var(--primary-green);
    }
    
    .vote-btn {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .vote-btn.selected {
        width: 38px;
        height: 38px;
    }
}

[data-theme="dark"] .poll-widget-table tr.player-selected {
    background: rgba(76, 175, 80, 0.15);
    border-left: 3px solid var(--light-green);
}

[data-theme="dark"] .poll-widget-table tr.player-selected .player-name {
    color: var(--light-green);
}

[data-theme="dark"] .vote-btn {
    background: var(--light-green);
}

[data-theme="dark"] .vote-btn:hover:not(.selected) {
    background: #45a049;
}

[data-theme="dark"] .vote-btn.selected {
    background: linear-gradient(135deg, var(--gold), #FFD166);
    color: #1a1a1a;
}

.poll-fixed-widget {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.vote-btn, 
.poll-player-photo,
.player-name {
    cursor: pointer;
}


@media (max-width: 768px) {
    .vote-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .poll-player-photo {
        min-height: 44px;
        min-width: 44px;
    }
}

.poll-player-photo.photo-selected {
    border: 3px solid var(--gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
    transition: all 0.3s ease;
}


.player-selected .player-name {
    color: var(--dark-green) !important;
    font-weight: 900;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}


.poll-widget-table tr.player-selected {
    background: linear-gradient(90deg, 
        rgba(46, 139, 87, 0.1) 0%, 
        rgba(46, 139, 87, 0.05) 50%, 
        transparent 100%);
    border-left: 4px solid var(--primary-green);
    position: relative;
}


.poll-widget-table tr.player-selected::before {
    content: '→';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}



.rozhovor-image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.rozhovor-image-container {
    position: relative;
    width: 100%;
    max-width: 400px; 
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--interview-blue);
    background: #f8f9fa;
}

.rozhovor-image {
    width: 100%;
    height: auto; 
    max-height: 300px;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 5px; 
    background: white;
}

.rozhovor-image-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--interview-blue);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rozhovor-person-summary {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.person-name {
    color: var(--interview-blue);
    font-size: 1.4rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.person-role {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(44, 82, 130, 0.1);
}

.person-quote {
    background: rgba(44, 82, 130, 0.05);
    padding: 1.2rem;
    border-radius: 8px;
    border-left: 3px solid var(--interview-blue);
    text-align: left;
}

.person-quote i.fa-quote-left {
    color: var(--interview-blue);
    font-size: 1.2rem;
    float: left;
    margin-right: 10px;
    margin-top: 5px;
}

.person-quote p {
    margin: 0;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-color);
}


@media (max-width: 768px) {
    .rozhovor-image-container {
        max-width: 320px;
        border-width: 2px;
    }
    
    .rozhovor-image {
        max-height: 250px;
    }
    
    .person-name {
        font-size: 1.2rem;
    }
    
    .person-quote {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .rozhovor-image-container {
        max-width: 280px;
    }
    
    .rozhovor-image {
        max-height: 220px;
    }
    
    .person-name {
        font-size: 1.1rem;
    }
    
    .person-quote {
        font-size: 0.9rem;
    }
}


.rozhovor-image {
    opacity: 0;
    animation: fadeInImage 0.6s ease forwards;
}

@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.rozhovor-image:error {
    min-height: 200px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rozhovor-image:error:after {
    content: 'Fotka hráča';
    color: var(--interview-blue);
    font-weight: 600;
    font-size: 1rem;
}








[data-theme="dark"] .poll-player-photo.photo-selected {
    border: 3px solid var(--gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

[data-theme="dark"] .player-selected .player-name {
    color: var(--light-green) !important;
}

[data-theme="dark"] .poll-widget-table tr.player-selected {
    background: linear-gradient(90deg, 
        rgba(76, 175, 80, 0.15) 0%, 
        rgba(76, 175, 80, 0.08) 50%, 
        transparent 100%);
    border-left: 4px solid var(--light-green);
}

[data-theme="dark"] .poll-widget-table tr.player-selected::before {
    color: var(--light-green);
}

@keyframes switchPlayer {
    0% {
        background-color: rgba(46, 139, 87, 0.2);
    }
    100% {
        background-color: rgba(46, 139, 87, 0.1);
    }
}

.poll-widget-table tr.player-selected {
    animation: switchPlayer 0.5s ease;
}