:root {
    --bg: #f7f6f1;
    --surface: #ffffff;
    --surface-soft: #f3efe4;
    --surface-tint: #f7fbf7;
    --line: rgba(15, 32, 28, 0.1);
    --text: #17211f;
    --muted: #5d6763;
    --charcoal: #16211e;
    --charcoal-soft: #24312d;
    --emerald: #0f6b56;
    --emerald-deep: #0a4d3f;
    --emerald-soft: #d9efe8;
    --gold: #c99a2a;
    --gold-soft: #f6e7bf;
    --yellow: #f4c84c;
    --beige: #efe5d2;
    --shadow-lg: 0 28px 80px rgba(20, 36, 31, 0.12);
    --shadow-md: 0 18px 45px rgba(20, 36, 31, 0.08);
    --shadow-sm: 0 8px 24px rgba(20, 36, 31, 0.06);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --container: 1200px;
    --header-h: 92px;
    --transition: 180ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(15, 107, 86, 0.08), transparent 30%),
        radial-gradient(circle at top right, rgba(201, 154, 42, 0.08), transparent 26%),
        var(--bg);
    line-height: 1.6;
    padding-top: var(--header-h);
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

main {
    overflow: clip;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--emerald);
}

.eyebrow--soft {
    color: rgba(255, 255, 255, 0.86);
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: "Outfit", "Manrope", sans-serif;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.6rem, 5vw, 4.9rem);
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.7rem);
}

p {
    margin: 0;
    color: var(--muted);
}

.micro-copy {
    font-size: 0.92rem;
}

.button,
.text-link,
.filter-chip,
.language-switcher button,
.language-switcher a,
.number-chip {
    transition:
        transform var(--transition),
        background-color var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        opacity var(--transition);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.95rem 1.45rem;
    font-weight: 800;
    border: 1px solid transparent;
}

.button:hover,
.filter-chip:hover,
.number-chip:hover {
    transform: translateY(-1px);
}

.button--primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
    box-shadow: 0 14px 28px rgba(15, 107, 86, 0.28);
}

.button--primary:hover {
    box-shadow: 0 18px 36px rgba(15, 107, 86, 0.32);
}

.button--outline,
.button--ghost {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(15, 107, 86, 0.18);
    color: var(--text);
}

.button--ghost {
    backdrop-filter: blur(16px);
}

.button--small {
    padding: 0.75rem 1.1rem;
    font-size: 0.92rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 800;
    color: var(--emerald);
}

.text-link:hover {
    color: var(--emerald-deep);
}

.tag,
.badge,
.price-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.tag,
.badge {
    padding: 0.45rem 0.8rem;
}

.tag {
    color: var(--emerald);
    background: rgba(15, 107, 86, 0.1);
}

.tag--dark {
    color: #ffffff;
    background: var(--charcoal);
}

.badge {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #ffffff;
    background: rgba(15, 33, 29, 0.68);
    backdrop-filter: blur(14px);
}

.price-pill {
    padding: 0.45rem 0.75rem;
    background: rgba(201, 154, 42, 0.12);
    color: #8b6110;
    white-space: nowrap;
    flex-shrink: 0;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(15, 32, 28, 0.08);
    backdrop-filter: blur(20px);
}

