:root {
    --primary: #f5b82e;
    --accent: #f5b82e;
    --accent-hover: #ffd66f;
    --dark: #101828;
    --darker: #08111f;
    --light: #f4f7fb;
    --text: #263449;
    --border: #dce4ef;
    --success: #22c55e;
    --radius: 8px;
    --sidebar-width: 280px;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

html {
    overflow-x: hidden;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--text);
    margin: 0;
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

/* HEADER */
header {
    background: var(--dark);
    border-bottom: 3px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 12px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 42px;
    width: auto;
}

.fallback-logo {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--accent);
}

.desktop-nav {
    display: none;
    gap: 25px;
}

@media(min-width: 900px) {
    .desktop-nav {
        display: flex;
    }

    .desktop-nav a {
        font-weight: 600;
        color: var(--accent);
        font-size: 0.95rem;
        letter-spacing: 0.3px;
    }

    .desktop-nav a:hover,
    .desktop-nav a.active {
        color: white;
    }
}

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

.login-link {
    font-weight: 600;
    color: var(--accent);
    display: none;
    cursor: pointer;
}

.login-link:hover {
    color: white;
}

@media(min-width: 600px) {
    .login-link {
        display: block;
    }
}

.cta-button {
    background: var(--accent);
    color: var(--dark);
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--accent-hover);
}

/* GAME STAGE HERO */
.game-stage {
    background: linear-gradient(180deg, var(--darker) 0%, #1e2430 100%);
    color: white;
    padding: 40px 0 60px;
}

.game-meta-header {
    text-align: center;
    margin-bottom: 30px;
}

.game-meta-header h1 {
    margin: 0;
    font-size: 2.4rem;
    letter-spacing: -1px;
}

.subtitle {
    color: #94a3b8;
    margin-top: 5px;
    font-size: 1.1rem;
}

/* VIEWPORT & TICKER */
.game-viewport {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #334155;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
}

.live-ticker {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.8rem;
    padding: 8px;
    display: flex;
    gap: 20px;
    white-space: nowrap;
    overflow: hidden;
    border-bottom: 1px solid #333;
}

.ticker-item {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
}

.game-iframe-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.play-trigger {
    text-align: center;
    padding: 30px;
}

.play-trigger h2 {
    font-size: 2.5rem;
    margin: 0 0 10px;
    color: var(--accent);
    text-shadow: 0 2px 12px rgba(255, 177, 36, 0.4);
    letter-spacing: 2px;
}

.play-trigger p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.game-controls-ui {
    background: var(--darker);
    padding: 15px;
    border-top: 1px solid #334155;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 15px;
    align-items: center;
}

.control-panel label {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
}

.stepper {
    display: flex;
    background: #0f172a;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
}

.stepper button {
    width: 30px;
    background: #334155;
    border: none;
    color: white;
    cursor: pointer;
}

.stepper input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    text-align: center;
    font-weight: bold;
}

.difficulty-selector {
    display: flex;
    gap: 4px;
    justify-content: center;
    background: #0f172a;
    padding: 4px;
    border-radius: 4px;
}

.diff-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.85rem;
}

.diff-btn.active {
    background: #334155;
    color: white;
    font-weight: bold;
}

.diff-btn.active.easy {
    background: var(--accent);
    color: var(--dark);
}

