/* PARIK24 shell - self-hosted fonts, dark betting UI */
@font-face {
    font-family: 'ManropeLocal';
    src: url('/static/shell/fonts/manrope-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ManropeLocal';
    src: url('/static/shell/fonts/manrope-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ManropeLocal';
    src: url('/static/shell/fonts/manrope-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'BarlowDisplay';
    src: url('/static/shell/fonts/barlow-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'BarlowDisplay';
    src: url('/static/shell/fonts/barlow-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --p24-bg: #0a0a0a;
    --p24-surface: #141414;
    --p24-surface-2: #1e1e1e;
    --p24-surface-3: #2a2a2a;
    --p24-accent: #e8ff2a;
    --p24-accent-dark: #c8d900;
    --p24-text: #f5f5f5;
    --p24-muted: #9a9a9a;
    --p24-border: #333;
    --p24-green: #00a67c;
    --p24-radius: 10px;
    --p24-radius-lg: 14px;
    --p24-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    --p24-dock-h: 62px;
    --p24-nav-h: 48px;
    --p24-top-h: 56px;
    --p24-promo-h: 36px;
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body.p24-body {
    font-family: 'ManropeLocal', system-ui, sans-serif;
    line-height: 1.55;
    color: var(--p24-text);
    background: var(--p24-bg);
    min-height: 100vh;
    padding-bottom: var(--p24-dock-h);
}

body.p24-body.p24-drawer-open {
    overflow: hidden;
}

/* -- Promo ribbon -- */
.p24-promo-ribbon {
    position: sticky;
    top: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--p24-promo-h);
    padding: 6px 40px 6px 16px;
    background: var(--p24-accent);
    color: #111;
    font-size: 13px;
    font-weight: 600;
}

.p24-promo-ribbon__icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.p24-promo-ribbon__close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    color: #111;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.p24-promo-ribbon.is-hidden {
    display: none;
}

/* -- Top header bar -- */
.p24-site-top {
    position: sticky;
    top: var(--p24-promo-h);
    z-index: 1100;
    background: var(--p24-surface);
    border-bottom: 1px solid var(--p24-border);
}

.p24-promo-ribbon.is-hidden ~ .p24-site-top {
    top: 0;
}

.p24-top-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 16px;
    min-height: var(--p24-top-h);
}

.p24-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.p24-brand img {
    height: 32px;
    width: auto;
    display: block;
}

.p24-brand-text {
    font-family: 'BarlowDisplay', sans-serif;
    font-size: 26px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: -0.5px;
    color: var(--p24-accent);
    line-height: 1;
}

.p24-brand-text span {
    color: #fff;
}

.p24-top-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.p24-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: var(--p24-surface-2);
    color: var(--p24-muted);
    cursor: pointer;
}

.p24-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.p24-lang-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--p24-surface-2);
    font-size: 12px;
    font-weight: 600;
    color: var(--p24-text);
}

.p24-lang-chip img {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
}

.p24-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.p24-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.15s;
}

.p24-btn:hover {
    opacity: 0.88;
}

.p24-btn--ghost {
    background: #fff;
    color: #111;
}

.p24-btn--accent {
    background: var(--p24-accent);
    color: #111;
}

.p24-btn--dark {
    background: var(--p24-surface-3);
    color: var(--p24-text);
}

.p24-btn--play {
    background: var(--p24-accent);
    color: #111;
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 8px;
}

/* -- Primary nav row (under header) -- */
.p24-primary-nav {
    background: #111;
    border-bottom: 1px solid var(--p24-border);
    position: sticky;
    top: calc(var(--p24-promo-h) + var(--p24-top-h));
    z-index: 1090;
}

.p24-promo-ribbon.is-hidden ~ .p24-site-top ~ .p24-primary-nav {
    top: var(--p24-top-h);
}

