/* ==========================================================================
   1. FONTY
   ========================================================================== */

@font-face {
    font-family: 'DynaPuff';
    src: url('fonts/DynaPuff-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DynaPuff';
    src: url('fonts/DynaPuff-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* ==========================================================================
   2. RESET A ZÁKLAD
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'DynaPuff', sans-serif;
}

body {
    background-color: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.nav-link.active {
    color: #553c8b;
}

/* ==========================================================================
   3. HLAVIČKA A NAVBAR
   ========================================================================== */

.site-header {
    position: relative;
    z-index: 150;
    width: 100%;
    padding: 20px 20px 15px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.mobile-header-row {
    display: none;
}

.site-navbar {
    position: relative;
    z-index: 200;
    width: 100%;
    max-width: 1500px;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.nav-menu {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    overflow: visible;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 20px;
    color: #333333;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: bold;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-dropdown:hover > .dropdown-toggle {
    color: #553c8b;
}

.nav-logo-center-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
}

.logo-center-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-center-link .site-logo {
    width: 150px;
    height: auto;
    object-fit: contain;
}

.logo-title-text {
    color: #1a5694;
    font-size: 1.9rem;
    font-weight: bold;
    letter-spacing: 2px;
    white-space: nowrap;
    text-align: center;
    line-height: 1.1;
}

.menu-toggle {
    display: none;
    width: 32px;
    height: 22px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    z-index: 250;
}

.hamburger-bar {
    width: 100%;
    height: 4px;
    background-color: #1a5694;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-dropdown {
    position: static;
}

.dropdown-toggle {
    position: relative;
    gap: 4px;
}

.arrow {
    display: inline-block;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

/* ==========================================================================
   4. SPOLEČNÉ DESKTOPOVÉ ROLETY - DRÁČCI + DRAČÍ KOLEKCE
   ========================================================================== */

.dropdown-mega-menu,
.dropdown-collection-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 85vw;
    max-width: 1450px;
    padding: 50px 60px;
    border-radius: 24px;
    background-color: #e2f1ff;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%);
    z-index: 9999;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.dropdown-dragon-grid,
.dropdown-collection-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px 35px;
}

/* Roleta Dráčci */
.mega-dragon-card {
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mega-dragon-title {
    align-self: flex-start;
    padding-left: 5px;
    margin-bottom: 12px;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.mega-dragon-box {
    width: 100%;
    height: 250px;
    padding: 25px;
    border-radius: 24px;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.mega-dragon-box:hover {
    transform: translateY(-5px);
}

.mega-dragon-img {
    width: auto;
    height: 250px;
    object-fit: contain;
}

.mega-dragon-subname {
    margin-top: 15px;
    font-size: 1.15rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Roleta Dračí kolekce */
.collection-menu-card {
    width: 320px;
    min-height: 330px;
    padding: 22px;
    border-radius: 24px;
    background: #ffffff;
    color: #553c8b;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.collection-menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(43, 26, 78, 0.14);
}

.collection-menu-card img {
    width: 100%;
    height: 255px;
    object-fit: contain;
}

.collection-menu-card span {
    margin-top: 16px;
    font-size: 1.35rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.15;
}

@media (min-width: 1025px) {
    .dropdown-toggle::after {
        content: "";
        position: absolute;
        left: -8px;
        top: 100%;
        width: calc(100% + 16px);
        height: 70px;
        background: transparent;
        display: block;
    }

    #dragonsDropdown:hover .dropdown-mega-menu,
    #collectionDropdown:hover .dropdown-collection-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    #dragonsDropdown:hover .arrow,
    #collectionDropdown:hover .arrow {
        transform: rotate(180deg);
    }
}

/* ==========================================================================
   5. KARUSEL NA INDEXU
   ========================================================================== */

.marquee-container {
    position: relative;
    z-index: 10;
    width: 100vw;
    height: 82vh;
    margin-top: 20px;
    overflow: hidden;
}

.marquee-track {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    display: flex;
    will-change: transform;
}

.marquee-track.centering {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.dragon-item {
    position: relative;
    z-index: 2;
    width: 24vw;
    min-width: 320px;
    height: 100%;
    user-select: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.lane-bg {
    position: absolute;
    top: 0;
    left: -2px;
    z-index: 1;
    width: calc(100% + 4px);
    height: 100%;
    background-color: var(--lane-color);
    transform: skewX(-4deg);
}

.dragon-avatar {
    position: relative;
    z-index: 2;
    width: 240px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.15));
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.dragon-item:hover .dragon-avatar {
    transform: scale(1.08);
}

.dragon-card-box {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 999999;
    width: 820px;
    padding: 45px;
    border-radius: 40px;
    background-color: var(--card-bg);
    background-image: var(--card-bg-svg);
    background-repeat: no-repeat;
    background-position: center right 40px;
    background-size: 320px auto;
    color: var(--text-color);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.45);
    transform: translate(-50%, -50%);
    align-items: center;
    gap: 40px;
}

.card-left img {
    width: 220px;
    height: auto;
    object-fit: contain;
}

.card-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-desc {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: normal;
    line-height: 1.5;
}

.dragon-btn-link {
    align-self: center;
    display: inline-block;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.dragon-btn-link:hover {
    transform: scale(1.04);
}

.dragon-btn-img {
    width: 280px;
    height: auto;
    object-fit: contain;
}

@media (min-width: 1025px) {
    .dragon-item.selected {
        width: 60vw;
        z-index: 20;
    }

    .dragon-item.selected .dragon-card-box {
        display: flex;
    }

    .dragon-item.selected .dragon-avatar {
        opacity: 0;
        transform: scale(0.5);
        pointer-events: none;
    }
}

/* ==========================================================================
   6. MOBILNÍ NAVIGACE A KARUSEL
   ========================================================================== */

@media (max-width: 1024px) {
    .site-header {
        padding: 20px;
    }

    .nav-logo-center-item {
        display: none;
    }

    .mobile-header-row {
        position: relative;
        width: 100%;
        padding: 5px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-header-row .site-logo {
        width: 140px;
        height: auto;
    }

    .menu-toggle {
        position: absolute;
        right: 15px;
        top: 50%;
        z-index: 999999;
        display: flex;
        transform: translateY(-50%);
    }

    .menu-toggle.is-open .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-open .hamburger-bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open .hamburger-bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .site-navbar {
        width: 100%;
        display: block;
    }

    .nav-menu {
        width: 100%;
        max-height: 0;
        padding: 0;
        background-color: #ffffff;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
    }

    .nav-menu.is-open {
        max-height: 3200px;
        padding: 20px 0;
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li,
    .nav-dropdown,
    .collection-dropdown {
        width: 100%;
        text-align: center;
    }

    .nav-dropdown,
    .collection-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .nav-link {
        width: auto;
        padding: 10px 20px;
        font-size: 1.25rem;
        justify-content: center;
    }

    .dropdown-mega-menu,
    .dropdown-collection-menu {
        position: relative;
        top: 0;
        left: 0;
        width: 90vw;
        max-width: 340px;
        max-height: 0;
        padding: 0 15px;
        border-radius: 20px;
        background-color: #e2f1ff;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        pointer-events: none;
        transform: none;
        transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
    }

    .dropdown-mega-menu.is-active,
    .dropdown-collection-menu.is-active {
        max-height: 1800px;
        padding: 25px 15px;
        margin-top: 10px;
        margin-bottom: 10px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .dropdown-toggle.is-active .arrow {
        transform: rotate(180deg);
    }

    .dropdown-dragon-grid,
    .dropdown-collection-grid {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .mega-dragon-card,
    .collection-menu-card {
        width: 100%;
        max-width: 280px;
    }

    .mega-dragon-title {
        align-self: center;
        padding-left: 0;
        margin-bottom: 6px;
        font-size: 1.4rem;
    }

    .mega-dragon-box {
        height: 190px;
        padding: 15px;
        border-radius: 20px;
    }

    .mega-dragon-img {
        height: 110px;
    }

    .mega-dragon-subname {
        margin-top: 10px;
        font-size: 1rem;
    }

    .collection-menu-card {
        min-height: 230px;
        padding: 18px;
        border-radius: 20px;
    }

    .collection-menu-card img {
        height: 165px;
    }

    .collection-menu-card span {
        margin-top: 12px;
        font-size: 1.15rem;
    }

    .main-title {
        margin-top: 15px;
        margin-bottom: 0;
        font-size: 1.7rem;
    }

    .marquee-container {
        height: 78vh;
    }

    .dragon-item {
        width: 45vw;
        min-width: 190px;
        padding: 0 10px;
        flex-direction: column;
        justify-content: center;
    }

    .dragon-avatar {
        top: 5%;
        width: 165px;
        opacity: 1;
        display: block;
    }

    .dragon-item.selected {
        width: 88vw;
    }

    .dragon-item.selected .dragon-avatar {
        transform: translateY(-15px) scale(0.95);
    }

    .dragon-item[data-name="EEREE"].selected .dragon-avatar {
        transform: translateY(5px) scale(0.85);
    }

    .dragon-item.selected .dragon-card-box {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 340px;
        height: auto;
        margin-top: 15px;
        padding: 20px 15px;
        border-radius: 24px;
        background-color: var(--card-bg);
        background-position: center bottom 10px;
        background-size: 110px auto;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
        opacity: 1;
        visibility: visible;
        display: flex;
        flex-direction: column;
        align-items: center;
        transform: none;
    }

    .dragon-item.selected .dragon-card-box .card-left {
        display: none;
    }

    .card-right {
        align-items: center;
    }

    .card-desc {
        margin-bottom: 15px;
        padding-bottom: 0;
        color: inherit;
        font-size: 0.92rem;
        line-height: 1.45;
        text-align: center;
    }

    .dragon-btn-link {
        width: 75%;
        max-width: 250px;
        margin-top: 5px;
        margin-bottom: 45px;
    }

    .dragon-btn-img {
        width: 100%;
        height: auto;
    }
}

/* ==========================================================================
   7. PODSTRÁNKY DRÁČKŮ
   ========================================================================== */

.dragon-detail-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 50% -12%, var(--element-glow-top), transparent 34%),
        linear-gradient(180deg, var(--element-bg-1) 0%, var(--element-bg-2) 52%, var(--element-bg-3) 100%);
}

.dragon-detail-inner {
    position: relative;
    z-index: 2;
    width: min(1000px, calc(100% - 40px));
    margin: 0 auto;
    padding: 20px 0 90px;
}

.dragon-page-title {
    margin: 0 0 72px;
    text-align: center;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1;
    color: var(--detail-heading-color);
    text-shadow:
        2px 2px 0 var(--detail-heading-shadow),
        -2px 2px 0 var(--detail-heading-shadow),
        2px -2px 0 var(--detail-heading-shadow),
        -2px -2px 0 var(--detail-heading-shadow);
}

.dragon-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    margin-bottom: 86px;
}

.glass-panel {
    min-height: 380px;
    border-radius: 82px;
    background: rgba(255, 255, 255, 0.70);
    box-shadow:
        inset 0 0 40px rgba(255,255,255,0.34),
        0 20px 55px rgba(32, 20, 60, 0.12);
    backdrop-filter: blur(3px);
}

.dragon-symbol-card,
.dragon-message-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dragon-symbol-card {
    padding: 52px;
}

.dragon-symbol-card img {
    width: min(260px, 84%);
    height: auto;
    object-fit: contain;
}

.dragon-message-card {
    padding: 58px 62px;
}

.dragon-message-card h2 {
    margin: 0;
    color: var(--detail-accent);
    font-size: clamp(2.1rem, 4vw, 3.25rem);
    line-height: 1.08;
    font-weight: bold;
}

.dragon-main-card {
    display: grid;
    grid-template-columns: 330px 1fr;
    align-items: center;
    gap: 34px;
    margin-bottom: 88px;
    padding: 54px 70px;
    border-radius: 84px;
    background: var(--main-card-bg);
    box-shadow: 0 24px 60px rgba(34, 20, 55, 0.18);
}

.dragon-main-image-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.dragon-main-image {
    width: 310px;
    max-height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 12px 15px rgba(0,0,0,0.12));
}

.dragon-main-copy h2 {
    margin: 0 0 20px;
    color: var(--main-title-color);
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    line-height: 1.05;
    font-weight: bold;
}

.dragon-main-copy p {
    margin: 0 0 18px;
    color: var(--main-text-color);
    font-size: 1.05rem;
    line-height: 1.48;
    font-weight: normal;
}

.dragon-main-copy p:last-child {
    margin-bottom: 0;
}

.dragon-family-block {
    margin-bottom: 78px;
}

.dragon-family-block h2 {
    margin: 0 0 24px;
    text-align: center;
    color: var(--detail-heading-color);
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1;
    text-shadow:
        2px 2px 0 var(--detail-heading-shadow),
        -2px 2px 0 var(--detail-heading-shadow),
        2px -2px 0 var(--detail-heading-shadow),
        -2px -2px 0 var(--detail-heading-shadow);
}

.dragon-family-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
}

.dragon-family-card {
    min-height: 190px;
    padding: 18px 18px 20px;
    border-radius: 18px;
    background: var(--family-card-bg);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(28, 15, 48, 0.14);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.dragon-family-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 38px rgba(28, 15, 48, 0.22);
}

.dragon-family-card img {
    width: 100%;
    height: 76px;
    margin-bottom: 12px;
    object-fit: contain;
    object-position: left center;
    filter: none;
}

.dragon-family-card p {
    margin: 0;
    color: var(--family-text-color);
    font-size: 0.86rem;
    line-height: 1.28;
}

.dragon-product-card {
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 48px;
    align-items: center;
    padding: 58px 62px;
    border-radius: 82px;
    background: rgba(255, 255, 255, 0.70);
    box-shadow:
        inset 0 0 34px rgba(255,255,255,0.42),
        0 24px 60px rgba(34, 20, 55, 0.14);
    backdrop-filter: blur(3px);
}

.dragon-product-copy h2 {
    margin: 0 0 22px;
    color: var(--product-title-color);
    font-size: clamp(2.05rem, 3.4vw, 2.9rem);
    line-height: 1.03;
    font-weight: bold;
}

.dragon-product-copy p {
    margin: 0;
    color: var(--product-text-color);
    font-size: 1.04rem;
    line-height: 1.46;
}

.dragon-product-image-wrap img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 54px;
    object-fit: cover;
}

/* ==========================================================================
   8. JEMNÉ ANIMOVANÉ ELEMENTÁLNÍ POZADÍ DRÁČKŮ
   ========================================================================== */

.element-animated-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 18% 18%, var(--element-radial-1), transparent 26%),
        radial-gradient(circle at 82% 16%, var(--element-radial-2), transparent 24%),
        radial-gradient(circle at 16% 88%, var(--element-radial-3), transparent 27%),
        radial-gradient(circle at 86% 84%, var(--element-radial-4), transparent 25%);
}

.element-animated-bg::after {
    content: "";
    position: absolute;
    inset: -10%;
    z-index: 1;
    background:
        radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(0,0,0,0.12) 72%, rgba(0,0,0,0.28) 100%);
    opacity: 0.35;
}

.element-magic-canvas {
    position: absolute;
    inset: 0;
    z-index: 4;
    width: 100%;
    height: 100%;
    opacity: var(--canvas-opacity);
}

.element-star-layer,
.element-star-layer::before,
.element-star-layer::after {
    content: "";
    position: absolute;
    inset: -22%;
    z-index: 2;
    background-repeat: repeat;
    background-image:
        radial-gradient(circle, var(--star-color-1) 1.2px, transparent 1.8px),
        radial-gradient(circle, var(--star-color-2) 1.1px, transparent 1.7px),
        radial-gradient(circle, var(--star-color-3) 1px, transparent 1.7px);
    background-size: 95px 95px, 155px 155px, 245px 245px;
    background-position: 0 0, 45px 70px, 90px 30px;
    animation: elementStarsMove 90s linear infinite;
    opacity: var(--soft-star-opacity);
}

.element-star-layer::before {
    opacity: 0.18;
    transform: scale(1.35);
}

.element-star-layer::after {
    opacity: 0.12;
    transform: scale(1.9);
}

@keyframes elementStarsMove {
    from {
        background-position: 0 0, 45px 70px, 90px 30px;
        transform: translate3d(0, 0, 0);
    }

    to {
        background-position: 180px -220px, -140px -260px, 260px -180px;
        transform: translate3d(-90px, -160px, 0);
    }
}

.element-nebula {
    position: absolute;
    z-index: 1;
    border-radius: 999px;
    filter: blur(95px);
    opacity: var(--soft-nebula-opacity);
    mix-blend-mode: screen;
    animation: elementNebulaFloat 26s ease-in-out infinite;
}

.nebula-1 {
    width: 520px;
    height: 520px;
    left: 5%;
    top: 6%;
    background: var(--nebula-1);
}

.nebula-2 {
    width: 420px;
    height: 420px;
    right: 3%;
    top: 24%;
    background: var(--nebula-2);
    animation-delay: -4s;
}

.nebula-3 {
    width: 470px;
    height: 470px;
    left: 10%;
    bottom: 4%;
    background: var(--nebula-3);
    animation-delay: -8s;
}

@keyframes elementNebulaFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, -34px, 0) scale(1.06);
    }
}

