/* ==========================================================================
   1. GLOBÁLNÍ NASTAVENÍ A RESET
   ========================================================================== */
* {
    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.15) 0%, transparent 70%); 
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Společné kontejnery obsahu */
main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

main.content-container {
    max-width: 896px;
    padding: 40px 16px;
}

main.rules-container, main.vip-container {
    max-width: 1280px;
    padding: 0 16px 60px 16px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    main.content-container { padding: 80px 16px; }
    main.rules-container, main.vip-container { padding-bottom: 80px; }
}

.card {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 24px;
    padding: 24px;
    transition: all 0.3s;
}

@media (min-width: 768px) {
    .card { padding: 32px; }
}

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

.subtitle {
    font-size: 16px;
    color: #9cc2f7;
    margin-bottom: 32px;
    max-width: 672px;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .subtitle {
        font-size: 20px;
        margin-bottom: 40px;
        line-height: 1.6;
    }
}

/* Společné barvy pro textové ikony */
.icon-blue-text { color: #3b82f6; }
.icon-indigo-text { color: #6366f1; }
.icon-cyan-text { color: #60a5fa; }
.icon-gold-text { color: #eab308; }

.text-blue-text { color: #60a5fa; }
.text-white-text { color: #ffffff; }

/* ==========================================================================
   2. NAVIGACE (Sticky Navbar)
   ========================================================================== */
.navbar, .section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #eef5ff, transparent);
    margin: 60px auto;
    width: 80%;
}



/* ==========================================================================
   3. HLAVIČKY SEKCE (Headers)
   ========================================================================== */
header {
    padding: 48px 16px 32px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

header.rules-header, header.vip-header {
    padding: 48px 16px 24px 16px;
}

.novinky-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: 150px 20px; 
    color: #ffffff; 
    text-align: center;
}


header h1 {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

header.rules-header h1, header.vip-header h1 {
    font-size: 36px;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    header { padding: 96px 16px; }
    header.rules-header, header.vip-header { padding: 64px 16px; }
    header h1 { font-size: 72px; margin-bottom: 24px; }
    header.rules-header h1, header.vip-header h1 { font-size: 48px; margin-bottom: 16px; }
}

/* ==========================================================================
   4. STRÁNKA VIP VÝHODY (vip.html) - PŘEDĚLÁNO NA NOVINKY
   ========================================================================== */
.vip-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
    justify-content: center; /* Centrování karet v gridu */
}

@media (min-width: 768px) {
    .vip-grid { 
        grid-template-columns: repeat(3, 1fr); /* 3 karty vedle sebe */
        gap: 32px;
    }
}

.vip-card {
    display: flex;
    flex-direction: column;
    align-items: center; /* Vycentruje všechen obsah uvnitř karty horizontálně */
    text-align: center;  /* Vycentruje texty uvnitř karty */
    padding: 24px;       /* Přidaný vnitřní prostor karty */
    box-sizing: border-box;
}

/* ÚPRAVA PRO OBRÁZKY V KARTÁCH */
.card-image-box {
    width: 100%;
    height: 180px;      /* Výška obrázku */
    border-radius: 8px; /* Jemné zaoblení rohů obrázku */
    overflow: hidden;
    margin-bottom: 20px;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Obrázek vyplní prostor bez deformace shape */
}

/* Zvýrazněná karta */
.vip-card-featured {
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.2), #1e293b);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.1);
}

@media (min-width: 768px) {
    .vip-card-featured { transform: scale(1.05); }
}

.vip-badge {
    align-self: center; /* Vycentrování štítku doprostřed */
    background-color: #3b82f6;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vip-card h3 {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.5px;
    margin-top: 10px;
    margin-bottom: 8px;
}

.vip-duration {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px; /* Zmenšeno, aby datum bylo hned pod stavem */
}

/* Styl pro datum */
.date-text {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 16px 0;
    margin-top: auto; /* Potlačí datum vždy na spodní okraj karty */
}

.vip-disclaimer {
    margin-top: 40px;
    text-align: center;
    color: #475569;
    font-size: 12px;
    font-style: italic;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .vip-disclaimer { margin-top: 64px; }
}

/* ==========================================================================
   5. PATIČKA (Footer)
   ========================================================================== */
footer {
    background-color: #1e293b;
    border-top: 1px solid #1e293b;
    padding: 32px 16px;
    margin-top: auto;
    text-align: center;
}

.copyright {
    color: #475569;
    font-size: 14px;
}

/* ==========================================================================
   6. MOBILNÍ NAVIGACE (Šířka pod 768px)
   ========================================================================== */
