:root {
    --ongya-primary-950: #07134d;
    --ongya-primary-900: #0d1c5a;
    --ongya-primary-850: #102262;
    --ongya-primary-800: #152a72;
    --ongya-primary-700: #203b91;
    --ongya-accent: #6481ff;
    --ongya-accent-light: #9eafff;
    --ongya-white: #ffffff;
    --ongya-text-soft: rgba(255, 255, 255, 0.72);
    --ongya-border: rgba(255, 255, 255, 0.13);
    --ongya-card: rgba(13, 28, 90, 0.76);
    --ongya-header-height: 76px;
    --ongya-mobile-nav-height: 68px;
    --ongya-radius-sm: 10px;
    --ongya-radius-md: 16px;
    --ongya-radius-lg: 24px;
    --ongya-shadow:
        0 18px 50px rgba(0, 0, 0, 0.28);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--ongya-white);
    background: var(--ongya-primary-950);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.site-shell {
    width: 100%;
    max-width: 1760px;
    margin-right: auto;
    margin-left: auto;
    padding-right: clamp(12px, 1.6vw, 26px);
    padding-left: clamp(12px, 1.6vw, 26px);
}

#app {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 5% 10%,
            rgba(100, 129, 255, 0.15),
            transparent 28%
        ),
        radial-gradient(
            circle at 95% 35%,
            rgba(69, 95, 210, 0.17),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            var(--ongya-primary-950) 0%,
            var(--ongya-primary-900) 55%,
            var(--ongya-primary-950) 100%
        );
}

#main-content {
    min-height: 70vh;
    color: var(--ongya-white);
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(94, 121, 255, 0.12),
            transparent 29%
        ),
        linear-gradient(
            180deg,
            var(--ongya-primary-950) 0%,
            var(--ongya-primary-900) 48%,
            var(--ongya-primary-950) 100%
        );
}

/* Header */

.guest-header {
    min-height: var(--ongya-header-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(
            135deg,
            rgba(7, 19, 77, 0.97) 0%,
            rgba(13, 28, 90, 0.97) 100%
        );
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
}

.guest-header .navbar {
    min-height: var(--ongya-header-height);
    padding: 0;
}

.header-inner {
    display: flex;
    min-height: var(--ongya-header-height);
    align-items: center;
    gap: 24px;
}

.ongya-logo-link {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

.ongya-logo {
    width: 170px;
    height: auto;
    object-fit: contain;
}

.desktop-navigation {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.desktop-nav-link {
    position: relative;
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: 9px;
    padding: 0 17px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 700;
    transition:
        color 160ms ease,
        background-color 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}

.desktop-nav-link:hover,
.desktop-nav-link:focus,
.desktop-nav-link.active {
    color: var(--ongya-white);
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.1);
}

.desktop-nav-link:hover {
    transform: translateY(-1px);
}

.desktop-nav-link.active::after {
    position: absolute;
    right: 16px;
    bottom: 5px;
    left: 16px;
    height: 2px;
    border-radius: 999px;
    background: var(--ongya-accent-light);
    content: "";
}

.nav-menu-icon,
.button-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
}

.nav-menu-icon {
    width: 19px;
    height: 19px;
}

.button-icon {
    width: 18px;
    height: 18px;
}

.nav-menu-icon svg,
.button-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.header-account-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    margin-left: 12px;
}

.header-login-button,
.header-register-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border-radius: 999px;
    color: var(--ongya-white);
    font-size: 0.86rem;
    font-weight: 750;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease;
}

.header-login-button {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.07);
}

.header-register-button {
    border: 1px solid rgba(154, 174, 255, 0.7);
    background:
        linear-gradient(
            135deg,
            #3657d8 0%,
            #6e87f8 100%
        );
    box-shadow: 0 8px 24px rgba(54, 87, 216, 0.28);
}

