/* ── Spin Granny FR surface styles ── */
@font-face {
    font-family: 'OutfitLocal';
    src: url('../fonts/outfit-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: 'DmSansLocal';
    src: url('../fonts/dmsans-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DmSansLocal';
    src: url('../fonts/dmsans-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --sg-bg-deep: #08051a;
    --sg-bg-panel: #14102e;
    --sg-bg-card: #1e1640;
    --sg-bg-card-hover: #2a2060;
    --sg-accent-gold: #f5b732;
    --sg-accent-orange: #e8940a;
    --sg-accent-gradient: linear-gradient(180deg, #ffd056 0%, #e8940a 100%);
    --sg-text-primary: #f4f0ff;
    --sg-text-muted: #a89ec8;
    --sg-border-soft: rgba(168, 158, 200, 0.18);
    --sg-radius-sm: 8px;
    --sg-radius-md: 12px;
    --sg-radius-lg: 16px;
    --sg-header-h: 64px;
    --sg-nav-h: 52px;
    --sg-font-display: 'OutfitLocal', system-ui, sans-serif;
    --sg-font-body: 'DmSansLocal', system-ui, sans-serif;
    --sg-shadow-card: 0 8px 32px rgba(0, 0, 0, 0.45);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sg-font-body);
    line-height: 1.6;
    color: var(--sg-text-primary);
    background: var(--sg-bg-deep);
    min-height: 100vh;
}

body.sg-nav-locked {
    overflow: hidden;
}

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

a {
    color: inherit;
}

/* ── Site shell header ── */
.sg-site-shell {
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--sg-bg-panel);
    border-bottom: 1px solid var(--sg-border-soft);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.sg-top-band {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
    height: var(--sg-header-h);
    max-width: 1440px;
    margin: 0 auto;
}

.sg-drawer-trigger {
    display: none;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: var(--sg-radius-sm);
    background: var(--sg-bg-card);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.sg-drawer-trigger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--sg-text-primary);
    border-radius: 2px;
    transition: transform 0.25s ease;
}

.sg-brand-mark {
    flex-shrink: 0;
}

.sg-brand-mark a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.sg-brand-mark img {
    height: 36px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.sg-brand-mark span {
    font-family: var(--sg-font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    color: var(--sg-text-primary);
}

.sg-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.sg-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: var(--sg-radius-sm);
    border: 1.5px solid rgba(168, 158, 200, 0.45);
    background: transparent;
    color: var(--sg-text-primary);
    font-family: var(--sg-font-body);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
    white-space: nowrap;
}

.sg-btn-outline:hover {
    border-color: var(--sg-accent-gold);
    background: rgba(245, 183, 50, 0.08);
}

.sg-btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border-radius: var(--sg-radius-sm);
    border: none;
    background: var(--sg-accent-gradient);
    color: #1a0e00;
    font-family: var(--sg-font-body);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(245, 183, 50, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.sg-btn-gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(245, 183, 50, 0.5);
}

/* ── Horizontal nav strip (desktop) ── */
.sg-nav-strip {
    background: rgba(8, 5, 26, 0.85);
    border-top: 1px solid var(--sg-border-soft);
}

.sg-nav-list {
    display: flex;
    align-items: stretch;
    list-style: none;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.sg-nav-list::-webkit-scrollbar {
    display: none;
}

.sg-nav-entry {
    flex-shrink: 0;
}

.sg-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    height: var(--sg-nav-h);
    color: var(--sg-text-muted);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    white-space: nowrap;
}

.sg-nav-link:hover {
    color: var(--sg-text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.sg-nav-link.is-active {
    color: var(--sg-accent-gold);
    border-bottom-color: var(--sg-accent-gold);
}

.sg-nav-glyph {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: currentColor;
}

/* ── Mobile drawer nav ── */
.sg-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 950;
    opacity: 0;
    transition: opacity 0.3s;
}

.sg-drawer-backdrop.is-visible {
    display: block;
    opacity: 1;
}

.sg-drawer-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--sg-bg-panel);
    z-index: 960;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    border-right: 1px solid var(--sg-border-soft);
    padding: calc(var(--sg-header-h) + 8px) 0 24px;
}

.sg-drawer-panel.is-open {
    display: block;
    transform: translateX(0);
}

.sg-drawer-panel .sg-nav-list {
    flex-direction: column;
    padding: 0;
    overflow: visible;
}

.sg-drawer-panel .sg-nav-link {
    height: auto;
    padding: 14px 24px;
    border-bottom: none;
    border-left: 3px solid transparent;
}

.sg-drawer-panel .sg-nav-link.is-active {
    border-left-color: var(--sg-accent-gold);
    background: rgba(245, 183, 50, 0.08);
    border-bottom-color: transparent;
}

/* ── Main content zone ── */
.main-content-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 20px 48px;
}

/* ── Hero banner slider ── */
.promotional-banners {
    margin-bottom: 32px;
}

.sg-hero-track {
    position: relative;
}

.sg-hero-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 770 / 230;
    border-radius: var(--sg-radius-lg);
    overflow: hidden;
    background: var(--sg-bg-card);
}

