/* p24 surface layer - self-hosted typography */
@font-face {
    font-family: 'ManropeLocal';
    src: url('/core/ui-theme/fonts/manrope-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ManropeLocal';
    src: url('/core/ui-theme/fonts/manrope-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ManropeLocal';
    src: url('/core/ui-theme/fonts/manrope-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'OutfitLocal';
    src: url('/core/ui-theme/fonts/outfit-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --p24-ink: #0b0b0c;
    --p24-panel: #141416;
    --p24-card: #f4f4f5;
    --p24-accent: #e1ff01;
    --p24-accent-text: #0a0a0a;
    --p24-muted: #9ca3af;
    --p24-line: #2a2a2e;
    --p24-white: #ffffff;
    --p24-radius: 14px;
    --p24-font: 'ManropeLocal', system-ui, sans-serif;
    --p24-display: 'OutfitLocal', 'ManropeLocal', system-ui, sans-serif;
    --p24-dock-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.p24-root { scroll-behavior: smooth; }

body.p24-body,
body {
    font-family: var(--p24-font);
    background: var(--p24-ink);
    color: var(--p24-white);
    line-height: 1.55;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ribbon */
.p24-ribbon {
    background: var(--p24-accent);
    color: var(--p24-accent-text);
    font-size: 13px;
    font-weight: 600;
}
.p24-ribbon.is-dismissed { display: none; }
.p24-ribbon__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
}
.p24-ribbon__cta {
    text-decoration: underline;
    font-weight: 700;
}
.p24-ribbon__close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}
.p24-ribbon__close svg { width: 16px; height: 16px; }

/* header band */
.p24-headband {
    background: var(--p24-ink);
    border-bottom: 1px solid var(--p24-line);
    position: sticky;
    top: 0;
    z-index: 900;
}
.p24-headband__row {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.p24-brand-mark img { height: 32px; width: auto; }
.p24-brand-mark__text {
    font-family: var(--p24-display);
    font-size: 26px;
    font-weight: 800;
    font-style: italic;
    color: var(--p24-accent);
    letter-spacing: -0.02em;
}
.p24-headband__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.p24-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity .15s;
}
.p24-btn:hover { opacity: .88; }
.p24-btn--ghost {
    background: transparent;
    color: var(--p24-white);
    border: 1px solid var(--p24-line);
}
.p24-btn--accent {
    background: var(--p24-accent);
    color: var(--p24-accent-text);
}

/* horizontal menu - row under header */
.p24-horiz-menu {
    background: var(--p24-panel);
    border-bottom: 1px solid var(--p24-line);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.p24-horiz-menu::-webkit-scrollbar { display: none; }
.p24-horiz-menu__track {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 4px;
    padding: 0 12px;
    min-width: min-content;
}
.p24-horiz-menu__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--p24-muted);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color .15s, border-color .15s;
}
.p24-horiz-menu__link:hover,
.p24-horiz-menu__link.is-active {
    color: var(--p24-white);
    border-bottom-color: var(--p24-accent);
}
.p24-horiz-menu__icon {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
}
.p24-glyph { width: 20px; height: 20px; }

/* page body */
.p24-page-body {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 16px calc(var(--p24-dock-h) + 24px);
    min-height: 50vh;
}

/* breadcrumbs */
.p24-crumb-trail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--p24-muted);
}
.p24-crumb-trail__link:hover { color: var(--p24-accent); }
.p24-crumb-trail__sep { opacity: .5; }

/* banner slider */
.p24-banner-stage {
    margin-bottom: 24px;
    position: relative;
}
.p24-banner-viewport {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 12px;
    border-radius: var(--p24-radius);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.p24-banner-viewport::-webkit-scrollbar { display: none; }
.p24-banner-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    background: var(--p24-panel);
    border-radius: var(--p24-radius);
    overflow: hidden;
    border: 1px solid var(--p24-line);
}
.p24-banner-slide__media {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1d;
    min-height: 160px;
    max-height: 320px;
    padding: 8px;
}
.p24-banner-slide__media picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.p24-banner-slide__img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
}
.p24-banner-slide__body {
    padding: 16px 18px 18px;
}
.p24-banner-slide__title {
    font-family: var(--p24-display);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
}
.p24-banner-slide__text {
    font-size: 14px;
    color: var(--p24-muted);
    margin-bottom: 12px;
}
.p24-banner-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}
.p24-banner-dots__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--p24-line);
    transition: background .15s, transform .15s;
}
.p24-banner-dots__dot.is-current {
    background: var(--p24-accent);
    transform: scale(1.15);
}

