/* Editorial landing pages for Marakumi Casinos at marakumicasinos.com. */

:root {
    --page-bg: #003a31;
    --page-bar: #002d27;
    --page-panel: #003127;
    --page-edge: #075948;
    --page-green: #00a64d;
    --page-lime: #00df58;
    --page-gold: #ffd819;
    --page-text: #f4f7f3;
    --page-muted: #9bbcae;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--page-bg);
    color: var(--page-text);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.content-site {
    position: relative;
    min-height: 100vh;
}

.content-header {
    height: 62px;
    min-height: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 10px;
    border-bottom: 2px solid #00251e;
    background: var(--page-bar);
}

.content-logo {
    display: block;
    width: 138px;
    height: 50px;
    flex: none;
}

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

.content-actions {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-left: auto;
}

.content-promo, .content-login, .content-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    font-size: 13px;
    font-weight: 900;
}

.content-menu-toggle, .content-menu-drawer {
    display: none;
}

.content-promo {
    gap: 5px;
    padding: 0 16px;
    border-radius: 5px;
    background: linear-gradient(135deg, #a700dd, #6300b9);
}

.content-promo img {
    width: 20px;
    height: 20px;
}

.content-login {
    padding: 0 17px;
    border-radius: 5px;
    background: #009c45;
    color: #073b21;
}

.content-register {
    color: #00a94e;
}

.content-nav {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    border-bottom: 3px solid var(--page-edge);
    background: #00362e;
    scrollbar-width: none;
}

.content-nav::-webkit-scrollbar {
    display: none;
}

.content-nav a {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 118px;
    min-height: 54px;
    padding: 10px 9px;
    border-right: 1px solid #003026;
    color: #edf6ef;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    white-space: nowrap;
}

.content-nav a:hover, .content-nav a[aria-current=page] {
    color: white;
    background: #003d33;
}

.content-nav a[aria-current=page]::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 0;
    left: 10px;
    height: 3px;
    border-radius: 4px 4px 0 0;
    background: var(--page-lime);
}

.content-main {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    padding: 18px 0 34px;
}

.crumbs {
    margin: 0 0 12px;
    color: #80af9d;
    font-size: 12px;
}

.crumbs a {
    color: #b6d4c6;
}

