:root {
    --bg: #0f1115;
    --surface: rgba(255,255,255,.03);
    --border: rgba(255,255,255,.12);
    --text: #ffffff;
    --muted: rgba(255,255,255,.78);
    --muted2: rgba(255,255,255,.62);
    --accent: #ffc107;
    --nav-h: 84px;
    --radius: 18px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 18px);
    scrollbar-width: none; /* Firefox */
}

body {
    font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    -ms-overflow-style: none; /* IE/Edge legacy */
    overflow-x: hidden; /* prevent accidental horizontal overflow */
}

    body::-webkit-scrollbar {
        display: none;
    }
/* Chrome/Safari */

/* Accessibility */
.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    padding: 10px 12px;
    background: #000;
    color: #fff;
    border-radius: 12px;
    z-index: 3000;
    transition: top .2s ease;
}

    .skip-link:focus {
        top: 12px;
    }

/* Navbar */
.nav-stronghold {
    background: rgba(15,17,21,.70);
    backdrop-filter: blur(16px);
    border-bottom: none;
    box-shadow: 0 10px 40px rgba(0,0,0,.25);
}

.navbar-brand {
    letter-spacing: .5px;
}

.navbar .nav-link {
    color: rgba(255,255,255,.86);
    font-weight: 600;
}

    .navbar .nav-link:hover {
        color: #fff;
    }

    .navbar .nav-link.active {
        color: #fff;
        text-shadow: 0 0 24px rgba(255,193,7,.18);
    }

.btn-cta {
    border-radius: 999px;
}

/* Hero */
.hero-stronghold {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    align-items: center;
    overflow: clip;
}

/* Carousel background (no interaction) */
.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item {
        height: 100%;
    }

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.95) contrast(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(900px 500px at 15% 25%, rgba(255,193,7,.18), transparent 55%), linear-gradient(to bottom, rgba(15,17,21,.35), rgba(15,17,21,.92));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: calc(var(--nav-h) + 64px) 0 64px;
}

.hero-kicker {
    color: rgba(255,255,255,.85);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .80rem;
    margin-bottom: 10px;
}

.hero-title {
    color: #fff;
    text-shadow: 0 14px 55px rgba(0,0,0,.55);
}

.hero-lead {
    max-width: 64ch;
    color: rgba(255,255,255,.86);
}

.hero-badges .badge-stronghold {
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.28);
    padding: .55rem .9rem;
    color: #fff;
}

/* Links in hero */
.btn-link-stronghold {
    color: rgba(255,255,255,.82);
    font-weight: 700;
    text-decoration: none;
}

    .btn-link-stronghold:hover {
        color: var(--accent);
        text-decoration: none;
    }

.dropdown-menu-stronghold .dropdown-item {
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .dropdown-menu-stronghold .dropdown-item:hover,
    .dropdown-menu-stronghold .dropdown-item:focus,
    .dropdown-menu-stronghold .dropdown-item.active,
    .dropdown-menu-stronghold .dropdown-item:active {
        background-color: #f5c518 !important;
        color: #111111 !important;
    }

/* Sections */
.section-stronghold {
    padding: 72px 0;
}

.section-stronghold--alt {
    background: linear-gradient(to bottom, rgba(255,255,255,.02), rgba(255,255,255,.00));
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.section-head {
    margin-bottom: 28px;
}

.section-title {
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}

/* Subtle yellow underline for section titles */
.section-title--accent {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

    .section-title--accent::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 72px;
        height: 3px;
        border-radius: 999px;
        background: rgba(255,193,7,.85);
        box-shadow: 0 10px 28px rgba(255,193,7,.14);
    }

.section-lead {
    color: var(--muted);
    max-width: 78ch;
    margin: 0;
}

/* Subtle section divider (yellow accent) */
.section-divider {
    height: 1px;
    width: min(1080px, calc(100% - 2rem));
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, rgba(255,193,7,.35), transparent);
    box-shadow: 0 18px 60px rgba(255,193,7,.10);
}

/* Cards */
.card-stronghold {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    box-shadow: 0 22px 70px rgba(0,0,0,.25);
    transition: transform .18s ease, border-color .18s ease;
}

    .card-stronghold .card-body {
        padding: 22px;
    }

    /* little accent on hover, not aggressive */
    .card-stronghold:hover {
        transform: translateY(-2px);
        border-color: rgba(255,193,7,.22);
    }

.card-glass {
    background: rgba(10,12,16,.55);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius);
    box-shadow: 0 30px 90px rgba(0,0,0,.40);
}

.border-stronghold {
    border-color: rgba(255,255,255,.12) !important;
}

.text-muted-stronghold {
    color: var(--muted) !important;
}

.text-muted-stronghold-2 {
    color: var(--muted2) !important;
}

/* Callout */
.callout {
    border-radius: var(--radius);
    border: 1px solid rgba(255,193,7,.22);
    background: radial-gradient(900px 260px at 10% 20%, rgba(255,193,7,.10), rgba(255,255,255,.02));
}