.action-btn {
    display: block;
    background: var(--accent);
    color: var(--dark);
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

.action-btn:hover {
    background: var(--accent-hover);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    color: #94a3b8;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

/* MAIN CONTENT LAYOUT */
.main-content-layout {
    display: flex;
    gap: 50px;
    padding-top: 60px;
    padding-bottom: 60px;
    align-items: flex-start;
}

.toc-sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: none;
}

@media(min-width: 1024px) {
    .toc-sidebar {
        display: block;
    }
}

.toc-sidebar h3 {
    margin-top: 0;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.toc-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-sidebar li {
    margin-bottom: 12px;
}

.toc-sidebar a {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
}

.toc-sidebar a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.promo-box {
    background: var(--dark);
    color: white;
    padding: 20px;
    border-radius: var(--radius);
    margin-top: 30px;
    text-align: center;
    border: 1px solid rgba(255, 177, 36, 0.2);
}

.promo-box h4 {
    margin: 0;
    color: var(--accent);
}

.small-btn {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 700;
    margin-top: 10px;
    font-size: 0.85rem;
    cursor: pointer;
}

.long-read {
    flex: 1;
    max-width: 100%;
}

/* Standalone article pages must remain readable on wide screens. */
.container.long-read {
    width: 100%;
    max-width: 920px;
    padding-top: 48px;
    padding-bottom: 72px;
}

.long-read section {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
}

.long-read h2 {
    font-size: 2rem;
    color: var(--dark);
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.long-read h3 {
    font-size: 1.5rem;
    color: var(--text);
    margin-top: 30px;
    margin-bottom: 15px;
}

.long-read p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.detailed-list li {
    margin-bottom: 15px;
}

/* VISUALS & TABLES */
.article-visual {
    margin: 40px 0;
    background: #f1f5f9;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px dashed #cbd5e1;
    text-align: center;
}

.article-visual img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: calc(var(--radius) - 2px);
}

/* Preserve small/portrait artwork at a sensible size instead of upscaling it. */
.article-visual--contain img {
    width: auto;
    max-width: 100%;
    max-height: 620px;
    margin-inline: auto;
    object-fit: contain;
}

.media-text-card {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    margin: 28px 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.media-text-card > img {
    display: block;
    width: 100%;
    max-width: 300px;
    max-height: 360px;
    margin-inline: auto;
    object-fit: contain;
}

.p5-feature-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 28px 0;
}

.p5-feature-cards article {
    display: grid;
    grid-template-rows: 150px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.p5-feature-cards article > img {
    align-self: center;
    justify-self: center;
    width: auto;
    max-width: 130px;
    max-height: 130px;
    object-fit: contain;
}

@media (max-width: 700px) {
    .container.long-read {
        padding-top: 34px;
        padding-bottom: 56px;
    }

    .article-visual {
        margin: 28px 0;
        padding: 12px;
    }

    .article-visual--contain img {
        max-height: 480px;
    }

    .media-text-card,
    .p5-feature-cards {
        grid-template-columns: 1fr;
    }

    .media-text-card {
        gap: 18px;
        padding: 18px;
    }
}

.article-visual figcaption {
    margin-top: 15px;
    font-style: italic;
    color: #64748b;
    font-size: 0.9rem;
}

/* OPTIMIZED TABLES FOR MOBILE */
.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 30px 0;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px;
}

.data-table th {
    background: var(--dark);
    color: var(--accent);
    padding: 15px;
    text-align: left;
    white-space: nowrap;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
}

.data-table tr:hover {
    background: #f8fafc;
}

/* APP & PAYMENT */
.app-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.tech-spec {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.tech-spec h4 {
    color: var(--dark);
    margin-top: 0;
    font-size: 1.1rem;
    border-left: 3px solid var(--primary);
    padding-left: 10px;
}

.download-cta-area {
    text-align: center;
    margin-top: 40px;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 177, 36, 0.2);
}

.small-note {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 10px;
}

.payment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
}

.payment-list li {
    background: white;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.payment-list strong {
    display: block;
    color: var(--dark);
    margin-bottom: 5px;
    font-size: 1rem;
}

.alert-box {
    background: #fffbeb;
    border-left: 5px solid var(--accent);
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}

/* CASINO DIRECTORY */
.casino-body {
    background: #eef1f5;
}

.casino-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 30%, rgba(255, 177, 36, 0.13), transparent 26%),
        linear-gradient(135deg, #111722 0%, #1e2634 72%, #171d28 100%);
    color: white;
    padding: 84px 0 74px;
}

.casino-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
}

.casino-hero__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
    align-items: center;
    gap: 70px;
}

.casino-eyebrow,
.casino-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--accent);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.casino-eyebrow span {
    width: 24px;
    height: 2px;
    background: var(--accent);
}

.casino-hero h1 {
    max-width: 700px;
    margin: 15px 0 22px;
    font-size: clamp(3rem, 5.8vw, 5.2rem);
    line-height: .98;
    letter-spacing: -3px;
}

.casino-hero h1 em {
    display: block;
    color: var(--accent);
    font-style: normal;
}

.casino-hero__content > p {
    max-width: 660px;
    margin: 0;
    color: #b6c0ce;
    font-size: 1.08rem;
    line-height: 1.8;
}

.casino-hero__actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 34px;
}

.casino-primary-cta {
    padding: 14px 30px;
}

.casino-text-link {
    color: white;
    font-weight: 700;
}

.casino-text-link span {
    margin-left: 7px;
    color: var(--accent);
}