/* game slots */
.p24-slot-block { margin-bottom: 28px; }
.p24-slot-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
}
.p24-slot-block__title {
    font-family: var(--p24-display);
    font-size: 20px;
    font-weight: 800;
}
.p24-slot-block__more {
    font-size: 13px;
    color: var(--p24-muted);
    padding: 6px 12px;
    border: 1px solid var(--p24-line);
    border-radius: 999px;
}
.p24-slot-block__more:hover { color: var(--p24-accent); border-color: var(--p24-accent); }
.p24-slot-rail {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 12px;
}
.p24-slot-tile {
    background: var(--p24-panel);
    border-radius: var(--p24-radius);
    overflow: hidden;
    border: 1px solid var(--p24-line);
    display: flex;
    flex-direction: column;
}
.p24-slot-tile__visual {
    position: relative;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1c1c20;
    padding: 6px;
}
.p24-slot-tile__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.p24-slot-tile__actions {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0,0,0,.55);
    opacity: 0;
    transition: opacity .2s;
    padding: 8px;
}
.p24-slot-tile:hover .p24-slot-tile__actions,
.p24-slot-tile:focus-within .p24-slot-tile__actions { opacity: 1; }
.p24-slot-tile__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.p24-slot-tile__btn--demo {
    background: transparent;
    color: var(--p24-white);
    border: 1px solid var(--p24-white);
}
.p24-slot-tile__btn--play {
    background: var(--p24-accent);
    color: var(--p24-accent-text);
}
.p24-slot-tile__name {
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* bonuses */
.p24-bonus-zone { margin-bottom: 32px; }
.p24-bonus-zone .p24-slot-block__title {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--p24-line);
}
.p24-bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}
.p24-bonus-card {
    position: relative;
    background: linear-gradient(160deg, rgba(225, 255, 1, .04) 0%, var(--p24-panel) 40%, #111113 100%);
    border: 1px solid var(--p24-line);
    border-radius: calc(var(--p24-radius) + 2px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.p24-bonus-card:hover {
    transform: translateY(-4px);
    border-color: rgba(225, 255, 1, .35);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .35), 0 0 40px rgba(225, 255, 1, .08);
}
.p24-bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--p24-accent), transparent);
    opacity: 0;
    transition: opacity .2s;
}
.p24-bonus-card:hover::before { opacity: 1; }
.p24-bonus-card__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #1c1c20 0%, #141416 100%);
    padding: 12px;
    min-height: 160px;
    overflow: hidden;
}
.p24-bonus-card__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 100%, rgba(225, 255, 1, .12) 0%, transparent 60%);
    pointer-events: none;
}
.p24-bonus-card__img {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 190px;
    object-fit: contain;
    transition: transform .25s;
}
.p24-bonus-card:hover .p24-bonus-card__img { transform: scale(1.03); }
.p24-bonus-card__body {
    padding: 18px 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.p24-bonus-card__name {
    font-family: var(--p24-display);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
    color: var(--p24-white);
}
.p24-bonus-card__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--p24-muted);
    margin-bottom: 12px;
    flex: 1;
}
.p24-bonus-card__value {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: 10px;
    font-family: var(--p24-display);
    font-size: 15px;
    font-weight: 800;
    color: var(--p24-accent-text);
    background: var(--p24-accent);
    margin-bottom: 10px;
    box-shadow: 0 4px 16px rgba(225, 255, 1, .25);
}
.p24-bonus-card__tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    background: rgba(225, 255, 1, .1);
    color: var(--p24-accent);
    border: 1px solid rgba(225, 255, 1, .25);
}
.p24-bonus-card__terms {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--p24-line);
    font-size: 12px;
    line-height: 1.55;
    color: var(--p24-muted);
}