.callout-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
}

@media (min-width: 992px) {
    .callout-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Links */
.link-accent {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

    .link-accent:hover {
        text-decoration: underline;
    }

/* Forms */
.form-label {
    color: rgba(255,255,255,.92);
    font-weight: 600;
}

.form-control {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    color: #fff;
}

    .form-control:focus {
        background: rgba(255,255,255,.06);
        border-color: rgba(255,193,7,.55);
        box-shadow: 0 0 0 .25rem rgba(255,193,7,.12);
        color: #fff;
    }

    .form-control::placeholder {
        color: rgba(255,255,255,.45);
    }

/* Footer */
.footer-stronghold {
    border-top: 1px solid rgba(255,255,255,.10);
    background: rgba(10,12,16,.60);
}

.footer-copy {
    color: rgba(255,255,255,.88);
    font-weight: 600;
}

.footer-top-btn {
    border-radius: 999px;
    padding: .45rem 1rem;
    font-weight: 700;
}

    .footer-top-btn:link,
    .footer-top-btn:visited {
        color: #fff;
    }

.object-fit-cover {
    object-fit: cover;
}

.dropdown-menu-stronghold .dropdown-item {
    padding: .7rem 1rem;
}


/* Hero scroll arrow (center bottom) */
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 140px;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(0,0,0,.22);
    box-shadow: 0 18px 60px rgba(0,0,0,.45);
    z-index: 6;
    display: grid;
    place-items: center;
    text-decoration: none;
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

    .hero-scroll:hover {
        border-color: rgba(255,193,7,.40);
        background: rgba(0,0,0,.30);
        transform: translateX(-50%) translateY(-1px);
    }

.hero-scroll__chev {
    width: 14px;
    height: 14px;
    border-right: 3px solid rgba(255,193,7,.92);
    border-bottom: 3px solid rgba(255,193,7,.92);
    transform: rotate(45deg);
    filter: drop-shadow(0 12px 18px rgba(255,193,7,.18));
    animation: heroChev 1.8s ease-in-out infinite;
}

@keyframes heroChev {
    0% {
        transform: rotate(45deg) translate(-2px, -2px);
        opacity: .55;
    }

    50% {
        transform: rotate(45deg) translate(2px, 2px);
        opacity: 1;
    }

    100% {
        transform: rotate(45deg) translate(-2px, -2px);
        opacity: .55;
    }
}

/* Contact: email as plain text line */
.contact-block {
    margin-top: 10px;
}

.contact-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    padding: 2px 0 12px;
}

    .contact-line .contact-label {
        color: rgba(255,255,255,.75);
        font-weight: 700;
    }

.contact-email {
    color: rgba(255,193,7,.95);
    font-weight: 800;
    user-select: text;
    word-break: break-word;
}

/* Clickable social items stay as tiles */
.contact-list {
    display: grid;
    gap: 10px;
}

.contact-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.18);
    text-decoration: none;
    color: rgba(255,255,255,.9);
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

    .contact-item:hover {
        transform: translateY(-1px);
        border-color: rgba(255,193,7,.25);
        background: rgba(0,0,0,.26);
    }

.contact-value {
    color: rgba(255,255,255,.92);
    font-weight: 700;
    word-break: break-word;
}

/* Social icons row under email — big pill buttons filling the width */
.social-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 stejné sloupce */
    gap: 12px;
    width: 100%;
    margin: 14px 0 0;
}

.social-icon {
    width: 100%;
    height: 56px; /* větší */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 16px; /* pill/rounded */
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.18);
    text-decoration: none;
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

    .social-icon svg {
        width: 22px;
        height: 22px;
        fill: rgba(255, 193, 7, .95);
    }

.social-text {
    font-weight: 800;
    color: rgba(255,255,255,.90);
    letter-spacing: .2px;
    font-size: .75rem;
}

.social-icon:hover {
    transform: translateY(-1px);
    border-color: rgba(255,193,7,.28);
    background: rgba(0,0,0,.26);
}

    .social-icon:hover svg {
        fill: rgba(255,193,7,.95);
    }

    .social-icon:hover .social-text {
        color: rgba(255,193,7,.95);
    }

.social-icon .yt-play {
    fill: #000; /* sem dáš barvu trojúhelníku */
}

/* Na úzkých mobilech to může spadnout do 2 řádků */
@media (max-width: 420px) {
    .social-icons {
        grid-template-columns: 1fr;
    }

    .social-icon {
        height: 52px;
    }
}


/* ===== Subpage: World (svet.php) ===== */
.page-hero {
    position: relative;
    padding: calc(var(--nav-h) + 68px) 0 56px;
    overflow: hidden;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(1000px 520px at 20% 15%, rgba(255,193,7,.14), transparent 55%), radial-gradient(900px 380px at 85% 10%, rgba(255,255,255,.06), transparent 55%), linear-gradient(to bottom, rgba(15,17,21,.35), rgba(15,17,21,.88));
}