.header-login-button:hover,
.header-login-button:focus,
.header-register-button:hover,
.header-register-button:focus {
    color: var(--ongya-white);
    transform: translateY(-1px);
}

.header-login-button:hover,
.header-login-button:focus {
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.14);
}

.header-register-button:hover,
.header-register-button:focus {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(76, 107, 235, 0.42);
}

/* Hero carousel */

.hero-section {
    padding: 16px 0 10px;
}

.hero-carousel {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: var(--ongya-primary-900);
    box-shadow: var(--ongya-shadow);
}

.hero-slide {
    position: relative;
    display: grid;
    min-height: clamp(370px, 31vw, 510px);
    overflow: hidden;
    align-items: center;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    padding: clamp(38px, 6vw, 92px);
    isolation: isolate;
}

.hero-slide::before {
    position: absolute;
    z-index: -3;
    inset: 0;
    content: "";
}

.hero-slide-one::before {
    background:
        radial-gradient(
            circle at 78% 25%,
            rgba(151, 172, 255, 0.38),
            transparent 26%
        ),
        linear-gradient(
            120deg,
            #07134d 0%,
            #102663 48%,
            #173481 100%
        );
}

.hero-slide-two::before {
    background:
        radial-gradient(
            circle at 85% 55%,
            rgba(120, 148, 255, 0.28),
            transparent 30%
        ),
        linear-gradient(
            125deg,
            #091650 0%,
            #0d1c5a 44%,
            #253f99 100%
        );
}

.hero-slide-three::before {
    background:
        radial-gradient(
            circle at 78% 28%,
            rgba(151, 171, 255, 0.34),
            transparent 28%
        ),
        linear-gradient(
            130deg,
            #07134d 0%,
            #182c72 52%,
            #4f66cf 100%
        );
}

.hero-slide-content {
    position: relative;
    z-index: 4;
    max-width: 780px;
}