/* payment methods */
.p24-pay-zone { margin: 28px 0; }
.p24-pay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin-top: 12px;
}
.p24-pay-item {
    background: var(--p24-panel);
    border: 1px solid var(--p24-line);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}
.p24-pay-item__img {
    max-height: 36px;
    width: auto;
    margin: 0 auto 8px;
    object-fit: contain;
}
.p24-pay-item__label { font-size: 11px; font-weight: 600; color: var(--p24-muted); }

/* SEO text block - only place with h1-h3 */
.text-content {
    background: linear-gradient(165deg, rgba(225, 255, 1, .04) 0%, var(--p24-panel) 30%, #121214 100%);
    color: var(--p24-white);
    border: 1px solid rgba(225, 255, 1, .12);
    border-radius: calc(var(--p24-radius) + 2px);
    padding: 32px 28px;
    margin-top: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
    position: relative;
    overflow: hidden;
}
.text-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(225, 255, 1, .5), transparent);
}
.text-content h1 {
    font-family: var(--p24-display);
    font-size: clamp(26px, 4vw, 32px);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--p24-white);
    line-height: 1.25;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--p24-line);
}
.text-content h2 {
    font-family: var(--p24-display);
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 800;
    margin: 32px 0 14px;
    color: var(--p24-white);
    padding-left: 14px;
    border-left: 4px solid var(--p24-accent);
}
.text-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 10px;
    color: var(--p24-accent);
}
.text-content p {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.75;
    color: #c8cdd4;
}
.text-content a {
    color: var(--p24-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity .15s;
}
.text-content a:hover { opacity: .85; }
.text-content img {
    margin: 20px 0;
    border-radius: var(--p24-radius);
    border: 1px solid var(--p24-line);
}
.text-content blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    border-left: 4px solid var(--p24-accent);
    background: rgba(225, 255, 1, .06);
    border-radius: 0 10px 10px 0;
    color: var(--p24-muted);
    font-size: 14px;
    line-height: 1.65;
}
.text-content ul, .text-content ol {
    margin: 16px 0 20px;
    padding-left: 22px;
}
.text-content li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.65;
    color: #c8cdd4;
}
.text-content li::marker { color: var(--p24-accent); }

/* table scroll on mobile */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0;
    border-radius: 12px;
    border: 1px solid var(--p24-line);
}
.text-content table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
}
.text-content th, .text-content td {
    padding: 12px 14px;
    border: 1px solid var(--p24-line);
    text-align: left;
    font-size: 14px;
}
.text-content th {
    background: rgba(225, 255, 1, .1);
    font-weight: 700;
    color: var(--p24-white);
}
.text-content td {
    color: var(--p24-muted);
    background: rgba(255, 255, 255, .02);
}

/* FAQ / HowTo */
.faq-wrapper { margin: 20px 0; }
.faq-item-block {
    border: 1px solid var(--p24-line);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, .02);
    transition: border-color .15s;
}
.faq-item-block:hover { border-color: rgba(225, 255, 1, .25); }
.faq-question-block {
    padding: 16px 18px;
    background: rgba(225, 255, 1, .06);
    font-weight: 700;
    font-size: 15px;
    color: var(--p24-white);
}
.faq-answer-block {
    padding: 16px 18px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--p24-muted);
}
.howto-wrapper {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--p24-line);
    border-radius: 12px;
}
.howto-steps-list { list-style: none; padding: 0; counter-reset: p24step; }
.howto-step-item {
    counter-increment: p24step;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: rgba(225, 255, 1, .04);
    border-radius: 10px;
    border-left: 4px solid var(--p24-accent);
    font-size: 14px;
    line-height: 1.6;
    color: var(--p24-muted);
}
.howto-step-item::before {
    content: counter(p24step);
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--p24-accent);
    color: var(--p24-accent-text);
    font-weight: 800;
    font-size: 12px;
    vertical-align: middle;
}
.howto-step-item strong { color: var(--p24-white); display: block; margin-bottom: 4px; }
.text-content .list-container {
    margin: 16px 0 20px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--p24-line);
    border-radius: 12px;
}
.list-container ul, .list-container ol { margin: 0; padding-left: 20px; }

