/* =========================================================
   Veřejné podstránky – jeden vizuál, širší plocha, scroll reveal.
   Růžová = identita. Tyrkys izolovaně, nikdy vedle růžové.
   ========================================================= */

.club-page { --draci-brand-bar: var(--draci-pink); }

.club-page header.draci-header {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: saturate(1.2) blur(14px);
    -webkit-backdrop-filter: saturate(1.2) blur(14px);
    box-shadow: 0 1px 0 rgba(10, 10, 10, 0.06), 0 12px 32px rgba(10, 10, 10, 0.05);
}
.club-page header.draci-header::after {
    height: 3px;
    background: var(--draci-pink) !important;
}
.club-page header.draci-header.is-scrolled .h-20 { height: 4.15rem; transition: height 0.25s ease; }
.club-page header.draci-header.is-scrolled #header-logo { height: 2.6rem; }

.club-page .nav-link { position: relative; }
.club-page .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: var(--draci-pink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}
.club-page .nav-link:hover::after,
.club-page .nav-link.text-draci-pink::after { transform: scaleX(1); }

/* Hero: bez pruhů, mřížky a tyrkysové záře */
.club-page .page-hero__slashes,
.club-page .page-hero__atmosphere,
.club-page .page-hero__glow--teal,
.club-page .nov-slash { display: none !important; }

