/* sg-surface v3 - Spin Granny presentation tokens */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('fonts/plus-jakarta-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('fonts/plus-jakarta-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('fonts/bricolage-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --sg-ink: #08041a;
    --sg-deep: #0f0828;
    --sg-panel: #1a1040;
    --sg-panel-alt: #241558;
    --sg-edge: rgba(168, 140, 255, 0.14);
    --sg-gold: #f5b820;
    --sg-gold-lit: #ffd04a;
    --sg-gold-shadow: rgba(245, 184, 32, 0.35);
    --sg-text: #f2eeff;
    --sg-muted: #a89bcc;
    --sg-ghost: rgba(255, 255, 255, 0.08);
    --sg-radius: 14px;
    --sg-radius-sm: 10px;
    --sg-font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --sg-font-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif;
    --sg-max: 1280px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sg-font-body);
    line-height: 1.55;
    color: var(--sg-text);
    background: var(--sg-ink);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(88, 48, 180, 0.35), transparent),
        linear-gradient(180deg, var(--sg-deep) 0%, var(--sg-ink) 100%);
    min-height: 100vh;
}

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

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

/* ── Masthead shell ── */
.sg-viewport {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(8, 4, 26, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sg-edge);
}

.sg-masthead-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: var(--sg-max);
    margin: 0 auto;
    padding: 12px 20px 8px;
}

.sg-brand-mark img {
    height: 36px;
    width: auto;
}

.sg-brand-text {
    font-family: var(--sg-font-display);
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    color: var(--sg-gold);
}

.sg-brand-spacer {
    display: inline-block;
    width: 1px;
}

.sg-masthead-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* ── Buttons ── */
.sg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: var(--sg-radius-sm);
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    white-space: nowrap;
}

.sg-btn-gold {
    background: linear-gradient(135deg, var(--sg-gold) 0%, var(--sg-gold-lit) 100%);
    color: #1a0a00;
    box-shadow: 0 4px 16px var(--sg-gold-shadow);
}

.sg-btn-gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px var(--sg-gold-shadow);
}

.sg-btn-ghost {
    background: var(--sg-ghost);
    color: var(--sg-text);
    border: 1px solid var(--sg-edge);
}

.sg-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

.sg-btn-outline {
    background: transparent;
    color: var(--sg-text);
    border: 1px solid var(--sg-edge);
    padding: 7px 14px;
    font-size: 0.8rem;
}

.sg-btn-outline:hover {
    border-color: var(--sg-gold);
    color: var(--sg-gold);
}

.sg-btn-sm {
    padding: 7px 14px;
    font-size: 0.78rem;
}

/* ── Ribbon navigation (desktop row under header) ── */
.sg-ribbon {
    border-top: 1px solid var(--sg-edge);
    overflow-x: auto;
    scrollbar-width: none;
}

.sg-ribbon::-webkit-scrollbar {
    display: none;
}

.sg-ribbon-list {
    display: flex;
    align-items: stretch;
    gap: 4px;
    list-style: none;
    max-width: var(--sg-max);
    margin: 0 auto;
    padding: 6px 16px 10px;
}

.sg-ribbon-item {
    flex-shrink: 0;
}

.sg-ribbon-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--sg-radius-sm);
    color: var(--sg-muted);
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.15s, color 0.15s;
}

.sg-ribbon-link:hover,
.sg-ribbon-link--active {
    background: var(--sg-panel-alt);
    color: var(--sg-gold);
}

.sg-ribbon-glyph {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ── Burger + drawer (mobile) ── */
.sg-burger {
    display: none;
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 1100;
    width: 42px;
    height: 42px;
    padding: 9px;
    background: var(--sg-panel);
    border: 1px solid var(--sg-edge);
    border-radius: var(--sg-radius-sm);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.sg-burger-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--sg-text);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.sg-burger[aria-expanded="true"] .sg-burger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.sg-burger[aria-expanded="true"] .sg-burger-bar:nth-child(2) {
    opacity: 0;
}

.sg-burger[aria-expanded="true"] .sg-burger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.sg-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1050;
}

