/* Pelican Casino - layout shell */
@font-face {
    font-family: 'Source Sans';
    src: url('/res/fonts/source-sans-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans';
    src: url('/res/fonts/source-sans-semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('/res/fonts/outfit-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Source Sans', system-ui, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fff;
}

/* ── Header top row ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: #fff;
    border-bottom: 1px solid #e4e4e4;
}

.header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 20px;
    gap: 16px;
}

.header-brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-brand-img {
    height: 44px;
    width: auto;
    display: block;
}

.header-brand-text {
    font-weight: 700;
    font-size: 18px;
    color: #1a1a1a;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-register {
    background: #f5c400;
    color: #111;
    padding: 9px 22px;
    border: none;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 2px;
    display: inline-block;
    white-space: nowrap;
}

.btn-login {
    background: #111;
    color: #fff;
    padding: 9px 22px;
    border: none;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 2px;
    display: inline-block;
    white-space: nowrap;
}

/* ── Horizontal nav strip (desktop) ── */
.nav-strip {
    background: #f0f0f0;
    border-top: 1px solid #e0e0e0;
}

.nav-row {
    list-style: none;
    display: flex;
    align-items: stretch;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 12px;
    gap: 0;
    overflow-x: auto;
}

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

.nav-row-link {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: color .15s, border-color .15s;
    white-space: nowrap;
}

.nav-row-link:hover,
.nav-row-link.is-active {
    color: #111;
    border-bottom-color: #f5c400;
}

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

/* ── Mobile burger (hidden on desktop) ── */
.mobile-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
}

.mobile-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #111;
    margin: 5px 0;
    border-radius: 1px;
}

/* ── Mobile drawer (hidden on desktop) ── */
.mobile-drawer {
    display: none;
}

.mobile-overlay {
    display: none;
}

/* ── Main content ── */
.main-content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

/* ── Hero banner slider ── */
.hero-slider {
    margin-bottom: 28px;
    position: relative;
}

.hero-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    scrollbar-width: none;
}

.hero-track::-webkit-scrollbar {
    display: none;
}

.hero-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    position: relative;
    background: #f8f8f8;
    border-radius: 4px;
    overflow: hidden;
}

.hero-picture {
    display: block;
    line-height: 0;
}

.hero-img {
    width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
}

.hero-caption {
    padding: 16px 20px 20px;
    background: #fff;
    border-top: 1px solid #eee;
}

.hero-caption-title {
    font-family: 'Outfit', 'Source Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #111;
}

.hero-caption-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

.hero-caption-btn {
    display: inline-block;
    padding: 10px 28px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-radius: 2px;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0 0;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    padding: 0;
}

.hero-dot.is-current {
    background: #f5c400;
    transform: scale(1.2);
}

/* ── Games ── */
.game-section {
    margin-bottom: 32px;
}

.section-header {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 2px solid #f5c400;
    padding-bottom: 8px;
}

.section-title {
    font-family: 'Outfit', 'Source Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.show-all-btn {
    padding: 6px 14px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    display: inline-block;
    font-size: 13px;
    border-radius: 2px;
    transition: border-color .15s;
}

.show-all-btn:hover {
    border-color: #f5c400;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.game-card {
    border: 1px solid #e8e8e8;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow .2s;
}

.game-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
}

.game-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.game-thumb-actions {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    transition: opacity .2s;
}

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

.game-action-btn {
    display: inline-block;
    padding: 7px 18px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    border-radius: 2px;
    min-width: 110px;
    text-align: center;
    border: none;
    cursor: pointer;
}

.game-action-demo {
    background: #fff;
    color: #111;
}

.game-action-play {
    background: #f5c400;
    color: #111;
}

.game-label {
    padding: 8px 6px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Bonuses ── */
.bonuses-section {
    margin-bottom: 36px;
}

.bonuses-section .section-title {
    font-family: 'Outfit', 'Source Sans', sans-serif;
    font-size: clamp(20px, 2.5vw, 26px);
    background: linear-gradient(135deg, #111 0%, #c99700 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.bonus-card {
    position: relative;
    border: 1px solid #e8e8e8;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}

.bonus-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f5c400, #111);
    opacity: .85;
    z-index: 1;
}

.bonus-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 196, 0, 0.4);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.bonus-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 8;
    overflow: hidden;
    background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bonus-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    transition: transform .3s ease;
}

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