/* app page */
.p24-app-hero { margin-bottom: 28px; }
.p24-app-hero .app-info-table-wrapper { margin: 0; }
.p24-app-hero .table-wrapper { overflow: visible; border: none; margin: 0; }
.p24-app-hero .app-info-table-container {
    background: linear-gradient(145deg, rgba(225, 255, 1, .1) 0%, var(--p24-panel) 35%, #0f0f11 100%);
    border: 1px solid rgba(225, 255, 1, .25);
    border-radius: calc(var(--p24-radius) + 4px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .4), 0 0 60px rgba(225, 255, 1, .06);
    overflow: hidden;
    position: relative;
}
.p24-app-hero .app-info-table-container::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(225, 255, 1, .2) 0%, transparent 70%);
    pointer-events: none;
}
.p24-app-hero .app-info-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 0; }
.p24-app-hero .app-info-row { border-bottom: 1px solid rgba(255, 255, 255, .06); transition: background .15s; }
.p24-app-hero .app-info-row:hover { background: rgba(225, 255, 1, .03); }
.p24-app-hero .app-info-row:first-child {
    background: rgba(225, 255, 1, .05);
    border-bottom: 1px solid rgba(225, 255, 1, .15);
}
.p24-app-hero .app-info-row:last-child {
    border-bottom: none;
    background: rgba(0, 0, 0, .2);
}
.p24-app-hero .app-info-label-cell {
    padding: 16px 12px 16px 20px;
    width: 64px;
    text-align: center;
    vertical-align: middle;
}
.p24-app-hero .app-info-label-wrapper {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(225, 255, 1, .12);
    border: 1px solid rgba(225, 255, 1, .25);
    color: var(--p24-accent);
}
.p24-app-hero .app-info-value-cell {
    padding: 16px 20px 16px 8px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--p24-muted);
    vertical-align: middle;
}
.p24-app-hero .app-info-row:first-child .app-info-value-cell {
    padding-top: 24px;
    padding-bottom: 24px;
}
.p24-app-hero .app-info-icon { width: 22px; height: 22px; }
.p24-app-hero .app-name-with-logo { display: flex; align-items: center; gap: 16px; }
.p24-app-hero .app-name-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(225, 255, 1, .2);
    padding: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}
.p24-app-hero .app-name-text {
    font-family: var(--p24-display);
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 800;
    color: var(--p24-white);
    letter-spacing: -0.02em;
}
.p24-app-hero .app-info-row:first-child .app-info-value-cell { color: var(--p24-white); }
.p24-app-hero .app-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--p24-accent);
    color: var(--p24-accent-text);
    border-radius: 999px;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 8px 32px rgba(225, 255, 1, .35);
    transition: transform .15s, box-shadow .15s;
}
.p24-app-hero .app-download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(225, 255, 1, .45);
}
.p24-app-hero .app-info-row:last-child .app-info-label-cell { display: none; }
.p24-app-hero .app-info-row:last-child .app-info-value-cell {
    text-align: center;
    padding: 24px 20px;
}
@media (max-width: 767px) {
    .p24-app-hero .app-info-label-cell { padding-left: 16px; }
    .p24-app-hero .app-info-value-cell { padding-right: 16px; }
    .p24-app-hero .app-name-logo { width: 52px; height: 52px; }
}