.sg-drawer-overlay.sg-drawer-overlay--visible {
    display: block;
}

.sg-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--sg-deep);
    border-right: 1px solid var(--sg-edge);
    z-index: 1060;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    padding: 70px 0 24px;
}

.sg-drawer.sg-drawer--open {
    transform: translateX(0);
}

.sg-drawer-list {
    list-style: none;
}

.sg-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    color: var(--sg-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--sg-edge);
    transition: background 0.15s, color 0.15s;
}

.sg-drawer-link:hover,
.sg-drawer-link--active {
    background: var(--sg-panel);
    color: var(--sg-gold);
}

/* ── Main stage ── */
.sg-stage {
    max-width: var(--sg-max);
    margin: 0 auto;
    padding: 20px 20px 48px;
}

/* ── Breadcrumbs ── */
.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.82rem;
    color: var(--sg-muted);
}

.breadcrumb-link {
    color: var(--sg-muted);
    transition: color 0.15s;
}

.breadcrumb-link:hover {
    color: var(--sg-gold);
}

.breadcrumb-divider {
    opacity: 0.5;
}

/* ── Hero carousel / banner slider ── */
.sg-hero-carousel {
    position: relative;
    margin-bottom: 28px;
    border-radius: var(--sg-radius);
    overflow: hidden;
    background: var(--sg-panel);
    border: 1px solid var(--sg-edge);
}

.sg-hero-viewport {
    position: relative;
    overflow: hidden;
}

.sg-hero-track {
    display: flex;
    transition: transform 0.45s ease;
}

.sg-hero-slide {
    flex: 0 0 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sg-hero-picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 120px;
    padding: 8px;
    background: linear-gradient(135deg, var(--sg-panel) 0%, var(--sg-panel-alt) 100%);
}

.sg-hero-picture img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: contain;
}

.sg-hero-caption {
    padding: 16px 20px 20px;
    text-align: center;
    width: 100%;
}

.sg-hero-title {
    font-family: var(--sg-font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 8px;
    color: var(--sg-text);
}

.sg-hero-sub {
    font-size: 0.9rem;
    color: var(--sg-muted);
    margin-bottom: 14px;
}

.sg-hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0 14px;
}

.sg-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sg-ghost);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.sg-hero-dot--active {
    background: var(--sg-gold);
    transform: scale(1.25);
}

/* Legacy promo classes (other pages) */
.promotional-banners {
    margin-bottom: 28px;
}

.promo-banner {
    border-radius: var(--sg-radius);
    overflow: hidden;
    background: var(--sg-panel);
    border: 1px solid var(--sg-edge);
    margin-bottom: 12px;
}

.promo-banner picture {
    display: flex;
    justify-content: center;
    padding: 8px;
}

.promo-banner-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: contain;
}

.promo-banner-content {
    padding: 16px 20px 20px;
    text-align: center;
}

.promo-banner-title {
    font-family: var(--sg-font-display);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.promo-banner-text {
    color: var(--sg-muted);
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.promo-banner-btn {
    display: inline-flex;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--sg-gold), var(--sg-gold-lit));
    color: #1a0a00;
    border-radius: var(--sg-radius-sm);
    font-weight: 700;
}

/* ── Game slots grid ── */
.game-section,
.sg-games-block {
    margin-bottom: 36px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}

.section-title {
    font-family: var(--sg-font-display);
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: var(--sg-text);
    letter-spacing: 0.02em;
}

.show-all-btn {
    padding: 7px 16px;
    border: 1px solid var(--sg-edge);
    border-radius: var(--sg-radius-sm);
    color: var(--sg-muted);
    font-size: 0.82rem;
    font-weight: 600;
    transition: border-color 0.15s, color 0.15s;
}

.show-all-btn:hover {
    border-color: var(--sg-gold);
    color: var(--sg-gold);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 14px;
}

.game-card {
    background: var(--sg-panel);
    border: 1px solid var(--sg-edge);
    border-radius: var(--sg-radius);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.game-card:hover {
    border-color: var(--sg-gold);
    transform: translateY(-2px);
}

.game-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sg-panel-alt);
    min-height: 140px;
    padding: 6px;
}