.bonus-content {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bonus-name {
    font-family: 'Outfit', 'Source Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 18px 10px;
    color: #111;
    line-height: 1.3;
}

.bonus-description {
    padding: 0 18px 14px;
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #555;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bonus-value {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    padding: 8px 14px;
    margin: 0 18px 10px;
    background: linear-gradient(135deg, rgba(245, 196, 0, 0.18) 0%, rgba(245, 196, 0, 0.08) 100%);
    border: 1px solid rgba(245, 196, 0, 0.3);
    border-radius: 4px;
}

.bonus-value strong {
    color: #c99700;
}

.bonus-category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(17, 17, 17, 0.06);
    border: 1px solid #e0e0e0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #666;
    margin: 0 18px 10px;
    border-radius: 20px;
}

.bonus-terms {
    padding: 12px 18px;
    background: #fafafa;
    border-top: 1px dashed #e0e0e0;
    font-size: 11px;
    color: #888;
    line-height: 1.45;
    margin-top: auto;
}

/* ── Text Content ── */
.page-body--content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

.page-body--content .text-content,
.page-body--app .text-content,
.main-content-wrapper .text-content {
    max-width: 900px;
    margin: 36px auto 0;
    padding: 32px 36px;
    border-radius: 8px;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    border: 1px solid #eee;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.text-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.text-content h1 {
    font-family: 'Outfit', 'Source Sans', sans-serif;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 16px;
    color: #111;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #f5c400, #111, transparent) 1;
    line-height: 1.25;
}

.text-content > p:first-of-type {
    font-size: 16px;
    line-height: 1.65;
    color: #555;
    margin-bottom: 8px;
}

.text-content h2 {
    font-family: 'Outfit', 'Source Sans', sans-serif;
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 700;
    margin: 32px 0 14px;
    padding-left: 14px;
    color: #111;
    border-left: 3px solid #f5c400;
    line-height: 1.3;
}

.text-content h3 {
    font-family: 'Outfit', 'Source Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin: 24px 0 10px;
    color: #c99700;
    letter-spacing: .02em;
}

.text-content p {
    margin-bottom: 16px;
    color: #555;
    line-height: 1.65;
    font-size: 15px;
}

.text-content img {
    border-radius: 6px;
    margin: 20px 0;
    border: 1px solid #eee;
    max-width: 100%;
    height: auto;
}

.text-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #eee;
}

.text-content th,
.text-content td {
    padding: 12px 14px;
    border: 1px solid #eee;
    text-align: left;
}

.text-content th {
    background: #fafafa;
    font-weight: 700;
    color: #111;
}

.text-content ul,
.text-content ol {
    margin: 16px 0 20px;
    padding: 16px 20px 16px 32px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    color: #555;
}

.text-content ul li,
.text-content ol li {
    margin-bottom: 10px;
    line-height: 1.55;
    font-size: 14px;
}

.text-content ul li::marker {
    color: #f5c400;
}

.text-content ol li::marker {
    color: #c99700;
    font-weight: 700;
}

.text-content a {
    color: #111;
    text-decoration: underline;
    text-decoration-color: rgba(245, 196, 0, 0.5);
    text-underline-offset: 3px;
    transition: text-decoration-color .2s, color .2s;
}

.text-content a:hover {
    color: #c99700;
    text-decoration-color: #f5c400;
}

.text-content blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    border-left: 3px solid #f5c400;
    background: linear-gradient(90deg, rgba(245, 196, 0, 0.08) 0%, transparent 100%);
    color: #555;
    border-radius: 0 6px 6px 0;
    font-style: italic;
    line-height: 1.6;
}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ── FAQ ── */
.faq-wrapper {
    margin: 20px 0;
}

.faq-item-block {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    background: #fff;
}

.faq-question-block {
    padding: 15px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.faq-question-block strong {
    font-size: 16px;
}

.faq-answer-block {
    padding: 15px;
}

/* ── HowTo ── */
.howto-wrapper {
    margin: 20px 0;
    padding: 20px;
    background: #f5f5f5;
    border: 1px solid #ddd;
}

.howto-steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.howto-step-item {
    counter-increment: step-counter;
    padding: 15px;
    margin-bottom: 10px;
    background: #fff;
    border-left: 3px solid #000;
}

.howto-step-item::before {
    content: counter(step-counter) ".";
    font-weight: bold;
    margin-right: 10px;
}

.howto-step-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
}