.site-header__inner {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.brand-logo {
    width: 68px;
    height: 68px;
    display: block;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 10px 22px rgba(15, 32, 28, 0.14);
    flex: 0 0 auto;
}

.brand-mark {
    width: 48px;
    aspect-ratio: 1;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-family: "Outfit", sans-serif;
    font-weight: 800;
    letter-spacing: 0.05em;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 60%),
        linear-gradient(135deg, var(--gold), var(--emerald));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-copy strong {
    font-size: 1rem;
    font-weight: 800;
    color: var(--charcoal);
}

.brand-copy span {
    font-size: 0.82rem;
    color: var(--muted);
}

.brand--footer .brand-logo {
    width: 84px;
    height: 84px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.site-header__panel,
.site-nav,
.site-actions {
    display: flex;
    align-items: center;
}

.site-header__panel {
    gap: 1.5rem;
    margin-left: auto;
}

.site-nav {
    gap: 1.5rem;
}

.site-nav a,
.text-link,
.footer-links a,
.legal-nav a {
    position: relative;
}

.site-nav a {
    font-weight: 700;
    color: var(--charcoal-soft);
}

.site-nav a.is-active,
.site-nav a:hover {
    color: var(--emerald);
}

.site-actions {
    gap: 0.8rem;
}

.text-link.is-active {
    color: var(--emerald);
}

.language-switcher {
    display: inline-flex;
    padding: 0.28rem;
    border-radius: 999px;
    background: rgba(15, 107, 86, 0.06);
}

.language-switcher button,
.language-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    padding: 0.48rem 0.78rem;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 800;
}

.language-switcher button.is-active,
.language-switcher a.is-active {
    color: #ffffff;
    background: var(--emerald);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0;
    background: var(--charcoal);
    border-radius: 999px;
}

.section {
    padding: 5.5rem 0;
}

.section--tight {
    padding: 4rem 0;
}

.section--beige {
    background: linear-gradient(180deg, rgba(239, 229, 210, 0.7), rgba(255, 255, 255, 0.96));
}

.section--results {
    background:
        linear-gradient(180deg, rgba(15, 107, 86, 0.05), rgba(255, 255, 255, 0)),
        #fbfcfa;
}

.section--cta {
    padding-top: 0;
}

.hero-section {
    position: relative;
    padding: 3.5rem 0 4rem;
}

.hero-section::before,
.page-hero::before,
.auth-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 12%, rgba(201, 154, 42, 0.14), transparent 30%),
        radial-gradient(circle at 92% 10%, rgba(15, 107, 86, 0.1), transparent 26%),
        radial-gradient(circle at 70% 50%, rgba(244, 200, 76, 0.09), transparent 28%);
}

.hero-grid,
.page-hero__grid,
.split-layout,
.results-layout,
.contact-grid,
.auth-grid {
    display: grid;
    gap: 2rem;
}

.hero-grid {
    align-items: center;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

.page-hero {
    position: relative;
    padding: 3rem 0 2rem;
}

.page-hero__grid {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
}

.hero-copy,
.page-hero__grid > div,
.auth-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.25rem;
}

.hero-copy p,
.page-hero p,
.auth-copy p {
    max-width: 62ch;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.highlight-pill,
.stat-card,
.detail-card,
.step-card,
.side-card,
.winner-card,
.legal-section-card,
.support-card,
.map-placeholder,
.result-entry,
.result-feature,
.cta-banner,
.ui-card,
.product-card,
.catalog-card,
.scratch-card,
.form-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 32, 28, 0.08);
    box-shadow: var(--shadow-md);
}

.highlight-pill {
    display: grid;
    gap: 0.22rem;
    padding: 1rem 1.1rem;
    border-radius: 22px;
}

.highlight-pill strong {
    font-size: 1.08rem;
    color: var(--charcoal);
}

.highlight-pill span {
    font-size: 0.82rem;
    color: var(--muted);
}

.hero-visual {
    position: relative;
    min-width: 0;
}

.promo-panel {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: min(320px, calc(100% - 2rem));
    display: grid;
    gap: 0.9rem;
    padding: 1.3rem;
    border-radius: 24px;
    color: #ffffff;
    background: linear-gradient(155deg, rgba(15, 33, 29, 0.92), rgba(15, 107, 86, 0.84));
    box-shadow: 0 24px 50px rgba(15, 33, 29, 0.22);
}

.promo-panel p,
.promo-panel span {
    color: rgba(255, 255, 255, 0.82);
}

.promo-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.promo-meta strong {
    color: #ffffff;
}

.media-shell,
.hero-media {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: var(--shadow-lg);
    isolation: isolate;
}

.media-shell::before,
.hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.24), transparent 32%),
        radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.18), transparent 22%),
        radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.16), transparent 18%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.18));
    z-index: 1;
}

.media-shell::after,
.hero-media::after {
    content: "";
    position: absolute;
    inset: auto auto 12% 8%;
    width: 24%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 70%);
    filter: blur(12px);
    z-index: 1;
}

.media-shell img,
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.94;
    mix-blend-mode: screen;
}