.page-hero {
    position: relative;
    display: grid;
    grid-template-columns:minmax(0, 1.2fr) minmax(250px, .8fr);
    min-height: 220px;
    overflow: hidden;
    border: 1px solid #05604d;
    border-radius: 9px;
    background: linear-gradient(120deg, #00352c, #00513f);
}

.page-hero-copy {
    position: relative;
    z-index: 1;
    align-self: center;
    padding: 30px;
}

.page-kicker {
    margin: 0 0 8px;
    color: var(--page-gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

h1 {
    max-width: 670px;
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.02;
}

.page-summary {
    max-width: 620px;
    margin: 14px 0 0;
    color: #d4e4da;
    font-size: 16px;
    line-height: 1.52;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 4px;
    background: var(--page-green);
    color: #063a21;
    font-size: 13px;
    font-weight: 900;
}

.hero-button.alt {
    border: 1px solid #087b5b;
    background: #002b23;
    color: white;
}

.page-hero-image {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    object-position: center;
    opacity: .82;
}

.app-hero-image,
.portrait-hero-image {
    align-self: center;
    justify-self: center;
    width: auto;
    max-width: 100%;
    height: 320px;
    min-height: 0;
    max-height: 320px;
    object-fit: contain;
    background: #003a31;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 45, 37, .5), transparent 65%);
}

.page-layout {
    display: grid;
    grid-template-columns:minmax(0, 1fr) 270px;
    gap: 16px;
    margin-top: 16px;
}

.article-panel, .side-panel {
    border: 1px solid var(--page-edge);
    border-radius: 7px;
    background: var(--page-panel);
}

.article-panel {
    padding: 24px;
}

.article-panel h2 {
    margin: 26px 0 10px;
    color: var(--page-gold);
    font-size: 21px;
}

.article-panel h2:first-child {
    margin-top: 0;
}

.article-panel p, .article-panel li {
    color: #d3e1d9;
    font-size: 15px;
    line-height: 1.6;
}

.article-panel ul, .article-panel ol {
    padding-left: 21px;
}

.article-panel li + li {
    margin-top: 5px;
}

.answer-box {
    margin: 18px 0 22px;
    padding: 15px 16px;
    border: 1px solid #087053;
    border-radius: 6px;
    background: #002a22;
    color: #e2eee6;
    font-size: 15px;
    line-height: 1.55;
}

.answer-box strong {
    color: var(--page-gold);
}

.seo-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 24px;
}

.seo-toc a {
    padding: 7px 9px;
    border: 1px solid #0a684f;
    border-radius: 4px;
    color: #cde4d6;
    font-size: 12px;
    font-weight: 700;
}

.seo-toc a:hover {
    border-color: var(--page-lime);
    color: var(--page-gold);
}

.cta-panel {
    margin: 26px 0 2px;
    padding: 20px;
    border-radius: 7px;
    background: linear-gradient(125deg, #00613e, #003b2e);
}

.cta-panel h2 {
    margin: 0 0 8px;
    color: white;
}

.cta-panel p {
    margin: 0 0 15px;
}

.table-scroll {
    width: 100%;
    margin: 18px 0 24px;
    overflow-x: auto;
    border: 1px solid #075e4b;
    border-radius: 6px;
    -webkit-overflow-scrolling: touch;
}

.seo-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    color: #d8e8de;
    font-size: 14px;
    line-height: 1.45;
}

.seo-table th, .seo-table td {
    padding: 12px 13px;
    border-bottom: 1px solid #075e4b;
    text-align: left;
    vertical-align: top;
}

.seo-table th {
    background: #004a3b;
    color: var(--page-gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.seo-table tr:last-child td {
    border-bottom: 0;
}

.notice {
    margin: 20px 0;
    padding: 13px 14px;
    border-left: 4px solid var(--page-gold);
    background: #002a22;
    color: #c6d9cc;
    font-size: 13px;
    line-height: 1.5;
}

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

.promotion-card {
    overflow: hidden;
    border: 1px solid #075e4b;
    border-radius: 7px;
    background: #002d25;
    transition: transform .2s ease, border-color .2s ease;
}

.promotion-card:hover {
    transform: translateY(-3px);
    border-color: #16b86a;
}

.promotion-card img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    background: #003a31;
}

.promotion-card__body {
    padding: 14px;
}

.promotion-card__body h3 {
    margin: 0 0 7px;
    color: var(--page-gold);
    font-size: 16px;
    line-height: 1.2;
}

.promotion-card__body p {
    margin: 0;
    color: #c4dacd;
    font-size: 13px;
    line-height: 1.48;
}

.promotion-card__body a,
.crash-game-card a,
.inline-play-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 174px);
    min-height: 40px;
    margin: 14px auto 0;
    padding: 0 16px;
    border-radius: 5px;
    background: linear-gradient(135deg, #a700dd, #6300b9);
    box-shadow: none;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .02em;
    text-decoration: none;
    transition: filter .18s ease, transform .18s ease;
}

.promotion-card__body a:hover,
.crash-game-card a:hover,
.inline-play-cta a:hover {
    color: #fff;
    filter: brightness(1.15);
    transform: translateY(-1px);
}

.inline-play-cta {
    display: flex;
    justify-content: center;
    margin: 22px 0 26px;
}

.inline-play-cta a {
    margin: 0;
}

.faq {
    margin-top: 26px;
}

.faq h2 {
    margin-bottom: 12px;
}

.faq details {
    border-top: 1px solid #0a604e;
}

.faq details:last-child {
    border-bottom: 1px solid #0a604e;
}

.faq summary {
    padding: 14px 2px;
    cursor: pointer;
    color: white;
    font-size: 15px;
    font-weight: 800;
}

.faq p {
    margin: 0;
    padding: 0 2px 14px;
}

.article-media {
    margin: 26px 0;
    padding: 12px;
    text-align: center;
    border: 1px solid rgba(67, 207, 143, .22);
    border-radius: 14px;
    background: rgba(0, 33, 28, .34);
}

.article-media img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 9px;
}

.image-go-link {
    display: block;
    color: inherit;
    line-height: 0;
}

.image-go-link img {
    transition: filter .18s ease, transform .18s ease;
}

.hero-image-go {
    display: grid;
    height: 100%;
    overflow: hidden;
    place-items: center;
}

.hero-image-go .page-hero-image {
    display: block;
}

.image-go-link:hover img,
.image-go-link:focus-visible img {
    filter: brightness(1.08);
    transform: scale(1.012);
}

.article-media figcaption {
    margin: 10px 4px 2px;
    color: #9bb9af;
    font-size: .88rem;
    line-height: 1.5;
}

.article-media--narrow {
    max-width: 400px;
    margin-right: auto;
    margin-left: auto;
}

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

.crash-game-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(67, 207, 143, .28);
    border-radius: 14px;
    background: rgba(0, 47, 39, .72);
}

