/* Základní nastavení a reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth; /* Plynulé scrollování */
}

body {
    background-color: #0b0f12; /* Tmavé modro-černé pozadí */
    color: #ffffff;
}

/* --- NOVÉ BAREVNÉ PROMĚNNÉ --- */
:root {
    --main-blue: #00d2ff;      /* Hlavní svítivá modrá */
    --hover-blue: #33e0ff;     /* Světlejší modrá pro hover */
    --accent-green: #2ecc71;   /* Zelená pro zvýraznění a úspěch */
    --dark-bg: #14191f;        /* Tmavě modré pozadí karet */
    --text-muted: #a0aab5;     /* Šedivý text */
}

/* Pomocná třída pro zvýraznění textu zeleně */
.highlight {
    color: var(--accent-green);
    font-weight: bold;
}

/* --- NAVBAR S LOGEM JAKO OBRÁZKEM --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px; /* Snížený padding pro obrázek */
    background-color: rgba(11, 15, 18, 0.95); /* Poloprůhledná */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img-nav {
    height: 50px; /* Velikost loga v menu - uprav podle potřeby */
    width: auto;
    max-width: 150px; /* Aby logo nevytlačilo menu na malých displejích */
    object-fit: contain;
}

.navbar nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.navbar nav a:hover {
    color: var(--main-blue);
}

/* Discord tlačítko v menu */
.nav-btn {
    background-color: #5865F2; /* Discord barva */
    padding: 8px 18px;
    border-radius: 5px;
    transition: background-color 0.3s !important; /* OPRAVENO: background-color */
}

.nav-btn:hover {
    background-color: #4752C4;
    color: white !important;
}

/* --- HLAVNÍ SEKCE (Hero / Banner) --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Updated background: Hytale landscape + rocky gradient */
    background: linear-gradient(rgba(11, 15, 18, 0.8), rgba(11, 15, 18, 1)), 
                url('hytale_landscape.jpg') center/cover; /* Zde nahraď pozadí tematickým obrázkem z Hytale */
}

/* Speciální úpravy pro homepage banner s velkým logem */
.hero-banner-home {
    padding-top: 150px; /* Dáme prostor pro fixní navbar */
}

.logo-img-banner {
    max-width: 600px; /* Velké banner logo */
    width: 90%; /* Scale na malých displejích */
    height: auto;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.3)); /* Jemná záře */
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto 40px auto;
    color: var(--text-muted);
}

/* Tlačítka */
.btn-primary, .btn-secondary {
    padding: 16px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Hlavní tlačítko - Modrý gradient */
.btn-primary {
    background: linear-gradient(135deg, var(--main-blue), #00a8cc);
    color: #000;
    margin-right: 15px;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--hover-blue), var(--main-blue));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
}

/* Speciální třída pro zkopírování IP */
.btn-primary.copied {
    background: var(--accent-green) !important;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: #0b0f12;
}

/* --- REST OF CSS (Features, Shop, Rules, Team, Footer) - Keep identical for consistency --- */
/* Zkopíruj sem zbytek stylů ze starší verze style.css */
/* Sekce O serveru */
.features {
    padding: 100px 50px;
    text-align: center;
    background-color: #080b0d; /* Mírně odlišné pozadí sekce */
}

.features h2 {
    font-size: 2.8rem;
    margin-bottom: 60px;
}

.feature-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--dark-bg);
    padding: 40px 30px;
    border-radius: 12px;
    width: 350px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    /* Zelený spodní okraj */
    border-bottom: 4px solid var(--accent-green);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: white;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Patička */
footer {
    text-align: center;
    padding: 30px;
    background-color: #050708;
    color: #444;
    border-top: 1px solid rgba(255,255,255,0.03);
}
/* --- SEKCE OBCHOD (Předplatné) --- */
.shop-section {
    min-height: 100vh;
    padding: 150px 50px 80px 50px;
    text-align: center;
    background-color: #080b0d;
}