.media-shell--emerald {
    background: linear-gradient(140deg, #0c3d35, #116e59 56%, #e5bc6e);
}

.media-shell--gold {
    background: linear-gradient(140deg, #5b4816, #d4a941 54%, #f7edd0);
}

.media-shell--sunrise {
    background: linear-gradient(145deg, #846017, #ce8f2d 55%, #ffe6a9);
}

.media-shell--desert {
    background: linear-gradient(145deg, #7b5d39, #c4a377 55%, #f7ede0);
}

.media-shell--oasis {
    background: linear-gradient(145deg, #11584b, #32a67d 52%, #daf4e8);
}

.media-shell--charcoal {
    background: linear-gradient(145deg, #182421, #304941 54%, #d9b560);
}

.media-shell--festival {
    background: linear-gradient(145deg, #6b5019, #d69930 52%, #fff0be);
}

.media-shell--coffee {
    background: linear-gradient(145deg, #4f3524, #9f6a42 56%, #f3dcbf);
}

.media-shell--future {
    background: linear-gradient(145deg, #1a3947, #3f8b8f 56%, #ecd490);
}

.media-shell--gem {
    background: linear-gradient(145deg, #145164, #1d91b2 58%, #74f0dd);
}

.media-shell--sport {
    background: linear-gradient(145deg, #124448, #19907c 52%, #f0d77d);
}

.media-shell--marble {
    background: linear-gradient(145deg, #364667, #7a5b9f 56%, #f3c59f);
}

.media-shell--lagoon {
    background: linear-gradient(145deg, #0c4f5b, #1aa3b6 54%, #b7f3f4);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.section-heading > div {
    display: grid;
    gap: 0.85rem;
}

.split-layout > div:first-child {
    display: grid;
    align-content: start;
    gap: 1.15rem;
}

.featured-game-card,
.results-layout,
.contact-grid,
.auth-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.featured-game-card {
    display: grid;
    gap: 1.4rem;
    padding: 1.6rem;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 244, 0.98)),
        #ffffff;
    border: 1px solid rgba(15, 107, 86, 0.12);
    box-shadow: var(--shadow-lg);
}

.featured-game-copy,
.featured-game-ui,
.catalog-card__body,
.product-card__body,
.scratch-card__body,
.side-card,
.detail-card,
.step-card,
.support-card,
.auth-form,
.auth-note {
    display: grid;
    gap: 1.15rem;
}

.featured-game-stats,
.detail-grid,
.steps-grid,
.card-grid,
.catalog-grid,
.stat-stack {
    display: grid;
    gap: 1.15rem;
}

.featured-game-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
    padding: 1.15rem;
    border-radius: 22px;
}

.stat-card span {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--muted);
    font-size: 0.86rem;
}

.stat-card strong {
    color: var(--charcoal);
    font-size: 1.12rem;
}

.stat-card--accent {
    background: linear-gradient(135deg, rgba(15, 107, 86, 0.08), rgba(201, 154, 42, 0.12));
}

.countdown-panel {
    display: inline-grid;
    gap: 0.4rem;
    padding: 1rem 1.1rem;
    width: fit-content;
    border-radius: 20px;
    background: rgba(15, 107, 86, 0.08);
}

.countdown-panel span,
.countdown-inline,
.ticket-preview__label {
    color: var(--muted);
    font-size: 0.86rem;
}

.countdown-value {
    font-size: 1.2rem;
    color: var(--emerald-deep);
}

.number-balls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.number-ball {
    width: 46px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--charcoal);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.8), transparent 42%),
        linear-gradient(135deg, #f7e59e, #d2a73f);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66), 0 10px 20px rgba(201, 154, 42, 0.18);
}

.number-ball--bonus {
    color: #ffffff;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.24), transparent 42%),
        linear-gradient(135deg, var(--emerald), var(--emerald-deep));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 10px 20px rgba(15, 107, 86, 0.22);
}

.ui-card {
    display: grid;
    gap: 1.2rem;
    padding: 1.6rem;
    border-radius: var(--radius-xl);
}

.ui-card__head,
.ui-card__footer,
.result-feature__header,
.result-entry__head,
.product-card__header,
.scratch-card__meta,
.form-card__footer,
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.95rem;
}

.number-chip {
    border: 1px solid rgba(15, 32, 28, 0.08);
    border-radius: 999px;
    min-height: 74px;
    padding: 0.9rem 0.6rem;
    font-weight: 800;
    color: var(--charcoal);
    background: #fbfbf8;
}

.number-chip.is-selected {
    color: #ffffff;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
}

.quick-picks {
    display: grid;
    gap: 1rem;
    margin-top: 0;
}

.quick-pick-row {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: var(--surface-soft);
}

.card-grid--games {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid--scratch {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--einstants,
.steps-grid,
.detail-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card,
.catalog-card,
.scratch-card,
.result-feature,
.result-entry,
.side-card,
.detail-card,
.step-card,
.winner-card,
.support-card,
.map-placeholder,
.form-card,
.legal-section-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.product-card,
.catalog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover,
.catalog-card:hover,
.scratch-card:hover,
.winner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 48px rgba(20, 36, 31, 0.12);
}

.product-card__body,
.catalog-card__body,
.scratch-card__body,
.result-feature,
.result-entry,
.side-card,
.detail-card,
.step-card,
.support-card,
.map-placeholder,
.legal-section-card,
.form-card,
.winner-card {
    padding: 1.35rem;
}

.product-card__meta,
.catalog-card__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 0.3rem;
}

.product-card__meta span,
.catalog-card__meta span,
.result-entry__head p,
.result-feature__header p {
    display: block;
    font-size: 0.86rem;
    color: var(--muted);
}

.product-card__meta strong,
.catalog-card__meta strong,
.result-entry__head strong,
.result-feature__header strong {
    color: var(--charcoal);
}

.product-card__body,
.catalog-card__body {
    height: 100%;
    align-content: start;
}

.product-card__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.1rem;
    margin-top: auto;
    padding-top: 0.7rem;
}

.product-card__actions .text-link {
    padding-block: 0.35rem;
}

.scratch-card {
    display: flex;
    flex-direction: column;
}

.scratch-card__body {
    grid-template-columns: 1fr auto;
    align-items: center;
}

.results-layout {
    align-items: start;
}

.result-feature,
.result-entry {
    display: grid;
    gap: 1.15rem;
}

.result-entry__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 1rem;
}

.side-stack,
.faq-list,
.contact-stack,
.legal-content {
    display: grid;
    gap: 1.15rem;
}

.side-card--image {
    padding: 0;
}

.side-card--image img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.side-card--soft {
    background: linear-gradient(180deg, rgba(15, 107, 86, 0.05), rgba(255, 255, 255, 0.98));
}

.simple-list,
.footer-links,
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.simple-list li,
.footer-links li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(15, 32, 28, 0.08);
}

.simple-list li:last-child,
.footer-links li:last-child {
    border-bottom: 0;
}

.table-shell {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid rgba(15, 32, 28, 0.08);
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 420px;
    background: #ffffff;
}

.results-table th,
.results-table td {
    padding: 0.95rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(15, 32, 28, 0.07);
}

.results-table thead {
    background: var(--surface-soft);
}

.split-layout {
    grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
    align-items: start;
}

.faq-item {
    border-radius: 20px;
    border: 1px solid rgba(15, 32, 28, 0.08);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    padding: 1.15rem 1.25rem;
    font-weight: 800;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item__content {
    padding: 0.15rem 1.25rem 1.3rem;
}

.winner-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scroll-snap-type: x proximity;
}

.winner-card {
    position: relative;
    min-height: 220px;
    display: grid;
    align-content: end;
    gap: 0.65rem;
    background:
        radial-gradient(circle at top right, rgba(244, 200, 76, 0.22), transparent 28%),
        radial-gradient(circle at top left, rgba(15, 107, 86, 0.18), transparent 26%),
        #ffffff;
    scroll-snap-align: start;
}

.winner-card strong {
    font-size: 1.5rem;
    color: var(--charcoal);
}

.winner-card span:last-child {
    color: var(--muted);
    font-size: 0.86rem;
}

.confetti-dot {
    position: absolute;
    border-radius: 50%;
    opacity: 0.9;
}

.confetti-dot--one {
    top: 1.1rem;
    right: 1.5rem;
    width: 12px;
    height: 12px;
    background: var(--gold);
}

.confetti-dot--two {
    top: 1.7rem;
    right: 3.1rem;
    width: 8px;
    height: 8px;
    background: var(--emerald);
}

.cta-banner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.7rem;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 8% 18%, rgba(244, 200, 76, 0.22), transparent 20%),
        linear-gradient(135deg, rgba(22, 33, 30, 0.96), rgba(15, 107, 86, 0.92));
    color: #ffffff;
}

.cta-banner p,
.cta-banner .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
}