.crash-game-card > .image-go-link {
    display: block;
    overflow: hidden;
    background: #003a31;
}

.crash-game-card > .image-go-link img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.crash-game-card > div {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.crash-game-card h3 {
    margin: 0 0 7px;
    color: #ffd83d;
    font-size: 1.12rem;
}

.crash-game-card p {
    margin: 0;
    color: #c7ded5;
    font-size: .92rem;
    line-height: 1.55;
}

.side-panel {
    padding: 16px;
}

.side-panel + .side-panel {
    margin-top: 12px;
}

.side-panel h2 {
    margin: 0 0 10px;
    font-size: 18px;
}

.side-panel a {
    display: block;
    padding: 11px 0;
    border-top: 1px solid #0a5d4c;
    color: #d9e8df;
    font-size: 14px;
    font-weight: 700;
}

.side-panel a:first-of-type {
    border-top: 0;
}

.side-panel a:hover, .side-panel a[aria-current=page] {
    color: var(--page-gold);
}

.side-panel p {
    margin: 0;
    color: var(--page-muted);
    font-size: 13px;
    line-height: 1.5;
}

.content-footer {
    margin-top: 28px;
    border-top: 2px solid #075a49;
    background: #002c25;
    color: #acc8ba;
}

.content-footer__inner {
    width: min(1360px, calc(100% - 40px));
    display: grid;
    grid-template-columns: minmax(240px, 1.6fr) minmax(130px, .8fr) minmax(160px, .95fr) minmax(220px, 1.25fr);
    gap: 32px;
    margin: 0 auto;
    padding: 36px 0 30px;
}

.content-footer__logo {
    display: block;
    width: 170px;
    height: 46px;
    margin: -6px 0 13px;
}

.content-footer__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.content-footer__about p, .content-footer__safety p {
    max-width: 39ch;
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
}

.content-footer__about .content-footer__disclosure {
    margin-top: 10px;
    color: #78a596;
    font-size: 11px;
}

.content-footer__links h2, .content-footer__safety h2 {
    margin: 0 0 12px;
    color: #f4f7f3;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.content-footer__links a {
    display: block;
    width: fit-content;
    padding: 4px 0;
    color: #a8c6b7;
    font-size: 13px;
    line-height: 1.35;
    transition: color .18s ease, transform .18s ease;
}

.content-footer__links a:hover, .content-footer__links a:focus-visible {
    color: var(--page-gold);
    transform: translateX(3px);
}

.content-footer__safety {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-left: 22px;
    border-left: 1px solid #075a49;
}

.content-footer__age {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: none;
    border: 2px solid var(--page-gold);
    border-radius: 50%;
    color: var(--page-gold);
    font-size: 14px;
    font-weight: 900;
}

.content-footer__safety h2 {
    color: var(--page-gold);
}

.content-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: min(1360px, calc(100% - 40px));
    margin: 0 auto;
    padding: 14px 0 16px;
    border-top: 1px solid #075144;
    color: #719b8d;
    font-size: 11px;
}

.content-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.content-footer__legal a {
    color: inherit;
    font-size: inherit;
    text-decoration: none;
    transition: color .18s ease;
}

.content-footer__legal a:hover,
.content-footer__legal a:focus-visible {
    color: var(--page-gold);
}

@media (min-width: 781px) {
    .content-header {
        position: relative;
        z-index: 3;
    }

    .content-logo, .content-actions {
        position: relative;
        z-index: 3;
    }

    .content-nav {
        position: absolute;
        z-index: 4;
        top: 0;
        right: 470px;
        left: 190px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2px;
        height: 62px;
        min-height: 62px;
        border-bottom: 0;
        background: transparent;
        overflow: hidden;
    }

    .content-nav a {
        min-width: 0;
        min-height: 0;
        padding: 6px 7px;
        border: 0;
        border-radius: 4px;
        background: transparent;
        color: #9bc2af;
        font-size: 10px;
        line-height: 1;
        text-transform: uppercase;
    }

    .content-nav a:hover {
        background: #004336;
        color: #ffd819;
    }

    .content-nav a[aria-current=page] {
        background: transparent;
        color: #9bc2af;
    }

    .content-nav a[aria-current=page]::after {
        display: none;
    }
}

