/* Flagman Casino PL — main page 2026-08 */
:root {
    --fm-ink: #0a0d13;
    --fm-panel: #131824;
    --fm-panel-2: #1a2130;
    --fm-line: #262f42;
    --fm-gold: #ffc24b;
    --fm-gold-2: #d99a24;
    --fm-red: #e0344a;
    --fm-red-2: #ff5c6c;
    --fm-text: #f1f3f8;
    --fm-mut: #97a1b6;
    --fm-ring: conic-gradient(from 140deg, #ffc24b, #e0344a, #ffc24b);
    --fm-grad-gold: linear-gradient(135deg, #ffd376, #e8a020);
    --fm-grad-red: linear-gradient(135deg, #ff5c6c, #c22036);
    --fm-chrome: linear-gradient(180deg, #fdf6e8 0%, #e8cf9a 38%, #b3925c 52%, #f3e4c0 66%, #c8ab74 100%);
    --fm-radius: 12px;
    --fm-max: 1100px;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: clip;
    background: var(--fm-ink);
    color: var(--fm-text);
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fm-red-2); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 2px solid var(--fm-gold);
    outline-offset: 2px;
    border-radius: 6px;
}

.bde-fm-wrap { max-width: var(--fm-max); margin: 0 auto; padding: 0 22px; }

/* Header */
.cbd-fm-top {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(10, 13, 19, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--fm-line);
}
.ffe-fm-top-in {
    max-width: var(--fm-max);
    margin: 0 auto;
    padding: 13px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.fbd-fm-mark {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: var(--fm-text);
    text-transform: uppercase;
    white-space: nowrap;
}
.fbd-fm-mark:hover { text-decoration: none; }
.fbd-fm-mark span { color: var(--fm-gold); }
.bcc-fm-top-menu { display: flex; align-items: center; gap: 14px; }

/* Buttons */
.dec-fm-act {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 11px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    color: #1c1204;
    background: var(--fm-grad-gold);
    box-shadow: 0 6px 20px rgba(255, 194, 75, 0.26);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dec-fm-act:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(255, 194, 75, 0.38);
}
.fbc-fm-act--red {
    color: #fff;
    background: var(--fm-grad-red);
    box-shadow: 0 6px 20px rgba(224, 52, 74, 0.3);
}
.fcd-fm-act--sm { padding: 9px 20px; font-size: 13px; }

/* Quick nav tiles (signature) */
.bfa-fm-quick {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 28px 0 6px;
}
.ddc-fm-quick-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    color: var(--fm-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: 94px;
    text-align: center;
}
.ddc-fm-quick-unit:hover { text-decoration: none; color: var(--fm-gold); }
.aee-fm-ring {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    padding: 3px;
    background: var(--fm-ring);
}
.dcd-fm-ring-in {
    width: 100%;
    height: 100%;
    border-radius: 21px;
    background: var(--fm-panel-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
}

/* Hero */
.eaa-fm-lead { padding: 18px 0 8px; }
.bed-fm-lead-ref {
    display: block;
    border-radius: var(--fm-radius);
    overflow: hidden;
    border: 1px solid var(--fm-line);
}
.bed-fm-lead-ref img { width: 100%; }
.dfe-fm-h1 {
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 28px 0 14px;
}
.dfe-fm-h1 em {
    font-style: normal;
    background: var(--fm-chrome);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.acc-fm-lead { color: var(--fm-text); font-size: 17px; margin: 0 0 10px; }

/* Sections */
.eff-fm-block { padding: 36px 0 6px; }
.efd-fm-h2 {
    font-size: clamp(23px, 3.4vw, 30px);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 18px;
    display: inline-block;
    padding-bottom: 8px;
    background: linear-gradient(90deg, var(--fm-gold), var(--fm-red)) no-repeat left bottom / 64px 4px;
}
.fca-fm-h3 { font-size: 19px; font-weight: 700; margin: 26px 0 10px; color: var(--fm-text); }
.bfa-fm-p { color: var(--fm-mut); margin: 0 0 14px; }
.bfa-fm-p strong, .bfa-fm-p b { color: var(--fm-text); }
.bfd-fm-set { color: var(--fm-mut); margin: 0 0 14px; padding-left: 22px; }
.bfd-fm-set li { margin-bottom: 7px; }
.bfd-fm-set li::marker { color: var(--fm-gold); }
.bfd-fm-set strong { color: var(--fm-text); }

/* Games grid */
.cad-fm-games {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 13px;
}
.eba-fm-slot {
    background: var(--fm-panel);
    border: 1px solid var(--fm-line);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.eba-fm-slot:hover {
    transform: translateY(-4px);
    border-color: var(--fm-gold-2);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    text-decoration: none;
}
.eba-fm-slot img { width: 100%; aspect-ratio: 408 / 546; object-fit: cover; }
.fea-fm-slot-name {
    display: block;
    padding: 9px 10px 11px;
    font-size: 13px;
    font-weight: 700;
    color: var(--fm-text);
    text-align: center;
}

/* TOC */
.bdd-fm-toc {
    background: var(--fm-panel);
    border: 1px solid var(--fm-line);
    border-radius: var(--fm-radius);
    padding: 20px 24px;
}
.cac-fm-toc-head { font-size: 16px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 12px; color: var(--fm-gold); }
.bdd-fm-toc ol {
    margin: 0;
    padding-left: 20px;
    columns: 2;
    column-gap: 36px;
    color: var(--fm-mut);
}
.bdd-fm-toc li { margin-bottom: 7px; break-inside: avoid; }
.bdd-fm-toc a { color: var(--fm-text); font-weight: 600; }
.bdd-fm-toc a:hover { color: var(--fm-gold); text-decoration: none; }

/* Table */
.eae-fm-grid2-wrap {
    overflow-x: auto;
    border: 1px solid var(--fm-line);
    border-radius: var(--fm-radius);
    background: var(--fm-panel);
}
.fdf-fm-grid2 { width: 100%; border-collapse: collapse; min-width: 560px; }
.fdf-fm-grid2 th, .fdf-fm-grid2 td {
    padding: 12px 18px;
    text-align: left;
    border-bottom: 1px solid var(--fm-line);
    vertical-align: top;
    font-size: 15px;
}
.fdf-fm-grid2 tr:last-child th, .fdf-fm-grid2 tr:last-child td { border-bottom: 0; }
.fdf-fm-grid2 th { color: var(--fm-mut); font-weight: 600; width: 38%; white-space: nowrap; }
.fdf-fm-grid2 td { color: var(--fm-text); }
.fdf-fm-grid2 thead th {
    color: var(--fm-gold);
    font-weight: 800;
    background: var(--fm-panel-2);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.07em;
}

/* Steps */
.cfb-fm-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 6px 0 16px;
}
.fff-fm-step {
    background: var(--fm-panel);
    border: 1px solid var(--fm-line);
    border-radius: var(--fm-radius);
    padding: 20px;
    border-top: 3px solid var(--fm-gold-2);
}
.cea-fm-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--fm-grad-gold);
    color: #1c1204;
    font-weight: 800;
    margin-bottom: 10px;
}
.fbc-fm-step-head { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.fff-fm-step p { margin: 0; color: var(--fm-mut); font-size: 14px; }

/* Bonus card */
.abe-fm-reward {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 18px;
    align-items: center;
    background: radial-gradient(120% 160% at 88% 8%, rgba(224, 52, 74, 0.2), transparent 55%), var(--fm-panel);
    border: 1px solid var(--fm-line);
    border-radius: var(--fm-radius);
    padding: 28px;
    margin: 4px 0 16px;
}
.ddb-fm-reward-num {
    font-size: clamp(56px, 9vw, 96px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    background: var(--fm-chrome);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}
.abe-fm-reward h3 { margin: 0 0 8px; font-size: 24px; }
.abe-fm-reward p { margin: 0 0 16px; color: var(--fm-mut); }

/* Provider grid */
.add-fm-providers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.eea-fm-vendor {
    background: var(--fm-panel);
    border: 1px solid var(--fm-line);
    border-radius: 10px;
    padding: 14px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 82px;
    transition: border-color 0.15s ease;
}
.eea-fm-vendor:hover { border-color: var(--fm-gold-2); }
.eea-fm-vendor img { width: 100%; max-width: 169px; }

/* Payments */
.fdd-fm-pay-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.ecd-fm-chip {
    background: var(--fm-panel-2);
    border: 1px solid var(--fm-line);
    border-radius: 9px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fm-text);
    white-space: nowrap;
}
.fce-fm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 14px; }
.fda-fm-tile {
    background: var(--fm-panel);
    border: 1px solid var(--fm-line);
    border-radius: var(--fm-radius);
    padding: 20px 22px;
}
.cee-fm-tile-head { margin: 0 0 10px; font-size: 17px; font-weight: 700; color: var(--fm-gold); }
.fda-fm-tile ul { margin: 0; padding-left: 20px; color: var(--fm-mut); font-size: 15px; }
.fda-fm-tile li { margin-bottom: 6px; }
.fda-fm-tile li::marker { color: var(--fm-gold); }
.fda-fm-tile strong { color: var(--fm-text); }

/* FAQ */
.cdf-fm-qa details {
    background: var(--fm-panel);
    border: 1px solid var(--fm-line);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}
.cdf-fm-qa summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 46px 16px 20px;
    font-weight: 700;
    font-size: 16px;
    position: relative;
}
.cdf-fm-qa summary::-webkit-details-marker { display: none; }
.cdf-fm-qa summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fm-gold);
    font-size: 22px;
    font-weight: 800;
}
.cdf-fm-qa details[open] summary::after { content: "\2212"; }
.cdf-fm-qa details[open] { border-color: var(--fm-gold-2); }
.cdf-fm-qa details > div { padding: 0 20px 16px; color: var(--fm-mut); font-size: 15px; }
.cdf-fm-qa details > div strong { color: var(--fm-text); }

/* Utility */
.aee-fm-updated { color: var(--fm-mut); font-size: 14px; margin: 30px 0 0; }
.ade-fm-cta-line { text-align: center; margin: 24px 0 8px; }

/* Breadcrumbs */
.dad-fm-crumbs { padding: 18px 0 0; font-size: 14px; color: var(--fm-mut); }
.dad-fm-crumbs a { color: var(--fm-mut); }
.dad-fm-crumbs a:hover { color: var(--fm-gold); text-decoration: none; }
.dad-fm-crumbs span[aria-hidden] { margin: 0 6px; }

/* Review screenshots */
.aac-fm-shot {
    margin: 6px 0 18px;
    background: var(--fm-panel);
    border: 1px solid var(--fm-line);
    border-radius: var(--fm-radius);
    padding: 10px;
}
.aac-fm-shot img { width: 100%; border-radius: 8px; }
.aac-fm-shot figcaption {
    padding: 10px 8px 4px;
    font-size: 13px;
    color: var(--fm-mut);
    text-align: center;
}

/* Footer */
.dae-fm-foot {
    margin-top: 54px;
    border-top: 1px solid var(--fm-line);
    background: var(--fm-panel);
    padding: 38px 0 26px;
}
.afb-fm-foot-matrix {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 26px;
}
.ebe-fm-foot-cap {
    font-size: 13px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--fm-gold);
    margin: 0 0 12px;
}
.dae-fm-foot ul { list-style: none; margin: 0; padding: 0; }
.dae-fm-foot li { margin-bottom: 8px; }
.dae-fm-foot a { color: var(--fm-text); font-size: 14px; }
.dae-fm-foot a:hover { color: var(--fm-gold); text-decoration: none; }
.cdc-fm-social { display: flex; gap: 10px; margin-top: 14px; }
.cdc-fm-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--fm-line);
    background: var(--fm-panel-2);
    font-size: 13px;
    font-weight: 800;
}
.cdc-fm-social a:hover { border-color: var(--fm-gold); text-decoration: none; }
.cee-fm-foot-note {
    border-top: 1px solid var(--fm-line);
    padding-top: 18px;
    color: var(--fm-mut);
    font-size: 13px;
    line-height: 1.7;
}
.fm-18 {
    display: inline-block;
    border: 2px solid var(--fm-red-2);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    line-height: 30px;
    text-align: center;
    font-weight: 800;
    margin-right: 10px;
    vertical-align: middle;
    color: var(--fm-red-2);
}

/* Responsive */
@media (max-width: 1040px) {
    .cad-fm-games { grid-template-columns: repeat(3, 1fr); }
    .add-fm-providers { grid-template-columns: repeat(3, 1fr); }
    .afb-fm-foot-matrix { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 790px) {
    .bfa-fm-quick { gap: 12px; }
    .ddc-fm-quick-unit { width: 78px; font-size: 11px; }
    .aee-fm-ring { width: 60px; height: 60px; border-radius: 20px; }
    .dcd-fm-ring-in { font-size: 22px; border-radius: 17px; }
    .cad-fm-games { grid-template-columns: repeat(2, 1fr); }
    .cfb-fm-steps { grid-template-columns: 1fr; }
    .abe-fm-reward { grid-template-columns: 1fr; padding: 22px; }
    .fce-fm-cols { grid-template-columns: 1fr; }
    .add-fm-providers { grid-template-columns: repeat(2, 1fr); }
    .bdd-fm-toc ol { columns: 1; }
    .afb-fm-foot-matrix { grid-template-columns: 1fr; }
    .bcc-fm-top-menu .fcd-fm-act--sm { padding: 8px 14px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .dec-fm-act, .eba-fm-slot, .eea-fm-vendor { transition: none; }
}
