/*
 * BeerPongTour – Web Module Theme Override
 * Primary: Blue (#0052b4) | Secondary: Red (#d31818)
 * Loaded ONLY in Web @layout.latte – does NOT affect Admin module
 */

/* ── Cross-document View Transitions (Chrome 126+) ──
   Plynulý cross-fade mezi stránkami – žádný bílý záblesk při navigaci */
@view-transition {
    navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.2s;
}

/* ── Light mode ── */
:root,
[data-bs-theme=light] {
    --vz-primary: #0052b4;
    --vz-primary-rgb: 0, 82, 180;
    --vz-primary-bg-subtle: rgba(0, 82, 180, 0.15);
    --vz-primary-border-subtle: rgba(0, 82, 180, 0.3);
    --vz-primary-text-emphasis: #003d87;

    --vz-secondary: #d31818;
    --vz-secondary-rgb: 211, 24, 24;
    --vz-secondary-bg-subtle: rgba(211, 24, 24, 0.15);
    --vz-secondary-border-subtle: rgba(211, 24, 24, 0.3);
    --vz-secondary-text-emphasis: #a81313;

    --vz-link-color: #0052b4;
    --vz-link-color-rgb: 0, 82, 180;
    --vz-link-hover-color: #d31818;
    --vz-link-hover-color-rgb: 211, 24, 24;
}

/* ── Horizontal menu – red bg, white text ── */
:root,
[data-bs-theme=light] {
    --vz-topnav-bg: #d31818;
    --vz-topnav-item-color: rgba(255, 255, 255, 0.8);
    --vz-topnav-item-active-color: #fff;
}