.hero-kicker {
    display: inline-flex;
    margin-bottom: 17px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.hero-slide h1,
.hero-slide h2 {
    max-width: 760px;
    margin: 0 0 17px;
    color: var(--ongya-white);
    font-size: clamp(2.1rem, 4.7vw, 4.7rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.hero-slide h1 strong,
.hero-slide h2 strong {
    color: #aebcff;
    font-weight: 900;
}

.hero-slide p {
    max-width: 650px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(0.94rem, 1.5vw, 1.1rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-primary-button,
.hero-secondary-button {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 750;
}

.hero-primary-button {
    color: var(--ongya-white);
    border: 1px solid rgba(157, 176, 255, 0.8);
    background:
        linear-gradient(
            135deg,
            #3a5bdd 0%,
            #758dfb 100%
        );
    box-shadow: 0 10px 28px rgba(52, 84, 210, 0.3);
}

.hero-secondary-button {
    color: var(--ongya-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.hero-primary-button:hover,
.hero-primary-button:focus,
.hero-secondary-button:hover,
.hero-secondary-button:focus {
    color: var(--ongya-white);
    transform: translateY(-1px);
}

.hero-primary-button:hover,
.hero-primary-button:focus {
    border-color: var(--ongya-white);
}

.hero-secondary-button:hover,
.hero-secondary-button:focus {
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.14);
}

.hero-visual,
.market-preview,
.promo-visual {
    position: relative;
    z-index: 2;
    min-height: 270px;
}

/* Banner one decoration */

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-ball {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 6px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    color: var(--ongya-primary-950);
    background:
        radial-gradient(
            circle at 30% 25%,
            #ffffff 0%,
            #dbe2ff 45%,
            #879bfa 100%
        );
    font-weight: 900;
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.35),
        inset -10px -12px 20px rgba(34, 54, 142, 0.22);
}

.number-ball-large {
    width: 170px;
    height: 170px;
    font-size: 5rem;
    transform: translate(-40px, 10px);
}

.number-ball-medium {
    width: 110px;
    height: 110px;
    font-size: 3rem;
    transform: translate(95px, -67px);
}

.number-ball-small {
    width: 83px;
    height: 83px;
    font-size: 1.55rem;
    transform: translate(115px, 77px);
}

.hero-decoration {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(2px);
}

.hero-decoration-one {
    top: -80px;
    right: 18%;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-decoration-two {
    right: -100px;
    bottom: -180px;
    width: 440px;
    height: 440px;
    background: rgba(104, 129, 255, 0.11);
}

.hero-decoration-three {
    top: -150px;
    right: -100px;
    width: 480px;
    height: 480px;
    border: 60px solid rgba(255, 255, 255, 0.035);
}

.hero-decoration-four {
    right: -120px;
    bottom: -180px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.055);
}

/* Banner two preview */

.market-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    transform: rotate(-3deg);
}

.market-preview-card {
    width: min(100%, 360px);
    padding: 17px 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(7, 19, 77, 0.64);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
}

.market-preview-card:nth-child(2) {
    transform: translateX(32px);
}

.market-preview-card span {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.market-preview-card strong {
    color: var(--ongya-white);
    font-size: 1.65rem;
    letter-spacing: 0.25em;
}

/* Banner three gift */

.promo-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-gift-box {
    position: relative;
    width: 220px;
    height: 220px;
    filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.32));
}

.promo-gift-body,
.promo-gift-lid,
.promo-gift-ribbon {
    position: absolute;
    display: block;
}

.promo-gift-body {
    right: 20px;
    bottom: 10px;
    left: 20px;
    height: 145px;
    border-radius: 10px 10px 22px 22px;
    background:
        linear-gradient(
            135deg,
            #8196ff 0%,
            #3c5bdc 100%
        );
}

.promo-gift-lid {
    top: 42px;
    right: 5px;
    left: 5px;
    height: 45px;
    border-radius: 14px;
    background:
        linear-gradient(
            135deg,
            #a9b8ff 0%,
            #607cf3 100%
        );
}

.promo-gift-ribbon {
    z-index: 2;
    top: 35px;
    bottom: 10px;
    left: 50%;
    width: 32px;
    background: rgba(255, 255, 255, 0.78);
    transform: translateX(-50%);
}

.promo-gift-ribbon::before,
.promo-gift-ribbon::after {
    position: absolute;
    top: -32px;
    width: 60px;
    height: 52px;
    border: 11px solid rgba(255, 255, 255, 0.78);
    content: "";
}

.promo-gift-ribbon::before {
    right: 16px;
    border-radius: 48px 48px 10px 48px;
    transform: rotate(16deg);
}

.promo-gift-ribbon::after {
    left: 16px;
    border-radius: 48px 48px 48px 10px;
    transform: rotate(-16deg);
}

.promo-glow {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.promo-glow-one {
    width: 44px;
    height: 44px;
    transform: translate(-150px, -90px);
}

.promo-glow-two {
    width: 28px;
    height: 28px;
    transform: translate(150px, 100px);
}

/* Carousel navigation */

.hero-control {
    width: 54px;
    opacity: 0;
    transition: opacity 160ms ease;
}

.hero-carousel:hover .hero-control,
.hero-control:focus {
    opacity: 0.78;
}

.hero-indicators {
    z-index: 6;
    gap: 5px;
    margin-bottom: 17px;
}

.hero-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}

.hero-indicators .active {
    width: 28px;
    border-radius: 999px;
    background-color: var(--ongya-white);
}

/* Home content */

/* Latest togel result section */

.latest-result-section {
    padding: 30px 0 22px;
}

.latest-activity-section {
    padding: 22px 0 72px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.activity-section-heading {
    margin-bottom: 18px;
}

.section-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.section-heading h2 {
    margin: 0;
    color: var(--ongya-white);
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 800;
}

.section-description {
    max-width: 720px;
    margin: 7px 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.86rem;
    line-height: 1.65;
}

.section-link {
    flex: 0 0 auto;
    color: #b6c3ff;
    font-size: 0.82rem;
    font-weight: 700;
}

.section-link:hover,
.section-link:focus {
    color: var(--ongya-white);
}

.result-section-placeholder {
    display: flex;
    min-height: 170px;
    align-items: center;
    gap: 20px;
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--ongya-radius-lg);
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(100, 129, 255, 0.16),
            transparent 27%
        ),
        linear-gradient(
            145deg,
            rgba(13, 28, 90, 0.94),
            rgba(7, 19, 77, 0.94)
        );
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.result-placeholder-icon {
    display: inline-flex;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    color: var(--ongya-white);
    background: rgba(255, 255, 255, 0.09);
}

.result-placeholder-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.result-section-placeholder h3 {
    margin-bottom: 8px;
    color: var(--ongya-white);
    font-size: 1.1rem;
    font-weight: 800;
}

.result-section-placeholder p {
    max-width: 880px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Activity section */

.activity-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.activity-preview-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--ongya-radius-lg);
    background:
        linear-gradient(
            145deg,
            rgba(13, 28, 90, 0.92),
            rgba(7, 19, 77, 0.94)
        );
    box-shadow: 0 15px 38px rgba(0, 0, 0, 0.18);
}

.activity-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.activity-title-group {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
}

.activity-type-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 13px;
    color: var(--ongya-white);
}

.deposit-icon {
    background:
        linear-gradient(
            135deg,
            rgba(76, 117, 241, 0.95),
            rgba(111, 143, 255, 0.95)
        );
}

.withdrawal-icon {
    background:
        linear-gradient(
            135deg,
            rgba(45, 67, 169, 0.95),
            rgba(87, 112, 232, 0.95)
        );
}

.activity-type-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.activity-label {
    display: block;
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.activity-title-group h3 {
    margin: 0;
    color: var(--ongya-white);
    font-size: 0.98rem;
    font-weight: 800;
}

.activity-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border: 1px solid rgba(132, 154, 255, 0.32);
    border-radius: 999px;
    color: #bcc8ff;
    background: rgba(90, 117, 237, 0.1);
    font-size: 0.66rem;
    font-weight: 800;
}

.activity-status::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #90a6ff;
    box-shadow: 0 0 9px rgba(144, 166, 255, 0.85);
    content: "";
}