.game-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
}

.sg-slot-actions {
    display: flex;
    gap: 6px;
    padding: 8px;
    justify-content: center;
}

.game-title {
    padding: 8px 10px 12px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sg-muted);
}

.game-play-btn {
    flex: 1;
    text-align: center;
    padding: 7px 10px;
    border-radius: var(--sg-radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
}

.game-play-btn.sg-btn-gold {
    flex: 1;
}

/* ── Bonuses ── */
.bonuses-section {
    margin-bottom: 34px;
}

.bonuses-section .section-title {
    background: linear-gradient(120deg, #fff 30%, var(--sg-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.bonus-card {
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(280px 160px at 100% 0%, rgba(245, 184, 32, 0.14), transparent 55%),
        linear-gradient(155deg, rgba(42, 27, 110, 0.95), rgba(18, 11, 50, 0.98));
    border: 1px solid rgba(245, 184, 32, 0.22);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bonus-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 184, 32, 0.45);
    box-shadow: 0 18px 40px rgba(245, 184, 32, 0.16);
}

.bonus-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    background:
        radial-gradient(circle at 30% 20%, rgba(245, 184, 32, 0.18), transparent 50%),
        #140c36;
    overflow: hidden;
}

.bonus-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.bonus-card:hover .bonus-image {
    transform: scale(1.04);
}

.bonus-content {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.bonus-name {
    font-family: var(--sg-font-display);
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--sg-text);
}

.bonus-description {
    margin: 0;
    font-size: 0.875rem;
    color: var(--sg-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bonus-value {
    margin-top: 4px;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--sg-gold);
    letter-spacing: 0.01em;
}

.bonus-value strong {
    background: linear-gradient(120deg, var(--sg-gold), var(--sg-gold-lit));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bonus-category {
    order: -1;
}

.bonus-category-badge {
    display: inline-block;
    padding: 5px 11px;
    background: rgba(61, 222, 168, 0.12);
    color: #3dde8a;
    border: 1px solid rgba(61, 222, 168, 0.35);
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bonus-terms {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    color: var(--sg-muted);
}

.bonus-cta-row {
    padding-top: 6px;
}

/* ── SEO text block (only place with h1/h2/h3) ── */
.text-content {
    max-width: 920px;
    margin: 28px auto 0;
    padding: 8px 4px 20px;
}

.sg-prose-panel {
    padding: clamp(18px, 3vw, 28px);
    border-radius: 22px;
    background:
        radial-gradient(520px 220px at 0% 0%, rgba(245, 184, 32, 0.1), transparent 55%),
        linear-gradient(165deg, rgba(34, 20, 86, 0.72), rgba(12, 7, 36, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.sg-contact-wrap .sg-prose-panel,
.sg-doc-wrap .sg-prose-panel {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
}

.text-content h1 {
    font-family: var(--sg-font-display);
    font-size: clamp(1.7rem, 3.4vw, 2rem);
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.sg-prose-panel > h1 {
    background: linear-gradient(120deg, #fff 35%, var(--sg-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-content h2 {
    font-family: var(--sg-font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 28px 0 12px;
    position: relative;
    padding-bottom: 8px;
    color: var(--sg-text);
}

.sg-prose-panel > h2::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin-top: 8px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--sg-gold), transparent);
}

.text-content h3 {
    font-family: var(--sg-font-display);
    font-size: 1.12rem;
    font-weight: 700;
    margin: 22px 0 10px;
    color: var(--sg-gold);
}

.text-content p {
    margin-bottom: 14px;
    color: var(--sg-muted);
    line-height: 1.7;
    font-size: 0.92rem;
}

.sg-prose-panel > p:first-of-type {
    color: var(--sg-text);
}

.text-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--sg-radius);
    margin: 18px 0;
}

.text-content a {
    color: var(--sg-gold);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

.text-content a:hover {
    color: var(--sg-gold-lit);
}

.text-content blockquote {
    margin: 18px 0;
    padding: 14px 16px;
    border-left: 3px solid var(--sg-gold-lit);
    background: rgba(245, 184, 32, 0.08);
    border-radius: 0 var(--sg-radius) var(--sg-radius) 0;
    color: var(--sg-text);
}

.text-content ul,
.text-content ol {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--sg-muted);
}

.text-content li {
    margin-bottom: 8px;
}

/* ── Tables with horizontal scroll on mobile ── */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 18px 0;
    border-radius: var(--sg-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(18, 11, 50, 0.65);
}

.table-wrapper table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
}

.text-content th,
.text-content td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    font-size: 0.88rem;
}

.text-content th {
    background: rgba(255, 255, 255, 0.04);
    color: var(--sg-text);
    font-weight: 700;
    white-space: nowrap;
}

.text-content td {
    color: var(--sg-muted);
}

.text-content caption {
    padding: 10px;
    font-weight: 700;
    color: var(--sg-text);
    caption-side: top;
    text-align: left;
}

/* ── FAQ accordion ── */
.sg-faq-stack {
    margin: 20px 0;
}

.sg-faq-entry {
    background: var(--sg-panel-alt);
    border: 1px solid var(--sg-edge);
    border-radius: var(--sg-radius-sm);
    margin-bottom: 8px;
    overflow: hidden;
}

.sg-faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--sg-text);
    list-style: none;
    user-select: none;
}