.casino-hero__facts {
    display: flex;
    gap: 0;
    margin-top: 47px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.casino-hero__facts div {
    min-width: 128px;
    padding: 20px 28px 0 0;
    margin-right: 28px;
    border-right: 1px solid rgba(255,255,255,.1);
}

.casino-hero__facts div:last-child {
    border-right: 0;
}

.casino-hero__facts strong,
.casino-hero__facts span {
    display: block;
}

.casino-hero__facts strong {
    color: white;
    font-size: 1.35rem;
    line-height: 1.2;
}

.casino-hero__facts span {
    margin-top: 5px;
    color: #7f8b9d;
    font-size: .78rem;
}

.casino-hero__visual {
    position: relative;
    width: 410px;
    height: 410px;
    margin-left: auto;
}

.casino-orbit {
    position: absolute;
    border: 1px solid rgba(255, 177, 36, .3);
    border-radius: 50%;
}

.casino-orbit--one {
    inset: 34px;
}

.casino-orbit--two {
    inset: 0;
    border-color: rgba(255,255,255,.08);
}

.casino-hero__game {
    position: absolute;
    inset: 50%;
    width: 182px;
    height: 182px;
    padding: 16px;
    transform: translate(-50%, -50%);
    object-fit: contain;
    border: 1px solid rgba(255, 177, 36, .35);
    border-radius: 50%;
    background: #161d29;
    box-shadow: 0 0 70px rgba(255, 177, 36, .17);
}

.casino-chip {
    position: absolute;
    padding: 9px 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 6px;
    background: rgba(17,23,34,.92);
    box-shadow: 0 8px 25px rgba(0,0,0,.28);
    color: white;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.casino-chip--vavada { top: 37px; left: 43px; color: #ff3567; }
.casino-chip--jetton { top: 23px; right: 37px; }
.casino-chip--bitz { top: 190px; right: -13px; color: #ff6c5f; }
.casino-chip--win { bottom: 25px; right: 57px; }
.casino-chip--ton { bottom: 59px; left: 4px; color: #60a5fa; }

.casino-directory {
    padding: 88px 0 96px;
}

.casino-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 38px;
}

.casino-section-heading h2,
.casino-checklist h2,
.casino-faq h2 {
    margin: 8px 0 0;
    color: var(--dark);
    font-size: clamp(2rem, 4vw, 3.05rem);
    line-height: 1.08;
    letter-spacing: -1.6px;
}

.casino-section-heading > p {
    max-width: 500px;
    margin: 0;
    color: #667286;
    line-height: 1.65;
}

.casino-list {
    display: grid;
    gap: 14px;
}

.operator-card {
    --operator-color: var(--accent);
    display: grid;
    grid-template-columns: 58px 170px minmax(0, 1fr) 150px;
    min-height: 148px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #dde2e9;
    border-left: 4px solid var(--operator-color);
    border-radius: 10px;
    background: white;
    box-shadow: 0 4px 12px rgba(30,36,48,.045);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.operator-card:hover {
    transform: translateY(-2px);
    border-color: #cbd2dc;
    border-left-color: var(--operator-color);
    box-shadow: 0 15px 35px rgba(30,36,48,.1);
}

.operator-card--vavada { --operator-color: #ee315e; }
.operator-card--jetton { --operator-color: #a9c3d7; }
.operator-card--bitz { --operator-color: #f16055; }
.operator-card--win { --operator-color: #8b5cf6; }
.operator-card--ton { --operator-color: #2c8fff; }

.operator-card__number {
    align-self: stretch;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 19px;
    border-right: 1px solid #edf0f4;
    color: #a2aab6;
    font-size: .72rem;
    font-weight: 800;
}

.operator-card__logo {
    display: flex;
    width: 126px;
    height: 92px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    background: #f4f6f9;
}

.operator-card__logo img {
    max-width: 82%;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.operator-card__wordmark {
    color: var(--operator-color);
    font-size: clamp(.72rem, 1.3vw, 1rem);
    font-weight: 950;
    letter-spacing: .08em;
    text-shadow: 0 1px 0 #fff;
}

.operator-card__info {
    min-width: 0;
    padding: 20px 32px;
    border-left: 1px solid #edf0f4;
}

.operator-card__info h3 {
    margin: 0;
    color: var(--dark);
    font-size: 1.4rem;
    line-height: 1.2;
}

.operator-card__info p {
    margin: 7px 0 12px;
    color: #667286;
    font-size: .9rem;
    line-height: 1.5;
}

.operator-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.operator-tags span {
    padding: 4px 9px;
    border-radius: 4px;
    background: #f0f3f7;
    color: #657084;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.operator-card__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 24px;
    padding: 14px 17px;
    border-radius: 5px;
    background: var(--accent);
    color: var(--dark);
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.operator-card__button:hover {
    background: var(--accent-hover);
}

.operator-card__button b {
    font-size: 1.1rem;
}

.casino-guide {
    padding: 86px 0 92px;
    background: var(--dark);
    color: white;
}

.casino-section-heading--light h2 {
    color: white;
}

.casino-section-heading--light > p {
    color: #98a4b5;
}

.casino-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    background: rgba(255,255,255,.1);
}

.casino-step {
    min-height: 210px;
    padding: 28px;
    background: #1a212d;
}

.casino-step > span {
    display: block;
    margin-bottom: 45px;
    color: var(--accent);
    font-size: .78rem;
    font-weight: 800;
}

.casino-step h3 {
    margin: 0 0 8px;
    color: white;
    font-size: 1.12rem;
}

.casino-step p {
    margin: 0;
    color: #939faf;
    font-size: .88rem;
    line-height: 1.6;
}

.casino-checklist {
    padding: 94px 0;
    background: white;
}

.casino-checklist__layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px;
    align-items: start;
}

.casino-checklist__intro > p {
    margin: 21px 0 27px;
    color: #667286;
}

.casino-outline-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 11px 17px;
    border: 1px solid #dbe0e7;
    border-radius: 5px;
    color: var(--dark);
    font-weight: 700;
}

.casino-outline-link span {
    color: var(--accent-hover);
}

.casino-checklist__items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.casino-checklist__items > div {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 13px;
    padding: 21px;
    border: 1px solid #e3e7ed;
    border-radius: 8px;
    background: #f8fafc;
}

.casino-checklist__items > div > span {
    display: flex;
    width: 27px;
    height: 27px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--dark);
    font-size: .75rem;
    font-weight: 900;
}

.casino-checklist__items p {
    margin: 0;
    color: #697486;
    font-size: .85rem;
    line-height: 1.55;
}

.casino-checklist__items strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark);
    font-size: .95rem;
}

.casino-faq {
    padding: 88px 0;
    background: #eef1f5;
}

.casino-faq__layout {
    display: grid;
    grid-template-columns: .68fr 1.32fr;
    gap: 90px;
}

.casino-faq__layout > div:first-child p {
    color: #697486;
}

.casino-accordion details {
    margin-bottom: 12px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(30,36,48,.05);
}

.casino-accordion summary {
    padding: 19px 48px 19px 21px;
}

.casino-responsible {
    padding: 28px 0;
    background: #151b25;
    color: white;
}

.casino-responsible .container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.casino-responsible strong {
    color: var(--accent);
    font-size: 1.45rem;
}

.casino-responsible p {
    margin: 0;
    color: #9ba6b5;
    font-size: .83rem;
    line-height: 1.6;
}

@media (max-width: 1000px) {
    .casino-hero__layout {
        grid-template-columns: 1fr 300px;
        gap: 25px;
    }

    .casino-hero__visual {
        width: 300px;
        height: 300px;
    }

    .casino-hero__game {
        width: 135px;
        height: 135px;
    }

    .casino-chip--bitz { top: 137px; right: -5px; }
    .casino-chip--ton { bottom: 35px; }

    .operator-card {
        grid-template-columns: 48px 150px minmax(0, 1fr) 135px;
    }

    .casino-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .casino-checklist__layout,
    .casino-faq__layout {
        gap: 45px;
    }
}

@media (max-width: 760px) {
    .casino-hero {
        padding: 58px 0 52px;
    }

    .casino-hero__layout {
        grid-template-columns: 1fr;
    }

    .casino-hero h1 {
        margin-top: 12px;
        font-size: clamp(2.65rem, 14vw, 4.3rem);
        letter-spacing: -2px;
    }

    .casino-hero__visual {
        display: none;
    }

    .casino-hero__facts {
        justify-content: space-between;
    }

    .casino-hero__facts div {
        min-width: 0;
        flex: 1;
        margin-right: 14px;
        padding-right: 14px;
    }

    .casino-directory,
    .casino-guide,
    .casino-checklist,
    .casino-faq {
        padding: 62px 0;
    }

    .casino-section-heading {
        display: block;
    }

    .casino-section-heading > p {
        margin-top: 16px;
    }

    .operator-card {
        grid-template-columns: 44px 112px minmax(0, 1fr);
        padding-right: 14px;
    }

    .operator-card__logo {
        width: 94px;
        height: 82px;
    }

    .operator-card__info {
        padding: 17px 15px;
    }

    .operator-card__info p {
        display: none;
    }

    .operator-tags {
        margin-top: 10px;
    }

    .operator-card__button {
        grid-column: 2 / -1;
        width: auto;
        margin: 0 0 15px;
    }

    .casino-checklist__layout,
    .casino-faq__layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }
}

@media (max-width: 520px) {
    .casino-hero__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 17px;
    }

    .casino-primary-cta {
        width: 100%;
        box-sizing: border-box;
    }

    .casino-hero__facts div {
        margin-right: 9px;
        padding-right: 9px;
    }

    .casino-hero__facts strong {
        font-size: 1.05rem;
    }

    .casino-steps,
    .casino-checklist__items {
        grid-template-columns: 1fr;
    }

    .casino-step {
        min-height: 0;
    }

    .casino-step > span {
        margin-bottom: 22px;
    }

    .operator-card {
        grid-template-columns: 38px 92px minmax(0, 1fr);
    }

    .operator-card__logo {
        width: 76px;
        height: 72px;
    }

    .operator-card__info h3 {
        font-size: 1.15rem;
    }

    .operator-tags span:nth-child(2) {
        display: none;
    }

    .casino-responsible .container {
        align-items: flex-start;
    }
}

/* FAQ */
.accordion details {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
}

.accordion summary {
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.accordion summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.accordion details[open] summary {
    border-bottom: 1px solid #f1f5f9;
}

.accordion details[open] summary::after {
    content: '−';
}

.acc-text {
    padding: 20px;
    color: #475569;
}

/* FINAL CTA */
.final-cta-section {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    color: white;
    border-radius: var(--radius);
    margin-top: 60px;
    border: 1px solid rgba(255, 177, 36, 0.2);
}

.final-cta-section h3 {
    font-size: 2rem;
    margin-top: 0;
    color: var(--accent);
}

.final-cta-section p {
    color: rgba(255,255,255,0.8);
}

.cta-button.large {
    padding: 15px 40px;
    font-size: 1.1rem;
    margin-top: 20px;
}

/* FOOTER */
.main-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
    border-top: 3px solid var(--accent);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
    display: block;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 30px;
}

.footer-brand h3 {
    color: var(--accent);
    margin-top: 0;
}

.footer-brand p {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-cols {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.f-col h4 {
    color: var(--accent);
    font-size: 0.9rem;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.f-col a {
    display: block;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    cursor: pointer;
}

.f-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255,255,255,0.5);
}

.payment-icons-footer {
    display: flex;
    gap: 10px;
}

.payment-icons-footer span {
    background: rgba(255,255,255,0.08);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.12);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .main-content-layout {
        flex-direction: column;
    }

    .toc-sidebar {
        display: none;
    }

    .game-controls-ui {
        grid-template-columns: 1fr;
    }

    .footer-cols {
        flex-direction: column;
        gap: 30px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        text-align: center;
        justify-content: center;
    }

    .app-details-grid {
        grid-template-columns: 1fr;
    }

    .header-content .desktop-nav {
        display: none;
    }

    .game-meta-header h1 {
        font-size: 1.8rem;
    }

    .play-trigger h2 {
        font-size: 1.8rem;
        overflow-wrap: anywhere;
    }

    .final-cta-section {
        padding: 40px 20px;
    }
}

@media (max-width: 520px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-actions .cta-button {
        font-size: 0;
        padding: 9px 13px;
    }

    .header-actions .cta-button::after {
        content: 'SPELEN';
        font-size: 0.78rem;
    }

    .game-stage {
        padding-top: 32px;
        padding-bottom: 42px;
    }

    .game-meta-header h1 {
        font-size: 1.65rem;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .subtitle {
        font-size: 1rem;
    }

    .play-trigger {
        max-width: 100%;
        padding: 18px;
        box-sizing: border-box;
    }

    .play-trigger h2 {
        font-size: 1.45rem;
        line-height: 1.2;
    }

    .action-btn {
        padding-left: 12px;
        padding-right: 12px;
        font-size: 0.88rem;
    }

    .trust-badges {
        gap: 10px 14px;
    }

    .main-content-layout {
        padding-top: 42px;
    }

    .long-read h2 {
        font-size: 1.65rem;
    }
}

/* Content Images */
.content-img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

/* App showcase */
.app-showcase-container {
    margin: 40px 0;
    text-align: center;
    background: #f1f5f9;
    padding: 20px 0;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.app-scroller {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
}

@media (min-width: 768px) {
    .app-scroller {
        justify-content: center;
    }
}

.app-screen {
    flex: 0 0 auto;
    height: auto;
    max-height: 400px;
    width: auto;
    max-width: 90%;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    scroll-snap-align: center;
    border: 3px solid var(--dark);
    background: #000;
}

.app-scroller::-webkit-scrollbar {
    height: 8px;
}

.app-scroller::-webkit-scrollbar-track {
    background: transparent;
}

.app-scroller::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 20px;
}

.app-showcase-container figcaption {
    margin-top: 15px;
    color: #64748b;
    font-size: 0.9rem;
    font-style: italic;
}

/* ===== BURGER MENU ===== */
.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    flex-shrink: 0;
}
.burger-btn span {
    display: block;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger-btn.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
@media(min-width: 900px) { .burger-btn { display: none; } }

.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 18, 28, 0.98);
    z-index: 998;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 60px 0 40px;
}
.mobile-nav.active { display: flex; }
@media(min-width: 900px) { .mobile-nav { display: none !important; } }
.mobile-nav a {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.35rem;
    padding: 15px 40px;
    width: 100%;
    text-align: center;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,177,36,0.08);
    transition: color 0.15s, background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: #fff; background: rgba(255,177,36,0.06); }
.mobile-nav .cta-button {
    margin-top: 28px;
    width: auto;
    padding: 14px 44px;
    font-size: 1rem;
    border-bottom: none;
    border-radius: 4px;
    background: var(--accent);
    color: var(--dark);
}
.mobile-nav .cta-button:hover { background: #ffc84a; color: var(--dark); }
/* ===== END BURGER MENU ===== */

/* ===== MOBILE STICKY CTA ===== */
.mobile-sticky-cta {
    display: none;
}

@media (max-width: 899px) {
    body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }

    .mobile-sticky-cta {
        position: fixed;
        right: 12px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        left: 12px;
        z-index: 1200;
        display: flex;
        min-height: 58px;
        align-items: center;
        justify-content: space-between;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 10px;
        background: var(--accent);
        color: var(--dark);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
        font-weight: 800;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-sticky-cta__action {
        padding: 19px 20px;
        text-transform: uppercase;
    }

    .mobile-sticky-cta__bonus {
        align-self: stretch;
        display: flex;
        align-items: center;
        padding: 0 20px;
        background: var(--dark);
        color: white;
        font-size: 0.9rem;
        white-space: nowrap;
    }
}
/* ===== END MOBILE STICKY CTA ===== */

/* ===== PIROTS 5 STATIC SITE ===== */
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 900;
    letter-spacing: -.02em;
}

.site-brand .logo-img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.site-brand__text {
    display: grid;
    line-height: 1.05;
}

.site-brand__text small {
    margin-top: 4px;
    color: var(--accent);
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.p5-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(8,17,31,.98) 0%, rgba(8,17,31,.92) 48%, rgba(8,17,31,.46) 100%),
        url('/media/pirots-5-temple-bg.webp') center / cover no-repeat;
    border-bottom: 1px solid rgba(245,184,46,.28);
}

.p5-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 35%;
    background: linear-gradient(180deg, transparent, rgba(8,17,31,.88));
}

.p5-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
    min-height: 650px;
    padding-top: 72px;
    padding-bottom: 72px;
}