[data-layout=horizontal] .navbar-menu {
    background: linear-gradient(180deg, #c71414 0%, #a81010 100%) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) !important;
    padding: 0.5rem calc(var(--vz-grid-gutter-width) * 0.5) !important;
}
[data-layout=horizontal] .navbar-menu .container-fluid {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* nav-item + nav-link – vyplní celou výšku, symetrický hover */
[data-layout=horizontal] .navbar-menu .navbar-nav {
    align-items: stretch !important;
}
[data-layout=horizontal] .navbar-menu .navbar-nav > .nav-item {
    display: flex !important;
}
[data-layout=horizontal] .navbar-menu .navbar-nav > .nav-item > .nav-link {
    display: flex !important;
    align-items: center !important;
    padding: 0 1.25rem !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    font-size: 0.875rem !important;
    border-radius: 6px !important;
    transition: color 0.2s ease, background 0.2s ease !important;
}

/* hover – jemný světlý overlay, čistý vzhled */
[data-layout=horizontal] .navbar-menu .navbar-nav > .nav-item > .nav-link:hover,
[data-layout=horizontal] .navbar-menu .navbar-nav > .nav-item > .nav-link:focus {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
}

/* active / rozbalený dropdown */
[data-layout=horizontal] .navbar-menu .navbar-nav > .nav-item > .nav-link.active,
[data-layout=horizontal] .navbar-menu .navbar-nav > .nav-item > .nav-link[aria-expanded=true] {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.18) !important;
}
/* Premier League logo v navbaru – sladěná výška, žádné odskakování */
.bpt-nav-pl-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

/* dropdown submenu – čisté karty, sladěno s modálním UI */
[data-layout=horizontal] .navbar-menu .menu-dropdown {
    background-color: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    border-radius: 8px !important;
    padding: 0.5rem !important;
    margin-top: 0.25rem !important;
    /* explicitní pozice – display:flex na nav-item jinak posune dropdown */
    top: 100% !important;
    left: 0 !important;
}
[data-layout=horizontal] .navbar-menu .menu-dropdown .nav-link {
    color: #495057 !important;
    padding: 0.5rem 1rem !important;
    background-color: transparent !important;
    border-radius: 6px !important;
    transition: color 0.2s ease, background 0.2s ease !important;
}
[data-layout=horizontal] .navbar-menu .menu-dropdown .nav-link:hover {
    color: var(--vz-primary) !important;
    background-color: rgba(0, 82, 180, 0.08) !important;
}


/* ── Topbar height (–20%) ── */
#page-topbar .navbar-header {
    height: 56px !important;
}
.header-item {
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
/* Zvoneček a košík – vertikálně vycentrované v topbaru */
.navbar-header .header-item .btn-topbar {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
/* Badge na ikonách – mírně dolů (app.css má top:4px), bez přepisování left */
.navbar-header .btn-topbar .topbar-badge {
    top: 8px !important;
}
[data-layout=horizontal] .navbar-menu {
    margin-top: 56px !important;
}
/* ── Topbar dark (navbar) – uses primary blue ── */
[data-topbar=dark] {
    --vz-header-bg: var(--vz-primary) !important;
    --vz-header-border: var(--vz-primary) !important;
    --vz-header-item-color: rgba(255, 255, 255, 0.85);
    --vz-header-item-bg: rgba(255, 255, 255, 0.12);
    --vz-header-item-sub-color: rgba(255, 255, 255, 0.65);
    --vz-topbar-user-bg: transparent;
    --vz-topbar-search-bg: rgba(255, 255, 255, 0.07);
    --vz-topbar-search-color: #fff;
}

/* ── Override green theme-colors (kill the green completely) ── */
[data-theme-colors=green] {
    --vz-primary: #0052b4 !important;
    --vz-primary-rgb: 0, 82, 180 !important;
    --vz-primary-bg-subtle: rgba(0, 82, 180, 0.15) !important;
    --vz-primary-border-subtle: rgba(0, 82, 180, 0.3) !important;
    --vz-primary-text-emphasis: #003d87 !important;
}

/* ── Bootstrap button overrides (btn-primary / btn-secondary) ── */
.btn-primary {
    --vz-btn-bg: var(--vz-primary);
    --vz-btn-border-color: var(--vz-primary);
    --vz-btn-hover-bg: #003d87;
    --vz-btn-hover-border-color: #003270;
    --vz-btn-active-bg: #003270;
    --vz-btn-active-border-color: #00285a;
}

.btn-secondary {
    --vz-btn-bg: var(--vz-secondary);
    --vz-btn-border-color: var(--vz-secondary);
    --vz-btn-hover-bg: #a81313;
    --vz-btn-hover-border-color: #8e1010;
    --vz-btn-active-bg: #8e1010;
    --vz-btn-active-border-color: #740d0d;
}

.btn-outline-primary {
    --vz-btn-color: var(--vz-primary);
    --vz-btn-border-color: var(--vz-primary);
    --vz-btn-hover-bg: var(--vz-primary);
    --vz-btn-hover-border-color: var(--vz-primary);
    --vz-btn-active-bg: var(--vz-primary);
    --vz-btn-active-border-color: var(--vz-primary);
}

.btn-outline-secondary {
    --vz-btn-color: var(--vz-secondary);
    --vz-btn-border-color: var(--vz-secondary);
    --vz-btn-hover-bg: var(--vz-secondary);
    --vz-btn-hover-border-color: var(--vz-secondary);
    --vz-btn-active-bg: var(--vz-secondary);
    --vz-btn-active-border-color: var(--vz-secondary);
}

/* ── Soft button variants ── */
.btn-soft-primary {
    color: var(--vz-primary) !important;
    background-color: rgba(var(--vz-primary-rgb), 0.1) !important;
}
.btn-soft-primary:hover {
    color: #fff !important;
    background-color: var(--vz-primary) !important;
}

.btn-soft-secondary {
    color: var(--vz-secondary) !important;
    background-color: rgba(var(--vz-secondary-rgb), 0.1) !important;
}
.btn-soft-secondary:hover {
    color: #fff !important;
    background-color: var(--vz-secondary) !important;
}

/* ── Badge overrides ── */
.badge.bg-primary-subtle {
    color: var(--vz-primary) !important;
}
.badge.bg-secondary-subtle {
    color: var(--vz-secondary) !important;
}

/* ── Nav / tabs ── */
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
    color: var(--vz-secondary);
}
.nav-tabs .nav-link.active {
    color: var(--vz-secondary);
    border-bottom-color: var(--vz-secondary);
}

/* ── Nav-tabs-custom (Velzon underline tabs) ── */
.nav-tabs-custom .nav-link:hover,
.nav-tabs-custom .nav-link:focus {
    color: var(--vz-secondary);
}
.nav-tabs-custom .nav-link.active {
    color: var(--vz-secondary);
}
.nav-tabs-custom .nav-link.active::after {
    background-color: var(--vz-secondary) !important;
}

/* ── Nav-pills / animation-nav (PlayerZone) ── */
.animation-nav li a:hover,
.animation-nav li a.active {
    color: #fff !important;
}
.animation-nav li a:hover::before,
.animation-nav li a.active::before {
    background-color: var(--vz-secondary) !important;
}

/* ── PlayerZone: sociální sítě – brand barvy, tmavý profil ── */
.pz-social-link {
    color: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.pz-social-link:hover {
    color: #fff;
    transform: translateY(-2px);
    opacity: 0.9;
}
.pz-social-link:hover .pz-social-icon {
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}
.pz-social-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    color: #fff;
    transition: box-shadow 0.2s ease;
}
.pz-social-ig .pz-social-icon {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.pz-social-fb .pz-social-icon {
    background: #1877f2;
}
.pz-social-tt .pz-social-icon {
    background: linear-gradient(135deg, #25f4ee 0%, #fe2c55 100%);
}

/* ── Generic link hover ── */
a:hover {
    color: var(--vz-secondary);
}

/* ── Progress bar ── */
.progress-bar {
    background-color: var(--vz-primary);
}

/* ── Pagination ── */
.page-item.active .page-link {
    background-color: var(--vz-primary);
    border-color: var(--vz-primary);
}
.page-link {
    color: var(--vz-primary);
}
.page-link:hover {
    color: var(--vz-secondary);
    border-color: var(--vz-secondary);
}

/* ── Text utility links ── */
.text-info:hover {
    color: var(--vz-secondary) !important;
}
a.text-muted:hover {
    color: var(--vz-secondary) !important;
}

/* ── Main menu (horizontal navbar) ── */
.navbar-menu .navbar-nav .nav-link:hover,
.navbar-menu .navbar-nav .nav-link:focus {
    color: var(--vz-secondary) !important;
}
.navbar-menu .navbar-nav .nav-link.active {
    color: var(--vz-secondary) !important;
}
.navbar-menu .navbar-nav .nav-sm .nav-link:hover {
    color: var(--vz-secondary) !important;
}

/* ── Velzon menu CSS variable overrides ── */
:root,
[data-bs-theme=light] {
    --vz-vertical-menu-item-hover-color: #d31818;
    --vz-vertical-menu-item-active-color: #d31818;
}

/* ── Dropdown items hover (all dropdowns) ── */
.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--vz-secondary) !important;
}

/* ── Notification dropdown – world-class UX ── */
/* Žádná díra – dropdown těsně pod topbarem */
.navbar-header .topbar-head-dropdown .dropdown-menu.show {
    top: 2px !important;
    margin-top: 0 !important;
}
.topbar-head-dropdown .dropdown-head.bg-primary {
    background: linear-gradient(135deg, #0052b4 0%, #003d87 100%) !important;
}
.topbar-head-dropdown .dropdown-menu {
    border-radius: 12px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    animation: bptNotifUnrollIn 0.55s cubic-bezier(0.34, 1.2, 0.64, 1) both !important;
}
/* Zavírání – sbalení zdola nahoru */
.topbar-head-dropdown .dropdown-menu.notif-closing {
    animation: bptNotifUnrollOut 0.45s cubic-bezier(0.55, 0.06, 0.68, 0.19) both !important;
}
/* Rozvinutí shora dolů jako koberec */
@keyframes bptNotifUnrollIn {
    0% {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
    }
    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}
/* Sbalení zdola nahoru */
@keyframes bptNotifUnrollOut {
    0% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
    100% {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
    }
}
/* Více prostoru v headeru – nav taby ne nalepené dole */
.topbar-head-dropdown .dropdown-head > .p-3 {
    padding-bottom: 0.5rem !important;
}
.topbar-head-dropdown .dropdown-head .nav-tabs-custom {
    padding-top: 0.25rem;
    padding-bottom: 0.5rem;
}

/* Backdrop při otevření notifikací – page content nesplyvá */
body:has(#notificationDropdown .dropdown-menu.show)::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 999;
    pointer-events: auto;
}
.topbar-head-dropdown .dropdown-head .nav-tabs-custom {
    gap: 4px;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.topbar-head-dropdown .dropdown-head .nav-tabs-custom .nav-item {
    flex-shrink: 0;
}
.topbar-head-dropdown .dropdown-head .nav-tabs-custom .nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}
.topbar-head-dropdown .dropdown-head .nav-tabs-custom .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.15) !important;
}
.topbar-head-dropdown .dropdown-head .nav-tabs-custom .nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.2) !important;
}
.topbar-head-dropdown .dropdown-head .nav-tabs-custom .nav-link.active::after {
    display: none;
}
.topbar-head-dropdown .dropdown-head .nav-tabs-custom .nav-link .badge {
    font-size: 11px;
    font-weight: 600;
}
.topbar-head-dropdown .notification-item:hover {
    background-color: rgba(0, 82, 180, 0.06) !important;
}
.topbar-head-dropdown .notification-item:hover h6 {
    color: var(--vz-primary) !important;
}