/* ── Breadcrumbs ── */
.breadcrumb-nav {
    margin: 10px 0 20px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: #666;
    text-decoration: none;
}

.breadcrumb-divider {
    color: #999;
}

/* ── Payment Methods ── */
.payment-methods-section {
    margin: 30px 0;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.payment-method-card {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    background: #fff;
}

.payment-method-image-wrapper {
    margin-bottom: 10px;
}

.payment-method-image {
    max-width: 100%;
    height: auto;
}

.payment-method-name {
    font-size: 12px;
    font-weight: bold;
}

/* ── Footer ── */
.site-footer {
    position: relative;
    margin-top: 48px;
    padding: 0 20px 28px;
    background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
    color: #fff;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 480px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(245, 196, 0, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.footer-accent {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #f5c400 25%, #fff 50%, #f5c400 75%, transparent 100%);
    margin-bottom: 28px;
}

.footer-shell {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-brand-col {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: border-color .25s, box-shadow .25s;
}

.footer-brand-link:hover {
    border-color: rgba(245, 196, 0, 0.35);
    box-shadow: 0 0 24px rgba(245, 196, 0, 0.1);
}

.footer-brand-img {
    max-height: 42px;
    width: auto;
    opacity: .92;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border-radius: 2px;
    font-family: 'Outfit', 'Source Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
}

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

.footer-btn--primary {
    border: 1px solid #f5c400;
    background: #f5c400;
    color: #111;
    box-shadow: 0 4px 16px rgba(245, 196, 0, 0.25);
}

.footer-btn--primary:hover {
    background: #e0b300;
    border-color: #e0b300;
}

.footer-btn--secondary {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    color: #fff;
}

.footer-btn--secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.footer-btn--accent {
    border: 1px solid rgba(245, 196, 0, 0.4);
    background: rgba(245, 196, 0, 0.1);
    color: #f5c400;
}

.footer-btn--accent:hover {
    background: rgba(245, 196, 0, 0.18);
    border-color: #f5c400;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.footer-col {
    padding: 18px 20px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-section-title {
    font-family: 'Outfit', 'Source Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(245, 196, 0, 0.18);
    color: #f5c400;
}

.footer-section-title--center {
    text-align: center;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 16px;
}

/* ── 404 page ── */
.error-page-block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 220px);
    text-align: center;
    padding: 48px 20px 72px;
    isolation: isolate;
}

.error-page-block::before {
    content: "";
    position: absolute;
    inset: 8% 12%;
    background:
        radial-gradient(circle at 25% 35%, rgba(245, 196, 0, 0.22) 0%, transparent 55%),
        radial-gradient(circle at 75% 65%, rgba(245, 196, 0, 0.1) 0%, transparent 50%);
    border-radius: 50%;
    filter: blur(36px);
    z-index: -1;
    pointer-events: none;
}

.error-page-block::after {
    content: "♠ ♥ ♦ ♣";
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    letter-spacing: 1.4em;
    color: rgba(245, 196, 0, 0.25);
    pointer-events: none;
    user-select: none;
}

.error-code {
    font-family: 'Outfit', 'Source Sans', sans-serif;
    font-size: clamp(72px, 18vw, 120px);
    font-weight: 700;
    line-height: .9;
    margin-bottom: 20px;
    background: linear-gradient(160deg, #ffe566 0%, #f5c400 45%, #c99700 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 24px rgba(245, 196, 0, 0.35));
    animation: error-glow 3s ease-in-out infinite;
}

@keyframes error-glow {
    0%, 100% { filter: drop-shadow(0 4px 20px rgba(245, 196, 0, 0.3)); }
    50% { filter: drop-shadow(0 4px 40px rgba(245, 196, 0, 0.5)); }
}

.error-heading {
    font-family: 'Outfit', 'Source Sans', sans-serif;
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 700;
    margin-bottom: 14px;
    max-width: 520px;
    color: #111;
    line-height: 1.35;
}

.error-desc {
    color: #666;
    margin-bottom: 32px;
    max-width: 440px;
    font-size: 15px;
    line-height: 1.55;
}

.error-back-btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 14px;
    border-radius: 2px;
    box-shadow: 0 6px 24px rgba(245, 196, 0, 0.35);
    transition: transform .15s, box-shadow .2s;
}

.error-back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(245, 196, 0, 0.45);
}