.app-info-table-wrapper { margin: 16px 0; }
.app-info-table-container {
    background: var(--p24-panel);
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    overflow: hidden;
}
.app-info-table { width: 100%; border-collapse: collapse; min-width: 320px; }
.app-info-row { border-bottom: 1px solid var(--p24-line); }
.app-info-label-cell { padding: 12px; width: 56px; text-align: center; color: var(--p24-accent); }
.app-info-value-cell { padding: 12px 16px; font-size: 14px; }
.app-info-icon { width: 22px; height: 22px; }
.app-name-with-logo { display: flex; align-items: center; gap: 10px; }
.app-name-logo { width: 40px; height: 40px; object-fit: contain; }
.app-name-text { font-weight: 700; }
.app-download-link {
    display: inline-flex;
    padding: 10px 18px;
    background: var(--p24-accent);
    color: var(--p24-accent-text);
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
}

/* footer */
.p24-foot {
    position: relative;
    background: linear-gradient(180deg, #111113 0%, var(--p24-panel) 40%, #0e0e10 100%);
    border-top: 1px solid var(--p24-line);
    margin-top: 32px;
    overflow: hidden;
}
.p24-foot::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 10% 0%, rgba(225, 255, 1, .07) 0%, transparent 70%),
        radial-gradient(ellipse 50% 30% at 90% 100%, rgba(225, 255, 1, .04) 0%, transparent 70%);
    pointer-events: none;
}
.p24-foot__accent-bar {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--p24-accent) 20%, var(--p24-accent) 80%, transparent 100%);
}
.p24-foot__shell {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 36px 16px 28px;
}
.p24-foot__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 36px;
}
.p24-foot__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.p24-foot__cta:hover { transform: translateY(-2px); }
.p24-foot__cta--primary {
    background: var(--p24-accent);
    color: var(--p24-accent-text);
    box-shadow: 0 4px 20px rgba(225, 255, 1, .25);
}
.p24-foot__cta--primary:hover { box-shadow: 0 6px 28px rgba(225, 255, 1, .35); }
.p24-foot__cta--secondary {
    background: transparent;
    color: var(--p24-white);
    border: 1px solid var(--p24-line);
}
.p24-foot__cta--secondary:hover { border-color: var(--p24-accent); color: var(--p24-accent); }
.p24-foot__cta--accent {
    background: rgba(225, 255, 1, .1);
    color: var(--p24-accent);
    border: 1px solid rgba(225, 255, 1, .35);
}
.p24-foot__cta--accent:hover {
    background: rgba(225, 255, 1, .18);
    border-color: var(--p24-accent);
}
.p24-foot__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 32px 24px;
    margin-bottom: 32px;
}
.p24-foot__brand-link { display: inline-block; margin-bottom: 14px; }
.p24-foot__logo { max-height: 40px; width: auto; }
.p24-foot__logo-text {
    font-family: var(--p24-display);
    font-size: 26px;
    font-weight: 800;
    font-style: italic;
    color: var(--p24-accent);
    letter-spacing: -0.02em;
}
.p24-foot__brand-note {
    font-size: 13px;
    line-height: 1.6;
    color: var(--p24-muted);
    max-width: 280px;
    padding-left: 12px;
    border-left: 2px solid rgba(225, 255, 1, .35);
}
.p24-foot__heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--p24-display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--p24-white);
}
.p24-foot__heading-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--p24-accent);
    flex-shrink: 0;
}
.p24-foot__links { list-style: none; }
.p24-foot__links li + li { margin-top: 4px; }
.p24-foot__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 0;
    font-size: 14px;
    color: var(--p24-muted);
    transition: color .15s, transform .15s;
}
.p24-foot__link::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--p24-accent);
    border-radius: 1px;
    transition: width .2s ease;
}
.p24-foot__link:hover,
.p24-foot__link.is-active {
    color: var(--p24-white);
    transform: translateX(4px);
}
.p24-foot__link:hover::before,
.p24-foot__link.is-active::before { width: 12px; }
.p24-foot__link.is-active { color: var(--p24-accent); }
.p24-foot__social-row {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.p24-foot__social-pill {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--p24-line);
    color: var(--p24-muted);
    transition: color .15s, border-color .15s, background .15s, transform .15s, box-shadow .15s;
}
.p24-foot__social-pill:hover {
    color: var(--p24-accent);
    border-color: rgba(225, 255, 1, .5);
    background: rgba(225, 255, 1, .08);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(225, 255, 1, .12);
}
.p24-foot__social-svg { width: 20px; height: 20px; }
.p24-foot__social-img { max-height: 20px; max-width: 20px; width: auto; object-fit: contain; }
.p24-foot__bottom {
    padding-top: 28px;
    border-top: 1px solid var(--p24-line);
    text-align: center;
}
.p24-foot__safe { margin-bottom: 20px; }
.p24-foot__safe-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--p24-muted);
    margin-bottom: 14px;
}
.p24-foot__safe-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.p24-foot__safe-item {
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--p24-line);
    border-radius: 10px;
    padding: 8px 14px;
    transition: border-color .15s, background .15s;
}
.p24-foot__safe-item:hover {
    border-color: rgba(225, 255, 1, .3);
    background: rgba(225, 255, 1, .04);
}
.p24-foot__safe-link { display: flex; align-items: center; }
.p24-foot__safe-img { max-height: 36px; width: auto; }
.p24-foot__copy {
    font-size: 12px;
    color: var(--p24-muted);
    line-height: 1.5;
}
@media (max-width: 900px) {
    .p24-foot__grid {
        grid-template-columns: 1fr 1fr;
    }
    .p24-foot__brand {
        grid-column: 1 / -1;
    }
    .p24-foot__brand-note { max-width: 100%; }
}
@media (max-width: 540px) {
    .p24-foot__shell { padding: 28px 16px 24px; }
    .p24-foot__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .p24-foot__cta-row { flex-direction: column; align-items: stretch; }
    .p24-foot__cta { width: 100%; }
    .p24-foot__social-row { justify-content: flex-start; }
}