/* ── Unread UI – jako karty s rounded a padding ── */
.topbar-head-dropdown .notification-item.unread::before,
.topbar-head-dropdown .notification-item.notification-new::before {
    display: none !important;
}
.topbar-head-dropdown .notification-item.unread,
.topbar-head-dropdown .notification-item.notification-new {
    background-color: rgba(0, 82, 180, 0.1) !important;
    border-radius: 10px !important;
}
.topbar-head-dropdown .notification-item.unread h6,
.topbar-head-dropdown .notification-item.notification-new h6 {
    font-weight: 600 !important;
}
/* Všechny notifikace – menší mezery, max-width, oddělovač mezi položkami */
.topbar-head-dropdown .dropdown-item.notification-item {
    padding: 12px 14px !important;
    margin: 6px 6px 0 6px !important;
    border-radius: 10px !important;
    max-width: calc(100% - 12px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}
.topbar-head-dropdown .dropdown-item.notification-item:last-child {
    margin-bottom: 6px !important;
    border-bottom: none !important;
}
.topbar-head-dropdown .notification-item:not(.unread):not(.notification-new):hover {
    background-color: rgba(0, 0, 0, 0.03) !important;
}
/* Scroll – padding uvnitř scroll-area, scrollbar zůstane u pravého kraje dropdownu */
.topbar-head-dropdown .notification-scroll-area {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-left: 6px !important;
    padding-right: 6px !important;
}
.topbar-head-dropdown .tab-content {
    overflow-x: hidden;
}
.topbar-head-dropdown .notification-item .badge.bg-primary.rounded-circle {
    width: 8px;
    height: 8px;
    padding: 0;
    min-width: 8px;
    background: var(--vz-primary) !important;
}
/* Tlačítka v žádostech – výrazná, interaktivní */
.topbar-head-dropdown .notification-item .btn-success,
.topbar-head-dropdown .notification-item .btn-danger {
    padding: 0.35rem 0.65rem;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
}
/* Avatar/ikonka a tlačítka vertikálně vycentrovány */
.topbar-head-dropdown .notification-item > .d-flex {
    align-items: center !important;
}
.topbar-head-dropdown .notification-item .avatar-xs,
.topbar-head-dropdown .notification-item .avatar-title {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Mobil: větší mezera mezi zvonečkem a profilem */
@media (max-width: 575.98px) {
    .topbar-head-dropdown.header-item {
        margin-inline-end: 0.5rem;
    }
    .topbar-user {
        margin-inline-start: 1rem !important;
    }
}

/* ── Topbar ikonky (zvoneček, košík) – sladěno s profilem, bílý overlay ── */
[data-topbar=dark] .navbar-header .btn-topbar {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}
[data-topbar=dark] .navbar-header .btn-topbar:hover,
[data-topbar=dark] .navbar-header .btn-topbar:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}
[data-topbar=dark] .navbar-header .btn-topbar[aria-expanded="true"],
[data-topbar=dark] .navbar-header .btn-topbar.show {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
}
[data-topbar=dark] .navbar-header .btn-topbar:hover i,
[data-topbar=dark] .navbar-header .btn-topbar:focus i,
[data-topbar=dark] .navbar-header .btn-topbar[aria-expanded="true"] i,
[data-topbar=dark] .navbar-header .btn-topbar:hover span:not(.badge),
[data-topbar=dark] .navbar-header .btn-topbar:focus span:not(.badge),
[data-topbar=dark] .navbar-header .btn-topbar[aria-expanded="true"] span:not(.badge) {
    color: #fff !important;
}
/* ── Profile pill button – sladěno s modrým topbarem ── */
[data-topbar=dark] .topbar-user {
    background-color: transparent !important;
}
[data-topbar=dark] .topbar-user .topbar-profile-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 2px 10px 2px 6px;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    height: 38px;
}
[data-topbar=dark] .topbar-user .topbar-profile-btn:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}
.topbar-profile-btn .avatar-xs {
    width: 32px !important;
    height: 32px !important;
    object-fit: cover;
    flex-shrink: 0;
}
.topbar-profile-name {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1;
}
.topbar-profile-arrow {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   PROFIL OFFCANVAS – tlačítkový design, sladěno s BPT
══════════════════════════════════════════════════════════════ */
.bpt-profile-offcanvas {
    --bpt-profile-card: #1a2b4b;
    --bpt-profile-primary: #0052b4;
    --bpt-profile-admin: #d31818;
    --bpt-profile-bppl: #d4a017;
}
.bpt-profile-header {
    background: var(--vz-primary) !important;
    color: #fff !important;
    padding: 1rem 1.25rem !important;
    border-bottom: none !important;
}
.bpt-profile-body {
    background: #f8f9fa !important;
    padding: 1rem 1.25rem !important;
}
.bpt-profile-usercard {
    background: transparent !important;
    color: #333;
}
.bpt-profile-usercard h6 {
    color: #212529 !important;
}
.bpt-profile-usercard p {
    color: #6c757d !important;
}
.bpt-profile-avatar {
    width: 48px !important;
    height: 48px !important;
    object-fit: cover;
    border: 2px solid rgba(0, 0, 0, 0.08);
}
/* Tlačítka – odkaz vypadá jako btn */
.bpt-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}
.bpt-profile-btn:hover {
    background: rgba(0, 82, 180, 0.06);
    border-color: var(--bpt-profile-primary);
    color: var(--bpt-profile-primary);
}
.bpt-profile-btn i {
    font-size: 1.25rem;
    color: var(--bpt-profile-primary);
    flex-shrink: 0;
}
.bpt-profile-btn-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
/* Admin – červené pozadí */
.bpt-profile-btn-admin {
    background: var(--bpt-profile-admin) !important;
    border-color: var(--bpt-profile-admin) !important;
    color: #fff !important;
}
.bpt-profile-btn-admin i {
    color: #fff !important;
}
.bpt-profile-btn-admin:hover {
    background: #b91414 !important;
    border-color: #b91414 !important;
    color: #fff !important;
}
/* BPPL – Premier League branding: černé pozadí, červená+modrá+bílá */
.bpt-profile-btn-bppl {
    background: #0d0d0d !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    letter-spacing: 0.5px;
}
.bpt-profile-bppl-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}
.bpt-profile-bppl-text .bppl-red { color: #dd0000 !important; }
.bpt-profile-bppl-text .bppl-blue { color: #3498db !important; }
.bpt-profile-bppl-text .bppl-white { color: #fff !important; font-weight: 600; }
.bpt-profile-btn-bppl i {
    color: #fff !important;
}
.bpt-profile-btn-bppl:hover {
    background: #1a1a1a !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}
.bpt-profile-btn-bppl:hover .bppl-red { color: #ff3333 !important; }
.bpt-profile-btn-bppl:hover .bppl-blue { color: #5dade2 !important; }
/* Logout – světle šedé pozadí */
.bpt-profile-btn-logout {
    background: #e9ecef !important;
    border-color: #dee2e6 !important;
    color: #495057 !important;
}
.bpt-profile-btn-logout i {
    color: #6c757d !important;
}
.bpt-profile-btn-logout:hover {
    background: #dee2e6 !important;
    border-color: #ced4da !important;
    color: #343a40 !important;
}
.bpt-profile-btn-logout:hover i {
    color: #495057 !important;
}


/* ══════════════════════════════════════════════════════════════
   9-DOT HAMBURGER
══════════════════════════════════════════════════════════════ */
.bpt-hamburger {
    display: none !important;    /* hidden on desktop – must beat .header-item's !important flex */
    position: relative;          /* for ::before/::after X lines */
    overflow: visible;
    flex-shrink: 0;             /* nikdy se nesmrští na mobilu */
    grid-template-columns: repeat(3, 7px);
    grid-template-rows:    repeat(3, 7px);
    gap: 4px;
    width: 44px;
    height: 56px;
    padding: 0 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
    align-content: center;
    justify-content: center;
    transition: background 0.2s;
}
@media (max-width: 1024px) {
    .bpt-hamburger {
        display: grid !important;  /* show on mobile */
    }
    /* Logo nesmí vytěsnit hamburger – zajistí viditelnost ikony */
    #page-topbar .navbar-header .navbar-brand-box {
        flex-shrink: 1 !important;
        min-width: 0 !important;
        max-width: calc(100% - 60px) !important;  /* místo pro hamburger (44px) + padding */
    }
}

.bpt-hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Tečky – plná bílá + výrazný obrys pro kontrast na jakémkoli pozadí */
#page-topbar .bpt-hamburger .bpt-dot,
.bpt-dot {
    display: block;
    width: 7px;
    height: 7px;
    min-width: 7px;
    min-height: 7px;
    border-radius: 50%;
    background: #fff !important;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    transform-origin: center;
    opacity: 1 !important;
    transition:
        transform  0.28s cubic-bezier(0.4, 0, 0.2, 1),
        opacity    0.2s ease;
}

/* ── Hover: vlny od rohu ── */
.bpt-hamburger:not(.is-open):hover .bpt-dot:nth-child(1) { transition-delay: 0.00s; transform: scale(1.4); }
.bpt-hamburger:not(.is-open):hover .bpt-dot:nth-child(2) { transition-delay: 0.04s; transform: scale(1.4); }
.bpt-hamburger:not(.is-open):hover .bpt-dot:nth-child(4) { transition-delay: 0.04s; transform: scale(1.4); }
.bpt-hamburger:not(.is-open):hover .bpt-dot:nth-child(3) { transition-delay: 0.08s; transform: scale(1.4); }
.bpt-hamburger:not(.is-open):hover .bpt-dot:nth-child(5) { transition-delay: 0.08s; transform: scale(1.4); }
.bpt-hamburger:not(.is-open):hover .bpt-dot:nth-child(7) { transition-delay: 0.08s; transform: scale(1.4); }
.bpt-hamburger:not(.is-open):hover .bpt-dot:nth-child(6) { transition-delay: 0.12s; transform: scale(1.4); }
.bpt-hamburger:not(.is-open):hover .bpt-dot:nth-child(8) { transition-delay: 0.12s; transform: scale(1.4); }
.bpt-hamburger:not(.is-open):hover .bpt-dot:nth-child(9) { transition-delay: 0.16s; transform: scale(1.4); }

/* ── X lines via pseudo-elements (ostrý X, žádný blur) ── */
.bpt-hamburger::before,
.bpt-hamburger::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 2px;
    opacity: 0;
    transform-origin: center;
    /* zavírání: X zmizí hned */
    transition: opacity 0.18s ease, transform 0.25s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.bpt-hamburger::before { transform: translate(-50%, -50%) rotate(45deg)  scaleX(0); }
.bpt-hamburger::after  { transform: translate(-50%, -50%) rotate(-45deg) scaleX(0); }

/* Otevření: X se zapíše s mírným zpožděním (až tečky zmizí) */
.bpt-hamburger.is-open::before {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(45deg)  scaleX(1);
    transition: opacity 0.2s ease 0.13s, transform 0.28s cubic-bezier(0.34, 1.3, 0.64, 1) 0.13s;
}
.bpt-hamburger.is-open::after {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-45deg) scaleX(1);
    transition: opacity 0.2s ease 0.13s, transform 0.28s cubic-bezier(0.34, 1.3, 0.64, 1) 0.13s;
}

/* ── Open: všechny tečky letí ke středu a zmizí ── */
.bpt-hamburger.is-open .bpt-dot:nth-child(1) { transform: translate( 10px,  10px) scale(0); opacity: 0; }
.bpt-hamburger.is-open .bpt-dot:nth-child(2) { transform: translateY( 10px)       scale(0); opacity: 0; }
.bpt-hamburger.is-open .bpt-dot:nth-child(3) { transform: translate(-10px,  10px) scale(0); opacity: 0; }
.bpt-hamburger.is-open .bpt-dot:nth-child(4) { transform: translateX( 10px)       scale(0); opacity: 0; }
.bpt-hamburger.is-open .bpt-dot:nth-child(5) { transform:                          scale(0); opacity: 0; }
.bpt-hamburger.is-open .bpt-dot:nth-child(6) { transform: translateX(-10px)        scale(0); opacity: 0; }
.bpt-hamburger.is-open .bpt-dot:nth-child(7) { transform: translate( 10px, -10px) scale(0); opacity: 0; }
.bpt-hamburger.is-open .bpt-dot:nth-child(8) { transform: translateY(-10px)        scale(0); opacity: 0; }
.bpt-hamburger.is-open .bpt-dot:nth-child(9) { transform: translate(-10px, -10px) scale(0); opacity: 0; }

/* ══════════════════════════════════════════════════════════════
   MOBILE – skryj horizontální navbar-menu, hamburger jen na mobilu
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    [data-layout=horizontal] .navbar-menu {
        display: none !important;
    }
    /* Logo se smrští, hamburger vždy viditelný */
    #page-topbar .navbar-header .navbar-brand-box.horizontal-logo {
        flex: 1 1 auto;
        min-width: 0;
    }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE NAV OFFCANVAS – world‑class UX, BPT brand (blue/red)
══════════════════════════════════════════════════════════════ */
.bpt-nav-offcanvas {
    width: min(320px, 88vw) !important;
    max-width: 100%;
    background: linear-gradient(180deg, #0d1f33 0%, #0a1628 100%) !important;
    border-right: none !important;
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.4), 0 0 1px rgba(0, 82, 180, 0.2) !important;
}

/* Header – stejná výška řádku jako #page-topbar .navbar-header (56px) + safe-area; jako profilový offcanvas */
.bpt-nav-offcanvas .offcanvas-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, #0052b4 0%, #003d87 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    min-height: calc(56px + env(safe-area-inset-top, 0px)) !important;
    padding: env(safe-area-inset-top, 0px) 1.25rem 0 1.25rem !important;
}
.bpt-nav-offcanvas .offcanvas-header h5 {
    line-height: 1.2 !important;
}
.bpt-nav-offcanvas .offcanvas-header img {
    height: 32px !important;
    opacity: 0.95;
}

/* Tlačítko zavření – kompaktní, vejde se do 56px řádku (stejný řád jako profilový offcanvas) */
.bpt-nav-offcanvas .offcanvas-header .btn-close {
    padding: 6px !important;
    margin: 0 !important;
    width: 30px !important;
    height: 30px !important;
    opacity: 0.9 !important;
    background: rgba(255, 255, 255, 0.15) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em no-repeat !important;
    border-radius: 50% !important;
    filter: none !important;
    transition: background 0.2s ease, opacity 0.2s ease !important;
}
.bpt-nav-offcanvas .offcanvas-header .btn-close:hover {
    opacity: 1 !important;
    background-color: rgba(255, 255, 255, 0.25) !important;
}
.bpt-nav-offcanvas .offcanvas-header .btn-close:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5) !important;
}