.p24-nav-scroll {
    max-width: 1440px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.p24-nav-scroll::-webkit-scrollbar {
    display: none;
}

.p24-nav-list {
    display: flex;
    align-items: stretch;
    list-style: none;
    min-height: var(--p24-nav-h);
    padding: 0 8px;
}

.p24-nav-item {
    flex-shrink: 0;
}

.p24-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    height: var(--p24-nav-h);
    color: var(--p24-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.p24-nav-link:hover,
.p24-nav-link.is-active {
    color: var(--p24-text);
    border-bottom-color: var(--p24-accent);
}

.p24-nav-glyph {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

/* -- Page shell -- */
.p24-page-shell {
    max-width: 1440px;
    margin: 0 auto;
    padding: 16px;
}

/* -- Breadcrumbs -- */
.p24-crumb-trail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
}

.p24-crumb-link {
    color: var(--p24-muted);
    text-decoration: none;
}

.p24-crumb-link:hover {
    color: var(--p24-accent);
}

.p24-crumb-sep {
    color: var(--p24-border);
}

/* -- Banner slider -- */
.p24-hero-slider {
    position: relative;
    margin-bottom: 20px;
    border-radius: var(--p24-radius-lg);
    overflow: hidden;
    background: var(--p24-surface);
}

.p24-hero-track {
    display: flex;
    transition: transform 0.4s ease;
}

.p24-hero-slide {
    flex: 0 0 100%;
    position: relative;
}

.p24-hero-media {
    line-height: 0;
}

.p24-hero-media picture {
    display: block;
}

.p24-hero-slide img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;
    background: var(--p24-surface-2);
}

.p24-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 24px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.p24-hero-badge {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--p24-accent);
    color: #111;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
}

.p24-hero-title {
    max-width: min(420px, 72%);
    font-family: 'BarlowDisplay', sans-serif;
    font-size: clamp(18px, 4vw, 28px);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.p24-hero-cta {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--p24-accent);
    color: #111;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 16px rgba(232, 255, 42, 0.25);
}

.p24-hero-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(232, 255, 42, 0.35);
}

.p24-hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: var(--p24-surface);
}

.p24-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--p24-surface-3);
    cursor: pointer;
    padding: 0;
}

.p24-hero-dot.is-active {
    background: var(--p24-accent);
    width: 20px;
    border-radius: 4px;
}

/* Legacy promo banners fallback */
.promotional-banners {
    margin-bottom: 20px;
}

.promo-banner {
    border-radius: var(--p24-radius-lg);
    overflow: hidden;
    background: var(--p24-surface);
    margin-bottom: 12px;
}

.promo-banner picture {
    display: block;
}

.promo-banner-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 280px;
    display: block;
    background: var(--p24-surface-2);
}

.promo-banner-content {
    padding: 14px 16px;
}

.promo-banner-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.promo-banner-text {
    font-size: 13px;
    color: var(--p24-muted);
    margin-bottom: 10px;
}

.promo-banner-btn {
    display: inline-flex;
    padding: 9px 18px;
    background: var(--p24-accent);
    color: #111;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}

/* -- Game sections -- */
.game-section {
    margin-bottom: 28px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.section-title {
    font-family: 'BarlowDisplay', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--p24-text);
}

.show-all-btn {
    font-size: 13px;
    color: var(--p24-muted);
    text-decoration: none;
}

.show-all-btn:hover {
    color: var(--p24-accent);
}

.games-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.games-carousel::-webkit-scrollbar {
    display: none;
}

.games-grid {
    display: flex;
    gap: 12px;
    padding-bottom: 4px;
}

.game-card {
    flex: 0 0 140px;
    border-radius: var(--p24-radius);
    overflow: hidden;
    background: var(--p24-surface);
}

.game-image-wrapper {
    position: relative;
    aspect-ratio: 3 / 4;
    background: var(--p24-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.game-image-wrapper .game-play-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    background: rgba(0, 0, 0, 0.55);
    color: var(--p24-accent);
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 2;
}

.game-card-actions {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.2s;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
    z-index: 2;
}

.game-card:hover .game-card-actions,
.game-image-wrapper:focus-within .game-card-actions {
    opacity: 1;
}

.game-title {
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: var(--p24-muted);
}

/* -- Bonuses -- */
.p24-page-offers .bonuses-section {
    margin-bottom: 36px;
}

.p24-page-offers .bonuses-section .section-title {
    font-size: 22px;
    font-style: italic;
    color: var(--p24-accent);
}

.p24-page-offers .bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.p24-page-offers .bonus-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--p24-radius-lg);
    overflow: hidden;
    background: linear-gradient(180deg, var(--p24-surface-2) 0%, var(--p24-surface) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.p24-page-offers .bonus-card:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 255, 42, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(232, 255, 42, 0.1);
}

.p24-page-offers .bonus-image-wrapper {
    position: relative;
    background: var(--p24-surface-3);
    overflow: hidden;
}

.p24-page-offers .bonus-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.65) 100%);
    pointer-events: none;
}