.filter-chip {
    border: 1px solid rgba(15, 32, 28, 0.08);
    background: rgba(255, 255, 255, 0.94);
    color: var(--charcoal-soft);
    padding: 0.75rem 1rem;
    border-radius: 999px;
    font-weight: 800;
}

.filter-chip.is-active {
    color: #ffffff;
    background: var(--emerald);
    border-color: var(--emerald);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.catalog-card.is-hidden,
.result-entry.is-hidden {
    display: none;
}

.results-toolbar {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.8fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.results-toolbar label,
.form-grid label,
.auth-form label {
    display: grid;
    gap: 0.55rem;
    font-weight: 700;
    color: var(--charcoal);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(15, 32, 28, 0.12);
    border-radius: 16px;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(15, 107, 86, 0.42);
    box-shadow: 0 0 0 4px rgba(15, 107, 86, 0.12);
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
    border-color: rgba(185, 68, 68, 0.52);
    box-shadow: 0 0 0 4px rgba(185, 68, 68, 0.12);
}

.pagination {
    justify-content: center;
    margin-top: 1.6rem;
}

.steps-grid {
    align-items: stretch;
}

.step-card {
    position: relative;
    min-height: 250px;
}

.step-card__index {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--gold), var(--emerald));
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.detail-grid {
    align-items: stretch;
}

.detail-card--emphasis {
    background: linear-gradient(180deg, rgba(15, 107, 86, 0.08), rgba(255, 255, 255, 0.96));
}

.page-about .detail-card {
    min-width: 0;
}

.page-about .detail-card h2 {
    font-size: clamp(1.8rem, 2.2vw, 2.65rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
}

.page-about .detail-card p {
    overflow-wrap: anywhere;
}

.stat-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-contact .contact-grid {
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
    align-items: start;
}

.page-contact .contact-stack {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    align-content: start;
}

.page-contact .detail-card--contact {
    min-width: 0;
    min-height: 0;
    padding: 1.55rem;
    align-content: start;
}

.page-contact .detail-card--contact-primary {
    background: linear-gradient(180deg, rgba(15, 107, 86, 0.08), rgba(255, 255, 255, 0.98));
    border-color: rgba(15, 107, 86, 0.12);
}

.page-contact .detail-card--contact h2 {
    font-size: clamp(1.3rem, 1.65vw, 2rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 16ch;
}

.page-contact .detail-card--contact-primary h2 {
    font-size: clamp(1.05rem, 1.25vw, 1.45rem);
    letter-spacing: -0.02em;
    max-width: none;
}

.page-contact .detail-card--contact p {
    overflow-wrap: anywhere;
    max-width: 38ch;
}

.page-contact .form-card--contact {
    min-width: 0;
    display: grid;
    gap: 1.3rem;
    align-content: start;
    padding: 1.7rem;
}

.page-contact .form-card--contact .form-card__head {
    margin-bottom: 0;
}

.page-contact .form-card--contact .form-grid {
    gap: 1.15rem;
}

.page-contact .form-card--contact .form-card__footer {
    margin-top: 0.15rem;
    align-items: flex-end;
}

.page-contact .form-card--contact .button {
    min-width: 210px;
}

.form-card {
    padding: 1.4rem;
}

.form-card__head {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1.15rem;
}

.form-alert {
    display: grid;
    gap: 0.35rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid transparent;
}

.form-alert strong {
    color: var(--charcoal);
}

.form-alert p {
    color: inherit;
}

.form-alert[hidden] {
    display: none;
}

.form-alert.is-success {
    color: #0b5b46;
    background: linear-gradient(180deg, rgba(15, 107, 86, 0.08), rgba(255, 255, 255, 0.96));
    border-color: rgba(15, 107, 86, 0.14);
}

.form-alert.is-warning {
    color: #785312;
    background: linear-gradient(180deg, rgba(201, 154, 42, 0.12), rgba(255, 255, 255, 0.96));
    border-color: rgba(201, 154, 42, 0.2);
}

.field-error {
    margin: -0.35rem 0 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #b94444;
}

.auth-form label.has-error,
.form-card label.has-error {
    color: #8f2f2f;
}

.auth-form label.has-error.checkbox-row,
.form-card label.has-error.checkbox-row {
    color: #8f2f2f;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.form-grid__full {
    grid-column: 1 / -1;
}

.map-placeholder {
    margin-top: 1rem;
    min-height: 260px;
    display: grid;
    place-items: center;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(15, 107, 86, 0.08), rgba(255, 255, 255, 0.94)),
        linear-gradient(90deg, rgba(15, 32, 28, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(15, 32, 28, 0.04) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
}

.check-list {
    display: grid;
    gap: 0.8rem;
}

.check-list li {
    position: relative;
    padding-left: 1.7rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--emerald));
}

.support-card {
    align-content: start;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 1.4rem;
}

.legal-nav {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    align-self: start;
    display: grid;
    gap: 0.85rem;
    padding: 1.1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 32, 28, 0.08);
    box-shadow: var(--shadow-sm);
}

.legal-nav nav {
    display: grid;
    gap: 0.25rem;
}

.legal-nav a {
    padding: 0.7rem 0.85rem;
    border-radius: 14px;
    color: var(--charcoal-soft);
    font-weight: 700;
}

.legal-nav a:hover {
    color: var(--emerald);
    background: rgba(15, 107, 86, 0.08);
}

.legal-content {
    min-width: 0;
}

.legal-section-card h2 {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    margin-bottom: 0.9rem;
}

.legal-section-card p + p {
    margin-top: 0.9rem;
}

.auth-section {
    position: relative;
    padding: 3rem 0 4rem;
}

.auth-grid {
    align-items: center;
}

.auth-copy {
    gap: 1.2rem;
}

.auth-note {
    padding: 1.15rem;
    border-radius: 22px;
}

.auth-form {
    width: min(100%, 640px);
    max-width: 640px;
    justify-self: end;
}

.auth-form label.checkbox-row,
.form-card label.checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: nowrap;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.35;
}