.element-wisp {
    position: absolute;
    z-index: 3;
    display: block;
    opacity: var(--soft-wisp-opacity);
    filter: blur(0.5px) drop-shadow(0 0 8px var(--wisp-shadow));
    animation: elementWispFloat 18s ease-in-out infinite;
}

.wisp-1 { left: 8%; top: 18%; animation-delay: -1s; }
.wisp-2 { right: 12%; top: 19%; animation-delay: -3s; }
.wisp-3 { left: 17%; bottom: 23%; animation-delay: -5s; }
.wisp-4 { right: 18%; bottom: 16%; animation-delay: -7s; }
.wisp-5 { left: 48%; top: 42%; animation-delay: -9s; }
.wisp-6 { right: 42%; bottom: 35%; animation-delay: -11s; }

@keyframes elementWispFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }

    50% {
        transform: translate3d(24px, -38px, 0) rotate(12deg) scale(1.08);
    }
}

/* ==========================================================================
   9. BAREVNÁ TÉMATA DRÁČKŮ
   ========================================================================== */

.theme-eeree {
    --detail-accent: #3f236c;
    --detail-heading-color: #ffffff;
    --detail-heading-shadow: #51367d;
    --main-card-bg: rgba(59, 35, 105, 0.70);
    --main-title-color: #ffffff;
    --main-text-color: #ffffff;
    --family-card-bg: rgba(63, 40, 112, 0.70);
    --family-text-color: #ffffff;
    --product-title-color: #3f236c;
    --product-text-color: #3f236c;

    --element-bg-1: #120d25;
    --element-bg-2: #2d1f58;
    --element-bg-3: #6544a8;
    --element-glow-top: rgba(185, 131, 255, .56);
    --element-radial-1: rgba(185, 131, 255, .28);
    --element-radial-2: rgba(255, 255, 255, .14);
    --element-radial-3: rgba(99, 128, 255, .2);
    --element-radial-4: rgba(255, 207, 245, .19);
    --star-color-1: rgba(255, 255, 255, .96);
    --star-color-2: rgba(255, 228, 138, .8);
    --star-color-3: rgba(234, 215, 255, .86);
    --nebula-1: rgba(185, 131, 255, .95);
    --nebula-2: rgba(104, 130, 255, .64);
    --nebula-3: rgba(255, 178, 245, .58);
    --soft-star-opacity: 0.36;
    --soft-nebula-opacity: 0.22;
    --soft-wisp-opacity: 0.34;
    --canvas-opacity: 0.55;
    --wisp-shadow: rgba(255, 235, 255, .9);
}

