/* =================================
   ANCIENT RELIC / DATA STREAM STYLE
   ================================= */

/* Reset & base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --bg: #0e0a08; /* Hluboká černá s hnědým nádechem */
    --bg-darker: #090706; /* Ještě hlubší pro kontrast */
    --text: #f0e9dd; /* Pergamenová bílá */
    --muted: #cbb9a1;
    --accent: #ffc97f; /* Jasnější, zářivější zlatá */
    --accent-2: #c5844a; /* Patinovaná bronz */
    --stroke: #33231a; /* Tmavá hrana */
    --glow: rgba(255, 201, 127, 0.45); /* Silná záře */
    --radius: 4px; /* Ostré hrany */
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.85); /* Velmi hluboký stín */
    --section-border: 1px solid rgba(255, 201, 127, 0.15);
}

html,
body {
    height: 100%;
}
body.theme-dark-relic {
    font-family: "Merriweather", serif;
    color: var(--text);
    background: radial-gradient(1200px 600px at 50% -10%, rgba(255, 176, 88, 0.45), transparent 70%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-darker) 100%);
    overflow-x: hidden;
}

/* Background layers */
.bg-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
}
.fire-gradient {
    background: radial-gradient(800px 400px at 20% 10%, rgba(255, 141, 35, 0.35), transparent 60%),
        radial-gradient(1000px 500px at 80% 0%, rgba(255, 220, 150, 0.2), transparent 60%);
    mix-blend-mode: screen;
}
.grain {
    /* ... (stejný styl pro zrno) ... */
    opacity: 0.25;
}
/* ... (styly pro embers) ... */

/* Containers */
.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}

/* Nav */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(14, 10, 8, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--stroke);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.nav__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--accent);
}
.brand__mark {
    font-size: 24px; /* Větší ikona */
    text-shadow: 0 0 8px var(--glow);
}
.brand__name {
    font-family: "Cinzel", serif;
    letter-spacing: 1.5px;
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
}
.nav__links {
    display: flex;
    gap: 25px;
    align-items: center;
}
.nav__links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.15s ease;
}
.nav__links a:hover {
    color: var(--accent);
    text-shadow: 0 0 5px rgba(255, 201, 127, 0.5);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--bg);
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow:
        0 6px 16px rgba(185, 124, 63, 0.8),
        inset 0 1px 3px rgba(255, 255, 255, 0.5);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s;
}
.btn:hover {
    transform: translateY(-4px); /* Výrazný zdvih */
    filter: brightness(1.15);
    box-shadow:
        0 8px 25px rgba(185, 124, 63, 1),
        inset 0 1px 3px rgba(255, 255, 255, 0.5);
}
.btn--ghost {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    box-shadow: 0 0 10px rgba(255, 201, 127, 0.3);
}
.btn--ghost:hover {
    background: rgba(255, 201, 127, 0.05);
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--glow);
}
.btn--lg {
    padding: 16px 30px;
    border-radius: var(--radius);
}