.p24-page-offers .bonus-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 180px;
    display: block;
    transition: transform 0.3s;
}

.p24-page-offers .bonus-card:hover .bonus-image {
    transform: scale(1.03);
}

.p24-page-offers .bonus-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px 18px 16px;
}

.p24-page-offers .bonus-name {
    font-family: 'BarlowDisplay', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    color: var(--p24-text);
}

.p24-page-offers .bonus-description {
    font-size: 13px;
    color: var(--p24-muted);
    margin-bottom: 12px;
    line-height: 1.6;
    flex: 1;
}

.p24-page-offers .bonus-value {
    display: inline-flex;
    align-self: flex-start;
    font-size: 15px;
    font-weight: 800;
    color: #111;
    background: var(--p24-accent);
    padding: 8px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(232, 255, 42, 0.25);
}

.p24-page-offers .bonus-value strong {
    font-weight: 800;
}

.p24-page-offers .bonus-category-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 6px;
    background: rgba(232, 255, 42, 0.1);
    border: 1px solid rgba(232, 255, 42, 0.2);
    color: var(--p24-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.p24-page-offers .bonus-terms {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11px;
    color: var(--p24-muted);
    line-height: 1.5;
}

/* Legacy bonus selectors for compatibility */
.bonuses-section { margin-bottom: 28px; }
.bonuses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.bonus-card { border-radius: var(--p24-radius-lg); overflow: hidden; background: var(--p24-surface); border: 1px solid var(--p24-border); }
.bonus-image-wrapper { background: var(--p24-surface-2); }
.bonus-image { width: 100%; height: auto; object-fit: contain; max-height: 200px; display: block; }
.bonus-content { padding: 14px; }
.bonus-name { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.bonus-description { font-size: 13px; color: var(--p24-muted); margin-bottom: 8px; }
.bonus-value { font-size: 15px; font-weight: 700; color: var(--p24-accent); margin-bottom: 8px; }
.bonus-category-badge { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--p24-surface-3); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.bonus-terms { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--p24-border); font-size: 11px; color: var(--p24-muted); }

/* -- SEO text block -- */
.text-content-wrap {
    max-width: 920px;
    margin: 32px auto 0;
}

.text-content {
    padding: 36px 32px 32px;
    background:
        radial-gradient(ellipse 70% 40% at 50% 0%, rgba(232, 255, 42, 0.05) 0%, transparent 55%),
        linear-gradient(180deg, var(--p24-surface) 0%, #121212 100%);
    border-radius: var(--p24-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.text-content__title,
.text-content h1 {
    font-family: 'BarlowDisplay', sans-serif;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800;
    font-style: italic;
    margin-bottom: 24px;
    padding-bottom: 18px;
    color: var(--p24-text);
    border-bottom: 1px solid rgba(232, 255, 42, 0.15);
    line-height: 1.25;
}

.text-content__h2,
.text-content h2 {
    font-family: 'BarlowDisplay', sans-serif;
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 700;
    margin: 36px 0 14px;
    padding-left: 14px;
    color: var(--p24-text);
    border-left: 3px solid var(--p24-accent);
    line-height: 1.35;
}

.text-content__h3,
.text-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 24px 0 10px;
    color: var(--p24-accent);
    line-height: 1.4;
}

.text-content__p,
.text-content p {
    margin-bottom: 16px;
    font-size: 14px;
    color: #c8c8c8;
    line-height: 1.75;
}

.text-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: var(--p24-radius);
    border: 1px solid var(--p24-border);
}

.text-content__link,
.text-content a {
    color: var(--p24-accent);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 255, 42, 0.35);
    transition: border-color 0.15s, opacity 0.15s;
}

.text-content__link:hover,
.text-content a:hover {
    border-bottom-color: var(--p24-accent);
    opacity: 0.9;
}

.text-content__quote,
.text-content blockquote {
    margin: 20px 0;
    padding: 18px 20px;
    border-left: 3px solid var(--p24-accent);
    background: rgba(232, 255, 42, 0.05);
    border-radius: 0 var(--p24-radius) var(--p24-radius) 0;
    font-size: 14px;
    color: #d4d4d4;
    line-height: 1.65;
    font-style: italic;
}

.text-content ul,
.text-content ol,
.list-container ul,
.list-container ol {
    margin: 16px 0 20px;
    padding: 16px 20px 16px 36px;
    border-radius: var(--p24-radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.text-content li,
.list-container li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #ccc;
    line-height: 1.65;
}

.text-content li::marker,
.list-container li::marker {
    color: var(--p24-accent);
}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    border-radius: var(--p24-radius);
    border: 1px solid rgba(232, 255, 42, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.text-content table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
}

.text-content th,
.text-content td {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
    font-size: 13px;
}

.text-content th {
    background: rgba(232, 255, 42, 0.08);
    font-weight: 700;
    color: var(--p24-accent);
    white-space: nowrap;
}

.text-content tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.text-content tbody tr:hover {
    background: rgba(232, 255, 42, 0.03);
}

/* FAQ / HowTo */
.faq-wrapper { margin: 20px 0; }
.faq-item-block {
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--p24-radius);
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.15s;
}
.faq-item-block:hover {
    border-color: rgba(232, 255, 42, 0.2);
}
.faq-question-block {
    padding: 14px 16px;
    background: rgba(232, 255, 42, 0.05);
    font-size: 14px;
}
.faq-answer-block {
    padding: 14px 16px;
    font-size: 14px;
    color: #c8c8c8;
    line-height: 1.65;
}
.howto-wrapper {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--p24-radius-lg);
}
.howto-steps-list {
    list-style: none;
    counter-reset: p24step;
}
.howto-step-item {
    counter-increment: p24step;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: var(--p24-surface);
    border-radius: var(--p24-radius);
    border-left: 3px solid var(--p24-accent);
}
.howto-step-item::before {
    content: counter(p24step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--p24-accent);
    color: #111;
    font-weight: 800;
    font-size: 12px;
    margin-right: 10px;
}

