/* Daman Game Bonus — one landing page, system fonts, no external CSS. */

:root {
    --ink: #1c1915;
    --muted: #5c564c;
    --cream: #f4efe6;
    --paper: #fffdf9;
    --line: #e4d9c8;
    --navy: #141b27;
    --navy-2: #1d2636;
    --red: #e23b2f;
    --red-dark: #c42e24;
    --gold: #8d6414;
    --green: #0e7a45;
    --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
    --sans: "Segoe UI", "Noto Sans", "PingFang SC", sans-serif;
    --shadow: 0 24px 50px rgba(28, 25, 20, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--cream);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--green);
}

a:hover {
    color: var(--ink);
}

h1, h2, h3 {
    font-family: var(--serif);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    margin: 0 0 16px;
    font-size: clamp(40px, 8vw, 68px);
}

h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 40px);
}

h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

p {
    margin: 0 0 14px;
}

.dmb-wrap {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

.dmb-sr,
.dmb-skip {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.dmb-skip:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 50;
    width: auto;
    height: auto;
    margin: 0;
    padding: 8px 12px;
    clip: auto;
    background: #fff;
}

.dmb-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--navy);
    color: #f6f1e8;
}

.dmb-header-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 72px;
}

.dmb-logo,
.dmb-logo:hover,
.dmb-logo:focus {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f6f1e8;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.dmb-logo img,
.dmb-logo .custom-logo {
    width: 56px;
    height: 56px;
    background: transparent;
    object-fit: contain;
}

.dmb-logo em,
.dmb-logo:hover em,
.dmb-logo:focus em {
    font-style: normal;
    color: #e7c27a;
    font-weight: 600;
}

.dmb-nav {
    display: flex;
    gap: 18px;
    margin-left: auto;
}

.dmb-nav a {
    color: #e7e1d6;
    text-decoration: none;
    font-size: 15px;
}

.dmb-nav a:hover {
    color: #fff;
}

.dmb-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    border: 0;
    cursor: pointer;
    animation: dmb-pop 1.8s ease-in-out infinite;
}

.dmb-btn::after,
.dmb-sticky::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -70%;
    width: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
    animation: dmb-shine 2.6s ease-in-out infinite;
}

.dmb-btn:hover {
    background: var(--red-dark);
    color: #fff;
}

.dmb-sub .dmb-actions {
    justify-content: center;
}

.dmb-sub .dmb-actions .dmb-btn {
    min-height: 60px;
    padding: 0 42px;
    font-size: 20px;
}

.dmb-btn-sm {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
}

.dmb-btn-ghost {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 1.5px var(--ink);
}

.dmb-btn-ghost:hover {
    background: var(--ink);
    color: #fff;
}

.dmb-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 10px;
}

.dmb-toggle span:not(.dmb-sr) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
}

.dmb-hero {
    padding: 48px 0 28px;
}

.dmb-hero-grid {
    display: grid;
    gap: 28px;
    align-items: center;
}

.dmb-kicker {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dmb-lead {
    max-width: 46ch;
    color: var(--muted);
    font-size: 18px;
}

.dmb-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 14px;
}

.dmb-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 14px;
}

.dmb-points li::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--green);
}

.dmb-updated {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
}

.dmb-hero-photo {
    background: var(--paper);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 12px;
}

.dmb-hero-photo img {
    border-radius: 18px;
}

.dmb-section {
    padding: 56px 0;
}

.dmb-section-alt {
    background: #ebe4d8;
}

.dmb-intro {
    max-width: 62ch;
    color: var(--muted);
}

.dmb-cards {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.dmb-cards article,
.dmb-pair article,
.dmb-app {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
}

.dmb-figure {
    margin: 0 0 6px;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 32px;
}

.dmb-note {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff4e8;
    color: #6a3b12;
}

.dmb-app-list {
    display: grid;
    gap: 14px;
}

.dmb-app {
    display: grid;
    gap: 14px;
}

.dmb-app img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
}

.dmb-app h3 {
    font-family: var(--sans);
    font-size: 22px;
}

.dmb-app h3 a {
    color: var(--ink);
    text-decoration: none;
}

.dmb-meta,
.dmb-bonus,
.dmb-raw {
    color: var(--muted);
    font-size: 14px;
}

.dmb-raw,
.dmb-text {
    display: inline-block;
    margin-top: 8px;
    word-break: break-all;
}

.dmb-app-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.dmb-steps {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.dmb-steps li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 8px;
    margin-bottom: 14px;
    align-items: start;
}

.dmb-steps span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--navy);
    color: #f6f1e8;
    font-weight: 700;
}

.dmb-download {
    display: grid;
    gap: 8px 20px;
    align-items: start;
}