/* mobile drawer */
.p24-drawer-shade {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 1100;
}
.p24-drawer-shade.is-visible { display: block; }
.p24-drawer-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 88vw);
    height: 100%;
    background: var(--p24-panel);
    z-index: 1200;
    transform: translateX(-105%);
    transition: transform .25s ease;
    overflow-y: auto;
    border-right: 1px solid var(--p24-line);
}
.p24-drawer-panel.is-open { transform: translateX(0); }
.p24-drawer-panel__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--p24-line);
}
.p24-drawer-panel__close svg { width: 22px; height: 22px; color: var(--p24-white); }
.p24-drawer-panel__logo img { height: 28px; }
.p24-drawer-panel__logo span {
    font-family: var(--p24-display);
    font-weight: 800;
    font-style: italic;
    color: var(--p24-accent);
    font-size: 22px;
}
.p24-drawer-panel__list { list-style: none; padding: 8px 0; }
.p24-drawer-panel__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--p24-muted);
}
.p24-drawer-panel__link.is-active,
.p24-drawer-panel__link:hover { color: var(--p24-white); background: rgba(225,255,1,.06); }
.p24-drawer-panel__glyph { width: 22px; display: grid; place-items: center; }

/* mobile bottom dock - burger on left */
.p24-mobile-dock { display: none; }