/* Body – flex, scroll, safe area pro notch */
.bpt-nav-offcanvas .offcanvas-body {
    display: flex !important;
    flex-direction: column !important;
    background: transparent !important;
    padding: 8px 0 0 0 !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.bpt-nav-offcanvas .offcanvas-body .bpt-offnav {
    flex: 0 0 auto;
}

/* ── Nav items – 48px min touch target, čitelná hierarchie ── */
.bpt-offnav {
    padding: 0 !important;
    margin: 0 !important;
}

.bpt-offnav-link {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    min-height: 48px !important;
    padding: 14px 20px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    text-decoration: none !important;
    text-transform: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease !important;
    -webkit-tap-highlight-color: transparent;
}
.bpt-offnav-link:active {
    transform: scale(0.98);
}
.bpt-offnav-link i {
    font-size: 20px !important;
    opacity: 0.88 !important;
    flex-shrink: 0 !important;
    width: 24px;
    text-align: center;
}
.bpt-offnav-link:hover,
.bpt-offnav-link:focus {
    color: #fff !important;
    background: rgba(0, 82, 180, 0.25) !important;
    text-decoration: none !important;
}
.bpt-offnav-link:hover i,
.bpt-offnav-link:focus i {
    opacity: 1 !important;
}

/* Dropdown toggle – text vlevo, chevron vpravo */
.bpt-offnav-toggle {
    justify-content: space-between !important;
}
.bpt-offnav-toggle > span {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

/* Chevron – plynulá rotace */
.bpt-offnav-chevron {
    font-size: 20px !important;
    opacity: 0.7 !important;
    transition: transform 0.28s cubic-bezier(0.34, 1.3, 0.64, 1) !important;
    flex-shrink: 0 !important;
}
.bpt-offnav-toggle[aria-expanded="true"] .bpt-offnav-chevron {
    transform: rotate(-180deg) !important;
    opacity: 1 !important;
}

/* Premier League – zlatý akcent (BPPL brand) */
.bpt-offnav-gold {
    color: #d4a017 !important;
}
.bpt-offnav-gold i {
    opacity: 1 !important;
    color: #d4a017 !important;
}
.bpt-offnav-gold:hover,
.bpt-offnav-gold:focus {
    color: #e8b824 !important;
    background: rgba(212, 160, 23, 0.15) !important;
}
.bpt-offnav-gold:hover i {
    color: #e8b824 !important;
}

/* Premier League logo v mobilním menu */
.bpt-offnav-pl-logo {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

/* ── Sub items – plynulý collapse, indent ── */
.bpt-offnav-sub {
    background: rgba(0, 82, 180, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-left: 3px solid rgba(0, 82, 180, 0.5);
}

.bpt-offnav-sublink {
    display: flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 12px 20px 12px 48px !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    text-decoration: none !important;
    text-transform: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    transition: background 0.2s ease, color 0.2s ease !important;
    -webkit-tap-highlight-color: transparent;
}
.bpt-offnav-sublink:last-child {
    border-bottom: none !important;
}
.bpt-offnav-sublink:hover {
    color: #fff !important;
    background: rgba(0, 82, 180, 0.18) !important;
    text-decoration: none !important;
}

/* Offcanvas + backdrop – nad #page-topbar (1200) na všech šířkách.
   Dřív byl vyšší z-index jen do 1024px → na desktopu výchozí BS z-index ~1045,
   takže profilové menu na podstránkách končilo *pod* topbarem. */
.offcanvas-backdrop {
    z-index: 1205 !important;
}
.offcanvas.show {
    z-index: 1210 !important;
}
/* Backdrop na mobilu – tmavší, jemný blur */
@media (max-width: 1024px) {
    .offcanvas-backdrop {
        background: rgba(10, 22, 40, 0.8) !important;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }
}

/* ── Force fluid layout (sessionStorage může přepsat data-layout-width=boxed) ── */
#layout-wrapper {
    max-width: none !important;
    box-shadow: none !important;
}
#page-topbar {
    max-width: none !important;
    left: 0 !important;
    z-index: 1200 !important;
    /* GPU compositing – video nesmí při scrollu zpět překrýt topbar */
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
/* Horizontální nav musí být nad hero sekcí (hero má z-index:1) */
[data-layout=horizontal] .navbar-menu {
    z-index: 1100 !important;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
/* Clip horizontální overflow aby 100vw hero nezpůsobil scrollbar */
[data-layout=horizontal] .page-content {
    overflow-x: clip;
}


/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE – BPT Sections
   Prefix: bpt-  (Beer Pong Tour)
═══════════════════════════════════════════════════════════════ */

/* ── Shared tokens ── */
:root {
    --bpt-red:      #d31818;
    --bpt-red-dark: #a81313;
    --bpt-blue:     #0052b4;
    --bpt-dark:     #0a0d14;
    --bpt-dark2:    #111520;
    --bpt-text:     #e2e8f0;
    --bpt-muted:    rgba(226,232,240,.65);
    --bpt-radius:   12px;
    --bpt-radius-lg:20px;
}

/* ── Shared section headings ── */
.bpt-section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--bpt-blue);
    background: rgba(0,82,180,.10);
    border: 1px solid rgba(0,82,180,.25);
    border-radius: 50px;
    padding: 4px 14px;
    margin-bottom: 14px;
}
.bpt-section-tag--light { color: var(--bpt-text); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }

.bpt-section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #1a1d2e;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}
.bpt-section-title--light { color: #fff !important; }

.bpt-title-line {
    display: block;
    width: 54px;
    height: 4px;
    border-radius: 4px;
    background: var(--bpt-blue);
    margin: 12px 0 0 0;
}
.bpt-title-line--red { background: var(--bpt-red); }

/* ── Shared buttons ── */
.bpt-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all .22s ease;
    white-space: nowrap;
}
.bpt-btn-primary {
    background: var(--bpt-blue);
    color: #fff;
    border-color: var(--bpt-blue);
}
.bpt-btn-primary:hover { background: #003d87; border-color: #003d87; color: #fff; }

.bpt-btn-red {
    background: var(--bpt-red);
    color: #fff;
    border-color: var(--bpt-red);
}
.bpt-btn-red:hover { background: var(--bpt-red-dark); border-color: var(--bpt-red-dark); color: #fff; }

.bpt-btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.55);
}
.bpt-btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

.bpt-btn-outline {
    background: transparent;
    color: var(--bpt-blue);
    border-color: var(--bpt-blue);
}
.bpt-btn-outline:hover { background: var(--bpt-blue); color: #fff; }


/* ══════════════════════════════════════════════════════════════
   SEKCE 1 — HERO
   Hero začíná těsně pod topbarem (y=56px), překrývá navbar (45px).
   z-index:1 izoluje stacking context — navbar (z-index:1100) plave nahoře.
══════════════════════════════════════════════════════════════ */
.bpt-hero {
    position: relative;
    /* z-index:0 → vždy pod topbar/navbar; při scrollu zpět nesmí video překrýt menu */
    z-index: 0;
    /* Full-width: vyskočení z jakéhokoli kontejneru */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    /* Těsně pod topbarem (56px); překryje navbar (45px) — to je záměrné */
    margin-top: -69px;
    /* Výška: viewport − 56px topbar */
    height: calc(100vh - 56px);
    overflow: hidden;
    background: var(--bpt-dark);
    display: flex;
    align-items: center;
}

/* Video */
.bpt-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Vícevrstvý overlay: text vlevo + čitelnost dole + jemný brand accent */
.bpt-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right,  rgba(0,0,0,.82) 0%, rgba(0,0,0,.18) 65%, transparent 100%),
        linear-gradient(to top,    rgba(0,0,0,.78) 0%, transparent 48%),
        linear-gradient(135deg,    rgba(211,24,24,.10) 0%, transparent 55%);
    z-index: 1;
}

/* Content — padding-top 64px: 45px navbar + 19px vzduch, aby text nezačínal za menu */
.bpt-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 64px 6vw 110px;
}