.theme-igny {
    --detail-accent: #d82924;
    --detail-heading-color: #ffffff;
    --detail-heading-shadow: #91402c;
    --main-card-bg: rgba(142, 45, 31, 0.70);
    --main-title-color: #ffc82c;
    --main-text-color: #ffc82c;
    --family-card-bg: rgba(143, 45, 31, 0.70);
    --family-text-color: #ffffff;
    --product-title-color: #8c211c;
    --product-text-color: #8c211c;

    --element-bg-1: #230806;
    --element-bg-2: #8e2e17;
    --element-bg-3: #f48a32;
    --element-glow-top: rgba(255, 91, 54, .6);
    --element-radial-1: rgba(255, 184, 62, .28);
    --element-radial-2: rgba(255, 91, 54, .28);
    --element-radial-3: rgba(255, 199, 82, .22);
    --element-radial-4: rgba(255, 110, 41, .25);
    --star-color-1: rgba(255, 236, 178, .95);
    --star-color-2: rgba(255, 171, 45, .88);
    --star-color-3: rgba(255, 87, 34, .78);
    --nebula-1: rgba(255, 91, 54, 1);
    --nebula-2: rgba(255, 184, 62, .82);
    --nebula-3: rgba(255, 117, 33, .7);
    --soft-star-opacity: 0.28;
    --soft-nebula-opacity: 0.20;
    --soft-wisp-opacity: 0.28;
    --canvas-opacity: 0.48;
    --wisp-shadow: rgba(255, 168, 40, .95);
}