.sg-faq-trigger::-webkit-details-marker {
    display: none;
}

.sg-faq-trigger::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--sg-gold);
    border-bottom: 2px solid var(--sg-gold);
    transform: rotate(45deg);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 12px;
}

.sg-faq-entry[open] .sg-faq-trigger::after {
    transform: rotate(-135deg);
}

.sg-faq-panel {
    padding: 0 18px 14px;
}

.sg-faq-panel p {
    font-size: 0.88rem;
    color: var(--sg-muted);
    line-height: 1.55;
}

/* ── HowTo ── */
.howto-wrapper {
    margin: 20px 0;
    padding: 18px;
    background: var(--sg-panel-alt);
    border: 1px solid var(--sg-edge);
    border-radius: var(--sg-radius);
}

.howto-steps-list {
    list-style: none;
    counter-reset: sg-step;
}

.howto-step-item {
    counter-increment: sg-step;
    padding: 12px 14px;
    margin-bottom: 8px;
    background: var(--sg-panel);
    border-radius: var(--sg-radius-sm);
    border-left: 3px solid var(--sg-gold);
}

.howto-step-item::before {
    content: counter(sg-step) ".";
    font-weight: 700;
    color: var(--sg-gold);
    margin-right: 8px;
}

.howto-step-item strong {
    display: block;
    margin-bottom: 4px;
}

.howto-step-item p {
    font-size: 0.88rem;
    color: var(--sg-muted);
}

.list-container ul,
.list-container ol {
    margin: 14px 0;
    padding-left: 22px;
    color: var(--sg-muted);
}

/* ── Payment methods ── */
.payment-methods-section {
    margin: 36px 0;
    padding: 24px;
    background: linear-gradient(135deg, rgba(245, 184, 32, 0.12) 0%, var(--sg-panel) 100%);
    border: 1px solid rgba(245, 184, 32, 0.2);
    border-radius: var(--sg-radius);
}

.payment-methods-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}

.payment-method-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--sg-panel);
    border: 1px solid var(--sg-edge);
    border-radius: var(--sg-radius-sm);
    min-width: 90px;
}

.payment-method-image {
    max-height: 32px;
    width: auto;
    object-fit: contain;
}

.payment-method-name {
    font-size: 0.72rem;
    color: var(--sg-muted);
    font-weight: 600;
}

/* ── App page ── */
.sg-app-panel {
    display: grid;
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
    margin: 10px 0 28px;
    padding: clamp(16px, 3vw, 24px);
    border-radius: 26px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(520px 260px at 0% 0%, rgba(245, 184, 32, 0.18), transparent 55%),
        radial-gradient(480px 280px at 100% 20%, rgba(88, 48, 180, 0.42), transparent 58%),
        linear-gradient(160deg, rgba(34, 20, 86, 0.96), rgba(10, 6, 30, 0.98));
    border: 1px solid rgba(245, 184, 32, 0.26);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
    animation: sg-error-rise 0.5s ease both;
}