.p5-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 7px 13px;
    color: #ffe29a;
    background: rgba(245,184,46,.12);
    border: 1px solid rgba(245,184,46,.45);
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.p5-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.55rem, 6vw, 5.35rem);
    line-height: .96;
    letter-spacing: -.055em;
}

.p5-hero h1 span {
    display: block;
    margin-top: 10px;
    color: var(--accent);
    font-size: .46em;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.p5-hero__lead {
    max-width: 720px;
    margin: 24px 0 0;
    color: #d9e2ef;
    font-size: clamp(1.03rem, 1.7vw, 1.22rem);
    line-height: 1.7;
}

.p5-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.p5-primary-cta,
.p5-secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 14px 26px;
    border-radius: 8px;
    font-weight: 850;
    line-height: 1.15;
    text-align: center;
}

.p5-primary-cta {
    color: #111827;
    background: var(--accent);
    box-shadow: 0 12px 30px rgba(245,184,46,.22);
}

.p5-primary-cta:hover {
    color: #111827;
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.p5-secondary-cta {
    color: #fff;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.28);
}

.p5-secondary-cta:hover {
    color: #fff;
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.5);
}

.p5-hero__microcopy {
    margin: 13px 0 0;
    color: #9eacc1;
    font-size: .78rem;
    line-height: 1.45;
}