.activity-placeholder-list {
    padding: 9px 22px 16px;
}

.activity-placeholder-row {
    display: flex;
    min-height: 47px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.84rem;
}

.activity-placeholder-row:last-child {
    border-bottom: 0;
}

.activity-placeholder-row strong {
    color: var(--ongya-white);
    font-size: 0.86rem;
    font-weight: 800;
}

.content-card-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    padding: 11px;
    border-radius: 13px;
    color: var(--ongya-white);
    background: rgba(255, 255, 255, 0.1);
}

.content-card-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.dark-content-card h3 {
    margin-bottom: 7px;
    color: var(--ongya-white);
    font-size: 1rem;
    font-weight: 750;
}

.dark-content-card p {
    margin-bottom: 0;
    color: var(--ongya-text-soft);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* Standard pages */

.standard-page-section {
    min-height: 67vh;
    padding: 34px 0 74px;
}

.standard-page-card {
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid var(--ongya-border);
    border-radius: var(--ongya-radius-lg);
    color: var(--ongya-white);
    background:
        linear-gradient(
            145deg,
            rgba(13, 28, 90, 0.94),
            rgba(7, 19, 77, 0.94)
        );
    box-shadow: var(--ongya-shadow);
}

.standard-page-card h1 {
    margin-bottom: 14px;
    color: var(--ongya-white);
    font-weight: 800;
}

.standard-page-card p {
    color: var(--ongya-text-soft);
}

.page-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--ongya-accent-light);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

/* Footer */