.shop-section h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.shop-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* Základní karta */
.pricing-card {
    background-color: var(--dark-bg);
    border-radius: 15px;
    padding: 40px 30px;
    width: 320px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
}

/* Cena */
.price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--main-blue);
    margin-bottom: 30px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Seznam výhod */
.features-list {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1; /* Roztáhne seznam, aby tlačítka byla dole na stejné úrovni */
}

.features-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #ccc;
    font-size: 0.95rem;
}

.features-list li:last-child {
    border-bottom: none;
}

/* Tlačítka nákupu */
.btn-buy {
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    background-color: #1e252e;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-buy:hover {
    background-color: #2a3440;
}

/* --- ZVÝRAZNĚNÍ KARET --- */

/* Premium (Střední karta) */
.popular {
    transform: scale(1.05); /* Je mírně větší */
    border-color: var(--main-blue);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.15);
}

.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--main-blue);
    color: #000;
    font-weight: bold;
    padding: 8px 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-popular {
    background: linear-gradient(135deg, var(--main-blue), #00a8cc);
    color: #000;
    border: none;
}

.btn-popular:hover {
    background: linear-gradient(135deg, var(--hover-blue), var(--main-blue));
}

/* Legend (Nejvyšší karta) */
.legend {
    border-color: var(--accent-green);
}

.legend .price {
    color: var(--accent-green);
}

.btn-legend {
    background: transparent;
    border: 2px solid var(--accent-green);
    color: var(--accent-green);
}

.btn-legend:hover {
    background: var(--accent-green);
    color: white;
}
/* --- SEKCE PRAVIDLA --- */
.rules-section {
    min-height: 100vh;
    padding: 150px 50px 80px 50px;
    background-color: #0b0f12;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rules-section h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-align: center;
}

.rules-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 60px;
    text-align: center;
}

.rules-container {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 35px; /* Mezera mezi jednotlivými bloky pravidel */
}

.rule-box {
    background-color: var(--dark-bg);
    padding: 35px 45px;
    border-radius: 12px;
    /* Tlustá levá čára, barvu nastavíme níže */
    border-left: 6px solid; 
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.rule-box h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.6rem;
    letter-spacing: 0.5px;
}

.rule-box ul {
    list-style: none; /* Vypneme základní puntíky */
}

.rule-box ul li {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.7;
    position: relative;
    padding-left: 30px;
    font-size: 1rem;
}

.rule-box ul li strong {
    color: white; /* Tučný text (např. "Žádné cheaty:") bude bílý */
}

/* Naše vlastní, moderní odrážka */
.rule-box ul li::before {
    content: "■"; /* Čtvereček místo klasického puntíku */
    font-size: 0.8rem;
    position: absolute;
    left: 0;
    top: 5px;
}

.rule-box ul li:last-child {
    margin-bottom: 0;
}

/* --- BARVENÍ BLOKŮ PRAVIDEL --- */

/* Liché bloky (1, 3, 5...) budou MODRÉ */
.rule-box:nth-child(odd) {
    border-left-color: var(--main-blue);
}

.rule-box:nth-child(odd) ul li::before {
    color: var(--main-blue);
}

/* Sudé bloky (2, 4, 6...) budou ZELENÉ */
.rule-box:nth-child(even) {
    border-left-color: var(--accent-green);
}

.rule-box:nth-child(even) ul li::before {
    color: var(--accent-green);
}
/* --- SEKCE NÁŠ TÝM --- */
.team-section {
    min-height: 100vh;
    padding: 150px 50px 80px 50px;
    background-color: #0b0f12;
    text-align: center;
}

.team-section h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.team-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background-color: var(--dark-bg);
    padding: 40px 30px;
    border-radius: 15px;
    width: 280px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.1);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* Udělá z obrázku kruh */
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #2a3440;
}

.team-card h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 15px;
}