/* -- Payment methods -- */
.payment-methods-section {
    margin: 28px 0;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}

.payment-method-card {
    padding: 14px;
    text-align: center;
    background: var(--p24-surface);
    border: 1px solid var(--p24-border);
    border-radius: var(--p24-radius);
}

.payment-method-image {
    max-width: 64px;
    height: auto;
    margin: 0 auto 8px;
    display: block;
}

.payment-method-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--p24-muted);
}

/* -- App hero block -- */
.p24-page-app .app-info-table-wrapper {
    position: relative;
    margin: 8px 0 32px;
    padding: 4px;
    border-radius: calc(var(--p24-radius-lg) + 4px);
    background: linear-gradient(135deg, rgba(232, 255, 42, 0.35) 0%, rgba(232, 255, 42, 0.05) 50%, rgba(255, 255, 255, 0.04) 100%);
}

.p24-app-hero-glow {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 255, 42, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.p24-page-app .app-info-table-container {
    position: relative;
    border-radius: var(--p24-radius-lg);
    border: 1px solid rgba(232, 255, 42, 0.15);
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(232, 255, 42, 0.08) 0%, transparent 55%),
        linear-gradient(180deg, var(--p24-surface-2) 0%, var(--p24-surface) 100%);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45);
}

.p24-page-app .app-info-table {
    width: 100%;
    border-collapse: collapse;
}

.p24-page-app .app-info-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.15s;
}

.p24-page-app .app-info-row:last-child {
    border-bottom: none;
}

.p24-page-app .app-info-row:hover {
    background: rgba(232, 255, 42, 0.03);
}

.p24-page-app .app-info-row:first-child {
    background: rgba(232, 255, 42, 0.04);
}

.p24-page-app .app-info-row:first-child:hover {
    background: rgba(232, 255, 42, 0.06);
}

.p24-page-app .app-info-label-cell {
    padding: 16px 12px;
    text-align: center;
    width: 64px;
    vertical-align: middle;
    background: transparent;
}

.p24-page-app .app-info-label-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border-radius: 12px;
    background: rgba(232, 255, 42, 0.1);
    border: 1px solid rgba(232, 255, 42, 0.2);
}

.p24-page-app .app-info-icon {
    width: 20px;
    height: 20px;
    color: var(--p24-accent);
}