.club-page .page-hero {
    min-height: 18.5rem;
    padding: 5.25rem 0 3.75rem;
    background:
        radial-gradient(ellipse 70% 55% at 12% 100%, rgba(var(--draci-pink-rgb), 0.2), transparent 55%),
        linear-gradient(165deg, #141414 0%, #0a0a0a 50%, #050505 100%);
}
.club-page .page-hero::after {
    height: 3px;
    background: var(--draci-pink);
    z-index: 1;
}
.club-page .page-hero__eyebrow {
    color: rgba(255, 255, 255, 0.7);
    animation: none;
    text-shadow: none;
    letter-spacing: 0.32em;
}
.club-page .page-hero__divider {
    box-shadow: 0 0 16px rgba(var(--draci-pink-rgb), 0.45);
    background: var(--draci-pink);
    animation: none;
}
.club-page .page-hero__accent { animation: none; }
.club-page .page-hero__glow {
    animation: none;
    opacity: 0.55;
}

html.draci-ui-ready .club-page .page-hero__inner {
    animation: club-hero-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes club-hero-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

/* Širší plocha – telefon až široký desktop */
.club-shell,
.club-wrap {
    width: 100%;
    max-width: 92rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.club-wrap {
    padding-top: 2.25rem;
    padding-bottom: 3.5rem;
}
@media (min-width: 640px) {
    .club-shell,
    .club-wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
    .club-wrap { padding-top: 2.75rem; padding-bottom: 4.25rem; }
}
@media (min-width: 1024px) {
    .club-shell,
    .club-wrap { padding-left: 2rem; padding-right: 2rem; max-width: 96rem; }
    .club-wrap { padding-top: 3.25rem; padding-bottom: 5rem; }
}
@media (min-width: 1600px) {
    .club-shell,
    .club-wrap { max-width: 108rem; padding-left: 2.5rem; padding-right: 2.5rem; }
}

.club-kicker {
    display: inline-flex;
    color: #6b6b73;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}
.club-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: clamp(1.55rem, 3.2vw, 2.4rem);
    line-height: 1.1;
    color: #141414;
    margin: 0;
}
.club-title span { color: var(--draci-pink); }
.club-rule {
    width: 4.5rem;
    height: 3px;
    margin: 0.85rem 0 0;
    background: var(--draci-pink);
    border-radius: 2px;
}
.club-rule--center { margin-left: auto; margin-right: auto; }

.club-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 0.95rem 1.85rem;
    border-radius: 9999px;
    border: 2px solid transparent;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    line-height: 1;
}
.club-btn:hover { transform: translateY(-2px); }
.club-btn--pink {
    background: var(--draci-pink);
    color: #fff;
    box-shadow: 0 10px 28px rgba(var(--draci-pink-rgb), 0.32);
}
.club-btn--pink:hover { background: var(--draci-pink-dark); color: #fff; }
.club-btn--dark {
    background: transparent;
    color: var(--draci-dark);
    border-color: var(--draci-dark);
}
.club-btn--dark:hover { background: var(--draci-dark); color: #fff; }

.club-panel {
    background: #fff;
    border: 1px solid #ececef;
    border-radius: 1.5rem;
    box-shadow: 0 14px 36px rgba(10, 10, 10, 0.06);
}
.club-panel--overlap {
    position: relative;
    z-index: 5;
    margin-top: 0;
    margin-bottom: 2rem;
    padding: 1.35rem 1.15rem 1.5rem;
}
@media (min-width: 768px) {
    .club-panel--overlap {
        padding: 1.6rem 1.75rem 1.7rem;
    }
}

.club-empty {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: #fff;
    border: 1px dashed #d4d4d8;
    border-radius: 1.75rem;
    color: #9ca3af;
}

/* Scroll: bloky se pomalu objeví */
html.club-reveal-ready .club-page [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}
html.club-reveal-ready .club-page [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* Novinky – první řádek nadcházející, pod tím pás minulých */
.club-page #novinky-container {
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
}
#novinky-upcoming,
#novinky-past {
    text-align: center;
}
#novinky-upcoming .club-kicker,
#novinky-past .club-kicker {
    display: flex;
    justify-content: center;
    width: 100%;
}
#novinky-upcoming .club-rule,
#novinky-past .club-rule {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}
.nov-upcoming__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.4rem;
}

.nov-tile {
    background: #fff;
    border: 1px solid #ececef;
    border-radius: 1.45rem;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(10, 10, 10, 0.07);
    width: min(100%, 23.5rem);
    flex-shrink: 0;
    text-align: left;
}
.nov-tile__hit {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: inherit;
}
.nov-tile__media {
    aspect-ratio: 16 / 10;
    background: #0a0a0a;
    overflow: hidden;
}
.nov-tile__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.nov-tile__ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    background: linear-gradient(165deg, #1a1a1a, #0a0a0a);
}
.nov-tile__body { padding: 1.15rem 1.25rem 1.3rem; }
.nov-tile__badge {
    display: inline-block;
    background: var(--draci-pink);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.22rem 0.5rem;
    border-radius: 0.45rem;
    margin-bottom: 0.45rem;
}
.nov-tile__title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.35rem;
    line-height: 1.2;
    margin: 0 0 0.55rem;
    color: #141414;
}
.nov-tile__meta {
    margin: 0.2rem 0 0;
    font-size: 0.86rem;
    font-weight: 600;
    color: #6b7280;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}
.nov-tile__meta i { color: var(--draci-pink); margin-top: 0.15rem; }
.nov-tile__open {
    display: inline-block;
    margin-top: 0.7rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--draci-pink);
}
.nov-tile.is-open .nov-tile__open { color: #141414; }
.nov-tile__detail {
    padding: 0 1.1rem 1.15rem;
    border-top: 1px solid #f3f3f5;
}
.nov-tile__line,
.nov-tile__text {
    margin: 0.65rem 0 0;
    font-size: 0.82rem;
    color: #4b5563;
    line-height: 1.5;
}
.nov-tile__line i { color: var(--draci-pink); margin-right: 0.4rem; }
.nov-tile__files { margin: 0.75rem 0 0; padding: 0; list-style: none; }
.nov-tile__files a {
    color: var(--draci-pink);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}
.nov-tile__files a:hover { text-decoration: underline; }

.nov-past__track {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.4rem;
    width: 100%;
}
.nov-past__track.is-loop {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    animation: scroll 42s linear infinite;
}
.nov-past__track.is-loop:hover { animation-play-state: paused; }
.nov-past__fade {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.nov-past__empty,
.nov-upcoming__empty {
    color: #9ca3af;
    font-size: 0.9rem;
    text-align: center;
    padding: 1.5rem 0;
}
@keyframes kontakty-highlight-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(219, 32, 113, 0.85), 0 18px 40px rgba(219, 32, 113, 0.32); }
    50% { box-shadow: 0 0 0 8px rgba(219, 32, 113, 0.35), 0 18px 40px rgba(219, 32, 113, 0.18); }
}
.nov-tile.is-highlight,
.kontakty-person.is-highlight {
    box-shadow: 0 0 0 4px rgba(219, 32, 113, 0.85), 0 18px 40px rgba(219, 32, 113, 0.32) !important;
    transform: translateY(-4px);
    z-index: 3;
    animation: kontakty-highlight-pulse 1s ease-in-out 3;
}

