/* ==========================================================================
   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; }
}

/* Společný styl pro všechny karty na webu */
.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; 
}

/* Společný podnadpis */
.section-title {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 70px 0 55px;
    font-size: 2.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: fadeUp 0.8s ease;
}

.section-title span {
    background: linear-gradient(90deg, #ffffff, #60a5fa, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
}

.section-title i {
    color: #3b82f6;
    font-size: 1.8rem;
    filter: drop-shadow(0 0 12px rgba(59,130,246,.8));
    animation: floatIcon 3s ease-in-out infinite;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg,
        transparent,
        #2563eb,
        #60a5fa,
        #2563eb,
        transparent);
    box-shadow:
        0 0 15px rgba(59,130,246,.8),
        0 0 30px rgba(59,130,246,.4);
}

@keyframes shine {
    from {
        background-position: 0%;
    }
    to {
        background-position: 200%;
    }
}

@keyframes floatIcon {
    0%,100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
        gap: 12px;
        letter-spacing: 2px;
    }

    .section-title i {
        font-size: 1.3rem;
    }

    .section-title::after {
        width: 120px;
    }
}
.subtitle {
    font-size: 16px;
    color: #94a3b8;
    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: 64px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
header h1 {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

header.rules-header, header.vip-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.rules-header h1, header.vip-header h1 {
    font-size: 36px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    header { padding: 96px 16px; }
     header.vip-header { padding: 150px 20px; } 

    header h1 { font-size: 72px; line-height: 1.1;}
    header.rules-header h1, header.vip-header h1 { font-size: 72px; line-height: 1.1; margin-bottom: 16px; }
}

/* ==========================================================================
   4. STRÁNKA VIP VÝHODY (vip.html)
   ========================================================================== */
.vip-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
}

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

.vip-card {
    display: flex;
    flex-direction: column;
}

/* 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: flex-start;
    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-bottom: 8px;
}

.vip-duration {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.vip-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 32px;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .vip-features { margin-bottom: 40px; }
}

.vip-features.text-light li { color: #e2e8f0; }
.vip-features li i { margin-right: 8px; }

/* Tlačítka */
.btn-buy {
    display: block;
    width: 100%;
    background-color: #334155;
    color: #ffffff;
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-buy:hover { background-color: #475569; }
.btn-buy-featured { background-color: #2563eb; box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2); }
.btn-buy-featured:hover { background-color: #3b82f6; }

.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)
   ========================================================================== */