.p24-page-app .app-info-value-cell {
    padding: 16px 20px 16px 8px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--p24-text);
    vertical-align: middle;
}

.p24-page-app .app-info-row:first-child .app-info-value-cell {
    padding-top: 24px;
    padding-bottom: 20px;
}

.p24-page-app .app-name-with-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.p24-page-app .app-name-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 14px;
    padding: 6px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(232, 255, 42, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.p24-page-app .app-name-text {
    font-family: 'BarlowDisplay', sans-serif;
    font-weight: 800;
    font-size: 22px;
    font-style: italic;
    color: var(--p24-accent);
    letter-spacing: -0.02em;
}

.p24-page-app .app-info-row:nth-child(2) .app-info-value-cell {
    color: var(--p24-muted);
    font-size: 13px;
    line-height: 1.65;
}

.p24-page-app .app-info-row:not(:first-child):not(:nth-child(2)):not(:last-child) .app-info-value-cell {
    font-weight: 600;
}

.p24-page-app .app-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--p24-accent);
    color: #111;
    border-radius: 28px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(232, 255, 42, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
}

.p24-page-app .app-download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(232, 255, 42, 0.45);
}

.p24-page-app .app-info-row:last-child .app-info-value-cell {
    padding-top: 20px;
    padding-bottom: 24px;
}

@media (max-width: 600px) {
    .p24-page-app .app-name-with-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .p24-page-app .app-info-label-cell {
        width: 52px;
        padding: 14px 8px;
    }

    .p24-page-app .app-info-value-cell {
        padding: 14px 16px 14px 4px;
    }

    .p24-page-app .app-download-link {
        width: 100%;
    }
}

/* -- Footer -- */
.p24-site-bottom {
    position: relative;
    margin-top: 48px;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232, 255, 42, 0.06) 0%, transparent 60%),
        linear-gradient(180deg, #111 0%, var(--p24-surface) 40%, #0d0d0d 100%);
    border-top: 1px solid var(--p24-border);
    overflow: hidden;
}

.p24-footer-accent {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--p24-accent) 30%, var(--p24-accent-dark) 70%, transparent 100%);
}

.p24-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 28px;
}

.p24-footer-brand {
    text-align: center;
    margin-bottom: 36px;
}

.p24-brand-text span {
    color: #fff;
}

.p24-footer-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: var(--p24-radius-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--p24-border);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.p24-footer-brand-link:hover {
    border-color: rgba(232, 255, 42, 0.35);
    box-shadow: 0 0 24px rgba(232, 255, 42, 0.08);
}

.p24-footer-brand-link img {
    height: 40px;
    width: auto;
}

.p24-footer-brand-text {
    font-family: 'BarlowDisplay', sans-serif;
    font-size: 28px;
    font-weight: 800;
    font-style: italic;
    color: var(--p24-accent);
}

.p24-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.p24-footer-col {
    min-width: 0;
}

.p24-footer-heading {
    font-family: 'BarlowDisplay', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--p24-text);
    position: relative;
    padding-bottom: 10px;
}

.p24-footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--p24-accent);
    border-radius: 2px;
}

.p24-footer-heading--center {
    text-align: center;
}

.p24-footer-heading--center::after {
    left: 50%;
    transform: translateX(-50%);
}

.p24-footer-links {
    list-style: none;
}

.p24-footer-links li {
    margin-bottom: 4px;
}

.p24-footer-links a {
    color: var(--p24-muted);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    transition: color 0.15s, transform 0.15s;
}

.p24-footer-link-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--p24-surface-3);
    flex-shrink: 0;
    transition: background 0.15s, box-shadow 0.15s;
}

.p24-footer-links a:hover,
.p24-footer-links a.active {
    color: var(--p24-accent);
    transform: translateX(3px);
}

.p24-footer-links a:hover .p24-footer-link-dot,
.p24-footer-links a.active .p24-footer-link-dot {
    background: var(--p24-accent);
    box-shadow: 0 0 8px rgba(232, 255, 42, 0.5);
}

.p24-footer-social {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.p24-footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--p24-surface-2);
    border: 1px solid var(--p24-border);
    color: var(--p24-muted);
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s, background 0.15s, transform 0.15s;
}

.p24-footer-social-btn:hover {
    color: #111;
    background: var(--p24-accent);
    border-color: var(--p24-accent);
    transform: translateY(-2px);
}