/* Tag — malý pulsující dot vlevo indikuje „live" event */
.bpt-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(211,24,24,.50);
    border: 1px solid rgba(211,24,24,.65);
    border-radius: 50px;
    padding: 6px 18px 6px 14px;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.bpt-hero-tag-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    animation: bpt-pulse-dot 1.9s ease-in-out infinite;
}
@keyframes bpt-pulse-dot {
    0%, 100% { opacity: 1;  transform: scale(1);   }
    50%       { opacity: .4; transform: scale(.75); }
}

.bpt-hero-title {
    font-size: clamp(2.8rem, 6.5vw, 5.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.06;
    margin-bottom: 22px;
    letter-spacing: -.01em;
    text-shadow: 0 4px 24px rgba(0,0,0,.5);
}

.bpt-hero-accent {
    color: var(--bpt-red);
    display: inline-block;
    /* Jemný glow na accent textu */
    filter: drop-shadow(0 0 18px rgba(211,24,24,.45));
}

.bpt-hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    color: rgba(255,255,255,.80);
    line-height: 1.70;
    margin-bottom: 36px;
    max-width: 520px;
}

.bpt-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

/* Scroll indicator — animovaný chevron nad stats barem */
.bpt-hero-scroll {
    position: absolute;
    bottom: 84px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: rgba(255,255,255,.5);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: bpt-scroll-float 2.2s ease-in-out infinite;
    pointer-events: none;
    user-select: none;
}
.bpt-hero-scroll i { font-size: 20px; }
@keyframes bpt-scroll-float {
    0%, 100% { transform: translateX(-50%) translateY(0);   opacity: .5; }
    50%       { transform: translateX(-50%) translateY(7px); opacity: .85; }
}