.auth-form label.checkbox-row input,
.form-card label.checkbox-row input {
    width: 18px;
    min-width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 18px;
}

.auth-form label.checkbox-row span,
.form-card label.checkbox-row span {
    display: block;
    min-width: 0;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
    font-weight: 700;
}

.site-footer {
    padding: 4.5rem 0 2rem;
    background:
        radial-gradient(circle at top right, rgba(201, 154, 42, 0.14), transparent 26%),
        linear-gradient(180deg, #16211e, #0d1513);
    color: rgba(255, 255, 255, 0.84);
}

html[dir="rtl"] body {
    direction: rtl;
}

html[dir="rtl"] .site-header__inner,
html[dir="rtl"] .site-header__panel,
html[dir="rtl"] .site-nav,
html[dir="rtl"] .site-actions,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .promo-meta,
html[dir="rtl"] .footer-socials {
    flex-direction: row-reverse;
}

html[dir="rtl"] .site-header__panel {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .section-heading,
html[dir="rtl"] .ui-card__head,
html[dir="rtl"] .ui-card__footer,
html[dir="rtl"] .result-feature__header,
html[dir="rtl"] .result-entry__head,
html[dir="rtl"] .product-card__header,
html[dir="rtl"] .form-card__footer,
html[dir="rtl"] .pagination,
html[dir="rtl"] .footer-meta,
html[dir="rtl"] .product-card__actions,
html[dir="rtl"] .scratch-card__body {
    flex-direction: row-reverse;
}

html[dir="rtl"] .simple-list li,
html[dir="rtl"] .footer-links li {
    flex-direction: row-reverse;
}

html[dir="rtl"] .check-list li {
    padding-left: 0;
    padding-right: 1.7rem;
}

html[dir="rtl"] .check-list li::before {
    left: auto;
    right: 0;
}

html[dir="rtl"] .legal-nav,
html[dir="rtl"] .legal-section-card,
html[dir="rtl"] .faq-item,
html[dir="rtl"] .detail-card,
html[dir="rtl"] .step-card,
html[dir="rtl"] .support-card,
html[dir="rtl"] .form-card,
html[dir="rtl"] .hero-copy,
html[dir="rtl"] .page-hero__grid > div,
html[dir="rtl"] .auth-copy {
    text-align: right;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 2rem;
}

.brand--footer .brand-copy strong,
.brand--footer .brand-copy span {
    color: rgba(255, 255, 255, 0.88);
}

.footer-brand {
    display: grid;
    gap: 1rem;
}

.footer-copy {
    max-width: 44ch;
    color: rgba(255, 255, 255, 0.72);
}

.footer-trust {
    display: grid;
    gap: 0.8rem;
}

.footer-trust-title {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.64);
}

.footer-trust-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.footer-trust-link,
.footer-trust-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    min-width: 58px;
    height: 60px;
    padding: 0.75rem 0.95rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.footer-trust-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.footer-trust img {
    display: block;
    width: auto;
        height: 100%;
    object-fit: contain;
}

.footer-trust-badge img {
    max-width: 36px;
    max-height: 36px;
}

.footer-title {
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.footer-links a,
.footer-links span {
    color: rgba(255, 255, 255, 0.76);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-socials {
    display: flex;
    gap: 0.7rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: end;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-disclaimers {
    display: grid;
    gap: 0.65rem;
    max-width: 68ch;
}

.footer-legal {
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1100px) {
    .hero-grid,
    .page-hero__grid,
    .featured-game-card,
    .results-layout,
    .contact-grid,
    .auth-grid,
    .split-layout,
    .legal-layout,
    .cta-banner {
        grid-template-columns: 1fr;
    }

    .card-grid--games,
    .catalog-grid,
    .detail-grid,
    .steps-grid,
    .card-grid--einstants {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-highlights,
    .featured-game-stats,
    .contact-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .promo-panel {
        position: static;
        width: 100%;
        margin-top: 1rem;
    }

    .auth-form {
        justify-self: stretch;
        max-width: none;
    }

    .page-contact .contact-grid {
        grid-template-columns: 1fr;
    }

    .legal-nav {
        position: static;
    }

    .site-footer__grid,
    .footer-meta {
        grid-template-columns: 1fr;
        display: grid;
    }
}

@media (max-width: 860px) {
    :root {
        --header-h: 82px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-header__panel {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 1rem;
        right: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.97);
        box-shadow: var(--shadow-lg);
        border: 1px solid rgba(15, 32, 28, 0.08);
    }

    .site-header__panel.is-open,
    body.nav-open .site-header__panel {
        display: flex;
    }

    .site-nav,
    .site-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .language-switcher {
        align-self: flex-start;
        width: auto;
        max-width: max-content;
    }

    .site-nav a,
    .text-link {
        padding: 0.7rem 0;
    }

    .hero-highlights,
    .featured-game-stats,
    .product-card__meta,
    .catalog-card__meta,
    .form-grid,
    .results-toolbar,
    .result-entry__grid,
    .stat-stack {
        grid-template-columns: 1fr;
    }

    .card-grid--games,
    .card-grid--scratch,
    .card-grid--einstants,
    .catalog-grid,
    .detail-grid,
    .steps-grid,
    .contact-stack {
        grid-template-columns: 1fr;
    }

    .scratch-card__body,
    .ui-card__head,
    .ui-card__footer,
    .result-feature__header,
    .result-entry__head,
    .product-card__header,
    .form-card__footer,
    .pagination,
    .footer-meta {
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 640px) {
    body {
        padding-top: 78px;
    }

    .section {
        padding: 4rem 0;
    }

    .hero-section,
    .page-hero,
    .auth-section {
        padding-top: 2.2rem;
    }

    .container {
        width: min(calc(100% - 1.25rem), var(--container));
    }

    .site-header__inner {
        gap: 0.85rem;
    }

    .brand-logo {
        width: 58px;
        height: 58px;
    }

    .brand--footer .brand-logo {
        width: 76px;
        height: 76px;
    }

    .brand-copy span {
        display: none;
    }

    .page-contact .form-card--contact .button {
        width: 100%;
        min-width: 0;
    }

    .featured-game-card,
    .cta-banner,
    .form-card,
    .legal-section-card,
    .result-entry,
    .result-feature {
        padding: 1rem;
    }

    .number-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .winner-slider {
        grid-auto-columns: 85%;
    }
}