.sg-app-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

.sg-app-phone {
    width: min(100%, 168px);
    aspect-ratio: 9 / 16;
    border-radius: 28px;
    padding: 8px;
    background: linear-gradient(160deg, #2a1b6e, #120b32);
    border: 2px solid rgba(245, 184, 32, 0.45);
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.4),
        0 0 0 4px rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 2;
    overflow: hidden;
    transform: rotate(-3deg);
    transition: transform 0.25s ease;
}

.sg-app-phone:hover {
    transform: rotate(0deg) translateY(-4px);
}

.sg-app-phone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.sg-app-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
    z-index: 1;
}

.sg-app-orb-a {
    width: 90px;
    height: 90px;
    top: 12%;
    left: 4%;
    background: radial-gradient(circle, rgba(245, 184, 32, 0.45), transparent 70%);
    animation: sg-error-glow 3s ease-in-out infinite;
}

.sg-app-orb-b {
    width: 70px;
    height: 70px;
    bottom: 10%;
    right: 8%;
    background: radial-gradient(circle, rgba(61, 222, 168, 0.35), transparent 70%);
}

.app-info-table-wrapper {
    margin: 0;
    min-width: 0;
}

.app-info-table-container {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(10, 6, 30, 0.55);
    height: 100%;
}

.app-info-table {
    min-width: 360px;
    width: 100%;
    border-collapse: collapse;
}

.app-info-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.15s ease;
}

.app-info-row:hover {
    background: rgba(245, 184, 32, 0.05);
}

.app-info-row:last-child td {
    border-bottom: 0;
}

.app-info-label-cell {
    padding: 14px 12px;
    text-align: center;
    width: 72px;
    vertical-align: middle;
}

.app-info-label-wrapper {
    width: 42px;
    height: 42px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #1a0a00;
    background: linear-gradient(160deg, var(--sg-gold), var(--sg-gold-lit));
    box-shadow: 0 6px 14px var(--sg-gold-shadow);
}

.app-info-value-cell {
    padding: 14px 16px;
    vertical-align: middle;
    color: var(--sg-text);
    line-height: 1.55;
    font-size: 0.9rem;
}

.app-info-icon {
    width: 22px;
    height: 22px;
}

.app-name-with-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-name-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-name-text {
    font-weight: 700;
    font-family: var(--sg-font-display);
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    color: var(--sg-text);
}

.app-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 12px 20px;
    background: linear-gradient(160deg, var(--sg-gold), var(--sg-gold-lit));
    color: #1a0a00;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.98rem;
    animation: sg-error-pulse 2.6s ease-in-out infinite;
}

@media (max-width: 860px) {
    .sg-app-panel {
        grid-template-columns: 1fr;
    }

    .sg-app-visual {
        min-height: 200px;
    }

    .sg-app-phone {
        width: 132px;
        transform: rotate(0deg);
    }
}

/* ── Footer ── */
.sg-footer {
    margin-top: auto;
    position: relative;
    overflow: hidden;
    color: var(--sg-text);
    background:
        radial-gradient(700px 280px at 12% 0%, rgba(245, 184, 32, 0.12), transparent 55%),
        radial-gradient(640px 260px at 88% 8%, rgba(88, 48, 180, 0.42), transparent 58%),
        linear-gradient(180deg, #160d3a 0%, var(--sg-deep) 55%, var(--sg-ink) 100%);
    border-top: 1px solid rgba(245, 184, 32, 0.18);
}

.sg-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--sg-gold), var(--sg-gold-lit), transparent);
    opacity: 0.85;
    pointer-events: none;
}

.sg-footer-shell {
    max-width: var(--sg-max);
    margin: 0 auto;
    padding: 34px 20px 28px;
    position: relative;
    z-index: 1;
}