.sg-hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.sg-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.sg-hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.sg-hero-slide picture,
.sg-hero-slide .sg-hero-media {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sg-hero-slide img,
.promo-banner-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.sg-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 20px 24px;
    background: linear-gradient(transparent, rgba(8, 5, 26, 0.88));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.promo-banner-title {
    font-family: var(--sg-font-display);
    font-weight: 700;
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: var(--sg-text-primary);
    line-height: 1.25;
}

.promo-banner-text {
    font-size: 0.875rem;
    color: var(--sg-accent-gold);
    font-weight: 600;
}

.promo-banner-btn,
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: var(--sg-radius-sm);
    background: var(--sg-accent-gradient);
    color: #1a0e00;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(245, 183, 50, 0.35);
    transition: transform 0.15s;
}

.promo-banner-btn:hover,
.btn-primary:hover {
    transform: translateY(-1px);
}

.sg-hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

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

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

/* ── Game sections ── */
.game-section {
    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-weight: 700;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--sg-text-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.show-all-btn {
    padding: 7px 16px;
    border-radius: var(--sg-radius-sm);
    border: 1px solid var(--sg-border-soft);
    background: var(--sg-bg-card);
    color: var(--sg-text-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

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

.games-carousel {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--sg-bg-card-hover) transparent;
}

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

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

.game-card:hover {
    border-color: rgba(245, 183, 50, 0.35);
    transform: translateY(-2px);
}

.game-image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #0d0820;
    overflow: hidden;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.25s ease;
}

.game-slot-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: rgba(8, 5, 26, 0.78);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.game-play-btn {
    width: 100%;
    padding: 9px 12px;
    font-size: 0.8125rem;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
    .game-card:hover .game-slot-overlay {
        opacity: 1;
        visibility: visible;
    }

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

.game-card.is-actions-visible .game-slot-overlay {
    opacity: 1;
    visibility: visible;
}

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

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

.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, 183, 50, 0.14), transparent 55%),
        linear-gradient(155deg, rgba(42, 27, 110, 0.95), rgba(18, 11, 50, 0.98));
    border: 1px solid rgba(245, 183, 50, 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, 183, 50, 0.45);
    box-shadow: 0 18px 40px rgba(245, 183, 50, 0.16);
}

.bonus-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    background:
        radial-gradient(circle at 30% 20%, rgba(245, 183, 50, 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-primary);
}

.bonus-description {
    margin: 0;
    font-size: 0.875rem;
    color: var(--sg-text-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-accent-gold);
    letter-spacing: 0.01em;
}

.bonus-value strong {
    background: linear-gradient(120deg, var(--sg-accent-gold), var(--sg-accent-orange));
    -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-text-muted);
}