/* --- BARVY ŠTÍTKŮ ROLÍ --- */
.role {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
}

.role-owner { background-color: #f1c40f; } /* Zlatá */
.role-admin { background-color: #ff3366; color: white; } /* Červená */
.role-mod { background-color: var(--main-blue); } /* Modrá (z našich proměnných) */
.role-builder { background-color: #ff9f43; color: white; } /* Oranžová */


/* --- BAREVNÉ SILUETY A ZÁŘE PODLE RANKU --- */
.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: contain;
    background-color: #1a1a1a;
    margin-bottom: 20px;
    border: 3px solid #2a3440;
    padding: 10px;
    transition: all 0.3s ease;
}

/* Owner (Zlatá) */
.team-card.owner .team-avatar {
    border-color: #f1c40f;
    filter: drop-shadow(0 0 8px rgba(241, 196, 15, 0.4));
}
.team-card.owner:hover .team-avatar {
    border-color: #fce181;
    filter: drop-shadow(0 0 15px rgba(241, 196, 15, 0.8));
}

/* Admin (Červená) */
.team-card.admin .team-avatar {
    border-color: #ff3366;
    filter: drop-shadow(0 0 8px rgba(255, 51, 102, 0.4));
}
.team-card.admin:hover .team-avatar {
    border-color: #ffb3c6;
    filter: drop-shadow(0 0 15px rgba(255, 51, 102, 0.8));
}

/* Moderator (Modrá) */
.team-card.mod .team-avatar {
    border-color: var(--main-blue);
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.4));
}
.team-card.mod:hover .team-avatar {
    border-color: var(--hover-blue);
    filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.8));
}

/* Builder (Oranžová) */
.team-card.builder .team-avatar {
    border-color: #ff9f43;
    filter: drop-shadow(0 0 8px rgba(255, 159, 67, 0.4));
}
.team-card.builder:hover .team-avatar {
    border-color: #ffc288;
    filter: drop-shadow(0 0 15px rgba(255, 159, 67, 0.8));
}
/* --- ŽIVÝ STATUS SERVERU --- */
.server-status {
    margin-top: 30px;
    font-size: 1.1rem;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 25px;
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.status-dot {
    width: 14px;
    height: 14px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse 2s infinite; /* Pulzující animace */
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* --- SEKCE HLASOVÁNÍ --- */
.vote-section {
    min-height: 100vh;
    padding: 150px 50px 80px 50px;
    background-color: #0b0f12;
    text-align: center;
}

.vote-section h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.vote-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.vote-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.vote-card {
    background-color: var(--dark-bg);
    padding: 40px 30px;
    border-radius: 15px;
    width: 300px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.vote-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-green);
}

.vote-card h3 {
    color: var(--main-blue);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.vote-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.vote-rewards {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 25px;
    color: #ddd;
    font-size: 0.9rem;
    border-left: 3px solid var(--accent-green);
}

.vote-rewards strong {
    color: white;
}

.vote-btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--accent-green);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    width: 100%;
}

.vote-btn:hover {
    background: #27ae60;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}
/* --- SCROLL ANIMACE (WOW EFEKT) --- */
/* Výchozí stav (skryto a posunuto dolů) */
.hidden-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

/* Stav po zobrazení (plynulý nájezd na původní místo) */
.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Pro jistotu, aby animace nebránily hover efektům (zvětšení po najetí) */
.revealed:hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* --- SEKCE NOVINKY --- */
.news-section {
    min-height: 100vh;
    padding: 150px 50px 80px 50px;
    background-color: #080b0d; /* Trochu jiné pozadí pro odlišení */
    text-align: center;
}

.news-section h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.news-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.news-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background-color: var(--dark-bg);
    border-radius: 15px;
    width: 350px;
    overflow: hidden; /* Aby obrázek nepřetekl přes zakulacené rohy */
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left; /* Text uvnitř karty chceme zarovnaný doleva */
    /* Animace a hover se teď řeší primárně přes JS a výše definovaný .revealed */
}