.p24-footer-social-glyph {
    width: 20px;
    height: 20px;
}

.footer-social-image {
    max-height: 20px;
    max-width: 20px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.85);
    transition: filter 0.15s;
}

.p24-footer-social-btn:hover .footer-social-image {
    filter: brightness(0);
}

.p24-footer-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.p24-footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
}

.p24-footer-cta-btn:hover {
    transform: translateY(-1px);
}

.p24-footer-cta-btn--accent {
    background: var(--p24-accent);
    color: #111;
    box-shadow: 0 4px 20px rgba(232, 255, 42, 0.25);
}

.p24-footer-cta-btn--accent:hover {
    box-shadow: 0 6px 28px rgba(232, 255, 42, 0.35);
}

.p24-footer-cta-btn--ghost {
    background: transparent;
    color: var(--p24-text);
    border: 1px solid var(--p24-border);
}

.p24-footer-cta-btn--ghost:hover {
    border-color: var(--p24-accent);
    color: var(--p24-accent);
}

.p24-footer-safe-block {
    margin-bottom: 28px;
}

.p24-footer-safe {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.p24-footer-safe-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: var(--p24-radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.15s;
}

.p24-footer-safe-item:hover {
    border-color: rgba(232, 255, 42, 0.2);
}

.p24-footer-safe-item a {
    display: flex;
    align-items: center;
}

.p24-footer-safe img {
    max-height: 32px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.15s;
}

.p24-footer-safe-item:hover img {
    opacity: 1;
}

.p24-footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.p24-footer-copy {
    font-size: 13px;
    color: var(--p24-text);
    margin-bottom: 8px;
}

.p24-footer-disclaimer {
    font-size: 12px;
    color: var(--p24-muted);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .p24-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .p24-footer-col--social {
        text-align: center;
    }

    .p24-footer-col--social .p24-footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .p24-footer-social {
        justify-content: center;
    }

    .p24-footer-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .p24-footer-cta-btn {
        width: 100%;
    }
}

/* -- 404 -- */
.p24-error-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--p24-dock-h) - var(--p24-top-h) - var(--p24-nav-h) - var(--p24-promo-h) - 120px);
    padding: 32px 16px 48px;
}

.p24-error-panel {
    position: relative;
    text-align: center;
    padding: 48px 32px 40px;
    max-width: 520px;
    width: 100%;
    border-radius: var(--p24-radius-lg);
    background: linear-gradient(160deg, rgba(232, 255, 42, 0.08) 0%, var(--p24-surface) 45%, var(--p24-surface-2) 100%);
    border: 1px solid rgba(232, 255, 42, 0.18);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 24px 64px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(232, 255, 42, 0.06);
    overflow: hidden;
}

.p24-error-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 255, 42, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.p24-error-code {
    position: relative;
    font-family: 'BarlowDisplay', sans-serif;
    font-size: clamp(72px, 18vw, 112px);
    font-weight: 800;
    font-style: italic;
    color: var(--p24-accent);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(232, 255, 42, 0.35);
    letter-spacing: -0.04em;
}

.p24-error-title {
    position: relative;
    font-family: 'BarlowDisplay', sans-serif;
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--p24-text);
}

.p24-error-desc {
    position: relative;
    color: var(--p24-muted);
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 1.65;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.p24-error-btn {
    position: relative;
    padding: 14px 32px;
    font-size: 14px;
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(232, 255, 42, 0.3);
}

.p24-error-btn:hover {
    box-shadow: 0 12px 40px rgba(232, 255, 42, 0.4);
}

/* -- Contact page -- */
.p24-contact-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
}

.p24-contact-shell {
    position: relative;
}

.p24-contact-shell::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, transparent, var(--p24-accent), transparent);
}

.p24-page-contact .p24-contact-page .text-content-wrap {
    margin-top: 16px;
}

.p24-page-contact .p24-contact-page .text-content {
    margin-top: 0;
    padding: 36px 32px 32px;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(232, 255, 42, 0.1) 0%, transparent 55%),
        linear-gradient(180deg, var(--p24-surface-2) 0%, var(--p24-surface) 100%);
    border: 1px solid rgba(232, 255, 42, 0.2);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.p24-page-contact .p24-contact-page .text-content h1 {
    font-size: clamp(28px, 5vw, 36px);
    font-style: italic;
    color: var(--p24-accent);
    text-align: center;
    margin-bottom: 8px;
}