/* 404 */
.p24-body--404 { background: var(--p24-ink); }
.p24-page-body--error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 220px);
    padding-top: 32px;
    padding-bottom: 32px;
}
.p24-error-screen {
    position: relative;
    text-align: center;
    padding: 56px 28px 48px;
    width: min(520px, 100%);
    background: linear-gradient(165deg, rgba(225, 255, 1, .08) 0%, var(--p24-panel) 35%, #121214 100%);
    border-radius: calc(var(--p24-radius) + 6px);
    border: 1px solid rgba(225, 255, 1, .22);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .04) inset,
        0 24px 64px rgba(0, 0, 0, .45),
        0 0 80px rgba(225, 255, 1, .08);
    overflow: hidden;
}
.p24-error-screen::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(225, 255, 1, .35) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(20px);
}
.p24-error-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 12px,
        rgba(225, 255, 1, .015) 12px,
        rgba(225, 255, 1, .015) 24px
    );
    pointer-events: none;
    mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.p24-error-screen__code {
    position: relative;
    font-family: var(--p24-display);
    font-size: clamp(88px, 22vw, 120px);
    font-weight: 800;
    font-style: italic;
    color: var(--p24-accent);
    line-height: .9;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
    text-shadow: 0 0 40px rgba(225, 255, 1, .45);
    animation: p24-error-pulse 3s ease-in-out infinite;
}
@keyframes p24-error-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .92; transform: scale(1.02); }
}
.p24-error-screen__title {
    position: relative;
    font-family: var(--p24-display);
    font-size: clamp(18px, 4vw, 22px);
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--p24-white);
}
.p24-error-screen__desc {
    position: relative;
    color: var(--p24-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.p24-error-screen .p24-btn {
    position: relative;
    padding: 13px 32px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 8px 32px rgba(225, 255, 1, .3);
    transition: transform .15s, box-shadow .15s;
}
.p24-error-screen .p24-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(225, 255, 1, .4);
}

/* kontakty page */
.p24-contact-page { margin-top: 8px; }
.p24-contact-page .text-content {
    background: linear-gradient(160deg, rgba(225, 255, 1, .06) 0%, var(--p24-panel) 30%, #111113 100%);
    color: var(--p24-white);
    border: 1px solid rgba(225, 255, 1, .2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
}
.p24-contact-page .text-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(225, 255, 1, .15) 0%, transparent 70%);
    pointer-events: none;
}
.p24-contact-page .text-content h1 {
    position: relative;
    font-size: clamp(28px, 5vw, 36px);
    color: var(--p24-white);
    margin-bottom: 12px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(225, 255, 1, .35);
}
.p24-contact-page .text-content h1::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: var(--p24-accent);
    border-radius: 2px;
    margin-top: 12px;
}
.p24-contact-page .text-content > p:first-of-type {
    position: relative;
    font-size: 16px;
    color: var(--p24-muted);
    margin-bottom: 32px;
    max-width: 560px;
}
.p24-contact-page .text-content h2 {
    position: relative;
    font-family: var(--p24-display);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--p24-accent);
    margin: 36px 0 20px;
    padding-left: 14px;
    border-left: 3px solid var(--p24-accent);
}
.p24-contact-page .text-content h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--p24-display);
    font-size: 17px;
    font-weight: 800;
    color: var(--p24-white);
    margin: 0 0 0;
    padding: 16px 18px;
    background: rgba(225, 255, 1, .08);
    border: 1px solid rgba(225, 255, 1, .22);
    border-radius: 14px 14px 0 0;
}
.p24-contact-page .text-content h3::before {
    content: '';
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--p24-accent);
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
}
.p24-contact-page .text-content h3:nth-of-type(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230a0a0a'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}
.p24-contact-page .text-content h3:nth-of-type(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230a0a0a'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z'/%3E%3C/svg%3E");
}
.p24-contact-page .text-content h3 + p {
    margin: 0 0 20px;
    padding: 16px 18px 20px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(225, 255, 1, .22);
    border-top: none;
    border-radius: 0 0 14px 14px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--p24-muted);
}
.p24-contact-page .text-content a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 10px 18px;
    background: var(--p24-accent);
    color: var(--p24-accent-text);
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
}
.p24-contact-page .text-content a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(225, 255, 1, .35);
}
@media (max-width: 540px) {
    .p24-contact-page .text-content { padding: 24px 18px; }
}