/* ── Service / Contact page ── */
.page-body--service {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
}

.page-body--service .text-content {
    margin-top: 8px;
}

.page-body--service .text-content h1 {
    text-align: center;
    font-family: 'Outfit', 'Source Sans', sans-serif;
    font-size: clamp(28px, 4vw, 36px);
    color: #111;
    margin-bottom: 8px;
}

.page-body--service .text-content h1::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 16px auto 24px;
    background: linear-gradient(90deg, #f5c400, #111);
    border-radius: 2px;
}

.page-body--service .text-content > p:first-of-type {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
    padding: 0 12px;
}

.page-body--service .text-content h2 {
    font-family: 'Outfit', 'Source Sans', sans-serif;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #c99700;
    margin: 36px 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(245, 196, 0, 0.25);
}

.page-body--service .text-content h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 16px 20px 8px;
    font-size: 17px;
    color: #111;
    background: #fafafa;
    border: 1px solid #eee;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
}

.page-body--service .text-content h3::before {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: rgba(245, 196, 0, 0.18);
    font-size: 16px;
    flex-shrink: 0;
}

.page-body--service .text-content h3:nth-of-type(1)::before {
    content: "✉";
}

.page-body--service .text-content h3:nth-of-type(2)::before {
    content: "💬";
}

.page-body--service .text-content h3 + p {
    margin: 0 0 16px;
    padding: 14px 20px 20px;
    background: #fafafa;
    border: 1px solid #eee;
    border-top: none;
    border-radius: 0 0 6px 6px;
    color: #555;
    line-height: 1.6;
}

.page-body--service .text-content a[href^="mailto:"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 18px;
    border-radius: 2px;
    background: #f5c400;
    color: #111 !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background .2s, transform .15s;
    box-shadow: 0 4px 16px rgba(245, 196, 0, 0.3);
}

.page-body--service .text-content a[href^="mailto:"]:hover {
    background: #e0b300;
    transform: translateY(-1px);
}

.page-body--service .text-content h2:last-of-type + p {
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(245, 196, 0, 0.1) 0%, rgba(245, 196, 0, 0.04) 100%);
    border: 1px solid rgba(245, 196, 0, 0.25);
    border-radius: 6px;
    color: #333;
    font-size: 15px;
    line-height: 1.7;
    margin-top: 0;
}