/* ── 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, 183, 50, 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-accent-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-primary);
}

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

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

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

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

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

.text-content a:hover {
    color: var(--sg-accent-orange);
}

.text-content blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    border-left: 3px solid var(--sg-accent-gold);
    background: rgba(245, 183, 50, 0.06);
    border-radius: 0 var(--sg-radius-sm) var(--sg-radius-sm) 0;
    color: var(--sg-text-muted);
}

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

.text-content ul li,
.text-content ol li {
    margin-bottom: 6px;
}

/* ── Tables with horizontal scroll on mobile ── */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    border-radius: var(--sg-radius-md);
    border: 1px solid var(--sg-border-soft);
}

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

.text-content th,
.text-content td,
.table-wrapper th,
.table-wrapper td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--sg-border-soft);
    text-align: left;
    font-size: 0.875rem;
}

.text-content th,
.table-wrapper th {
    background: var(--sg-bg-card);
    color: var(--sg-accent-gold);
    font-weight: 600;
    white-space: nowrap;
}

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

.text-content caption,
.table-wrapper caption {
    padding: 10px 16px;
    font-weight: 600;
    color: var(--sg-text-primary);
    text-align: left;
}

/* ── FAQ accordion ── */
.faq-wrapper {
    margin: 24px 0;
}

.faq-item-block {
    background: var(--sg-bg-card);
    border-radius: var(--sg-radius-md);
    border: 1px solid var(--sg-border-soft);
    margin-bottom: 8px;
    overflow: hidden;
}

.faq-question-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    background: transparent;
    border: none;
}

.faq-question-block[data-sg-faq-trigger] {
    width: 100%;
    padding: 16px 20px;
    cursor: pointer;
    background: transparent;
    border: none;
    text-align: left;
    color: var(--sg-text-primary);
    font-family: var(--sg-font-body);
    gap: 12px;
}

.faq-question-block strong {
    font-size: 0.9375rem;
    font-weight: 600;
    flex: 1;
}

.faq-chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: var(--sg-text-muted);
    transition: transform 0.25s;
}

.faq-item-block.is-expanded .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer-block {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: var(--sg-text-muted);
    font-size: 0.875rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item-block.is-expanded .faq-answer-block {
    max-height: 600px;
    padding: 0 20px 16px;
}

/* ── HowTo ── */
.howto-wrapper {
    margin: 24px 0;
    padding: 20px;
    background: var(--sg-bg-card);
    border-radius: var(--sg-radius-md);
    border: 1px solid var(--sg-border-soft);
}

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

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

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

.howto-step-item strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 6px;
    color: var(--sg-text-primary);
}

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

/* ── Breadcrumbs ── */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.8125rem;
}

.breadcrumb-link {
    color: var(--sg-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.breadcrumb-divider {
    color: rgba(168, 158, 200, 0.4);
}

/* ── 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, 183, 50, 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, 183, 50, 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, 183, 50, 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, 183, 50, 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, 183, 50, 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: #1a0e00;
    background: var(--sg-accent-gradient);
    box-shadow: 0 6px 14px rgba(232, 148, 10, 0.28);
}

.app-info-value-cell {
    padding: 14px 16px;
    vertical-align: middle;
    color: var(--sg-text-primary);
    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-primary);
}

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

/* ── Footer ── */
.site-footer {
    margin-top: auto;
    position: relative;
    overflow: hidden;
    color: var(--sg-text-primary);
    background:
        radial-gradient(700px 280px at 12% 0%, rgba(245, 183, 50, 0.14), transparent 55%),
        radial-gradient(640px 260px at 88% 8%, rgba(88, 40, 180, 0.45), transparent 58%),
        linear-gradient(180deg, #160d3a 0%, var(--sg-bg-deep) 55%, #05030f 100%);
    border-top: 1px solid rgba(245, 183, 50, 0.18);
}

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

.sg-footer-shell {
    max-width: 1440px;
    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-lg);
    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-accent-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, 183, 50, 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;
}

.footer-container {
    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;
    text-decoration: none;
}

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

.sg-footer-brand-text {
    font-family: var(--sg-font-display);
    font-weight: 700;
    color: var(--sg-text-primary);
    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;
    text-decoration: none;
    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: var(--sg-accent-gradient);
    color: #1a0e00;
    box-shadow: 0 6px 16px rgba(232, 148, 10, 0.28);
}

.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-primary);
    border-color: rgba(168, 140, 255, 0.4);
}

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

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

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

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

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