.theme-wauu {
    --detail-accent: #00798c;
    --detail-heading-color: #00798c;
    --detail-heading-shadow: rgba(255,255,255,0.78);
    --main-card-bg: rgba(255, 255, 255, 0.70);
    --main-title-color: #00798c;
    --main-text-color: #00798c;
    --family-card-bg: rgba(200, 222, 228, 0.70);
    --family-text-color: #00798c;
    --product-title-color: #00798c;
    --product-text-color: #00798c;

    --element-bg-1: #b7efff;
    --element-bg-2: #7bd6f6;
    --element-bg-3: #e2f9ff;
    --element-glow-top: rgba(255, 255, 255, .74);
    --element-radial-1: rgba(255, 255, 255, .42);
    --element-radial-2: rgba(144, 220, 255, .28);
    --element-radial-3: rgba(255, 255, 255, .36);
    --element-radial-4: rgba(156, 231, 255, .24);
    --star-color-1: rgba(255, 255, 255, .92);
    --star-color-2: rgba(203, 243, 255, .82);
    --star-color-3: rgba(255, 255, 255, .65);
    --nebula-1: rgba(255, 255, 255, .86);
    --nebula-2: rgba(154, 223, 255, .66);
    --nebula-3: rgba(224, 248, 255, .8);
    --soft-star-opacity: 0.22;
    --soft-nebula-opacity: 0.18;
    --soft-wisp-opacity: 0.30;
    --canvas-opacity: 0.42;
    --wisp-shadow: rgba(255, 255, 255, 1);
}

.theme-johi {
    --detail-accent: #078944;
    --detail-heading-color: #ffffff;
    --detail-heading-shadow: #4b6330;
    --main-card-bg: rgba(18, 116, 62, 0.70);
    --main-title-color: #b7d866;
    --main-text-color: #b7d866;
    --family-card-bg: rgba(20, 105, 58, 0.70);
    --family-text-color: #ffffff;
    --product-title-color: #087342;
    --product-text-color: #087342;

    --element-bg-1: #203012;
    --element-bg-2: #527326;
    --element-bg-3: #aea94c;
    --element-glow-top: rgba(183, 216, 102, .52);
    --element-radial-1: rgba(183, 216, 102, .28);
    --element-radial-2: rgba(255, 214, 89, .18);
    --element-radial-3: rgba(58, 150, 74, .28);
    --element-radial-4: rgba(198, 220, 87, .23);
    --star-color-1: rgba(255, 249, 190, .84);
    --star-color-2: rgba(183, 216, 102, .84);
    --star-color-3: rgba(97, 205, 95, .68);
    --nebula-1: rgba(151, 208, 68, .88);
    --nebula-2: rgba(255, 202, 79, .5);
    --nebula-3: rgba(35, 142, 72, .74);
    --soft-star-opacity: 0.24;
    --soft-nebula-opacity: 0.20;
    --soft-wisp-opacity: 0.30;
    --canvas-opacity: 0.46;
    --wisp-shadow: rgba(190, 235, 90, .95);
}

.theme-flow {
    --detail-accent: #49a9dd;
    --detail-heading-color: #ffffff;
    --detail-heading-shadow: #287fb2;
    --main-card-bg: rgba(56, 154, 211, 0.70);
    --main-title-color: #ffffff;
    --main-text-color: #ffffff;
    --family-card-bg: rgba(72, 164, 211, 0.70);
    --family-text-color: #ffffff;
    --product-title-color: #258ac8;
    --product-text-color: #258ac8;

    --element-bg-1: #042d63;
    --element-bg-2: #0587c9;
    --element-bg-3: #35d8ec;
    --element-glow-top: rgba(66, 201, 255, .58);
    --element-radial-1: rgba(66, 201, 255, .34);
    --element-radial-2: rgba(255, 255, 255, .2);
    --element-radial-3: rgba(11, 111, 199, .3);
    --element-radial-4: rgba(87, 240, 255, .3);
    --star-color-1: rgba(255, 255, 255, .9);
    --star-color-2: rgba(117, 229, 255, .9);
    --star-color-3: rgba(160, 235, 255, .75);
    --nebula-1: rgba(66, 201, 255, .88);
    --nebula-2: rgba(255, 255, 255, .46);
    --nebula-3: rgba(35, 122, 255, .66);
    --soft-star-opacity: 0.24;
    --soft-nebula-opacity: 0.20;
    --soft-wisp-opacity: 0.30;
    --canvas-opacity: 0.46;
    --wisp-shadow: rgba(98, 227, 255, .95);
}

.theme-eeree .element-wisp {
    width: 42px;
    height: 70px;
    background:
        linear-gradient(45deg, transparent 42%, rgba(255,255,255,.95) 50%, transparent 58%),
        linear-gradient(-45deg, transparent 42%, rgba(234,215,255,.9) 50%, transparent 58%);
}