/* legal pages - konfidentsiinist, umovy */
.p24-legal-page .text-content {
    background: linear-gradient(165deg, rgba(225, 255, 1, .05) 0%, var(--p24-panel) 25%, #111113 100%);
    color: var(--p24-white);
    border: 1px solid rgba(225, 255, 1, .18);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .3);
    padding: 36px 32px;
    position: relative;
}
.p24-legal-page .text-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--p24-accent) 0%, rgba(225, 255, 1, .3) 100%);
    border-radius: var(--p24-radius) var(--p24-radius) 0 0;
}
.p24-legal-page .text-content h1 {
    font-size: clamp(26px, 4.5vw, 34px);
    color: var(--p24-white);
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--p24-line);
}
.p24-legal-page .text-content > p:first-of-type {
    font-size: 15px;
    line-height: 1.7;
    color: var(--p24-muted);
    margin-bottom: 8px;
}
.p24-legal-page .text-content h2 {
    font-family: var(--p24-display);
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 800;
    color: var(--p24-white);
    margin: 36px 0 14px;
    padding: 12px 16px;
    background: rgba(225, 255, 1, .06);
    border-left: 4px solid var(--p24-accent);
    border-radius: 0 10px 10px 0;
}
.p24-legal-page .text-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--p24-accent);
    margin: 24px 0 10px;
}
.p24-legal-page .text-content p {
    font-size: 15px;
    line-height: 1.75;
    color: #c8cdd4;
    margin-bottom: 16px;
}
.p24-legal-page .text-content a {
    color: var(--p24-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity .15s;
}
.p24-legal-page .text-content a:hover { opacity: .8; }
.p24-legal-page .text-content .list-container {
    margin: 16px 0 24px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--p24-line);
    border-radius: 12px;
}
.p24-legal-page .text-content ul,
.p24-legal-page .text-content ol {
    margin: 0;
    padding-left: 20px;
}
.p24-legal-page .text-content li {
    font-size: 14px;
    line-height: 1.65;
    color: var(--p24-muted);
    margin-bottom: 10px;
    padding-left: 4px;
}
.p24-legal-page .text-content li::marker { color: var(--p24-accent); }
.p24-legal-page .text-content blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    border-left: 4px solid var(--p24-accent);
    background: rgba(225, 255, 1, .06);
    border-radius: 0 10px 10px 0;
    color: var(--p24-muted);
    font-size: 14px;
}
.p24-legal-page .text-content .table-wrapper {
    border-color: var(--p24-line);
}
.p24-legal-page .text-content th {
    background: rgba(225, 255, 1, .1);
    color: var(--p24-white);
    border-color: var(--p24-line);
}
.p24-legal-page .text-content td {
    color: var(--p24-muted);
    border-color: var(--p24-line);
    background: rgba(255, 255, 255, .02);
}
@media (max-width: 540px) {
    .p24-legal-page .text-content { padding: 24px 18px; }
}

/* desktop */
@media (min-width: 993px) {
    .p24-page-body { padding-bottom: 32px; }
    .p24-slot-rail { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
    .p24-slot-tile__actions { opacity: 0; }
    .p24-mobile-dock { display: none !important; }
}

@media (max-width: 992px) {
    .p24-horiz-menu { display: none; }
    .p24-foot {
        padding-bottom: calc(var(--p24-dock-h) + env(safe-area-inset-bottom, 0));
    }
    .p24-mobile-dock {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: var(--p24-dock-h);
        background: var(--p24-panel);
        border-top: 1px solid var(--p24-line);
        z-index: 1000;
        align-items: stretch;
        justify-content: space-around;
        padding: 0 4px;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
    .p24-mobile-dock__burger,
    .p24-mobile-dock__item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        font-size: 10px;
        font-weight: 600;
        color: var(--p24-muted);
        min-width: 0;
        padding: 6px 2px;
    }
    .p24-mobile-dock__burger {
        order: -1;
        flex: 0 0 auto;
        min-width: 64px;
        color: var(--p24-accent);
    }
    .p24-mobile-dock__burger svg,
    .p24-mobile-dock__glyph svg { width: 22px; height: 22px; }
    .p24-mobile-dock__item.is-active { color: var(--p24-accent); }
    .p24-slot-tile__actions { opacity: 1; position: static; background: transparent; flex-direction: row; padding: 8px; }
    .p24-slot-tile__visual { aspect-ratio: auto; flex-direction: column; }
    .p24-banner-slide__media { min-height: 120px; max-height: 220px; }
    .p24-banner-slide__img { max-height: 200px; }
}

@media (max-width: 480px) {
    .p24-headband__row { padding: 10px 12px; }
    .p24-btn { padding: 8px 12px; font-size: 13px; }
    .p24-slot-rail { grid-template-columns: repeat(2, 1fr); }
}