.p5-hero__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
}

.p5-hero__visual::before {
    content: '';
    position: absolute;
    width: 86%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(245,184,46,.26), transparent 67%);
    filter: blur(5px);
}

.p5-hero__visual img {
    position: relative;
    z-index: 1;
    width: min(100%, 620px);
    height: auto;
    filter: drop-shadow(0 28px 34px rgba(0,0,0,.46));
}

.p5-hero__visual-label {
    position: relative;
    z-index: 2;
    margin-top: -22px;
    padding: 8px 14px;
    color: #ffe7a7;
    background: rgba(8,17,31,.82);
    border: 1px solid rgba(245,184,46,.42);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0,0,0,.28);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.p5-quick-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 34px;
    overflow: hidden;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
}

.p5-quick-stats div {
    padding: 15px 14px;
    background: rgba(8,17,31,.76);
}

.p5-quick-stats strong,
.p5-quick-stats span {
    display: block;
}

.p5-quick-stats strong {
    color: #fff;
    font-size: 1.14rem;
    line-height: 1.2;
}

.p5-quick-stats span {
    margin-top: 4px;
    color: #aab6c8;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.page-intro {
    padding: 36px 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.page-intro__grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 36px;
    align-items: center;
}

.page-intro h2 {
    margin: 0 0 12px;
    color: var(--dark);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.15;
}