.theme-igny .element-wisp {
    width: 78px;
    height: 104px;
    border-radius: 55% 45% 60% 40%;
    background:
        radial-gradient(circle at 48% 72%, rgba(255, 245, 160, .72), transparent 24%),
        radial-gradient(circle at 50% 50%, rgba(255, 130, 25, .52), transparent 55%),
        linear-gradient(180deg, rgba(255, 191, 58, .36), rgba(255, 68, 22, .05));
}

.theme-wauu .element-wisp {
    width: 230px;
    height: 48px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 15% 55%, rgba(255,255,255,.62), transparent 28%),
        radial-gradient(circle at 42% 42%, rgba(255,255,255,.46), transparent 30%),
        radial-gradient(circle at 70% 58%, rgba(255,255,255,.34), transparent 32%);
}

.theme-johi .element-wisp {
    width: 68px;
    height: 40px;
    border-radius: 80% 0 80% 0;
    background: linear-gradient(135deg, rgba(216, 244, 116, .76), rgba(54, 145, 62, .34));
    transform-origin: center;
}

.theme-flow .element-wisp {
    width: 82px;
    height: 82px;
    border-radius: 999px;
    border: 2px solid rgba(210, 248, 255, .58);
    background:
        radial-gradient(circle at 30% 22%, rgba(255,255,255,.68), transparent 15%),
        radial-gradient(circle at 50% 58%, rgba(77, 215, 255, .32), transparent 56%);
}

.theme-igny .family-theme-igny p {
    color: #ffc82c;
}

.theme-johi .family-theme-johi p {
    color: #b7d866;
}

.theme-wauu .family-theme-wauu p,
.theme-flow .family-theme-flow p {
    color: var(--family-text-color);
}

.theme-flow .dragon-symbol-card,
.theme-flow .dragon-message-card {
    background: rgba(170, 230, 245, 0.70);
}

/* ==========================================================================
   10. RESPONSIVITA PODSTRÁNEK DRÁČKŮ
   ========================================================================== */

@media (max-width: 1024px) {
    .dragon-detail-inner {
        width: min(900px, calc(100% - 32px));
        padding-top: 18px;
    }

    .dragon-top-grid {
        gap: 24px;
        margin-bottom: 58px;
    }

    .glass-panel {
        min-height: 310px;
        border-radius: 62px;
    }

    .dragon-message-card {
        padding: 42px;
    }

    .dragon-main-card {
        grid-template-columns: 280px 1fr;
        padding: 46px;
        border-radius: 64px;
    }

    .dragon-main-image {
        width: 260px;
    }

    .dragon-product-card {
        grid-template-columns: 1fr 330px;
        padding: 46px;
        gap: 34px;
        border-radius: 64px;
    }
}

@media (max-width: 780px) {
    .dragon-detail-inner {
        width: min(620px, calc(100% - 28px));
        padding-bottom: 60px;
    }

    .dragon-page-title {
        margin-bottom: 36px;
    }

    .dragon-top-grid {
        grid-template-columns: 1fr;
        margin-bottom: 44px;
    }

    .glass-panel {
        min-height: 245px;
        border-radius: 42px;
    }

    .dragon-symbol-card {
        padding: 34px;
    }

    .dragon-symbol-card img {
        width: 220px;
    }

    .dragon-message-card {
        padding: 34px;
        text-align: center;
    }

    .dragon-main-card {
        grid-template-columns: 1fr;
        padding: 38px 28px;
        border-radius: 44px;
        text-align: center;
        margin-bottom: 56px;
    }

    .dragon-main-image {
        width: 250px;
    }

    .dragon-family-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dragon-product-card {
        grid-template-columns: 1fr;
        padding: 38px 28px;
        border-radius: 44px;
        text-align: center;
    }

    .dragon-product-image-wrap img {
        border-radius: 36px;
    }
}

@media (max-width: 480px) {
    .dragon-detail-inner {
        width: calc(100% - 22px);
    }

    .glass-panel {
        min-height: 220px;
        border-radius: 34px;
    }

    .dragon-message-card h2 {
        font-size: 1.9rem;
    }

    .dragon-main-card {
        padding: 32px 22px;
    }

    .dragon-family-grid {
        grid-template-columns: 1fr;
    }

    .dragon-family-card {
        min-height: 160px;
    }

    .dragon-product-card {
        padding: 32px 22px;
    }
}

/* ==========================================================================
   11. KONTAKT STRÁNKA
   ========================================================================== */

.contact-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 15%, rgba(185, 131, 255, 0.30), transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(255, 228, 138, 0.16), transparent 24%),
        radial-gradient(circle at 20% 88%, rgba(66, 201, 255, 0.18), transparent 26%),
        linear-gradient(180deg, #171029 0%, #312158 48%, #624398 100%);
}

.contact-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.contact-bg::before,
.contact-bg::after {
    content: "";
    position: absolute;
    inset: -20%;
    background-repeat: repeat;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.70) 1px, transparent 1.5px),
        radial-gradient(circle, rgba(255,228,138,0.50) 1px, transparent 1.6px),
        radial-gradient(circle, rgba(234,215,255,0.48) 1px, transparent 1.6px);
    background-size: 110px 110px, 180px 180px, 270px 270px;
    background-position: 0 0, 50px 70px, 100px 40px;
    animation: contactStarsMove 95s linear infinite;
    opacity: 0.28;
}

.contact-bg::after {
    animation-duration: 145s;
    opacity: 0.14;
    transform: scale(1.7);
}

@keyframes contactStarsMove {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-120px, -190px, 0);
    }
}

.contact-star {
    position: absolute;
    width: 42px;
    height: 70px;
    opacity: 0.34;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.45));
    background:
        linear-gradient(45deg, transparent 43%, rgba(255,255,255,0.85) 50%, transparent 57%),
        linear-gradient(-45deg, transparent 43%, rgba(234,215,255,0.75) 50%, transparent 57%);
    animation: contactStarFloat 18s ease-in-out infinite;
}

.star-1 { left: 9%; top: 20%; animation-delay: -1s; }
.star-2 { right: 12%; top: 24%; animation-delay: -4s; }
.star-3 { left: 16%; bottom: 24%; animation-delay: -7s; }
.star-4 { right: 18%; bottom: 18%; animation-delay: -10s; }
.star-5 { left: 50%; top: 38%; animation-delay: -13s; }
.star-6 { right: 42%; bottom: 32%; animation-delay: -16s; }