/* ── Legal pages (privacy, rules) ── */
.page-body--legal {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

.page-body--legal .text-content {
    max-width: 820px;
    margin: 8px auto 0;
    padding: 32px 36px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.page-body--legal .text-content h1 {
    font-family: 'Outfit', 'Source Sans', sans-serif;
    font-size: clamp(24px, 3.5vw, 32px);
    margin-bottom: 8px;
    padding-bottom: 18px;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #f5c400, #111, transparent) 1;
    color: #111;
}

.page-body--legal .text-content > p:first-of-type {
    font-size: 15px;
    color: #666;
    line-height: 1.65;
    margin-bottom: 8px;
    padding: 16px 0 8px;
}

.page-body--legal .text-content h2 {
    position: relative;
    font-family: 'Outfit', 'Source Sans', sans-serif;
    font-size: clamp(17px, 2vw, 20px);
    margin: 32px 0 12px;
    padding: 12px 0 12px 18px;
    color: #c99700;
    letter-spacing: .02em;
    border-left: 3px solid #f5c400;
    background: linear-gradient(90deg, rgba(245, 196, 0, 0.08) 0%, transparent 100%);
    border-radius: 0 4px 4px 0;
}

.page-body--legal .text-content h2:first-of-type {
    margin-top: 20px;
}

.page-body--legal .text-content p {
    color: #555;
    line-height: 1.65;
    font-size: 15px;
}

.page-body--legal .text-content ul,
.page-body--legal .text-content ol {
    margin: 12px 0 20px;
    padding: 16px 20px 16px 36px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    list-style: none;
}

.page-body--legal .text-content ul li,
.page-body--legal .text-content ol li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 4px;
    color: #555;
    font-size: 14px;
    line-height: 1.55;
}

.page-body--legal .text-content ul li::before {
    content: "";
    position: absolute;
    left: -18px;
    top: .55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f5c400;
}

.page-body--legal .text-content ol {
    counter-reset: legal-counter;
}

.page-body--legal .text-content ol li {
    counter-increment: legal-counter;
}

.page-body--legal .text-content ol li::before {
    content: counter(legal-counter) ".";
    position: absolute;
    left: -24px;
    font-weight: 600;
    color: #f5c400;
    font-size: 13px;
}

.page-body--legal .text-content a {
    color: #111;
    text-decoration: underline;
    text-decoration-color: rgba(245, 196, 0, 0.5);
    transition: text-decoration-color .2s;
}

.page-body--legal .text-content a:hover {
    text-decoration-color: #f5c400;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color .2s, padding-left .2s;
}

.footer-links a::before {
    content: "";
    width: 0;
    height: 2px;
    background: #f5c400;
    transition: width .2s;
    flex-shrink: 0;
}

.footer-links a:hover,
.footer-links a.active {
    color: #fff;
    padding-left: 4px;
}

.footer-links a:hover::before,
.footer-links a.active::before {
    width: 10px;
}

.footer-links--social a::before {
    display: none;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color .2s, background .2s;
}

.footer-social-link:hover {
    border-color: rgba(245, 196, 0, 0.35);
    background: rgba(255, 255, 255, 0.06);
    padding-left: 14px;
}

.footer-social-image {
    max-height: 24px;
    width: auto;
    display: block;
}

.footer-payments {
    margin-bottom: 24px;
    padding: 22px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

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

.footer-pay-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    min-width: 88px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color .2s, transform .15s;
}

.footer-pay-chip:hover {
    border-color: rgba(245, 196, 0, 0.3);
    transform: translateY(-2px);
}

.footer-pay-img {
    height: 26px;
    width: auto;
    max-width: 68px;
    object-fit: contain;
}

.footer-pay-label {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .05em;
}

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

.footer-safe {
    margin-bottom: 16px;
}

.footer-safe-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.footer-safe-item {
    padding: 8px 12px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: border-color .2s;
}

.footer-safe-item:hover {
    border-color: rgba(255, 255, 255, 0.14);
}

.footer-safe-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-copy {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
}

.footer-copy-main {
    display: block;
    color: #ccc;
    margin-bottom: 4px;
}

.footer-copy-note {
    display: block;
    font-size: 11px;
    opacity: .85;
}

.safe-image {
    max-width: 80px;
    height: auto;
    display: block;
    opacity: .92;
}

/* ── List Container ── */
.list-container {
    margin: 20px 0;
}

.list-container ul,
.list-container ol {
    margin: 20px 0;
    padding-left: 30px;
}

.list-container ul li,
.list-container ol li {
    margin-bottom: 8px;
}

/* ── App Info Table ── */
.page-body--app {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

.app-hero-block {
    position: relative;
    margin: 8px 0 32px;
    padding: 2px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(245, 196, 0, 0.55) 0%, rgba(17, 17, 17, 0.35) 50%, rgba(245, 196, 0, 0.25) 100%);
    overflow: hidden;
}

.app-hero-glow {
    position: absolute;
    top: -40%;
    right: -8%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(245, 196, 0, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.app-info-table-wrapper {
    position: relative;
    margin: 0;
    z-index: 1;
    background: linear-gradient(165deg, #1a1a1a 0%, #111 45%, #0a0a0a 100%);
    border-radius: 8px;
}

.app-info-table-container {
    margin: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    overflow: hidden;
}

.app-info-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.app-info-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background .15s ease;
}

.app-info-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

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

.app-info-row:first-child {
    background: linear-gradient(90deg, rgba(245, 196, 0, 0.12) 0%, transparent 60%);
}

.app-info-row:first-child .app-info-value-cell {
    padding: 22px 20px;
}

.app-info-row:nth-child(2) .app-info-value-cell {
    font-size: 14px;
    line-height: 1.6;
    color: #aaa;
}

.app-info-row:nth-child(n+3):nth-child(-n+6) .app-info-value-cell {
    font-family: 'Outfit', 'Source Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.app-info-row:last-child {
    background: linear-gradient(180deg, transparent 0%, rgba(245, 196, 0, 0.08) 100%);
}

.app-info-row:last-child .app-info-value-cell {
    padding: 20px;
    text-align: center;
}

.app-info-label-cell,
.app-info-value-cell {
    padding: 14px 18px;
    vertical-align: middle;
}

.app-info-label-cell {
    width: 60px;
    text-align: center;
    background: rgba(0, 0, 0, 0.25);
}

.app-info-label-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border-radius: 4px;
    background: rgba(245, 196, 0, 0.12);
    border: 1px solid rgba(245, 196, 0, 0.22);
}

.app-info-icon {
    width: 22px;
    height: 22px;
    color: #f5c400;
    flex-shrink: 0;
}

.app-info-row:nth-child(even) .app-info-icon {
    color: #ffe566;
}

.app-info-row:last-child .app-info-icon {
    color: #fff;
}

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

.app-name-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    padding: 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(245, 196, 0, 0.2);
}

.app-name-text {
    font-family: 'Outfit', 'Source Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
}

.app-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: #f5c400;
    color: #111;
    text-decoration: none;
    font-family: 'Outfit', 'Source Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-radius: 2px;
    box-shadow: 0 6px 24px rgba(245, 196, 0, 0.35);
    transition: background .2s, transform .15s, box-shadow .2s;
}