.page-intro p {
    margin: 0;
    color: #5d6b7d;
}

.page-intro__note {
    padding: 18px 20px;
    color: #47360a;
    background: #fff8df;
    border: 1px solid #f3d678;
    border-radius: 10px;
    font-size: .9rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 24px 0;
}

.feature-card {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.feature-card__number {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    color: #1d2939;
    background: var(--accent);
    border-radius: 50%;
    font-size: .82rem;
    font-weight: 900;
}

.feature-card h3 {
    margin: 0 0 8px;
    color: var(--dark);
    line-height: 1.25;
}

.feature-card p {
    margin: 0;
    color: #5e6b7d;
    font-size: .94rem;
}

.character-panel {
    display: grid;
    grid-template-columns: minmax(180px, .62fr) minmax(0, 1.38fr);
    align-items: center;
    gap: 26px;
    margin: 28px 0;
    padding: 26px;
    overflow: hidden;
    color: #dce6f4;
    background: linear-gradient(135deg, #0a1424, #142b43);
    border-radius: 14px;
}

.character-panel img {
    width: 100%;
    max-height: 330px;
    object-fit: contain;
}

.character-panel h3 {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 1.55rem;
}

.character-panel p {
    margin: 0;
}

.p5-game-shot {
    margin: 28px 0;
    overflow: hidden;
    background: #08111f;
    border: 1px solid #d7dee8;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(8,17,31,.13);
}

.p5-game-shot img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.p5-game-shot figcaption {
    padding: 12px 16px;
    color: #c8d4e4;
    background: #0b1728;
    font-size: .78rem;
    line-height: 1.5;
}

.p5-feature-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 26px 0 32px;
}

.p5-feature-showcase article {
    display: grid;
    grid-template-rows: 132px 1fr;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.p5-feature-showcase article > img {
    align-self: center;
    justify-self: center;
    width: auto;
    max-width: 118px;
    height: 112px;
    object-fit: contain;
    filter: drop-shadow(0 10px 12px rgba(8,17,31,.16));
}

.p5-feature-showcase article > div {
    padding: 0 18px 20px;
}

.p5-feature-showcase h3 {
    margin: 0 0 8px;
    color: var(--dark);
    font-size: 1.08rem;
}

.p5-feature-showcase p {
    margin: 0;
    color: #5e6b7d;
    font-size: .88rem;
    line-height: 1.55;
}

.p5-inline-feature {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    margin: 22px 0;
    padding: 22px;
    background: #f7f9fc;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.p5-inline-feature > img {
    justify-self: center;
    width: auto;
    max-width: 130px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 10px 12px rgba(8,17,31,.14));
}

.p5-inline-feature p:first-child {
    margin-top: 0;
}

.p5-inline-feature p:last-child {
    margin-bottom: 0;
}

.p5-temple-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(7,16,29,.96), rgba(7,16,29,.76)),
        url('/media/pirots-5-coin-game.webp') center / cover no-repeat;
}