@keyframes contactStarFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }

    50% {
        transform: translate3d(20px, -34px, 0) rotate(12deg) scale(1.08);
    }
}

.contact-inner {
    position: relative;
    z-index: 2;
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 90px;
}

.contact-title {
    margin: 0 0 54px;
    color: #ffffff;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1;
    text-align: center;
    text-shadow:
        2px 2px 0 #553580,
        -2px 2px 0 #553580,
        2px -2px 0 #553580,
        -2px -2px 0 #553580;
}

.contact-hero-card {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 44px;
    align-items: center;
    margin-bottom: 34px;
    padding: 52px 62px;
    border-radius: 72px;
    background: rgba(255, 255, 255, 0.70);
    box-shadow:
        inset 0 0 34px rgba(255,255,255,0.38),
        0 24px 60px rgba(34, 20, 55, 0.18);
    backdrop-filter: blur(4px);
}

.contact-hero-text h2 {
    margin: 0 0 22px;
    color: #3f236c;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.04;
}

.contact-hero-text p {
    margin: 0 0 18px;
    color: #3f236c;
    font-size: 1.1rem;
    line-height: 1.55;
}

.contact-hero-text p:last-child {
    margin-bottom: 0;
}

.contact-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-hero-image img {
    width: 340px;
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 14px 18px rgba(55, 31, 84, 0.20));
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.contact-info-card {
    min-height: 390px;
    padding: 34px 28px;
    border-radius: 48px;
    background: rgba(59, 35, 105, 0.70);
    color: #ffffff;
    text-decoration: none;
    box-shadow:
        inset 0 0 26px rgba(255,255,255,0.08),
        0 20px 46px rgba(34, 20, 55, 0.18);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.22s ease, background 0.22s ease;
}

.contact-info-card:hover {
    transform: translateY(-6px);
    background: rgba(75, 45, 128, 0.76);
}

.contact-info-img {
    height: 190px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-img img {
    max-width: 100%;
    max-height: 190px;
    object-fit: contain;
    filter: drop-shadow(0 12px 16px rgba(0,0,0,0.18));
}

.contact-info-copy {
    text-align: center;
}

.contact-info-copy h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 2rem;
    line-height: 1.05;
    text-shadow:
        1px 1px 0 #51367d,
        -1px 1px 0 #51367d,
        1px -1px 0 #51367d,
        -1px -1px 0 #51367d;
}

.contact-info-copy p {
    margin: 0;
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.45;
}

.contact-ico {
    margin-top: 14px;
    color: #ead7ff;
}

@media (max-width: 960px) {
    .contact-hero-card {
        grid-template-columns: 1fr;
        padding: 42px 34px;
        border-radius: 48px;
        text-align: center;
    }

    .contact-hero-image {
        order: -1;
    }

    .contact-hero-image img {
        width: 280px;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        min-height: auto;
    }

    .contact-info-img {
        height: 170px;
    }

    .contact-info-img img {
        max-height: 170px;
    }
}

@media (max-width: 520px) {
    .contact-inner {
        width: calc(100% - 24px);
        padding-bottom: 60px;
    }

    .contact-title {
        margin-bottom: 32px;
    }

    .contact-hero-card {
        padding: 34px 24px;
        border-radius: 36px;
    }

    .contact-hero-image img {
        width: 230px;
    }

    .contact-info-card {
        padding: 30px 22px;
        border-radius: 34px;
    }

    .contact-info-img {
        height: 145px;
    }

    .contact-info-img img {
        max-height: 145px;
    }
}

/* ==========================================================================
   12. KDE NÁS NAJDETE
   ========================================================================== */

.places-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 16%, rgba(110, 225, 255, 0.28), transparent 28%),
        radial-gradient(circle at 84% 20%, rgba(255, 255, 255, 0.18), transparent 24%),
        radial-gradient(circle at 18% 88%, rgba(36, 118, 220, 0.24), transparent 28%),
        radial-gradient(circle at 86% 84%, rgba(88, 240, 255, 0.22), transparent 25%),
        linear-gradient(180deg, #05336b 0%, #0589c6 50%, #32d4e8 100%);
}

.places-flow-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.places-flow-bg::before,
.places-flow-bg::after {
    content: "";
    position: absolute;
    inset: -18%;
    background-repeat: repeat;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.58) 1px, transparent 1.6px),
        radial-gradient(circle, rgba(117,229,255,0.58) 1px, transparent 1.7px),
        radial-gradient(circle, rgba(160,235,255,0.42) 1px, transparent 1.8px);
    background-size: 120px 120px, 190px 190px, 280px 280px;
    background-position: 0 0, 60px 80px, 110px 45px;
    animation: flowStarsMove 95s linear infinite;
    opacity: 0.32;
}

.places-flow-bg::after {
    opacity: 0.16;
    transform: scale(1.7);
    animation-duration: 145s;
}

@keyframes flowStarsMove {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-120px, -190px, 0);
    }
}

.flow-bubble {
    position: absolute;
    display: block;
    border-radius: 999px;
    border: 2px solid rgba(220, 250, 255, 0.58);
    background:
        radial-gradient(circle at 30% 24%, rgba(255,255,255,0.78), transparent 14%),
        radial-gradient(circle at 50% 60%, rgba(77, 215, 255, 0.32), transparent 56%);
    box-shadow: 0 0 18px rgba(98, 227, 255, 0.42);
    opacity: 0.42;
    animation: flowBubbleFloat 18s ease-in-out infinite;
}

.bubble-1 { width: 58px; height: 58px; left: 8%; top: 20%; animation-delay: -1s; }
.bubble-2 { width: 38px; height: 38px; right: 12%; top: 22%; animation-delay: -4s; }
.bubble-3 { width: 76px; height: 76px; left: 14%; bottom: 24%; animation-delay: -7s; }
.bubble-4 { width: 48px; height: 48px; right: 18%; bottom: 18%; animation-delay: -10s; }
.bubble-5 { width: 34px; height: 34px; left: 50%; top: 42%; animation-delay: -13s; }
.bubble-6 { width: 66px; height: 66px; right: 42%; bottom: 34%; animation-delay: -16s; }

@keyframes flowBubbleFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(0.95);
    }

    50% {
        transform: translate3d(18px, -48px, 0) scale(1.08);
    }
}

.flow-spark {
    position: absolute;
    width: 38px;
    height: 62px;
    opacity: 0.28;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.45));
    background:
        linear-gradient(45deg, transparent 43%, rgba(255,255,255,0.86) 50%, transparent 57%),
        linear-gradient(-45deg, transparent 43%, rgba(180,240,255,0.75) 50%, transparent 57%);
    animation: flowSparkFloat 22s ease-in-out infinite;
}