/* Stats bar — premium glassmorphism + brand glow */
.bpt-hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    background: rgba(8,11,18,.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(211,24,24,.28);
    box-shadow: 0 -1px 0 rgba(255,255,255,.04), 0 -8px 40px rgba(211,24,24,.07);
    padding: 18px 0;
}

.bpt-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 44px;
}

.bpt-hero-stat-num {
    font-size: 2.1rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -.02em;
}
.bpt-hero-stat-plus { font-size: 1.3rem; font-weight: 900; color: var(--bpt-red); }
.bpt-hero-stat-label { font-size: 10px; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: 1.8px; margin-top: 5px; }

.bpt-hero-stat-divider {
    width: 1px;
    background: rgba(255,255,255,.10);
    align-self: stretch;
    margin: 4px 0;
}

/* Responsive: stats na mobilu do 2×2 gridu */
@media (max-width: 575px) {
    .bpt-hero-stats {
        flex-wrap: wrap;
        padding: 14px 0;
    }
    .bpt-hero-stat { padding: 6px 20px; width: 50%; }
    .bpt-hero-stat-divider { display: none; }
    .bpt-hero-content { padding: 64px 5vw 130px; }
    .bpt-hero-scroll { bottom: 105px; }
}


/* ══════════════════════════════════════════════════════════════
   SEKCE 2 — O NÁS (hover + transitions)
══════════════════════════════════════════════════════════════ */