.sg-footer-pay {
    margin-bottom: 28px;
    padding: 18px 18px 16px;
    border-radius: var(--sg-radius);
    background: linear-gradient(145deg, rgba(42, 27, 110, 0.72), rgba(18, 11, 50, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.sg-footer-pay-label {
    font-family: var(--sg-font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sg-gold);
    margin-bottom: 14px;
    text-align: center;
}

.sg-footer-pay-rail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.sg-footer-pay-chip {
    min-width: 102px;
    height: 54px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sg-footer-pay-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(245, 184, 32, 0.22);
}

.sg-footer-pay-img {
    max-width: 78px;
    max-height: 28px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sg-footer-pay-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1a0f00;
}

.sg-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, minmax(140px, 1fr));
    gap: 28px 22px;
    margin-bottom: 26px;
}

.sg-footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sg-footer-brand {
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

.sg-footer-brand-img {
    max-height: 48px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(245, 184, 32, 0.28));
}

.sg-footer-brand-text {
    font-family: var(--sg-font-display);
    font-weight: 700;
    color: var(--sg-text);
    font-size: 1.35rem;
    letter-spacing: 0.03em;
}

.sg-footer-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sg-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.8125rem;
    border: 1px solid transparent;
    transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.sg-footer-btn:hover {
    transform: translateY(-1px);
}

.sg-footer-btn--gold {
    background: linear-gradient(160deg, var(--sg-gold), var(--sg-gold-lit));
    color: #1a0a00;
    box-shadow: 0 6px 16px var(--sg-gold-shadow);
}

.sg-footer-btn--accent {
    background: linear-gradient(160deg, #3dde8a, #1fb888);
    color: #04140f;
    box-shadow: 0 6px 16px rgba(61, 222, 168, 0.22);
}

.sg-footer-btn--ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--sg-text);
    border-color: rgba(168, 140, 255, 0.4);
}

.sg-footer-heading {
    font-family: var(--sg-font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sg-text);
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 8px;
}

.sg-footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--sg-gold), transparent);
}

.sg-footer-links {
    list-style: none;
}

.sg-footer-links li {
    margin-bottom: 9px;
}

.sg-footer-links a {
    color: var(--sg-muted);
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.15s ease, transform 0.15s ease;
}

.sg-footer-links a:hover,
.sg-footer-link--active {
    color: var(--sg-gold);
    transform: translateX(2px);
}

.sg-footer-social {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.sg-footer-social-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--sg-text);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.sg-footer-social-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 184, 32, 0.45);
    background: rgba(245, 184, 32, 0.1);
}

.sg-footer-social-img {
    max-height: 22px;
    width: auto;
}

.sg-footer-base {
    text-align: center;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sg-footer-safe {
    margin-bottom: 16px;
}

.sg-footer-safe-label {
    font-family: var(--sg-font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sg-muted);
    margin-bottom: 12px;
}

.sg-footer-safe-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.sg-footer-safe-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.18s ease, background 0.18s ease;
}

.sg-footer-safe-chip:hover {
    border-color: rgba(61, 222, 168, 0.45);
    background: rgba(61, 222, 168, 0.08);
}

.sg-safe-badge {
    max-width: 92px;
    max-height: 28px;
    width: auto;
    height: auto;
    opacity: 0.92;
}

.sg-footer-copy {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--sg-text);
    margin-bottom: 6px;
}

.sg-footer-note {
    font-size: 0.75rem;
    color: var(--sg-muted);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.55;
}

/* ── 404 page ── */
.sg-error-page {
    text-align: center;
    max-width: 640px;
    margin: 28px auto 12px;
    padding: clamp(40px, 8vw, 72px) clamp(20px, 5vw, 40px);
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(420px 220px at 50% 0%, rgba(245, 184, 32, 0.22), transparent 60%),
        radial-gradient(380px 220px at 15% 100%, rgba(88, 48, 180, 0.45), transparent 55%),
        radial-gradient(320px 180px at 90% 80%, rgba(61, 222, 168, 0.14), transparent 50%),
        linear-gradient(160deg, rgba(34, 20, 86, 0.92), rgba(10, 6, 30, 0.96));
    border: 1px solid rgba(245, 184, 32, 0.28);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: sg-error-rise 0.55s ease both;
}