.spark-1 { left: 20%; top: 12%; animation-delay: -2s; }
.spark-2 { right: 9%; bottom: 30%; animation-delay: -8s; }
.spark-3 { left: 46%; bottom: 12%; animation-delay: -14s; }

@keyframes flowSparkFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }

    50% {
        transform: translate3d(18px, -30px, 0) rotate(12deg) scale(1.06);
    }
}

.places-inner {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 90px;
}

.places-title {
    margin: 0 0 54px;
    color: #ffffff;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1;
    text-align: center;
    text-shadow:
        2px 2px 0 #287fb2,
        -2px 2px 0 #287fb2,
        2px -2px 0 #287fb2,
        -2px -2px 0 #287fb2;
}

.places-map-hero {
    margin-bottom: 34px;
    padding: 52px 62px;
    border-radius: 72px;
    background: rgba(220, 250, 255, 0.70);
    box-shadow:
        inset 0 0 34px rgba(255,255,255,0.38),
        0 24px 60px rgba(20, 70, 120, 0.18);
    backdrop-filter: blur(4px);
}

.places-map-copy {
    margin-bottom: 34px;
    text-align: center;
}

.places-map-copy h2 {
    margin: 0 0 22px;
    color: #137fb0;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.04;
}

.places-map-copy p {
    margin: 0 0 18px;
    color: #137fb0;
    font-size: 1.1rem;
    line-height: 1.55;
}

.places-current-address {
    display: inline-block;
    margin-top: 8px;
    padding: 16px 20px;
    border-radius: 24px;
    background: rgba(19, 127, 176, 0.12);
    font-weight: bold;
}

.places-map-area {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 34px;
    align-items: center;
}

.places-map-wrap {
    width: 100%;
    min-height: 390px;
    border-radius: 44px;
    overflow: hidden;
    background: rgba(255,255,255,0.45);
    box-shadow:
        inset 0 0 24px rgba(255,255,255,0.22),
        0 18px 44px rgba(20, 70, 120, 0.18);
}

.places-map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 390px;
    display: block;
    border: 0;
}

.places-map-dragon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.places-map-dragon img {
    width: 290px;
    max-height: 390px;
    object-fit: contain;
    filter: drop-shadow(0 16px 20px rgba(20, 70, 120, 0.22));
}

.places-address-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.place-address-card {
    min-height: 260px;
    padding: 42px;
    border-radius: 48px;
    background: rgba(56, 154, 211, 0.70);
    color: #ffffff;
    text-align: center;
    cursor: pointer;
    box-shadow:
        inset 0 0 26px rgba(255,255,255,0.10),
        0 20px 46px rgba(20, 70, 120, 0.18);
    backdrop-filter: blur(4px);
    transition: transform 0.22s ease, background 0.22s ease, outline 0.22s ease;
}

.place-address-card:hover {
    transform: translateY(-6px);
    background: rgba(72, 164, 211, 0.78);
}

.place-address-card.is-active {
    outline: 4px solid rgba(255, 255, 255, 0.55);
    background: rgba(37, 138, 200, 0.82);
}

.place-address-card:focus-visible {
    outline: 4px solid rgba(255, 255, 255, 0.85);
}

.place-address-card h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.05;
    text-shadow:
        1px 1px 0 #287fb2,
        -1px 1px 0 #287fb2,
        1px -1px 0 #287fb2,
        -1px -1px 0 #287fb2;
}

.place-address-card p {
    margin: 0 0 24px;
    font-size: 1.08rem;
    line-height: 1.5;
}

.place-btn {
    position: relative;
    z-index: 3;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.22s ease, background 0.22s ease;
}

.place-btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 960px) {
    .places-map-hero {
        padding: 42px 34px;
        border-radius: 48px;
    }

    .places-map-area {
        grid-template-columns: 1fr;
    }

    .places-map-dragon {
        order: -1;
    }

    .places-map-dragon img {
        width: 240px;
        max-height: 320px;
    }

    .places-map-wrap,
    .places-map-wrap iframe {
        min-height: 330px;
    }

    .places-address-grid {
        grid-template-columns: 1fr;
    }

    .place-address-card {
        min-height: auto;
    }
}

@media (max-width: 520px) {
    .places-inner {
        width: calc(100% - 24px);
        padding-bottom: 60px;
    }

    .places-title {
        margin-bottom: 32px;
    }

    .places-map-hero {
        padding: 34px 24px;
        border-radius: 36px;
    }

    .places-map-dragon img {
        width: 210px;
    }

    .places-map-wrap,
    .places-map-wrap iframe {
        min-height: 280px;
        border-radius: 28px;
    }

    .place-address-card {
        padding: 32px 24px;
        border-radius: 34px;
    }
}

