body {
    background-color: #000000;
    background-image: url('/images/wood-background-new.jpg?v=3');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    color: #F3F4F6;
}

/* Desktop verze - větší pozadí pro lepší kvalitu */
@media (min-width: 1024px) {
    body {
        background-image: url('/images/wood-background-desktop.jpg?v=3');
    }
}

/* Mobilní optimalizace pozadí - originální velikost s plynulým přechodem */
@media (max-width: 768px) {
    body {
        background: url('/images/wood-background-new.jpg?v=3'), #000000;
        background-size: auto, auto;
        background-position: center top, center top;
        background-repeat: no-repeat, repeat;
        background-attachment: scroll, scroll;
        position: relative;
    }
    
    /* Kombinovaný overlay - čitelnost + gradient přechod */
    body::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 
            linear-gradient(
                to bottom,
                rgba(17, 24, 39, 0.4) 0%,
                rgba(17, 24, 39, 0.5) 60%,
                rgba(15, 15, 15, 0.7) 75%,
                rgba(15, 15, 15, 0.9) 85%,
                #0F0F0F 95%
            );
        pointer-events: none;
        z-index: -3;
    }
    
    /* Na mobilech vypneme základní overlay */
    body::before {
        display: none;
    }
}

/* Pro velmi malé obrazovky - stejný přístup s plynulým přechodem */
@media (max-width: 480px) {
    body {
        background: url('/images/wood-background-new.jpg?v=3'), #000000;
        background-size: auto, auto;
        background-position: center top, center top;
        background-repeat: no-repeat, repeat;
        background-attachment: scroll, scroll;
        min-height: 100vh;
        position: relative;
    }
    
    /* Kombinovaný overlay - čitelnost + gradient přechod na mobilu */
    body::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            to bottom,
            rgba(17, 24, 39, 0.5) 0%,
            rgba(17, 24, 39, 0.6) 50%,
            rgba(15, 15, 15, 0.7) 65%,
            rgba(15, 15, 15, 0.9) 80%,
            #0F0F0F 90%
        );
        pointer-events: none;
        z-index: -3;
    }
    
    /* Na mobilech vypneme základní overlay */
    body::before {
        display: none;
    }
}

/* Jemný overlay pro lepší čitelnost textu */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 24, 39, 0.7);
    z-index: -2;
    pointer-events: none;
}




/* Základní třída pro všechna tlačítka */
.btn {
    background: linear-gradient(0deg, var(--btn-color-start) 0%, var(--btn-color-end) 100%);
    color: #1F2937 !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: linear-gradient(0deg, var(--btn-hover-start) 0%, var(--btn-hover-end) 100%);
    color: #1F2937 !important;
    text-decoration: none;
    transform: translateY(1px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
       
/* Primární tlačítko - hlavní barva aplikace inspirovaná logem */
.btn-primary {
    --btn-color-start: #FF8C00;
    --btn-color-end: #FFD700;
    --btn-hover-start: #FF6B35;
    --btn-hover-end: #FFA500;
}

/* Barevné varianty tlačítek */
.btn-blue {
    --btn-color-start: #60A5FA;
    --btn-color-end: #93C5FD;
    --btn-hover-start: #3B82F6;
    --btn-hover-end: #60A5FA;
}

.btn-green {
    --btn-color-start: #34D399;
    --btn-color-end: #6EE7B7;
    --btn-hover-start: #10B981;
    --btn-hover-end: #34D399;
}

.btn-yellow {
    --btn-color-start: #D97706;
    --btn-color-end: #F59E0B;
    --btn-hover-start: #B45309;
    --btn-hover-end: #D97706;
}

.btn-red {
    --btn-color-start: #F87171;
    --btn-color-end: #FCA5A5;
    --btn-hover-start: #EF4444;
    --btn-hover-end: #F87171;
}

.btn-purple {
    --btn-color-start: #A78BFA;
    --btn-color-end: #C4B5FD;
    --btn-hover-start: #8B5CF6;
    --btn-hover-end: #A78BFA;
}

.btn-pink {
    --btn-color-start: #F472B6;
    --btn-color-end: #f193c4;
    --btn-hover-start: #e84396;
    --btn-hover-end: #F472B6;
}

.btn-gray {
    --btn-color-start: #9CA3AF;
    --btn-color-end: #D1D5DB;
    --btn-hover-start: #6B7280;
    --btn-hover-end: #9CA3AF;
}

/* Průhledný header a footer pro všechny velikosti obrazovky */
header {
    background-color: rgba(31, 41, 55, 0.5) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

footer {
    background-color: rgba(31, 41, 55, 0.5) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Gradient nadpisy */
.gradient-text {
    background: linear-gradient(0deg, #FF8C00 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Custom styles for enhanced design */
.hero-section {
    background: linear-gradient(135deg, rgba(55, 65, 81, 0.6) 0%, rgba(17, 24, 39, 0.8) 100%);
    background-size: cover;
    background-position: center;
    min-height: 60vh;
}

.card {
    transition: all 0.3s ease;
}

.quiz-card {
    transition: all 0.3s ease;
}

.quiz-card:hover {
    transform: translateY(-2px);
}

.form-field {
    transition: all 0.3s ease;
}

.form-field:focus {
    border-color: #FFD700;
}

.team-card {
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-2px);
}

.table-card {
    transition: all 0.3s ease;
}

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

.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

/* Podium efekt pro první 3 místa */
.podium-1 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1F2937;
    font-weight: bold;
}

.podium-2 {
    background: linear-gradient(135deg, #C0C0C0 0%, #A0A0A0 100%);
    color: #1F2937;
    font-weight: bold;
}

.podium-3 {
    background: linear-gradient(135deg, #CD7F32 0%, #B8860B 100%);
    color: #1F2937;
    font-weight: bold;
}