.app-download-link:hover {
    background: #e0b300;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(245, 196, 0, 0.45);
}

/* ── Mobile ── */
@media (max-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .site-header {
        position: relative;
    }

    .mobile-burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 48px;
        height: 48px;
        z-index: 1003;
        background: #fff;
    }

    .header-top-row {
        padding: 0 12px 0 48px;
        min-height: 48px;
        flex-wrap: wrap;
    }

    .header-brand {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .header-brand-img {
        height: 36px;
    }

    .header-actions {
        width: 100%;
        order: 3;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 0;
    }

    .btn-register {
        text-align: center;
        border-radius: 0;
        padding: 12px;
        font-size: 14px;
    }

    .btn-login {
        text-align: center;
        border-radius: 0;
        padding: 12px;
        font-size: 14px;
    }

    .nav-strip {
        display: none;
    }

    .mobile-drawer {
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        width: min(300px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: #fff;
        z-index: 1002;
        transform: translateX(-100%);
        transition: transform .28s cubic-bezier(.4, 0, .2, 1);
        overflow-y: auto;
        box-shadow: 4px 0 20px rgba(0, 0, 0, .15);
        padding-top: 48px;
    }

    .mobile-drawer.open {
        transform: translateX(0);
    }

    .drawer-brand {
        padding: 16px 20px;
        border-bottom: 1px solid #eee;
    }

    .drawer-brand img {
        max-height: 38px;
        width: auto;
    }

    .drawer-menu {
        list-style: none;
        padding: 6px 0 24px;
    }

    .drawer-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px 22px;
        color: #111;
        text-decoration: none;
        font-size: 15px;
        border-bottom: 1px solid #f2f2f2;
    }

    .drawer-link .nav-glyph {
        width: 20px;
        height: 20px;
    }

    .drawer-link.is-active {
        background: #fafafa;
        font-weight: 600;
        border-left: 3px solid #f5c400;
    }

    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .5);
        z-index: 1001;
    }

    .main-content-wrapper {
        padding: 12px;
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .game-card:hover .game-thumb-actions,
    .game-card:focus-within .game-thumb-actions {
        opacity: 0;
        pointer-events: none;
    }

    .game-thumb-actions {
        opacity: 0;
        pointer-events: none;
        background: rgba(0, 0, 0, .55);
    }

    .game-card.is-active .game-thumb-actions {
        opacity: 1;
        pointer-events: auto;
    }

    .game-action-btn {
        min-width: 90px;
        padding: 6px 12px;
        font-size: 11px;
    }

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

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

@media (max-width: 768px) {
    .main-content-wrapper {
        padding: 10px;
    }

    .text-content {
        padding: 10px 0;
    }

    .text-content h1 {
        font-size: 24px;
    }

    .text-content h2 {
        font-size: 20px;
    }

    .text-content h3 {
        font-size: 18px;
    }

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

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

    .footer-btn {
        width: 100%;
        text-align: center;
    }

    .footer-col {
        padding: 16px;
    }
}
