* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0b0f19;
    color: #f8fafc;
    background-image: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* --- Nav --- */
.section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #3b82f6, transparent);
    margin: 60px auto;
    width: 80%;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* --- Header --- */
.main-header {
    background-image: linear-gradient(to bottom, rgba(11, 15, 25, 0.75), rgba(11, 15, 25, 0.9)), url('/assets/img/novinky_pozadi.jpg'); 
    background-size: cover;
    background-position: center;
    padding: 80px 20px; 
    color: #ffffff; 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-header h1 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-header .header-subtitle {
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.main-header .header-thanks {
    color: #3b82f6;
    font-size: 15px;
    font-weight: 700;
    margin-top: 12px;
    letter-spacing: 0.5px;
}

/* Responzivita pc/tablet */
@media (min-width: 768px) {
    .main-header {
        padding: 140px 16px;
    }
    .main-header h1 {
        font-size: 56px;
        letter-spacing: -1px;
    }
    .main-header .header-subtitle {
        font-size: 18px;
    }
    .main-header .header-thanks {
        font-size: 16px;
    }
}

/* --- Main a container --- */
.content-container {
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px 64px 16px;
    flex-grow: 1;
}

/* --- Grids --- */
.vote-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* --- Karty hlasovacích stránek--- */
.vote-card {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.vote-card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.1);
}

.vote-icon {
    width: 64px;
    height: 64px;
    background-color: #334155;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 16px;
}

.vote-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.vote-card p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.btn-vote {
    background-color: #4f46e5;
    color: #ffffff;
    width: 100%;
    padding: 14px 0;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
}

.btn-vote:hover {
    background-color: #6366f1;
}

/* --- Footer --- */
.main-footer {
    background-color: #1e293b;
    border-top: 1px solid #334155;
    padding: 24px 0;
    text-align: center;
    margin-top: auto;
}

.main-footer p {
    color: #64748b;
    font-size: 14px;
}

/* --- Změna nav na mobilech --- */