/* Nadpis sekce */
.bpt-bitva-title {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    letter-spacing: .03em;
    color: #111;
}

/* Velká fotka — hover zoom */
.bpt-about-photo {
    transition: transform .5s cubic-bezier(.25,.46,.45,.94),
                box-shadow .5s ease;
    overflow: hidden;
    background-size: cover !important;
}
.bpt-about-photo:hover {
    transform: scale(1.015);
    box-shadow: 0 20px 56px rgba(0,0,0,.20);
}

/* Odstavce textu */
.bpt-about-section p {
    font-size: 1rem;
    line-height: 1.85;
    color: #333;
}

/* Section clip overflow */
.bpt-about-section {
    overflow: hidden;
}


/* ══════════════════════════════════════════════════════════════
   SEKCE 4 — BITVA MĚST
══════════════════════════════════════════════════════════════ */
.bpt-bitva-section {
    overflow: hidden;
}
.bpt-bitva-title {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    letter-spacing: .03em;
    color: #111;
}
.bpt-bitva-photo {
    transition: transform .5s cubic-bezier(.25,.46,.45,.94),
                box-shadow .5s ease;
    overflow: hidden;
    background-size: cover !important;
}
.bpt-bitva-photo:hover {
    transform: scale(1.015);
    box-shadow: 0 20px 56px rgba(0,0,0,.20);
}
.bpt-bitva-section p {
    font-size: 1rem;
    line-height: 1.85;
    color: #333;
}


/* ══════════════════════════════════════════════════════════════
   SEKCE 3 — SLUŽBY (hover + transitions)
══════════════════════════════════════════════════════════════ */
/* Service icon blocks */
.bpt-service-icon i {
    font-size: 56px;
    color: #fff;
    display: inline-block;
    transition: transform .35s cubic-bezier(.25,.46,.45,.94),
                color .3s ease;
}
.bpt-service-icon:hover i {
    transform: translateY(-6px) scale(1.1);
    color: var(--bpt-red);
}
.bpt-service-icon h4 {
    transition: color .3s ease;
}
.bpt-service-icon:hover h4 {
    color: var(--bpt-red);
}


/* ══════════════════════════════════════════════════════════════
   SEKCE 5 — INSTAGRAM FEED
══════════════════════════════════════════════════════════════ */
.bpt-insta-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 60px 0 0;
    background: #0a0a0a !important;
    overflow: hidden;
}

.bpt-insta-widget {
    padding: 0 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.bpt-insta-icon {
    font-size: 2.8rem;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 12px;
}

.bpt-insta-title {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    color: #fff !important;
    letter-spacing: .04em;
    margin-bottom: 8px;
}

.bpt-insta-handle {
    display: inline-block;
    font-size: .95rem;
    color: rgba(255,255,255,.5) !important;
    text-decoration: none;
    transition: color .25s;
}
.bpt-insta-handle:hover {
    color: #e6683c !important;
}

/* ── Bootstrap carousel s 6 fotkami na řádek ── */
.bpt-insta-row {
    display: flex;
    gap: 4px;
}

/* Čtvercový item — flex: 1 dělí šířku rovnoměrně */
.bpt-insta-item {
    flex: 1;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: block;
}
.bpt-insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.bpt-insta-item:hover img {
    transform: scale(1.06);
}

/* Overlay s IG ikonou */
.bpt-insta-item-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0);
    transition: background .3s ease;
}
.bpt-insta-item-overlay i {
    font-size: 2rem;
    color: rgba(255,255,255,0);
    transition: color .3s ease, transform .3s ease;
}
.bpt-insta-item:hover .bpt-insta-item-overlay {
    background: rgba(0,0,0,.45);
}
.bpt-insta-item:hover .bpt-insta-item-overlay i {
    color: #fff;
    transform: scale(1.1);
}

/* Carousel šipky — bílé na tmavém pozadí */
#bptInstaCarousel .carousel-control-prev-icon,
#bptInstaCarousel .carousel-control-next-icon {
    filter: invert(0); /* bílé šipky */
}

/* Carousel tečky */
#bptInstaCarousel .carousel-indicators button {
    background-color: rgba(255,255,255,.5);
}
#bptInstaCarousel .carousel-indicators button.active {
    background-color: #fff;
}

/* Responsive: menší počet fotek na slide */
@media (max-width: 575px) {
    .bpt-insta-row { flex-wrap: wrap; }
    .bpt-insta-item { flex: 0 0 calc(50% - 2px); }
}


/* ══════════════════════════════════════════════════════════════
   SEKCE (stará) — GALERIE
══════════════════════════════════════════════════════════════ */
.bpt-gallery {
    padding: 100px 0;
    background: #f8f9fc;
}
.bpt-gallery-sub {
    font-size: .98rem;
    color: #64748b;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Masonry-like CSS grid */
.bpt-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 12px;
}

/* Span patterns */
.bpt-gallery-item:nth-child(1)  { grid-row: span 2; }
.bpt-gallery-item:nth-child(4)  { grid-row: span 2; }
.bpt-gallery-item:nth-child(6)  { grid-column: span 2; }
.bpt-gallery-item:nth-child(9)  { grid-row: span 2; }
.bpt-gallery-item:nth-child(12) { grid-column: span 2; }

.bpt-gallery-item {
    position: relative;
    border-radius: var(--bpt-radius);
    overflow: hidden;
    display: block;
}
.bpt-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.bpt-gallery-item:hover img { transform: scale(1.07); }


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .bpt-hero-content   { padding: 100px 5vw 140px; }
    .bpt-hero-stat      { padding: 6px 20px; }
    .bpt-about-imgrid   { height: 340px; margin-bottom: 48px; }
    .bpt-about-img--sm1,
    .bpt-about-img--sm2 { width: 130px; height: 130px; }
    .bpt-gallery-grid   { grid-template-columns: repeat(3, 1fr); }
    .bpt-gallery-item:nth-child(12) { grid-column: span 1; }
}

@media (max-width: 767px) {
    .bpt-hero-stats     { flex-wrap: wrap; gap: 0; }
    .bpt-hero-stat      { padding: 10px 16px; flex: 1 0 40%; }
    .bpt-hero-stat-divider { display: none; }
    .bpt-about-imgrid   { height: 280px; }
    .bpt-about-features { grid-template-columns: 1fr; }
    .bpt-gallery-grid   { grid-template-columns: repeat(2, 1fr); }
    .bpt-gallery-item:nth-child(1),
    .bpt-gallery-item:nth-child(4),
    .bpt-gallery-item:nth-child(6),
    .bpt-gallery-item:nth-child(9),
    .bpt-gallery-item:nth-child(12) { grid-row: span 1; grid-column: span 1; }
}