.p24-page-contact .p24-contact-page .text-content h1::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    margin: 14px auto 0;
    background: var(--p24-accent);
    border-radius: 2px;
}

.p24-page-contact .p24-contact-page .text-content > p:first-of-type {
    text-align: center;
    color: var(--p24-muted);
    font-size: 15px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.p24-page-contact .p24-contact-page .text-content h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    margin-top: 32px;
    padding-left: 14px;
    border-left: 3px solid var(--p24-accent);
}

.p24-page-contact .p24-contact-page .text-content h3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(232, 255, 42, 0.1);
    color: var(--p24-accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.p24-page-contact .p24-contact-page .text-content h3 + p {
    margin-top: 12px;
    padding: 16px 18px;
    border-radius: var(--p24-radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--p24-text);
    line-height: 1.65;
}

.p24-page-contact .p24-contact-page .text-content a {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--p24-accent);
    color: #111;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.15s, box-shadow 0.15s;
}

.p24-page-contact .p24-contact-page .text-content a:hover {
    opacity: 0.9;
    box-shadow: 0 4px 16px rgba(232, 255, 42, 0.3);
}

@media (max-width: 600px) {
    .p24-page-contact .p24-contact-page .text-content {
        padding: 28px 20px 24px;
    }

    .p24-page-contact .p24-contact-page .text-content a {
        display: inline-flex;
        margin-left: 0;
        margin-top: 8px;
    }
}

/* -- Legal pages (privacy, terms) -- */
.p24-legal-page {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 16px;
}

.p24-page-legal .p24-legal-page .text-content-wrap {
    margin-top: 24px;
}

.p24-page-legal .p24-legal-page .text-content {
    margin-top: 0;
    padding: 40px 36px 36px;
    background:
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(232, 255, 42, 0.07) 0%, transparent 50%),
        linear-gradient(180deg, var(--p24-surface) 0%, #121212 100%);
    border: 1px solid rgba(232, 255, 42, 0.15);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.4);
}

.p24-page-legal .p24-legal-page .text-content h1 {
    font-size: clamp(26px, 4.5vw, 34px);
    font-style: italic;
    color: var(--p24-accent);
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(232, 255, 42, 0.15);
}

.p24-page-legal .p24-legal-page .text-content > p:first-of-type {
    font-size: 15px;
    line-height: 1.7;
    color: #d4d4d4;
    padding: 18px 20px;
    border-radius: var(--p24-radius);
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--p24-accent);
}

.p24-page-legal .p24-legal-page .text-content h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    margin-top: 36px;
    margin-bottom: 14px;
    padding: 12px 16px;
    border-radius: var(--p24-radius);
    background: rgba(232, 255, 42, 0.06);
    border: 1px solid rgba(232, 255, 42, 0.12);
    color: var(--p24-text);
}

.p24-page-legal .p24-legal-page .text-content h2::before {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--p24-accent);
    box-shadow: 0 0 10px rgba(232, 255, 42, 0.5);
}

.p24-page-legal .p24-legal-page .text-content h3 {
    font-size: 16px;
    color: var(--p24-accent);
    margin-top: 22px;
    padding-left: 12px;
    border-left: 2px solid rgba(232, 255, 42, 0.4);
}

.p24-page-legal .p24-legal-page .text-content p {
    color: #c8c8c8;
    line-height: 1.75;
}