.sg-error-page::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    top: -36px;
    right: -28px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 184, 32, 0.35), transparent 70%);
    pointer-events: none;
}

.sg-error-page::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.04) 48%, transparent 56%);
    pointer-events: none;
}

.sg-error-code {
    font-family: var(--sg-font-display);
    font-size: clamp(5rem, 16vw, 7.5rem);
    line-height: 0.9;
    margin: 0 auto 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: linear-gradient(160deg, #ffe082 0%, var(--sg-gold) 40%, var(--sg-gold-lit) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 8px 24px rgba(245, 184, 32, 0.35));
    position: relative;
    z-index: 1;
    animation: sg-error-glow 2.8s ease-in-out infinite;
}

.sg-error-title {
    font-family: var(--sg-font-display);
    font-size: clamp(1.25rem, 3.2vw, 1.7rem);
    margin: 0 auto 14px;
    max-width: 28ch;
    line-height: 1.25;
    color: var(--sg-text);
    position: relative;
    z-index: 1;
}

.sg-error-desc {
    color: var(--sg-muted);
    margin: 0 auto 28px;
    max-width: 42ch;
    line-height: 1.65;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.sg-error-btn {
    position: relative;
    z-index: 1;
    min-width: 200px;
    padding: 13px 26px;
    font-size: 1rem;
    border-radius: 14px;
    animation: sg-error-pulse 2.4s ease-in-out infinite;
}

@keyframes sg-error-rise {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes sg-error-glow {
    0%, 100% {
        filter: drop-shadow(0 8px 24px rgba(245, 184, 32, 0.3));
    }
    50% {
        filter: drop-shadow(0 10px 32px rgba(255, 208, 74, 0.55));
    }
}

@keyframes sg-error-pulse {
    0%, 100% {
        box-shadow: 0 6px 18px var(--sg-gold-shadow);
    }
    50% {
        box-shadow: 0 8px 28px rgba(245, 184, 32, 0.45);
    }
}

/* ── Contact / help-support ── */
.sg-contact-wrap {
    position: relative;
    margin: 10px auto 8px;
    max-width: 860px;
    padding: clamp(22px, 4vw, 36px);
    border-radius: 26px;
    overflow: hidden;
    background:
        radial-gradient(520px 240px at 12% -10%, rgba(245, 184, 32, 0.2), transparent 55%),
        radial-gradient(480px 260px at 100% 20%, rgba(88, 48, 180, 0.4), transparent 58%),
        radial-gradient(420px 220px at 40% 110%, rgba(61, 222, 168, 0.12), transparent 50%),
        linear-gradient(165deg, rgba(34, 20, 86, 0.94), rgba(12, 7, 36, 0.98));
    border: 1px solid rgba(245, 184, 32, 0.26);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
    animation: sg-error-rise 0.5s ease both;
}

.sg-contact-wrap::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -50px;
    top: -40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 184, 32, 0.28), transparent 70%);
    pointer-events: none;
}

.sg-contact-wrap .text-content {
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.sg-contact-wrap .text-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    letter-spacing: 0.02em;
    background: linear-gradient(120deg, #fff 20%, var(--sg-gold) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 14px;
}

.sg-contact-wrap .text-content > p:first-of-type {
    font-size: 1.05rem;
    color: var(--sg-text);
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sg-contact-wrap .text-content h2 {
    margin-top: 28px;
    padding-top: 6px;
    color: var(--sg-text);
}

.sg-contact-wrap .text-content h2::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 8px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--sg-gold), transparent);
}

.sg-contact-wrap .text-content h3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(245, 184, 32, 0.18), rgba(245, 184, 32, 0.08));
    border: 1px solid rgba(245, 184, 32, 0.35);
    color: var(--sg-gold);
    font-size: 0.98rem;
}

.sg-contact-wrap .text-content h3 + p {
    margin-top: 10px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(10, 6, 30, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--sg-text);
}