.news-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 3px solid #2a3440;
}

/* Barevné štítky (Kategorie) v obrázku */
.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.category.update { background-color: var(--accent-green); color: #000; }
.category.event { background-color: var(--main-blue); color: #000; }
.category.alert { background-color: #ff3366; } /* Červená pro oznámení */

.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: var(--main-blue);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-content h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.news-btn {
    align-self: flex-start;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--accent-green);
    padding-bottom: 3px;
    transition: color 0.3s, border-color 0.3s;
}

.news-btn:hover {
    color: var(--accent-green);
}

/* --- ZÁSADY VRÁCENÍ PENĚZ (Obchod) --- */
.refund-policy {
    max-width: 900px;
    margin: 60px auto 0 auto; /* Mezera nahoře, aby to nebylo nalepené na kartách */
    background-color: rgba(255, 51, 102, 0.05); /* Velmi jemné červené pozadí */
    border-left: 4px solid #ff3366; /* Červený zvýrazňovací pruh nalevo */
    padding: 30px 40px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.refund-policy h3 {
    color: #ff3366; /* Červená barva nadpisu pro upozornění */
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.refund-policy p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.refund-policy p:last-child {
    margin-bottom: 0;
}

/* Odkaz na Discord uvnitř textu */
.refund-policy a {
    color: var(--main-blue);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.refund-policy a:hover {
    color: var(--hover-blue);
    text-decoration: underline;
}

/* --- HAMBURGER MENU STYLY --- */

/* Základní styly pro tlačítko (na PC skryté) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 100; /* Aby bylo vždy navrchu */
}

/* Ty tři čárky hamburgeru */
.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Nastavení pro mobilní telefony a menší tablety */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex; /* Zobrazí hamburger na mobilu */
    }

    .nav-links {
        position: absolute;
        top: 70px; /* Uprav podle toho, jak vysokou máš hlavičku webu */
        right: -100%; /* Skryje menu mimo pravý okraj obrazovky */
        flex-direction: column;
        background-color: var(--dark-bg, #080b0d);
        width: 100%;
        text-align: center;
        transition: right 0.4s ease; /* Plynulé vyjetí */
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        padding: 30px 0;
        z-index: 99;
        border-bottom: 2px solid var(--main-blue, #00a8cc);
    }

    /* Třída, kterou přidá JavaScript po kliknutí (menu vyjede) */
    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        display: block;
        margin: 20px 0;
        font-size: 1.2rem;
    }

    /* Roztomilý bonus: animace hamburgeru na "X" (křížek) */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* Zkrácení textu u novinek */
.news-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Zde můžeš změnit počet řádků, na kterých se to utne */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- ESPORT NEWS TICKET --- */
.news-grid {
    align-items: flex-start; /* Aby se karty mohly nezávisle na sobě natahovat dolů */
}

.news-ticket {
    background-color: var(--dark-bg);
    border-radius: 12px;
    width: 350px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-ticket:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

/* Hlavička s kategorií a datem */
.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ticket-cat {
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.05); /* Jemně prosvítající pozadí */
}

.ticket-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.ticket-title {
    color: white;
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 0; /* Ve složeném stavu není pod nadpisem mezera */
    transition: margin-bottom 0.4s ease;
}

/* Skrytý obsah, který vyjede na hover */
.ticket-hidden-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Co se stane po najetí myší na celou kartu */
.news-ticket:hover .ticket-title {
    margin-bottom: 15px; /* Udělá místo pro text */
}

.news-ticket:hover .ticket-hidden-content {
    max-height: 250px; /* Karta se nafoukne, aby se vešel text */
    opacity: 1;
    margin-top: 10px;
}

.ticket-btn {
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: opacity 0.3s;
}

.ticket-btn:hover {
    opacity: 0.8;
}