.footer-links a:hover,
.footer-links a.active {
    color: var(--sg-accent-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);
    text-decoration: none;
    color: var(--sg-text-primary);
    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, 183, 50, 0.45);
    background: rgba(245, 183, 50, 0.1);
}

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

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

.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-text-muted);
    margin-bottom: 12px;
}

.footer-safe-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    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);
    text-decoration: none;
    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);
}

.safe-image {
    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-primary);
    margin-bottom: 6px;
}

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

/* ── List container ── */
.list-container {
    margin: 16px 0;
}

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

.list-container li {
    margin-bottom: 6px;
}

/* ── 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, 183, 50, 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, 183, 50, 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, 183, 50, 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-accent-gold) 40%, var(--sg-accent-orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 8px 24px rgba(245, 183, 50, 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-primary);
    position: relative;
    z-index: 1;
}

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

.sg-error-page .sg-btn-gold {
    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, 183, 50, 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 rgba(232, 148, 10, 0.35);
    }
    50% {
        box-shadow: 0 8px 28px rgba(245, 183, 50, 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, 183, 50, 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, 183, 50, 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, 183, 50, 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-accent-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-primary);
    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-primary);
}

.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-accent-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, 183, 50, 0.18), rgba(245, 183, 50, 0.08));
    border: 1px solid rgba(245, 183, 50, 0.35);
    color: var(--sg-accent-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-primary);
}

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

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

/* ── 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, 183, 50, 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, 183, 50, 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-accent-gold), var(--sg-accent-orange), 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-accent-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-primary);
    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-primary);
    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-accent-gold), var(--sg-accent-orange));
}

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

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

.sg-doc-wrap .text-content ul,
.sg-doc-wrap .text-content ol,
.sg-doc-wrap .list-container ul,
.sg-doc-wrap .list-container 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-primary);
}

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

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

.sg-doc-wrap .text-content a:hover,
.sg-doc-wrap .list-container a:hover {
    color: var(--sg-accent-orange);
    border-bottom-color: var(--sg-accent-orange);
}

.sg-doc-wrap .table-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 16px 0;
}

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

    .sg-nav-strip {
        display: none;
    }

    .sg-top-band {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0 12px;
    }

    .sg-brand-mark {
        position: static;
        left: auto;
        transform: none;
        flex: 0 1 auto;
        min-width: 0;
        max-width: calc(100% - 220px);
    }

    .sg-brand-mark a {
        justify-content: flex-start;
    }

    .sg-brand-mark img {
        height: 32px;
        max-width: min(150px, 100%);
    }

    .sg-top-actions {
        margin-left: auto;
        flex-shrink: 0;
        gap: 6px;
    }

    .sg-top-actions .sg-btn-outline {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .sg-top-actions .sg-btn-gold {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .main-content-wrapper {
        padding: 16px 14px 40px;
    }

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

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

@media (max-width: 768px) {
    .sg-hero-viewport {
        aspect-ratio: 1 / 1;
    }

    .sg-hero-overlay {
        padding: 14px 16px;
    }

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

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

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

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

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

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

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

@media (max-width: 480px) {
    .sg-brand-mark {
        max-width: calc(100% - 190px);
    }

    .sg-brand-mark img {
        height: 28px;
        max-width: min(110px, 100%);
    }

    .sg-top-actions {
        gap: 6px;
    }

    .sg-top-actions .sg-btn-outline {
        padding: 7px 10px;
        font-size: 0.7rem;
    }

    .sg-top-actions .sg-btn-gold {
        padding: 7px 11px;
        font-size: 0.7rem;
    }

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

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

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