.p5-temple-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 50% 20%, rgba(245,184,46,.15), transparent 44%);
}

.source-note {
    color: #718096;
    font-size: .78rem;
    line-height: 1.5;
}

.legacy-notice {
    margin: 0 0 26px;
    padding: 14px 18px;
    color: #344054;
    background: #eef4ff;
    border: 1px solid #cddcff;
    border-radius: 8px;
    font-size: .88rem;
}

.simple-page-hero {
    padding: 54px 0;
    color: #fff;
    background: linear-gradient(135deg, var(--darker), #19334e);
    border-bottom: 3px solid var(--accent);
}

.simple-page-hero h1 {
    max-width: 880px;
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.7rem);
    line-height: 1.06;
    letter-spacing: -.04em;
}

.simple-page-hero p {
    max-width: 760px;
    margin: 15px 0 0;
    color: #c9d4e2;
    font-size: 1.05rem;
}

.static-content {
    max-width: 920px;
    margin: 0 auto;
    padding: 54px 20px 72px;
}

.static-content h2,
.static-content h3 {
    color: var(--dark);
    line-height: 1.2;
}

.static-content h2 {
    margin: 42px 0 14px;
    font-size: 1.8rem;
}

.static-content img {
    max-width: 100%;
    height: auto;
}

.static-content iframe {
    width: 100%;
    min-height: 520px;
    border: 0;
    border-radius: 12px;
}

.site-disclaimer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: #a8b3c3;
    font-size: .78rem;
}

@media (max-width: 980px) {
    .p5-hero__layout {
        grid-template-columns: 1fr .72fr;
        min-height: 560px;
    }

    .p5-quick-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .p5-feature-showcase {
        grid-template-columns: 1fr;
    }

    .p5-feature-showcase article {
        grid-template-columns: 128px minmax(0, 1fr);
        grid-template-rows: 1fr;
        align-items: center;
    }

    .p5-feature-showcase article > div {
        padding: 20px 20px 20px 0;
    }
}

@media (max-width: 767px) {
    .site-brand__text {
        display: none;
    }

    .site-brand .logo-img {
        width: 48px;
        height: 48px;
    }

    .p5-hero {
        background:
            linear-gradient(180deg, rgba(8,17,31,.58), rgba(8,17,31,.98) 48%),
            url('/media/pirots-5-temple-bg-mobile.webp') center top / cover no-repeat;
    }

    .p5-hero__layout {
        grid-template-columns: 1fr;
        gap: 12px;
        min-height: auto;
        padding-top: 34px;
        padding-bottom: 46px;
    }

    .p5-hero__visual {
        grid-row: 1;
    }

    .p5-hero__visual img {
        width: min(68vw, 265px);
    }

    .p5-hero__visual-label {
        margin-top: -12px;
        font-size: .64rem;
    }

    .p5-hero__copy {
        grid-row: 2;
    }

    .p5-hero h1 {
        font-size: clamp(2.7rem, 14vw, 4rem);
    }

    .p5-hero h1 span {
        font-size: .39em;
    }

    .p5-hero__lead {
        margin-top: 18px;
        font-size: 1rem;
    }

    .p5-hero__actions {
        display: grid;
        margin-top: 24px;
    }

    .p5-primary-cta,
    .p5-secondary-cta {
        width: 100%;
        box-sizing: border-box;
    }

    .p5-quick-stats {
        margin-top: 24px;
    }

    .p5-quick-stats div {
        padding: 13px 12px;
    }

    .page-intro__grid,
    .feature-grid,
    .character-panel {
        grid-template-columns: 1fr;
    }

    .p5-inline-feature {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 18px;
    }

    .p5-inline-feature > img {
        height: 120px;
    }

    .character-panel img {
        max-height: 250px;
    }

    .static-content iframe {
        min-height: 420px;
    }
}

@media (max-width: 420px) {
    .p5-feature-showcase article {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .p5-feature-showcase article > div {
        padding: 0 18px 20px;
    }

    .p5-quick-stats strong {
        font-size: 1rem;
    }

    .p5-quick-stats span {
        font-size: .64rem;
    }
}
/* ===== END PIROTS 5 STATIC SITE ===== */

/* ===== PIROTS SERIES PAGES ===== */
.series-page {
    background: #f3f6fb;
    color: #172033;
}

.series-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(7, 17, 32, .98) 0%, rgba(7, 17, 32, .92) 48%, rgba(7, 17, 32, .62) 100%),
        url('/media/pirots-5-temple-bg.webp') center/cover no-repeat;
    border-bottom: 2px solid var(--gold);
}

.series-hero__layout {
    min-height: 510px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
    align-items: center;
    gap: clamp(30px, 5vw, 76px);
    padding-top: 56px;
    padding-bottom: 56px;
}

.series-hero__copy h1 {
    margin: 12px 0 14px;
    color: #fff;
    font-size: clamp(3.2rem, 7vw, 6.7rem);
    line-height: .92;
    letter-spacing: -.055em;
}