.sg-contact-wrap .text-content a {
    color: var(--sg-gold);
    font-weight: 700;
    border-bottom: 1px solid rgba(245, 184, 32, 0.45);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.sg-contact-wrap .text-content a:hover {
    color: var(--sg-gold-lit);
    border-bottom-color: var(--sg-gold-lit);
}

/* ── Legal docs: privacy / terms ── */
.sg-doc-wrap {
    position: relative;
    margin: 10px auto 8px;
    max-width: 920px;
    padding: clamp(22px, 4vw, 38px);
    border-radius: 26px;
    overflow: hidden;
    background:
        radial-gradient(560px 240px at 8% -8%, rgba(245, 184, 32, 0.16), transparent 55%),
        radial-gradient(500px 280px at 100% 0%, rgba(88, 48, 180, 0.38), transparent 58%),
        linear-gradient(165deg, rgba(34, 20, 86, 0.94), rgba(12, 7, 36, 0.98));
    border: 1px solid rgba(245, 184, 32, 0.22);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
    animation: sg-error-rise 0.5s ease both;
}

.sg-doc-wrap::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--sg-gold), var(--sg-gold-lit), transparent);
    opacity: 0.85;
    pointer-events: none;
}

.sg-doc-wrap .text-content {
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.sg-doc-wrap .text-content h1 {
    font-size: clamp(1.7rem, 3.6vw, 2.2rem);
    letter-spacing: 0.02em;
    background: linear-gradient(120deg, #fff 25%, var(--sg-gold) 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}

.sg-doc-wrap .text-content > p:first-of-type {
    color: var(--sg-text);
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.sg-doc-wrap .text-content h2 {
    margin-top: 30px;
    color: var(--sg-text);
    position: relative;
    padding-left: 14px;
}

.sg-doc-wrap .text-content h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 4px;
    height: 1em;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--sg-gold), var(--sg-gold-lit));
}

.sg-doc-wrap .text-content h3 {
    color: var(--sg-gold);
    margin-top: 20px;
}

.sg-doc-wrap .text-content p {
    color: var(--sg-muted);
    line-height: 1.7;
}

.sg-doc-wrap .text-content ul,
.sg-doc-wrap .text-content ol {
    padding: 14px 18px 14px 34px;
    border-radius: 16px;
    background: rgba(10, 6, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--sg-text);
}

.sg-doc-wrap .text-content li {
    margin-bottom: 10px;
}

.sg-doc-wrap .text-content a {
    color: var(--sg-gold);
    font-weight: 700;
    border-bottom: 1px solid rgba(245, 184, 32, 0.4);
}

.sg-doc-wrap .text-content a:hover {
    color: var(--sg-gold-lit);
    border-bottom-color: var(--sg-gold-lit);
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .sg-burger {
        display: flex;
    }

    .sg-ribbon {
        display: none;
    }

    .sg-masthead-row {
        padding-left: 62px;
        padding-right: 14px;
    }

    .sg-masthead-actions .sg-btn {
        padding: 8px 12px;
        font-size: 0.78rem;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }

    .bonuses-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sg-stage {
        padding: 14px 12px 36px;
    }

    .text-content {
        padding: 18px 16px;
        margin-top: 28px;
    }

    .sg-hero-picture img {
        max-height: 220px;
    }

    .sg-slot-actions {
        flex-direction: column;
    }

    .payment-methods-grid {
        gap: 8px;
    }

    .sg-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }

    .sg-footer-brand-col {
        grid-column: 1 / -1;
    }

    .sg-footer-pay-chip {
        min-width: 88px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .sg-masthead-row {
        padding-left: 58px;
        padding-right: 10px;
        gap: 6px;
    }

    .sg-brand-mark img {
        height: 28px;
        max-width: 88px;
    }

    .sg-masthead-actions {
        gap: 4px;
    }

    .sg-masthead-actions .sg-btn {
        padding: 7px 9px;
        font-size: 0.68rem;
    }

    .sg-footer-grid {
        grid-template-columns: 1fr;
    }

    .sg-footer-cta {
        width: 100%;
    }

    .sg-footer-btn {
        flex: 1 1 auto;
    }
}
