@font-face {
    font-family: "RalewayLocal";
    src: url("./raleway-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SourceSansLocal";
    src: url("./source-sans-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #0a1019;
    --bg-soft: #111928;
    --surface: rgba(13, 21, 34, 0.92);
    --surface-strong: rgba(8, 14, 23, 0.98);
    --border: rgba(255, 255, 255, 0.08);
    --gold: #dfb879;
    --gold-strong: #f4d5a4;
    --teal: #7fd8d3;
    --text: #f6f2eb;
    --muted: #bac4d2;
    --shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "SourceSansLocal", "Trebuchet MS", sans-serif;
    line-height: 1.55;
    background:
        radial-gradient(circle at 12% 10%, rgba(223, 184, 121, 0.16), transparent 22%),
        radial-gradient(circle at 82% 14%, rgba(127, 216, 211, 0.13), transparent 22%),
        linear-gradient(180deg, #0a1019 0%, #0d1420 42%, #0a0f17 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: radial-gradient(circle at center, black, transparent 84%);
}

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

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(var(--container), calc(100% - 28px));
    margin: 0 auto;
}

.page-shell {
    padding: 18px 0 46px;
}

.top-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 14px 18px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(10, 16, 25, 0.76);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand__mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 32% 32%, #ffe7b7, #dfb879 70%, #9d6c2a);
    color: #271404;
    font: 700 1.05rem/1 "RalewayLocal", sans-serif;
}

.brand__text strong {
    display: block;
    font: 700 1.5rem/1 "RalewayLocal", sans-serif;
    color: var(--gold-strong);
    letter-spacing: 0.18em;
}

.brand__text span {
    display: block;
    margin-top: 2px;
    color: #c7cfdb;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.top-strip__actions {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    opacity: 0.96;
}

.btn-primary {
    color: #221205;
    background: linear-gradient(135deg, #f4d5a4, #dfb879 58%, #ba8648);
}

.btn-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.hero-board {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 22px;
}

.rail,
.hero-column,
.panel,
.footer {
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(14, 22, 35, 0.95), rgba(9, 15, 24, 0.96));
    box-shadow: var(--shadow);
}

.rail,
.hero-column,
.panel {
    border-radius: var(--radius-xl);
}

.rail {
    padding: 18px;
    display: grid;
    gap: 18px;
}

.nav-dropdown {
    position: relative;
    z-index: 40;
}

.nav-dropdown__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    border: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font: 700 0.92rem/1 "RalewayLocal", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-dropdown__toggle:hover,
.nav-dropdown__toggle:focus-visible {
    background: rgba(223, 184, 121, 0.16);
}

.nav-dropdown ul {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 60;
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 10px;
    list-style: none;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(9, 15, 24, 0.98);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-dropdown:hover ul,
.nav-dropdown:focus-within ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li,
.nav-dropdown li a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: #e7dfd2;
    font-size: 0.92rem;
}

.nav-dropdown li a:hover,
.nav-dropdown li a:focus-visible {
    background: rgba(223, 184, 121, 0.16);
}

.rail-card {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.rail-card__label {
    color: var(--gold-strong);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rail-card__value {
    margin-top: 10px;
    font: 700 1.8rem/1 "RalewayLocal", sans-serif;
    color: var(--gold-strong);
}

.rail-wins {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.rail-wins li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    list-style: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #d7dde8;
}

.hero-column {
    overflow: hidden;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    padding: 28px;
    display: grid;
    align-content: end;
    background:
        linear-gradient(180deg, rgba(8, 13, 20, 0.18) 0%, rgba(8, 13, 20, 0.22) 36%, rgba(8, 13, 20, 0.9) 100%),
        linear-gradient(90deg, rgba(8, 13, 20, 0.8) 0%, rgba(8, 13, 20, 0.28) 54%, rgba(8, 13, 20, 0.54) 100%),
        url("./hero-casino-v2.png") center center / cover no-repeat;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(223, 184, 121, 0.14), transparent 18%),
        radial-gradient(circle at 82% 16%, rgba(127, 216, 211, 0.16), transparent 18%);
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(10, 16, 25, 0.72);
    backdrop-filter: blur(10px);
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--gold-strong);
    border: 1px solid rgba(223, 184, 121, 0.26);
    background: rgba(223, 184, 121, 0.09);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h2 {
    margin: 0 0 14px;
    font: 700 clamp(2.2rem, 4.5vw, 4rem)/1.02 "RalewayLocal", sans-serif;
    letter-spacing: -0.03em;
}

.hero-copy p {
    margin: 0;
    color: #d4dbe5;
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 22px 0 18px;
}

.chip-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chip {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ece3d6;
    font-size: 0.86rem;
}

.hero-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
    padding: 18px 28px 26px;
}

.hero-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.stat-box {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-box strong {
    display: block;
    font: 700 1.5rem/1 "RalewayLocal", sans-serif;
    color: var(--gold-strong);
}

.stat-box span {
    display: block;
    margin-top: 8px;
    color: #c8d0dd;
    font-size: 0.9rem;
}

.promo-side {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(180deg, rgba(10, 16, 25, 0.38), rgba(10, 16, 25, 0.92)),
        url("./bonus-vip-v2.png") center center / cover no-repeat;
    min-height: 200px;
    padding: 18px;
    display: grid;
    align-content: end;
}

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

.panel {
    border-radius: var(--radius-xl);
}

.panel__inner {
    padding: 24px;
}

.section-title {
    margin: 0 0 8px;
    font: 700 1.7rem/1.1 "RalewayLocal", sans-serif;
}

.section-subtitle {
    margin: 0 0 18px;
    color: var(--muted);
}

.category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.tab {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e6ded1;
    font-size: 0.84rem;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.slot-card {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.slot-cover {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.slot-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slot-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(180deg, rgba(8, 13, 20, 0.14), rgba(8, 13, 20, 0.04) 34%, rgba(8, 13, 20, 0.7) 100%);
}

.badge {
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
}

.slot-body {
    padding: 16px;
}

.slot-body h3 {
    margin: 0 0 8px;
    font: 700 1.06rem/1.2 "RalewayLocal", sans-serif;
}

.slot-body p {
    margin: 0 0 14px;
    color: #d6dce6;
    font-size: 0.92rem;
}

.slot-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.right-stack {
    display: grid;
    gap: 20px;
}

.poster,
.mirror-panel {
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 250px;
}

.poster {
    background:
        linear-gradient(180deg, rgba(10, 16, 25, 0.38), rgba(10, 16, 25, 0.92)),
        url("./bonus-welcome.png") center center / cover no-repeat;
}

.mirror-panel {
    background:
        linear-gradient(180deg, rgba(10, 16, 25, 0.48), rgba(10, 16, 25, 0.92)),
        url("./mirror-access.png") center center / cover no-repeat;
}

.poster__content,
.mirror-panel__content {
    display: grid;
    align-content: end;
    min-height: 250px;
    padding: 20px;
}

.content-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.article {
    display: grid;
    gap: 18px;
}

.article h2 {
    margin: 0 0 8px;
    font: 700 1.8rem/1.1 "RalewayLocal", sans-serif;
}

.footer {
    margin-top: 24px;
    padding: 24px;
    border-radius: 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.footer h3,
.footer h4 {
    margin: 0 0 10px;
    font-family: "RalewayLocal", sans-serif;
}

.footer p,
.footer li {
    margin: 0;
    color: #c5cfdd;
}

.footer ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-bottom {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #9eabbe;
    font-size: 0.9rem;
}

@media (max-width: 1100px) {
    .hero-board,
    .layout,
    .content-layout,
    .footer-grid,
    .hero-bottom {
        grid-template-columns: 1fr;
    }

    .hero-info,
    .slots-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .top-strip,
    .top-strip__actions,
    .hero-actions,
    .category-tabs {
        flex-wrap: wrap;
    }

    .hero-info,
    .slots-grid,
    .slot-actions {
        grid-template-columns: 1fr;
    }

    .hero-copy h2 {
        font-size: 2.25rem;
    }
}