@media (max-width: 780px) {
    .content-header {
        height: 57px;
        min-height: 0;
        padding: 0 13px;
    }

    .content-logo {
        width: 126px;
        height: 50px;
    }

    .content-actions {
        gap: 10px;
    }

    .content-promo {
        display: none;
    }

    .content-login {
        min-height: 33px;
        padding: 0 14px;
        font-size: 13px;
    }

    .content-register {
        font-size: 12px;
    }

    .content-nav {
        display: none;
    }

    .content-menu-toggle {
        display: inline-grid;
        place-items: center;
        width: 34px;
        height: 34px;
        padding: 0;
        border: 1px solid #087b5b;
        border-radius: 5px;
        background: #003a31;
        color: var(--page-lime);
    }

    .content-menu-toggle svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-width: 2.4;
    }

    .content-menu-drawer {
        position: fixed;
        z-index: 50;
        top: 0;
        right: 0;
        display: block;
        width: min(320px, 88vw);
        height: 100dvh;
        padding: 20px;
        transform: translateX(105%);
        transition: transform .24s ease;
        border-left: 1px solid #087b5b;
        background: #002d27;
        box-shadow: -18px 0 35px rgba(0, 0, 0, .3);
    }

    .content-menu-drawer.is-open {
        transform: translateX(0);
    }

    .content-menu-drawer__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        color: var(--page-gold);
        font-size: 14px;
        font-weight: 900;
    }

    .content-menu-close {
        min-height: 35px;
        padding: 0 11px;
        border: 1px solid #087b5b;
        border-radius: 5px;
        background: transparent;
        color: #fff;
        font-weight: 800;
    }

    .content-menu-drawer a {
        display: block;
        padding: 15px 0;
        border-top: 1px solid #075a49;
        color: #fff;
        font-weight: 800;
    }

    .content-main {
        width: min(100% - 20px, 680px);
        padding: 12px 0 25px;
    }

    .crumbs {
        margin-bottom: 9px;
    }

    .page-hero {
        grid-template-columns:1fr;
        min-height: 0;
    }

    .page-hero-copy {
        padding: 23px 18px;
    }

    .page-summary {
        font-size: 14px;
    }

    .page-hero-image {
        min-height: 145px;
        max-height: 180px;
        object-position: center;
    }

    .page-hero::after {
        background: linear-gradient(180deg, rgba(0, 45, 37, .08), rgba(0, 45, 37, .36));
    }

    .page-layout {
        display: flex;
        flex-direction: column;
        margin-top: 12px;
    }

    .article-panel {
        padding: 18px 15px;
    }

    .article-panel h2 {
        font-size: 19px;
    }

    .article-panel p, .article-panel li {
        font-size: 14px;
    }

    .answer-box {
        font-size: 14px;
    }

    .promotion-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .crash-game-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .promotion-card__body {
        padding: 13px;
    }

    .seo-table {
        min-width: 470px;
        font-size: 13px;
    }

    .seo-table th, .seo-table td {
        padding: 10px 11px;
    }

    .side-panel {
        padding: 15px;
    }

    .page-layout aside {
        order: 2;
    }

    .content-footer__inner {
        width: min(100% - 32px, 620px);
        grid-template-columns: 1fr 1fr;
        gap: 26px 18px;
        padding: 28px 0 24px;
    }

    .content-footer__about, .content-footer__safety {
        grid-column: 1 / -1;
    }

    .content-footer__safety {
        padding: 16px 0 0;
        border-top: 1px solid #075a49;
        border-left: 0;
    }

    .content-footer__bottom {
        flex-direction: column;
        width: min(100% - 32px, 620px);
        gap: 5px;
        padding: 13px 0 16px;
    }

    .content-footer__legal {
        justify-content: flex-start;
    }
}

@media (max-width: 500px) {
    .content-header {
        padding: 0 10px;
    }

    .content-logo {
        width: 98px;
    }

    .content-actions {
        gap: 10px;
    }
}