.series-hero__copy > p {
    max-width: 660px;
    margin: 0;
    color: #dce5f2;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.65;
}

.series-hero__visual {
    display: grid;
    place-items: center;
    padding: 16px;
}

.series-hero__visual img {
    display: block;
    width: 100%;
    max-width: 600px;
    max-height: 390px;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .48), 0 0 0 1px rgba(255, 189, 20, .28);
}

.series-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
}

.series-hero__stats > div {
    padding: 14px 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(8px);
}

.series-hero__stats strong {
    display: block;
    color: var(--gold);
    font-size: .9rem;
    text-align: center;
}

.series-section {
    padding: clamp(42px, 6vw, 76px) 0;
}

.series-section:nth-of-type(odd) {
    background: #fff;
}

.series-section > .container {
    max-width: 980px;
}

.series-section h2 {
    margin: 0 0 24px;
    color: #111b2f;
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    line-height: 1.16;
}

.series-section h3 {
    margin: 30px 0 12px;
    color: #172033;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.series-section h4 {
    margin: 14px 0 8px;
}

.series-section p,
.series-section li {
    color: #465168;
    line-height: 1.78;
}

.series-section ul {
    padding-left: 21px;
}

.content-with-image {
    margin: 24px 0 28px;
    text-align: center;
}

.series-page .article-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 620px;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 16px 44px rgba(20, 35, 61, .16);
}

.section-subtitle {
    margin: -12px 0 25px;
    font-size: 1.08rem;
}

.demo-section {
    text-align: center;
    color: #fff;
    background: #0a1425 !important;
}

.demo-section h2,
.demo-section h3,
.demo-section p {
    color: #fff;
}

.demo-container {
    max-width: 760px;
    margin: 26px auto 20px;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid rgba(255, 189, 20, .35);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
}

.demo-placeholder h3 {
    margin-top: 0;
}

.demo-container iframe {
    display: block;
    width: 100%;
    min-height: 600px;
    border: 0;
    border-radius: 12px;
    background: #050b14;
}

.demo-loading {
    display: grid;
    min-height: 180px;
    place-items: center;
}

.btn-cta,
.btn-primary,
.btn-secondary,
.btn-load-demo,
.btn-bonus,
.btn-contact {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 0;
    border-radius: 7px;
    color: #111827;
    background: var(--gold);
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(255, 180, 0, .22);
}

.btn-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .08);
    box-shadow: none;
}

.features-grid,
.bonuses-grid,
.achievements-grid,
.reviews-grid,
.contact-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.bonus-card,
.achievement-card,
.review-card,
.contact-card,
.faq-item {
    padding: 24px;
    border: 1px solid #dce3ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20, 35, 61, .07);
}

.feature-card h3,
.bonus-card h3,
.achievement-card h3,
.contact-card h3,
.faq-item h3,
.review-card h4 {
    margin-top: 0;
}

.bonus-card.featured {
    border-color: var(--gold);
    box-shadow: 0 14px 35px rgba(255, 180, 0, .16);
}

.bonus-amount {
    color: #111b2f;
    font-size: 1.45rem;
    font-weight: 900;
}

.bonus-badge,
.rating {
    color: #b77900;
    font-weight: 800;
}

.review-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.review-text {
    font-style: italic;
}

.review-date {
    color: #7b8598;
    font-size: .82rem;
}

.table-responsive {
    overflow-x: auto;
    border: 1px solid #dce3ee;
    border-radius: 12px;
    background: #fff;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e7ebf2;
    text-align: left;
    vertical-align: top;
}

.specs-table th {
    color: #111b2f;
    background: #f8fafc;
}

.responsible-gaming {
    margin-top: 24px;
    padding: 18px;
    border-left: 4px solid var(--gold);
    background: #fff8df;
}

@media (max-width: 900px) {
    .series-hero__layout {
        grid-template-columns: 1fr;
        min-height: 0;
        text-align: center;
    }

    .series-hero__copy > p {
        margin-inline: auto;
    }

    .series-hero .p5-hero__actions {
        justify-content: center;
    }

    .series-hero__visual img {
        max-height: 330px;
    }

    .features-grid,
    .bonuses-grid,
    .achievements-grid,
    .reviews-grid,
    .contact-grid,
    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .series-hero__layout {
        gap: 20px;
        padding-top: 34px;
        padding-bottom: 42px;
    }

    .series-hero__copy h1 {
        font-size: clamp(3rem, 19vw, 4.5rem);
    }

    .series-hero__visual {
        grid-row: 1;
        padding: 0;
    }

    .series-hero__visual img {
        max-height: 230px;
    }

    .series-hero__stats {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .bonuses-grid,
    .achievements-grid,
    .reviews-grid,
    .contact-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .series-section {
        padding: 40px 0;
    }

    .demo-container {
        padding: 12px;
    }

    .demo-container iframe {
        min-height: 520px;
    }

    .feature-card,
    .bonus-card,
    .achievement-card,
    .review-card,
    .contact-card,
    .faq-item {
        padding: 19px;
    }
}
/* ===== END PIROTS SERIES PAGES ===== */