@media (max-width: 480px) {
    .bpt-hero-title   { font-size: 2.2rem; }
    .bpt-hero-actions { flex-direction: column; }
    .bpt-gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
}

/* ── Body / page-content / main-content – tmavší pozadí pro lepší kontrast ── */
body.twocolumn-panel,
[data-layout=horizontal] .main-content,
[data-layout=horizontal] .page-content {
    background-color: #ececee !important;
}

/* ── Modaly – header, body, footer stejná barva jako body stránky ── */
body.twocolumn-panel .modal .modal-header,
body.twocolumn-panel .modal .modal-body,
body.twocolumn-panel .modal .modal-footer {
    background-color: #ececee !important;
}


/* ── Tabulky – barva řádků + stripped ── */
.table > tbody > tr > td,
.table > tbody > tr > th {
    background-color: #f4f4f4 !important;
}
.table-striped > tbody > tr:nth-of-type(even) > td,
.table-striped > tbody > tr:nth-of-type(even) > th {
    background-color: #e8e8e8 !important;
}
.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
    background-color: rgba(0, 82, 180, 0.12) !important; /* primary-subtle – jako select zdrojový tým */
}
/* ── Listy (list-group-item-action) – modrý hover/select jako u form-select ── */
.list-group-item-action:hover,
.list-group-item-action:focus {
    background-color: rgba(0, 82, 180, 0.12) !important;
}
.list-group-item-action.active,
.transfer-player-item.selected-player,
.loan-player-item.selected-player,
.invite-player-item.selected-player {
    background-color: rgba(0, 82, 180, 0.2) !important;
    border-color: rgba(0, 82, 180, 0.4) !important;
    border-bottom: none !important;
}

/* ── Modal „Přidat hráče na kolo“ – roster-check-item odlišení od bg modalu ── */
.roster-check-item {
    background-color: #fff !important;
    border: 1px solid #dee2e6 !important;
    transition: background 0.15s, border-color 0.15s;
}
.roster-check-item:hover {
    background-color: rgba(0, 82, 180, 0.08) !important;
    border-color: rgba(0, 82, 180, 0.3) !important;
}
.roster-check-item.bg-primary-subtle,
.roster-check-item.border-primary {
    background-color: rgba(0, 82, 180, 0.15) !important;
    border-color: rgba(0, 82, 180, 0.4) !important;
}
/* loan-away stav – zachovat warning styl */
.roster-check-item.bg-warning {
    background-color: rgba(255, 193, 7, 0.15) !important;
    border-color: rgba(255, 193, 7, 0.5) !important;
}

/* ── Border-5 override ── */
.border-5 {
    border-width: 10px !important;
}
.border-top.border-5 {
    border-top-width: 10px !important;
}
.border-bottom.border-5 {
    border-bottom-width: 10px !important;
}
.border-start.border-5 {
    border-left-width: 10px !important;
}
.border-end.border-5 {
    border-right-width: 10px !important;
}

/* ── Border-top-5 custom ── */
.border-top-5 {
    border-top-width: 10px !important;
    border-top-style: solid !important;
}

/* ── Card shadow-lg override ── */
.shadow-lg {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18) !important;
}

/* ===== Premier: unread notification styles (modern 2026 look) ===== */
/* Applies to notification list items rendered with classes like .notification-item, .notification-new or .unread */
.notification-item,
.notification-item a {
  position: relative;
  overflow: hidden;
  -webkit-transition: background-color .18s ease, box-shadow .18s ease, transform .12s ease;
  transition: background-color .18s ease, box-shadow .18s ease, transform .12s ease;
}

/* visual marker: thin left accent bar for unread */
.notification-item.unread::before,
.notification-new::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--vz-primary, #0d6efd), color-mix(in srgb, var(--vz-primary, #0d6efd) 60%, #000 10%));
  box-shadow: 0 0 12px rgba(13,110,253,0.12);
  z-index: 1;
}

/* unread background and emphasis */
.notification-item.unread,
.notification-new {
  background-color: rgba(13,110,253,0.04); /* subtle blue wash */
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.02);
}

.notification-item.unread > *,
.notification-new > * {
  z-index: 2; /* content above accent */
}

/* bold title and slightly darker text for unread items */
.notification-item.unread .notification-title,
.notification-new .notification-title,
.notification-item.unread .lead,
.notification-new .lead {
  font-weight: 600;
  color: var(--vz-body-color, #222);
}

.notification-item.unread .notification-meta,
.notification-new .notification-meta {
  color: rgba(0,0,0,0.65);
  font-weight: 500;
}

/* small type badge on the right for quick recognition */
.notification-item .notif-type-badge,
.notification-new .notif-type-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  opacity: 0.95;
  color: #fff;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(4px);
}

.notification-item .notif-type-badge.info { background: #0d6efd; }
.notification-item .notif-type-badge.success { background: #198754; }
.notification-item .notif-type-badge.warning { background: #ff922b; }
.notification-item .notif-type-badge.danger { background: #dc3545; }

/* hover / focus – bez transform (v scrollu by posunoval layout) */
.notification-item:hover,
.notification-item:focus-within {
  box-shadow: 0 2px 8px rgba(22, 28, 37, 0.05);
}

/* Notification layout fixes – ensure content doesn't overlap left accent and add consistent spacing */
.notification-item,
.notification-new,
.dropdown-item.notification-item,
.dropdown-item.unread {
  padding: 12px 16px 12px 26px !important; /* reserve space for the left accent */
  border-radius: 8px;
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 56px;
}

.notification-item .avatar-xs,
.notification-item img.avatar-xs,
.notification-item .avatar-sm {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
}

.notification-item .notification-body {
  flex: 1 1 auto;
  min-width: 0; /* allow text truncation */
}

.notification-item .notification-title {
  display: block;
  font-size: 14px;
  margin: 0 0 3px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notification-item .notification-text {
  font-size: 13px;
  color: rgba(0,0,0,0.65);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ensure accent doesn't cover rounded corners on very small items */
.notification-item.unread::before,
.notification-new::before {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

/* fallback: if theme variables missing, ensure contrast */
:root {
  --notification-unread-bg: rgba(13,110,253,0.04);
}

/* utility: ensure list items with .notification-new receive the same styling even if markup differs */
.dropdown-item.notification-new, .dropdown-item.unread {
  display: block;
}

/* end of notification styles */