.p24-page-legal .p24-legal-page .text-content ul,
.p24-page-legal .p24-legal-page .text-content ol {
    margin: 16px 0 20px;
    padding: 16px 20px 16px 36px;
    border-radius: var(--p24-radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.p24-page-legal .p24-legal-page .text-content li {
    margin-bottom: 10px;
    color: #ccc;
    line-height: 1.65;
}

.p24-page-legal .p24-legal-page .text-content li::marker {
    color: var(--p24-accent);
}

.p24-page-legal .p24-legal-page .text-content a {
    color: var(--p24-accent);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 255, 42, 0.35);
    transition: border-color 0.15s;
}

.p24-page-legal .p24-legal-page .text-content a:hover {
    border-bottom-color: var(--p24-accent);
}

.p24-page-terms .p24-legal-page .text-content h1 {
    color: var(--p24-text);
}

.p24-page-terms .p24-legal-page .text-content h1 span {
    color: var(--p24-accent);
}

@media (max-width: 600px) {
    .p24-page-legal .p24-legal-page .text-content {
        padding: 28px 20px 24px;
    }
}

/* -- Mobile bottom dock -- */
.p24-mobile-dock {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1300;
    height: var(--p24-dock-h);
    background: var(--p24-surface);
    border-top: 1px solid var(--p24-border);
    padding: 6px 4px env(safe-area-inset-bottom, 0);
}

.p24-dock-list {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    list-style: none;
    height: 100%;
    padding-left: 4px;
}

.p24-dock-item {
    flex: 1;
    max-width: 72px;
}

.p24-dock-item--menu {
    flex: 0 0 64px;
    max-width: none;
    margin-right: 4px;
    border-right: 1px solid var(--p24-border);
}

.p24-dock-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 100%;
    width: 100%;
    border: none;
    background: none;
    color: var(--p24-muted);
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
}

.p24-dock-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.p24-dock-link.is-active {
    color: var(--p24-accent);
}

.p24-dock-link--menu {
    color: var(--p24-text);
}

.p24-dock-link--menu.is-active {
    color: var(--p24-accent);
}

/* -- Drawer menu -- */
.p24-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1400;
    background: rgba(0, 0, 0, 0.7);
}

.p24-drawer-overlay.is-visible {
    display: block;
}

.p24-drawer-panel {
    position: fixed;
    top: 0;
    bottom: var(--p24-dock-h);
    left: 0;
    width: min(320px, 85vw);
    z-index: 1500;
    background: var(--p24-surface);
    border-right: 1px solid var(--p24-border);
    border-radius: 0 var(--p24-radius-lg) var(--p24-radius-lg) 0;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.35);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.p24-drawer-panel.is-open {
    transform: translateX(0);
}

.p24-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--p24-border);
}

.p24-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--p24-surface-2);
    color: var(--p24-text);
    font-size: 20px;
    cursor: pointer;
}

.p24-drawer-nav {
    list-style: none;
    padding: 8px 0;
}

.p24-drawer-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--p24-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid var(--p24-border);
}

.p24-drawer-nav a:hover,
.p24-drawer-nav a.is-active {
    background: var(--p24-surface-2);
    color: var(--p24-accent);
}

.p24-drawer-nav svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
}

/* -- Desktop: hide dock, show nav -- */
@media (min-width: 993px) {
    body.p24-body {
        padding-bottom: 0;
    }

    .p24-mobile-dock,
    .p24-drawer-overlay,
    .p24-drawer-panel {
        display: none !important;
    }
}

/* -- Mobile -- */
@media (max-width: 992px) {
    .p24-primary-nav {
        display: none;
    }

    .p24-mobile-dock {
        display: block;
    }

    .p24-top-inner {
        padding: 8px 12px;
    }

    .p24-lang-chip {
        display: none;
    }

    .p24-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .p24-page-shell {
        padding: 12px;
    }

    .game-card {
        flex: 0 0 120px;
    }

    .game-card-actions {
        opacity: 1;
    }

    .text-content {
        padding: 16px;
    }

    .bonuses-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .p24-brand-text {
        font-size: 22px;
    }

    .p24-top-inner {
        gap: 6px;
    }

    .p24-top-tools .p24-icon-btn {
        display: none;
    }

    .p24-top-actions {
        gap: 4px;
        flex-shrink: 1;
    }

    .p24-btn {
        padding: 8px 10px;
        font-size: 11px;
    }

    .p24-footer-inner {
        padding-bottom: calc(28px + env(safe-area-inset-bottom, 0));
    }

    .p24-legal-page,
    .p24-contact-page {
        padding-bottom: calc(var(--p24-dock-h) + 12px);
    }

    .p24-hero-slide img {
        max-height: 200px;
    }

    .p24-hero-overlay {
        padding: 14px 16px;
        gap: 8px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.75) 100%);
        justify-content: flex-end;
    }

    .p24-hero-title {
        max-width: 100%;
        font-size: 16px;
    }

    .p24-hero-cta {
        padding: 8px 16px;
        font-size: 12px;
    }
}