.dmb-download-side {
    display: grid;
    gap: 14px;
    align-content: start;
}

@media (min-width: 800px) {
    .dmb-download {
        align-items: stretch;
    }

    .dmb-download-side {
        display: flex;
        flex-direction: column;
    }

    .dmb-download-side .dmb-steps {
        margin-top: auto;
        margin-bottom: 0;
    }
}

.dmb-split,
.dmb-pair,
.dmb-band-grid {
    display: grid;
    gap: 22px;
}

.dmb-split {
    align-items: start;
}

.dmb-split figure,
.dmb-download figure,
.dmb-band figure,
.dmb-cover {
    margin: 0;
    background: var(--paper);
    border-radius: 24px;
    padding: 12px;
    box-shadow: var(--shadow);
}

.dmb-split img,
.dmb-download img,
.dmb-band img,
.dmb-cover img {
    border-radius: 16px;
}

figcaption {
    padding: 8px 6px 2px;
    color: var(--muted);
    font-size: 14px;
}

.dmb-prose {
    max-width: 760px;
}

.dmb-prose h2 {
    margin-top: 32px;
}

.dmb-prose ul {
    padding-left: 18px;
}

.dmb-prose li {
    margin: 6px 0;
}

.dmb-faq {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-top: 10px;
    padding: 0 16px;
}

.dmb-faq summary {
    cursor: pointer;
    min-height: 52px;
    display: flex;
    align-items: center;
    font-weight: 700;
    list-style: none;
}

.dmb-faq summary::-webkit-details-marker {
    display: none;
}

.dmb-faq summary::after {
    content: "+";
    margin-left: auto;
    font-size: 22px;
    color: var(--gold);
}

.dmb-faq[open] summary::after {
    content: "–";
}

.dmb-faq p {
    color: var(--muted);
    padding-bottom: 8px;
}

.dmb-close {
    padding: 48px 0 72px;
    text-align: center;
}

.dmb-close .dmb-wrap {
    max-width: 680px;
}

.dmb-footer {
    background: var(--navy);
    color: #d9d2c6;
    padding: 36px 0 24px;
}

.dmb-footer a {
    display: block;
    color: #f3ecdf;
    text-decoration: none;
    margin: 6px 0;
}

.dmb-footer-brand,
.dmb-footer-label {
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px;
}

.dmb-footer-grid {
    display: grid;
    gap: 22px;
}

.dmb-footer-base {
    margin-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 14px;
    font-size: 14px;
}

.dmb-sticky {
    display: none;
}

.dmb-sub {
    padding: 28px 0 64px;
}

.dmb-crumbs {
    display: flex;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.dmb-subhead {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.dmb-subhead img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
}

.dmb-subhead h1 {
    font-size: clamp(32px, 5vw, 48px);
}

.dmb-table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 24px;
    background: var(--paper);
}

.dmb-table th,
.dmb-table td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.dmb-table th {
    width: 38%;
    color: var(--muted);
    font-weight: 600;
}

.dmb-back {
    margin-top: 22px;
}

:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

@media (min-width: 800px) {
    .dmb-hero {
        padding: 72px 0 36px;
    }

    .dmb-hero-grid,
    .dmb-split,
    .dmb-download,
    .dmb-band-grid {
        grid-template-columns: 1.08fr 0.92fr;
    }

    .dmb-cards,
    .dmb-pair,
    .dmb-footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .dmb-pair {
        grid-template-columns: 1fr 1fr;
    }

    .dmb-app {
        grid-template-columns: 72px 1fr auto;
        align-items: center;
        gap: 22px;
    }

    .dmb-app-side {
        align-items: flex-end;
        max-width: 280px;
    }
}

@media (max-width: 799px) {
    .dmb-toggle {
        display: inline-block;
    }

    .dmb-header-cta {
        display: none;
    }

    .dmb-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        margin: 0;
        padding: 8px 16px 16px;
        background: var(--navy-2);
        flex-direction: column;
        gap: 0;
    }

    .dmb-nav.is-open {
        display: flex;
    }

    .dmb-nav a {
        padding: 12px 4px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .dmb-sticky {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 30;
        overflow: hidden;
        min-height: 56px;
        border: 0;
        border-radius: 999px;
        background: var(--red);
        color: #fff;
        font-family: inherit;
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
        box-shadow: 0 10px 24px rgba(226, 59, 47, 0.35);
        animation: dmb-pop 1.8s ease-in-out infinite;
    }

    body {
        padding-bottom: 84px;
    }
}

@keyframes dmb-pop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes dmb-shine {
    0% { left: -70%; }
    45%, 100% { left: 140%; }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .dmb-btn,
    .dmb-sticky,
    .dmb-btn::after,
    .dmb-sticky::after {
        animation: none;
    }
}