/* Hero */
.hero {
    position: relative;
    min-height: 95vh;
    display: grid;
    place-items: center;
    padding: 100px 0;
    border-bottom: var(--section-border);
}
.hero__copy {
    position: relative;
    z-index: 1;
    max-width: 700px;
    text-align: center;
}
.hero__copy h1 {
    font-family: "Cinzel", serif;
    font-weight: 800;
    font-size: clamp(60px, 9vw, 100px);
    line-height: 1;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 5px; /* Více místa pro dramatický efekt */
    text-shadow:
        0 0 4px rgba(0, 0, 0, 0.9),
        0 0 40px var(--glow);
    animation: pulseGlow 3s infinite alternate;
}
.hero__copy .subheading {
    font-family: "Merriweather", serif;
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 700;
    color: var(--muted);
    margin-top: 10px;
    letter-spacing: 1px;
}
/* Hero Visual (Placeholder pro grafiku - NOVINKA) */
.hero__visual {
    margin-top: 50px;
    width: 100%;
    max-width: 800px;
    height: clamp(200px, 30vw, 400px); /* Responzivní výška */
    margin-inline: auto;
    background: var(--bg-darker);
    border: 3px solid var(--accent); /* Silný zlatý rámeček */
    border-radius: var(--radius);
    box-shadow: 0 0 50px rgba(255, 201, 127, 0.7); /* Silný glow */
    display: grid;
    place-items: center;
    overflow: hidden;
    position: relative;
}
.hero__visual::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px dashed var(--accent-2); /* Vnitřní detail */
}
.hero__visual-text {
    font-family: "Cinzel", serif;
    font-size: 20px;
    color: var(--muted);
    letter-spacing: 2px;
}
@keyframes pulseGlow {
    from {
        text-shadow:
            0 0 4px rgba(0, 0, 0, 0.9),
            0 0 40px var(--glow);
    }
    to {
        text-shadow:
            0 0 8px rgba(0, 0, 0, 0.9),
            0 0 50px var(--glow);
    }
}
.lead {
    margin-top: 30px;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.6;
    max-width: 600px;
    margin-inline: auto;
}
.hero__cta {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero__stats {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    font-family: "Cinzel", serif;
}
.hero__stats li {
    padding: 10px 15px;
    border: 1px solid var(--accent-2);
    border-radius: var(--radius);
    background: rgba(255, 201, 127, 0.08);
    font-weight: 700;
    color: var(--text);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Parallax scenery (zjednodušené pro moderní vzhled) */
.scenery {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.scenery--back {
    background: radial-gradient(1200px 300px at 50% 110%, rgba(138, 101, 57, 0.35), transparent 70%);
}
.scenery--front {
    background: linear-gradient(to top, rgba(14, 10, 8, 1) 0%, rgba(14, 10, 8, 0) 40%);
}

/* Sections */
.section {
    padding: clamp(80px, 10vw, 120px) 0;
    background: var(--bg-darker);
    border-top: var(--section-border);
    border-bottom: var(--section-border);
}
.section--wood {
    background: var(--bg);
}
.section__head {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 60px);
}
.section__head h2 {
    font-family: "Cinzel", serif;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: clamp(32px, 5vw, 48px);
    color: var(--accent);
    text-shadow: 0 0 10px rgba(255, 201, 127, 0.3);
    text-transform: uppercase;
}
.section__head p {
    color: var(--muted);
    margin-top: 10px;
    font-size: 18px;
}

/* Tick Banner (Nová, dominantní sekce) */
.section--tick {
    padding: 50px 0;
    background: linear-gradient(90deg, var(--bg-darker) 0%, rgba(185, 124, 63, 0.2) 50%, var(--bg-darker) 100%);
    border-top: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    box-shadow: 0 0 20px rgba(255, 201, 127, 0.45);
}
.tick-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    text-align: left;
}
.tick-banner__icon {
    font-size: 60px;
    text-shadow: 0 0 15px var(--glow);
}
.tick-banner__copy h2 {
    font-family: "Cinzel", serif;
    font-size: clamp(24px, 4vw, 36px);
    color: var(--accent);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 201, 127, 0.3);
}
.tick-banner__copy p {
    font-size: 18px;
    color: var(--text);
    margin-top: 5px;
}

/* Cards (Mechaniky) */
.cards {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card {
    background: var(--bg);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}
.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(255, 201, 127, 0.4);
}
.card--main {
    grid-column: span 1;
}
@media (max-width: 768px) {
    /* Patička na mobilu */
    .footer__wrap {
        flex-direction: column;
        align-items: center;
    }
    .footer__links {
        order: 1;
        margin-top: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .footer__copy {
        order: 2;
        text-align: center;
    }
}
@media (min-width: 900px) {
    .card--main {
        grid-column: span 2;
    }
}
.card .icon {
    font-size: 32px;
    margin-bottom: 15px;
}
.card h3 {
    font-family: "Cinzel";
    margin-bottom: 8px;
    font-size: 20px;
    color: var(--accent);
    text-transform: uppercase;
}
.card p {
    color: var(--muted);
    line-height: 1.7;
}

/* Timeline / Eras (Ostrý, vertikální styl) */
.timeline-wrap {
    position: relative;
    max-width: 900px;
    margin-inline: auto;
    padding: 0 60px;
}
.timeline {
    position: relative;
    padding-top: 20px;
}
.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--accent-2);
    box-shadow: 0 0 10px rgba(255, 201, 127, 0.5);
    transform: translateX(-50%);
}
.era {
    max-width: 45%;
    width: 100%;
    margin-bottom: 60px;
    padding: 24px;
    background: var(--bg-darker);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    transition: box-shadow 0.3s ease;
}
.era:nth-child(even) {
    margin-left: auto;
    text-align: right;
}
.era:nth-child(even) .pill {
    float: right;
}
.era h3 {
    font-family: "Cinzel";
    font-size: 20px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 5px;
}
.era p {
    color: var(--muted);
    line-height: 1.6;
}
.timeline-dot {
    position: absolute;
    top: 30px;
    left: 50%;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 3px solid var(--bg);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--glow);
    z-index: 10;
}