/* Tréninky – 1 / 2 / 5 sloupců podle šířky */
.club-page #rozvrh-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 700px) {
    .club-page #rozvrh-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
}
@media (min-width: 1200px) {
    .club-page #rozvrh-container { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.95rem; }
}
.club-page .rozvrh-day-head {
    background: #0a0a0a;
    color: #00b5ad;
    text-align: center;
    padding: 0.95rem 0.6rem;
    border-radius: 1.6rem 1.6rem 0 0;
}
.club-page .rozvrh-day-head h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #00b5ad;
    margin: 0;
}
.club-page .filter-btn {
    border-radius: 9999px;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: #f3f4f6;
    color: #4b5563;
    border: 0;
    box-shadow: none;
}
.club-page .filter-btn:hover { background: #e8e8ed; color: #141414; }
.club-page .filter-btn.active {
    background: var(--draci-pink);
    color: #fff;
    box-shadow: 0 8px 18px rgba(var(--draci-pink-rgb), 0.32);
}
.club-page .trenink-card {
    border-radius: 1.15rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.club-page .trenink-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(10, 10, 10, 0.08);
}

/* Utkání – karty přes celou šířku wrapu */
.club-page #main-content { width: 100%; }
.club-page .utkani-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.4rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(10, 10, 10, 0.06);
}
.club-page .utkani-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-width: 11rem;
    padding: 0.85rem 1.7rem;
    border-radius: 0.75rem;
    font-weight: 800;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: transparent;
    color: #374151;
    border: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
@media (min-width: 768px) {
    .club-page .utkani-tab { padding: 0.9rem 2.4rem; font-size: 1rem; min-width: 13rem; }
}
.club-page .utkani-tab:hover { color: #141414; background: #f3f4f6; }
.club-page .utkani-tab.is-on {
    background: var(--draci-pink);
    color: #fff;
    box-shadow: 0 8px 18px rgba(var(--draci-pink-rgb), 0.32);
}
.club-page .utkani-tab.is-on:hover { color: #fff; background: var(--draci-pink); }
.club-page .utkani-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 62rem;
}
.club-page .utkani-filter {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: min(100%, 16rem);
    padding: 0.7rem 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    box-shadow: 0 2px 10px rgba(10, 10, 10, 0.04);
}
.club-page .utkani-filter i { color: var(--draci-pink); width: 1rem; text-align: center; }
.club-page .utkani-filter select {
    flex: 1;
    min-width: 10rem;
    max-width: 16rem;
    border: 0;
    background: transparent;
    color: #141414;
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    outline: none;
    cursor: pointer;
}
.club-page .tournament-card { transition: transform 0.22s ease, box-shadow 0.22s ease; }
.club-page .tournament-card:hover { box-shadow: 0 18px 40px rgba(10, 10, 10, 0.08); }

/* E-shop – víc karet vedle sebe na širokém displeji */
.club-page .eshop-subnav .club-shell { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.club-page .eshop-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr));
    gap: 1.25rem;
}
@media (min-width: 1400px) {
    .club-page .eshop-grid { grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr)); }
}

/* Kontakty – fotky na střed */
.club-page #kontakty-container img {
    object-fit: cover;
    object-position: center center;
}

@media (prefers-reduced-motion: reduce) {
    html.draci-ui-ready .club-page .page-hero__inner,
    .club-page [data-reveal],
    .club-page .trenink-card,
    .club-page .nov-card,
    .club-page .tournament-card {
        animation: none;
        transition: none;
        transform: none;
        opacity: 1;
    }
}