.page-hero__content {
    position: relative;
    z-index: 1;
}

.page-kicker {
    color: rgba(255,255,255,.80);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .80rem;
    margin-bottom: 10px;
}

.page-title {
    color: #fff;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    text-shadow: 0 14px 55px rgba(0,0,0,.55);
}

.page-lead {
    color: rgba(255,255,255,.85);
    max-width: 78ch;
    margin: 0;
}

.page-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.page-jumplinks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

    .page-jumplinks a {
        color: rgba(255,255,255,.80);
        text-decoration: none;
        font-weight: 700;
    }

        .page-jumplinks a:hover {
            color: var(--accent);
            text-decoration: none;
        }

/* Map placeholder */
.map-placeholder {
    border: 1px dashed rgba(255,255,255,.18);
    border-radius: var(--radius);
    min-height: 260px;
    display: grid;
    place-items: center;
    background: rgba(0,0,0,.18);
}

/* Accordion styling to match Stronghold */
.accordion-stronghold .accordion-item {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: rgba(255,255,255,.03);
    overflow: hidden;
    margin-bottom: 10px;
}

.accordion-stronghold .accordion-button {
    background: rgba(0,0,0,.20);
    color: #fff;
    font-weight: 800;
    box-shadow: none;
}

    .accordion-stronghold .accordion-button:not(.collapsed) {
        background: rgba(0,0,0,.28);
    }

    .accordion-stronghold .accordion-button:focus {
        border-color: rgba(255,193,7,.35);
        box-shadow: 0 0 0 .25rem rgba(255,193,7,.10);
    }

.accordion-stronghold .accordion-body {
    color: rgba(255,255,255,.78);
    background: rgba(0,0,0,.14);
}

.faction-card {
    overflow: hidden;
}

    .faction-card .card-body {
        height: 100%;
    }

.faction-card__image {
    margin-top: auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

    .faction-card__image img {
        display: block;
        width: 100%;
        height: 240px;
        object-fit: cover;
        transition: transform 0.35s ease;
    }

.faction-card:hover .faction-card__image img {
    transform: scale(1.04);
}

@media (max-width: 991.98px) {
    .faction-card__image img {
        height: 220px;
    }
}

@media (max-width: 575.98px) {
    .faction-card__image img {
        height: 200px;
    }
}


.map-image-wrapper {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.map-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}


.lore-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lore-item {
    padding: 0;
    overflow: hidden;
}

.lore-item__content {
    padding: 1.5rem;
}

.lore-item__eyebrow {
    margin-bottom: 0.5rem;
    color: #f5c518;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lore-item--with-image {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    align-items: stretch;
}

.lore-item--reverse {
    grid-template-columns: 1fr minmax(260px, 420px);
}

.lore-item__media {
    min-height: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.lore-item__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.lore-item--reverse .lore-item__media {
    order: 2;
}

.lore-item--reverse .lore-item__content {
    order: 1;
}

@media (max-width: 991.98px) {
    .lore-item--with-image,
    .lore-item--reverse {
        grid-template-columns: 1fr;
    }

    .lore-item__image {
        min-height: 220px;
    }

    .lore-item--reverse .lore-item__media,
    .lore-item--reverse .lore-item__content {
        order: initial;
    }
}


.table-stronghold {
    --bs-table-bg: transparent;
    --bs-table-color: #d8deea;
    --bs-table-border-color: rgba(255, 255, 255, 0.12);
    margin-bottom: 0;
}

    .table-stronghold thead th {
        color: #ffffff;
        font-weight: 700;
        border-bottom-width: 1px;
    }

    .table-stronghold tbody td,
    .table-stronghold tbody th {
        color: #c6cfdd;
        vertical-align: middle;
    }

.rule-list {
    padding-left: 1.1rem;
}

    .rule-list li + li {
        margin-top: 0.55rem;
    }

.rule-chip {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.15rem 0.5rem;
    border: 1px solid rgba(245, 197, 24, 0.35);
    border-radius: 999px;
    color: #f5c518;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.equip-note {
    height: 100%;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.stat-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #c6cfdd;
}

    .stat-line:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .stat-line strong {
        color: #ffffff;
        font-size: 1.05rem;
    }

.border-warning-subtle {
    border-color: rgba(245, 197, 24, 0.28) !important;
}

.story-section {
    max-width: 980px;
    margin: 0 auto;
}

.story-title {
    margin: 0 0 0.65rem;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
}

.story-divider {
    width: 88px;
    height: 4px;
    margin-bottom: 1.75rem;
    border-radius: 999px;
    background: #f5c518;
}

.story-copy {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    line-height: 1.9;
}

    .story-copy p {
        margin-bottom: 1.5rem;
    }

        .story-copy p:last-child {
            margin-bottom: 0;
        }