/* Pills pro éry */
.pill {
    display: inline-block;
    padding: 6px 10px;
    margin-top: 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text);
    border: 1px solid;
    background: rgba(255, 201, 127, 0.1);
}
.pill--nav {
    color: var(--accent);
    border-color: var(--accent-2);
}
.pill--stone {
    border-color: #5d4a3c;
    background: rgba(93, 74, 60, 0.2);
}
.pill--hardcore {
    border-color: #aa3d3d;
    background: rgba(170, 61, 61, 0.2);
}
.pill--coop {
    border-color: #4a91c5;
    background: rgba(74, 145, 197, 0.2);
}
.pill--fast {
    border-color: #7f4ac5;
    background: rgba(127, 74, 197, 0.2);
}

/* Worlds cards (Ostrý design) */
.worlds {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.world {
    background: var(--bg);
    border: 2px solid var(--stroke);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}
.world:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.9),
        0 0 8px rgba(255, 201, 127, 0.4);
}
.tag {
    font-family: "Cinzel", serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 2px;
    letter-spacing: 0.5px;
}
.tag--standard {
    background-color: rgba(185, 124, 63, 0.2);
    color: var(--accent);
    border: 1px solid var(--accent-2);
}
/* ... (další tagy pro Hardcore, Coop atd. by měly být definovány zde) ... */

/* CTA */
.cta {
    position: relative;
    padding: clamp(60px, 8vw, 100px) 0;
    background: var(--bg);
    border-top: var(--section-border);
    border-bottom: var(--section-border);
}
.cta__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.cta__copy {
    max-width: 600px;
}
.cta__copy h2 {
    font-family: "Cinzel";
    font-size: clamp(32px, 5vw, 40px);
    margin-bottom: 10px;
    color: var(--accent);
    text-shadow: 0 0 10px var(--glow);
    text-transform: uppercase;
}
.cta__copy p {
    color: var(--muted);
    font-size: 18px;
}
.cta__actions {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

/* Footer (Stylizovaná patička - NOVINKA) */
.footer {
    padding: 30px 0;
    background: var(--bg-darker);
    border-top: 2px solid var(--accent-2); /* Silnější horní oddělovač */
}
.footer__wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer__links {
    display: flex;
    gap: 20px;
}
.footer__links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s;
    font-size: 14px;
    font-weight: 700;
}
.footer__links a:hover {
    color: var(--accent);
}
.footer__copy {
    color: var(--muted);
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .card--main {
        grid-column: span 1;
    }
    .tick-banner {
        flex-direction: column;
        text-align: center;
    }
    .timeline::before {
        left: 20px;
    }
    .era {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 50px;
        text-align: left;
    }
    .era:nth-child(even) {
        text-align: left;
    }
    .era:nth-child(even) .pill {
        float: none;
    }
    .timeline-dot {
        left: 20px;
    }
}
@media (max-width: 600px) {
    .nav__wrap {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav__links {
        gap: 15px;
        order: 1;
        margin-top: 10px;
    }
    .nav__links a:last-child {
        /* skryj pill v navu */
        display: none;
    }
    .hero__cta,
    .cta__actions {
        flex-direction: column;
        width: 100%;
    }
    .hero__cta .btn,
    .cta__actions .btn {
        width: 100%;
    }
    .hero__stats {
        flex-wrap: wrap;
        gap: 15px;
    }
}