.guest-footer {
    padding: 56px 0 22px;
    color: rgba(255, 255, 255, 0.68);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(
            circle at 50% 100%,
            rgba(75, 103, 225, 0.1),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #040c33 0%,
            #07134d 55%,
            #050e38 100%
        );
}

.footer-primary {
    display: grid;
    grid-template-columns:
        minmax(280px, 1.8fr)
        repeat(3, minmax(130px, 0.65fr));
    gap: clamp(28px, 4vw, 64px);
    padding-bottom: 36px;
}

.footer-main-logo-link {
    display: inline-flex;
    margin-bottom: 18px;
}

.footer-main-logo {
    width: 176px;
    height: auto;
    object-fit: contain;
}

.footer-brand-description {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.86rem;
    line-height: 1.8;
}

.footer-heading {
    margin: 6px 0 17px;
    color: var(--ongya-white);
    font-size: 0.93rem;
    font-weight: 800;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li + li {
    margin-top: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.83rem;
    transition:
        color 150ms ease,
        transform 150ms ease;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--ongya-white);
}

.footer-seo-content {
    padding: 26px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-seo-content h2 {
    margin-bottom: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 800;
}

.footer-seo-content p {
    max-width: 1400px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.79rem;
    line-height: 1.85;
}

.footer-seo-content p:last-child {
    margin-bottom: 0;
}

.footer-engine-area {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px 0 22px;
    text-align: center;
}

.footer-engine-label {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer-engine-logo-link {
    display: inline-flex;
    opacity: 0.9;
    transition:
        opacity 160ms ease,
        transform 160ms ease;
}

.footer-engine-logo-link:hover,
.footer-engine-logo-link:focus {
    opacity: 1;
    transform: translateY(-1px);
}

.footer-engine-logo {
    width: 225px;
    height: auto;
    object-fit: contain;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.72rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-note {
    text-align: right;
}

/* Mobile bottom navigation */

.mobile-bottom-navigation {
    position: fixed;
    z-index: 1030;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: var(--ongya-mobile-nav-height);
    padding:
        6px
        max(8px, env(safe-area-inset-right))
        max(6px, env(safe-area-inset-bottom))
        max(8px, env(safe-area-inset-left));
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    background:
        linear-gradient(
            135deg,
            rgba(7, 19, 77, 0.98),
            rgba(13, 28, 90, 0.98)
        );
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(14px);
}

.mobile-nav-item {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 700;
}

.mobile-nav-item:hover,
.mobile-nav-item:focus,
.mobile-nav-item.active {
    color: var(--ongya-white);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-icon {
    display: inline-flex;
    width: 21px;
    height: 21px;
}

.mobile-nav-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Responsive */

@media (max-width: 1199.98px) {
    .desktop-nav-link {
        padding-right: 12px;
        padding-left: 12px;
    }

    .header-account-actions {
        margin-left: 4px;
    }

    .hero-slide {
        grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    }
}

@media (max-width: 991.98px) {
    body {
        padding-bottom:
            calc(
                var(--ongya-mobile-nav-height) +
                env(safe-area-inset-bottom)
            );
    }

    .guest-header,
    .guest-header .navbar,
    .header-inner {
        min-height: 64px;
    }

    .header-inner {
        gap: 10px;
    }

    .ongya-logo {
        width: 126px;
    }

    .header-account-actions {
        gap: 6px;
        margin-left: auto;
    }

    .header-login-button,
    .header-register-button {
        min-height: 39px;
        gap: 5px;
        padding: 0 12px;
        font-size: 0.75rem;
    }

    .button-icon {
        width: 15px;
        height: 15px;
    }

    .hero-section {
        padding-top: 10px;
    }

    .hero-slide {
        min-height: 390px;
        grid-template-columns: minmax(0, 1fr) 230px;
        padding: 44px 46px;
    }

    .number-ball-large {
        width: 125px;
        height: 125px;
        font-size: 3.7rem;
    }

    .number-ball-medium {
        width: 82px;
        height: 82px;
        font-size: 2.2rem;
        transform: translate(75px, -56px);
    }

    .number-ball-small {
        width: 65px;
        height: 65px;
        transform: translate(84px, 58px);
    }

    .promo-gift-box {
        transform: scale(0.8);
    }

    .guest-footer {
        padding-bottom: 38px;
    }
}

@media (max-width: 767.98px) {
    .hero-carousel {
        border-radius: 17px;
    }

    .hero-slide {
        display: block;
        min-height: 385px;
        padding: 38px 28px 66px;
    }

    .hero-slide-content {
        max-width: 88%;
    }

    .hero-slide h1,
    .hero-slide h2 {
        max-width: 520px;
        font-size: clamp(2rem, 8.5vw, 3.1rem);
    }

    .hero-slide p {
        max-width: 510px;
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .hero-visual,
    .market-preview,
    .promo-visual {
        position: absolute;
        z-index: 1;
        right: -20px;
        bottom: -45px;
        width: 240px;
        min-height: 220px;
        opacity: 0.32;
        pointer-events: none;
    }

    .hero-slide-content {
        z-index: 3;
    }

    .market-preview {
        transform: rotate(-5deg) scale(0.75);
    }

    .promo-visual {
        transform: scale(0.75);
    }

    .hero-control {
        display: none;
    }

    .home-placeholder-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .site-shell {
        padding-right: 9px;
        padding-left: 9px;
    }

    .ongya-logo {
        width: 108px;
    }

    .header-login-button,
    .header-register-button {
        min-height: 36px;
        padding: 0 9px;
        font-size: 0.69rem;
    }

    .header-account-actions {
        gap: 4px;
    }

    .button-icon {
        display: none;
    }

    .hero-section {
        padding-top: 8px;
    }

    .hero-slide {
        min-height: 350px;
        padding: 31px 21px 59px;
    }

    .hero-slide-content {
        max-width: 100%;
    }

    .hero-kicker {
        margin-bottom: 13px;
        padding: 6px 10px;
        font-size: 0.63rem;
    }

    .hero-slide h1,
    .hero-slide h2 {
        max-width: 95%;
        margin-bottom: 13px;
        font-size: 2rem;
    }

    .hero-slide p {
        max-width: 90%;
        margin-bottom: 21px;
        font-size: 0.82rem;
    }

    .hero-primary-button,
    .hero-secondary-button {
        min-height: 42px;
        padding: 0 15px;
        font-size: 0.78rem;
    }

    .hero-indicators {
        margin-bottom: 12px;
    }

    .home-content-section {
        padding-top: 20px;
    }

    .dark-content-card {
        padding: 19px;
    }

    .section-heading {
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 991.98px) {
    .footer-primary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-brand-column {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .activity-preview-grid {
        grid-template-columns: 1fr;
    }

    .result-section-placeholder {
        align-items: flex-start;
    }

    .footer-primary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
    }

    .footer-brand-column {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .footer-bottom-note {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .latest-result-section {
        padding-top: 22px;
    }

    .latest-activity-section {
        padding-top: 17px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-description {
        font-size: 0.78rem;
    }

    .result-section-placeholder {
        flex-direction: column;
        gap: 15px;
        padding: 21px;
        border-radius: 18px;
    }

    .result-placeholder-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        padding: 13px;
    }

    .activity-card-header {
        padding: 17px;
    }

    .activity-placeholder-list {
        padding-right: 17px;
        padding-left: 17px;
    }

    .guest-footer {
        padding-top: 42px;
    }

    .footer-primary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-main-logo {
        width: 150px;
    }

    .footer-seo-content {
        padding: 22px 0;
    }

    .footer-seo-content h2 {
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .footer-seo-content p {
        font-size: 0.74rem;
        line-height: 1.75;
    }

    .footer-engine-logo {
        width: 195px;
    }
}