/* ==========================================================================
   13. OMEZENÍ ANIMACÍ
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .element-magic-canvas {
        display: none;
    }

    .element-star-layer,
    .element-star-layer::before,
    .element-star-layer::after,
    .element-nebula,
    .element-wisp,
    .contact-bg::before,
    .contact-bg::after,
    .contact-star,
    .places-flow-bg::before,
    .places-flow-bg::after,
    .flow-bubble,
    .flow-spark {
        animation: none;
    }
}


/* === EEREE ↔ Dračí svět propojení 2026-10-03 === */
.eeree-worldbar{width:100%;background:#1f57b4;color:#fff;position:relative;z-index:500;font-family:Arial,sans-serif;font-size:13px}
.eeree-worldbar__inner{width:min(1160px,calc(100% - 32px));min-height:36px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:18px}
.eeree-worldbar a{color:#fff;font-weight:700;text-decoration:none}
.eeree-worldbar__back{margin-right:auto}
.eeree-worldbar__inner>a:last-child{margin-left:auto}
.dragon-eeree-product-link{display:inline-flex;margin-top:22px;padding:13px 20px;border-radius:999px;background:#1f57b4;color:#fff!important;font-weight:800;text-decoration:none;box-shadow:0 12px 24px rgba(31,87,180,.18);transition:transform .2s ease,box-shadow .2s ease}
.dragon-eeree-product-link:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(31,87,180,.24)}
.dragon-eeree-footer{position:relative;z-index:20;display:flex;justify-content:space-between;align-items:flex-start;gap:28px;padding:30px max(24px,calc((100% - 1160px)/2));border-top:1px solid rgba(81,57,109,.14);background:#fff;color:#4c365e}
.dragon-eeree-footer>div{display:grid;gap:5px}
.dragon-eeree-footer strong{font-size:16px}
.dragon-eeree-footer span{color:#796b83;font-size:14px}
.dragon-eeree-footer nav{display:flex;flex-wrap:wrap;gap:18px}
.dragon-eeree-footer a{text-decoration:none;font-weight:700}
@media(max-width:700px){
    .eeree-worldbar__inner{width:min(100% - 20px,1160px);min-height:42px;font-size:11px}
    .eeree-worldbar__inner span{display:none}
    .dragon-eeree-footer{display:grid}
}

/* DRACI-HEADER-EEREE-V4-2026-10-03 */
.eeree-worldbar{
    display:none !important;
}

.logo-title-text{
    display:none !important;
}

.site-header{
    width:100%;
    max-width:none;
    padding-left:18px;
    padding-right:18px;
}

.site-navbar{
    width:100%;
    max-width:none !important;
    padding:0;
}

.nav-menu{
    width:100%;
    max-width:none;
    justify-content:center;
    gap:clamp(4px,.55vw,12px);
}

.nav-menu > li{
    flex:0 0 auto;
}

.nav-link{
    padding:8px clamp(5px,.55vw,10px);
    font-size:clamp(.82rem,.86vw,1.02rem);
}

.nav-logo-center-item{
    padding:0 clamp(5px,.8vw,16px);
}

.logo-center-link{
    gap:0 !important;
}

.logo-center-link .site-logo{
    width:190px !important;
    max-width:12vw;
    min-width:135px;
    height:auto;
}

.nav-eeree-link .nav-link,
.nav-draci-rodina-link .nav-link{
    white-space:nowrap;
}

@media (min-width:1025px) and (max-width:1380px){
    .site-header{
        padding-left:8px;
        padding-right:8px;
    }

    .nav-menu{
        gap:2px;
    }

    .nav-link{
        padding:7px 4px;
        font-size:clamp(.70rem,.76vw,.86rem);
    }

    .nav-logo-center-item{
        padding:0 4px;
    }

    .logo-center-link .site-logo{
        width:135px !important;
        min-width:110px;
        max-width:11vw;
    }
}

@media (max-width:1024px){
    .mobile-header-row .site-logo{
        width:165px !important;
        max-width:72vw;
        height:auto;
    }

    .nav-eeree-link,
    .nav-draci-rodina-link{
        width:100%;
        text-align:center;
    }

    .nav-eeree-link .nav-link,
    .nav-draci-rodina-link .nav-link{
        justify-content:center;
        font-size:1.15rem;
    }
}
/* DRACI-HEADER-CENTER-V6-2026-10-03 */

/* případná předchozí samostatná EEREE lišta se nesmí zobrazit */
.eeree-worldbar{
    display:none !important;
}

/* text DRÁČCI pod logem pryč */
.logo-title-text{
    display:none !important;
}

@media (min-width:1025px){

    .site-header{
        width:100% !important;
        max-width:none !important;
        padding-left:16px !important;
        padding-right:16px !important;
        box-sizing:border-box;
    }

    .site-navbar{
        width:100% !important;
        max-width:none !important;
        padding:0 !important;
        margin:0 auto !important;
    }

    /*
       Zásadní část:
       levá půlka | logo | pravá půlka
       Logo je tedy na 50 % viewportu bez ohledu na délku menu.
    */
    .nav-menu.nav-menu--balanced{
        width:100% !important;
        max-width:none !important;
        margin:0 !important;
        padding:0 !important;
        display:grid !important;
        grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
        align-items:center !important;
        gap:18px !important;
        overflow:visible !important;
    }

    .nav-menu--balanced > .nav-side{
        min-width:0;
        display:block !important;
        margin:0 !important;
        padding:0 !important;
    }

    .nav-side-list{
        margin:0 !important;
        padding:0 !important;
        list-style:none !important;
        display:flex !important;
        align-items:center !important;
        flex-wrap:nowrap !important;
        gap:clamp(2px,.4vw,9px) !important;
        white-space:nowrap;
    }

    .nav-side--left .nav-side-list{
        justify-content:flex-end !important;
    }

    .nav-side--right .nav-side-list{
        justify-content:flex-start !important;
    }

    .nav-menu--balanced > .nav-logo-center-item{
        grid-column:2 !important;
        justify-self:center !important;
        align-self:center !important;
        position:static !important;
        left:auto !important;
        right:auto !important;
        top:auto !important;
        transform:none !important;
        margin:0 !important;
        padding:0 8px !important;
    }

    .nav-menu--balanced .logo-center-link{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        gap:0 !important;
        margin:0 !important;
        padding:0 !important;
    }

    .nav-menu--balanced .logo-center-link .site-logo{
        display:block;
        width:190px !important;
        max-width:none !important;
        min-width:0 !important;
        height:auto !important;
    }

    .nav-menu--balanced .nav-link{
        padding:8px clamp(3px,.38vw,8px) !important;
        font-size:clamp(.70rem,.76vw,.96rem) !important;
        white-space:nowrap !important;
    }

    .nav-menu--balanced .nav-eeree-link .nav-link,
    .nav-menu--balanced .nav-draci-rodina-link .nav-link{
        white-space:nowrap !important;
    }
}

/* notebook / menší desktop – vše lehce zkompaktnit, střed zůstává přesný */
@media (min-width:1025px) and (max-width:1500px){
    .site-header{
        padding-left:8px !important;
        padding-right:8px !important;
    }

    .nav-menu.nav-menu--balanced{
        gap:8px !important;
    }

    .nav-side-list{
        gap:0 !important;
    }

    .nav-menu--balanced .nav-link{
        padding:7px 2px !important;
        font-size:clamp(.62rem,.67vw,.80rem) !important;
    }

    .nav-menu--balanced .logo-center-link .site-logo{
        width:150px !important;
    }
}

/* mobil – zachovat hamburger/menu chování, jen skupiny vizuálně rozbalit */
@media (max-width:1024px){

    .nav-menu.nav-menu--balanced{
        display:flex !important;
        flex-direction:column !important;
    }

    .nav-menu--balanced > .nav-side,
    .nav-menu--balanced .nav-side-list{
        display:contents !important;
    }

    .nav-menu--balanced > .nav-logo-center-item{
        order:-1;
    }

    .mobile-header-row .site-logo,
    .nav-menu--balanced .site-logo{
        width:165px !important;
        max-width:72vw !important;
        height:auto !important;
    }

    .nav-menu--balanced .nav-eeree-link,
    .nav-menu--balanced .nav-draci-rodina-link{
        width:100%;
        text-align:center;
    }
}
