:root {
    --ds-bg: #05070d;
    --ds-panel: rgba(22, 25, 34, .74);
    --ds-panel-strong: rgba(31, 35, 47, .9);
    --ds-line: rgba(255, 255, 255, .11);
    --ds-text: #f5f7fb;
    --ds-muted: #aeb5c2;
    --ds-gold: #ffc72c;
    --ds-gold-2: #ff9f1c;
    --ds-cyan: #31eadf;
    --ds-green: #2fe28b;
    --ds-red: #ff6b6b;
    --sidebar-width: 268px;
}

html,
body {
    min-height: 100%;
}

body.socios-shell,
body.public-shell,
body.landing-shell {
    background: var(--ds-bg);
    color: var(--ds-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
    margin: 0;
}

.socios-bg,
.public-shell::before,
.landing-bg {
    background:
        radial-gradient(circle at 24% 6%, rgba(203, 255, 55, .22), transparent 28%),
        radial-gradient(circle at 78% 92%, rgba(255, 159, 28, .22), transparent 32%),
        radial-gradient(circle at 42% 78%, rgba(49, 234, 223, .15), transparent 26%),
        linear-gradient(135deg, #090719 0%, #121017 46%, #07090e 100%);
    inset: 0;
    position: fixed;
    z-index: -2;
}

.socios-bg::after,
.public-shell::after,
.landing-bg::after {
    background-image: linear-gradient(130deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 46px 46px;
    content: "";
    inset: 0;
    opacity: .25;
    position: fixed;
    z-index: -1;
}

.landing-shell {
    overflow-x: hidden;
}

.landing-shell a {
    color: inherit;
}

.dg-affiliate-page {
    background:
        linear-gradient(120deg, rgba(0, 33, 77, .92), rgba(0, 91, 137, .84) 35%, rgba(255, 255, 255, .92) 35.2%, rgba(255, 255, 255, .94) 47%, rgba(16, 145, 202, .86) 47.2%, rgba(0, 36, 74, .96) 100%),
        #07345d;
    color: #ffffff;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.dg-affiliate-page::before {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .08) 0 12%, transparent 12% 100%),
        linear-gradient(35deg, transparent 0 42%, rgba(33, 204, 241, .35) 42% 45%, transparent 45% 100%),
        linear-gradient(125deg, transparent 0 58%, rgba(0, 32, 67, .6) 58% 68%, transparent 68% 100%);
    content: "";
    inset: 0;
    opacity: .85;
    pointer-events: none;
    position: absolute;
}

.dg-affiliate-page::after {
    background:
        repeating-linear-gradient(165deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 78px),
        radial-gradient(circle at 20% 16%, rgba(55, 214, 246, .42), transparent 28%),
        radial-gradient(circle at 82% 68%, rgba(0, 26, 70, .7), transparent 34%);
    content: "";
    inset: 0;
    opacity: .55;
    pointer-events: none;
    position: absolute;
}

.dg-affiliate-page > * {
    position: relative;
    z-index: 1;
}

.dg-topbar {
    align-items: center;
    display: grid;
    gap: 22px;
    grid-template-columns: 250px 1fr auto auto;
    margin: 0 auto;
    max-width: 1180px;
    padding: 28px 0 0;
    position: relative;
    width: calc(100% - 36px);
    z-index: 30;
}

.dg-logo,
.dg-logo-xl,
.dg-footer strong {
    color: #ffffff;
    font-weight: 300;
    letter-spacing: -1px;
    line-height: .72;
    text-decoration: none;
}

.dg-logo {
    align-items: flex-end;
    display: inline-flex;
    gap: 4px;
}

.dg-logo span,
.dg-logo-xl span {
    font-size: 38px;
}

.dg-logo small,
.dg-logo-xl small,
.dg-footer small {
    font-size: 20px;
    font-weight: 500;
}

.dg-logo-xl {
    display: inline-flex;
    flex-direction: column;
    margin-bottom: 28px;
    text-align: center;
}

.dg-logo-xl span {
    font-size: clamp(64px, 10vw, 114px);
}

.dg-logo-xl small {
    align-self: flex-end;
    font-size: clamp(24px, 4vw, 42px);
    margin-top: 18px;
}

.dg-main-menu {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.dg-main-menu a,
.dg-top-cta {
    color: #ffffff;
    font-weight: 950;
    text-decoration: none;
    text-transform: uppercase;
}

.dg-main-menu a {
    color: rgba(255, 255, 255, .88);
    position: relative;
}

.dg-main-menu a:not(:first-child)::before {
    color: #24d8f7;
    content: "•";
    font-size: 20px;
    font-weight: 950;
    left: -13px;
    position: absolute;
    top: 50%;
    transform: translateY(-54%);
}

.dg-main-menu a:hover {
    color: #24d8f7;
}

.dg-top-cta,
.dg-main-btn {
    background: linear-gradient(180deg, #19d9ff, #1087e0);
    border: 3px solid #ffffff;
    box-shadow: 0 8px 0 #06346d, 0 18px 28px rgba(0, 0, 0, .28);
    color: #ffffff;
}

.dg-top-cta {
    border-radius: 8px;
    color: #ffffff !important;
    padding: 14px 24px;
}

.dg-menu-toggle {
    background: transparent;
    border: 0;
    display: none;
    gap: 6px;
    padding: 8px;
}

.dg-menu-toggle span {
    background: #ffffff;
    display: block;
    height: 3px;
    transition: transform .2s ease, opacity .2s ease;
    width: 32px;
}

.dg-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.dg-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.dg-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.dg-hero,
.dg-blue-band,
.dg-steps,
.dg-prize-section,
.dg-levels,
.dg-access,
.dg-footer {
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
    width: calc(100% - 36px);
}

.dg-hero {
    align-items: center;
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(0, .96fr) minmax(430px, 1.04fr);
    min-height: 100vh;
    padding: 96px 0 72px;
}

.dg-hero-copy {
    text-align: center;
}

.dg-ribbon {
    background: #ffffff;
    border-bottom: 9px solid #23d9f7;
    box-shadow: 12px 12px 0 rgba(0, 31, 65, .72);
    color: #00354f;
    display: inline-block;
    font-size: clamp(18px, 2vw, 25px);
    font-weight: 950;
    margin-bottom: 18px;
    padding: 13px 28px 11px;
    text-transform: uppercase;
    transform: skew(-8deg);
}

.dg-ribbon.white {
    border-bottom-color: #003e5b;
    box-shadow: 10px 10px 0 #1dcff0;
}

.dg-ribbon,
.dg-ribbon * {
    letter-spacing: 0;
}

.dg-hero h1,
.dg-blue-band h2,
.dg-prize-copy h2,
.dg-section-heading h2,
.dg-access h2 {
    font-weight: 950;
    letter-spacing: 0;
    line-height: .86;
    text-transform: uppercase;
}

.dg-hero h1 {
    color: #ffffff;
    font-size: clamp(52px, 6.4vw, 92px);
    margin: 0 auto 26px;
    max-width: 760px;
    text-shadow: 0 7px 0 #1b55b7, 0 13px 18px rgba(0, 0, 0, .38);
}

.dg-hero h1 span,
.dg-hero h1 strong {
    display: block;
}

.dg-title-cyan {
    color: #13c9e9;
    text-shadow: 0 4px 0 #ffffff, 0 10px 0 #1b55b7, 0 16px 18px rgba(0, 0, 0, .32);
}

.dg-title-white {
    color: #ffffff;
}

.dg-hero h1 strong {
    color: #2345d8;
    text-shadow: 0 4px 0 #ffffff, 0 10px 0 #ffffff, 0 16px 18px rgba(0, 0, 0, .34);
}

.dg-hero-copy p,
.dg-prize-copy p,
.dg-access p {
    color: #ffffff;
    font-size: 22px;
    font-weight: 850;
    line-height: 1.45;
    margin: 0 auto;
    max-width: 720px;
    text-shadow: 0 2px 8px rgba(0, 30, 60, .36);
}

.dg-hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 28px;
}

.dg-main-btn,
.dg-secondary-btn,
.dg-blue-band a,
.dg-affiliate-popup a {
    border-radius: 16px;
    display: inline-flex;
    font-size: 18px;
    font-weight: 950;
    justify-content: center;
    padding: 16px 22px;
    text-decoration: none;
    text-transform: uppercase;
}

.dg-secondary-btn {
    background: #ffffff;
    border: 3px solid #123e8a;
    box-shadow: 0 8px 0 #16c8eb;
    color: #123e8a !important;
}

.dg-secondary-btn:hover,
.dg-secondary-btn:focus,
.dg-secondary-btn:visited {
    background: #ffffff;
    color: #123e8a !important;
}

.dg-legal-strip {
    background: #ffffff;
    border-top: 8px solid #23d9f7;
    color: #00354f;
    display: inline-block;
    font-size: 16px;
    font-weight: 950;
    margin-top: 32px;
    padding: 12px 22px;
    text-transform: uppercase;
}

.dg-hero-art {
    min-height: 640px;
    position: relative;
}

.dg-promo-stack {
    height: 100%;
    position: relative;
}

.dg-promo-main,
.dg-promo-side {
    border: 8px solid #ffffff;
    box-shadow: 18px 22px 0 rgba(0, 52, 91, .82), 0 28px 70px rgba(0, 0, 0, .35);
    object-fit: cover;
    position: absolute;
}

.dg-promo-main {
    border-radius: 28px;
    height: 610px;
    left: 54px;
    top: 0;
    transform: rotate(-3deg);
    width: min(470px, 82vw);
}

.dg-promo-side {
    border-radius: 24px;
    height: 360px;
    right: 4px;
    top: 165px;
    transform: rotate(7deg);
    width: 290px;
}

.dg-qr-ticket {
    background: #ffffff;
    border-bottom: 10px solid #22d8f7;
    bottom: 18px;
    box-shadow: 10px 10px 0 #00354f;
    color: #00354f;
    left: 0;
    padding: 18px 24px;
    position: absolute;
    text-transform: uppercase;
    transform: skew(-7deg);
}

.dg-qr-ticket span,
.dg-qr-ticket strong {
    display: block;
}

.dg-qr-ticket span {
    color: #2345d8;
    font-size: 14px;
    font-weight: 950;
}

.dg-qr-ticket strong {
    font-size: 25px;
    font-weight: 950;
}

.dg-blue-band {
    align-items: center;
    background: linear-gradient(90deg, #4995ce, #2dcff0);
    border-bottom: 12px solid #ffffff;
    border-top: 12px solid #ffffff;
    box-shadow: 0 18px 0 #00354f;
    color: #ffffff;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 56px;
    padding: 34px;
    position: relative;
    text-transform: uppercase;
}

.dg-blue-band::before,
.dg-blue-band::after {
    background: #23d9f7;
    content: "";
    height: 18px;
    position: absolute;
    width: 190px;
}

.dg-blue-band::before {
    left: -24px;
    top: -26px;
}

.dg-blue-band::after {
    bottom: -26px;
    right: -24px;
}

.dg-blue-band span,
.dg-section-heading span,
.dg-access span,
.dg-prize-card span,
.dg-affiliate-popup > span {
    color: #d7f8ff;
    display: block;
    font-size: 13px;
    font-weight: 950;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.dg-blue-band h2,
.dg-prize-copy h2,
.dg-section-heading h2,
.dg-access h2 {
    font-size: clamp(36px, 5vw, 64px);
    margin: 0;
}

.dg-prize-copy h2,
.dg-section-heading h2 {
    text-shadow: 0 5px 0 #00354f;
}

.dg-prize-copy h2 {
    line-height: .92;
    margin-bottom: 32px;
    max-width: 860px;
}

.dg-prize-copy p {
    background: #ffffff;
    border-left: 12px solid #24d8f7;
    box-shadow: 10px 10px 0 #00354f;
    color: #00354f;
    margin: 0;
    max-width: 760px;
    padding: 18px 22px;
    text-shadow: none;
}

.dg-blue-band a {
    background: #ffffff;
    color: #093d7a;
    flex: 0 0 auto;
}

.dg-steps {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-bottom: 80px;
}

.dg-steps article,
.dg-level-grid article {
    background: rgba(255, 255, 255, .94);
    border: 5px solid #ffffff;
    box-shadow: 9px 10px 0 #00354f;
    color: #00354f;
    padding: 28px;
    position: relative;
}

.dg-steps article::before,
.dg-level-grid article::before {
    background: #24d8f7;
    content: "";
    height: 12px;
    left: 24px;
    position: absolute;
    top: -8px;
    width: 120px;
}

.dg-steps article > span {
    color: #2345d8;
    display: block;
    font-size: 56px;
    font-weight: 950;
    line-height: 1;
}

.dg-steps h3 {
    font-size: 30px;
    font-weight: 950;
    margin: 14px 0 10px;
    text-transform: uppercase;
}

.dg-steps p {
    color: #00354f;
    font-size: 17px;
    font-weight: 850;
    line-height: 1.45;
    margin: 0;
}

.dg-prize-section {
    align-items: center;
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
    padding: 18px 0 90px;
}

.dg-prize-card {
    background: #ffffff;
    border: 8px solid #ffffff;
    box-shadow: 18px 18px 0 #00354f;
    color: #00354f;
    overflow: hidden;
}

.dg-prize-card img {
    display: block;
    width: 100%;
}

.dg-prize-card div {
    border-top: 12px solid #24d8f7;
    padding: 24px;
}

.dg-prize-card span {
    color: #2345d8;
}

.dg-prize-card strong {
    display: block;
    font-size: 29px;
    font-weight: 950;
    line-height: 1.05;
    text-transform: uppercase;
}

.dg-levels {
    padding-bottom: 86px;
}

.dg-section-heading {
    margin-bottom: 26px;
    max-width: 880px;
}

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

.dg-level-grid article span,
.dg-level-grid article strong,
.dg-level-grid article small {
    display: block;
    position: relative;
}

.dg-level-grid article span {
    color: #2345d8;
    font-size: 22px;
    font-weight: 950;
}

.dg-level-grid article strong {
    font-size: 33px;
    font-weight: 950;
    margin: 22px 0 8px;
    text-transform: uppercase;
}

.dg-level-grid article small {
    font-size: 15px;
    font-weight: 900;
}

.dg-access {
    align-items: center;
    background: #ffffff;
    border-bottom: 14px solid #24d8f7;
    box-shadow: 18px 18px 0 #00354f;
    color: #00354f;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    margin-bottom: 70px;
    padding: 34px;
}

.dg-access span {
    color: #2345d8;
}

.dg-access p {
    color: #00354f;
    font-size: 19px;
    margin: 16px 0;
    max-width: 780px;
    text-shadow: none;
}

.dg-access code {
    background: #e7f8fc;
    border: 2px solid #20caec;
    color: #00354f;
    display: inline-block;
    font-weight: 850;
    max-width: 100%;
    overflow-wrap: anywhere;
    padding: 10px 12px;
}

.dg-footer {
    align-items: center;
    border-top: 4px solid rgba(255, 255, 255, .6);
    color: #ffffff;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 28px 0 42px;
}

.dg-footer strong,
.dg-footer span {
    display: block;
}

.dg-footer strong {
    font-size: 42px;
}

.dg-footer span {
    font-weight: 850;
}

.dg-footer a {
    color: #ffffff;
    font-weight: 950;
    text-transform: uppercase;
}

.dg-affiliate-popup {
    background: #ffffff;
    border: 6px solid #24d8f7;
    bottom: 22px;
    box-shadow: 12px 12px 0 #00354f, 0 18px 50px rgba(0, 0, 0, .32);
    color: #00354f;
    max-width: 380px;
    padding: 28px;
    position: fixed;
    right: 22px;
    transition: transform .25s ease, opacity .25s ease;
    width: calc(100% - 44px);
    z-index: 60;
}

.dg-affiliate-popup.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(24px);
}

.dg-popup-close {
    align-items: center;
    background: #00354f;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    display: flex;
    font-size: 24px;
    font-weight: 900;
    height: 36px;
    justify-content: center;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 36px;
}

.dg-affiliate-popup > span {
    color: #2345d8;
}

.dg-affiliate-popup h2 {
    color: #00354f;
    font-size: 38px;
    font-weight: 950;
    line-height: .92;
    margin: 0 28px 12px 0;
    text-transform: uppercase;
}

.dg-affiliate-popup p {
    font-size: 17px;
    font-weight: 850;
    line-height: 1.35;
    margin-bottom: 18px;
}

.dg-popup-actions {
    display: grid;
    gap: 10px;
}

.dg-affiliate-popup .dg-popup-primary,
.dg-affiliate-popup .dg-popup-whatsapp {
    align-items: center;
    background: linear-gradient(180deg, #19d9ff, #1087e0);
    border: 3px solid #00354f;
    box-shadow: 0 7px 0 #06346d;
    color: #ffffff;
    gap: 9px;
    width: 100%;
}

.dg-popup-whatsapp .fab {
    font-size: 22px;
    line-height: 1;
}

.socios-app {
    display: flex;
    min-height: 100vh;
}

.socios-sidebar {
    background: rgba(6, 8, 14, .76);
    border-right: 1px solid var(--ds-line);
    bottom: 0;
    display: flex;
    flex-direction: column;
    left: 0;
    padding: 20px 16px;
    position: fixed;
    top: 0;
    width: var(--sidebar-width);
    z-index: 20;
}

.socios-brand {
    align-items: center;
    color: var(--ds-text);
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
    text-decoration: none;
}

.socios-brand:hover {
    color: var(--ds-text);
}

.socios-brand-mark {
    align-items: center;
    background: linear-gradient(145deg, var(--ds-gold), var(--ds-gold-2));
    border-radius: 14px;
    color: #1a1201;
    display: inline-flex;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.socios-brand strong,
.socios-brand small {
    display: block;
    line-height: 1.1;
}

.socios-brand small {
    color: var(--ds-muted);
    font-size: 12px;
    margin-top: 4px;
}

.socios-nav {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.socios-nav-title,
.socios-kicker,
.metric-label {
    color: var(--ds-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.socios-nav-title {
    margin: 0 10px 8px;
}

.socios-nav-link {
    border: 1px solid transparent;
    border-radius: 11px;
    color: #d9dee8;
    display: block;
    font-weight: 700;
    padding: 10px 12px;
    text-decoration: none;
}

.socios-nav-link:hover,
.socios-nav-link.active {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .12);
    color: #ffffff;
}

.socios-nav-link.active {
    box-shadow: inset 0 0 0 1px rgba(255, 199, 44, .22);
}

.socios-sidebar-card,
.glass-card,
.gold-hero,
.level-table-card,
.page-heading,
.public-card {
    background: var(--ds-panel);
    border: 1px solid var(--ds-line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 80px rgba(0, 0, 0, .28);
    backdrop-filter: blur(18px);
}

.socios-sidebar-card {
    border-radius: 14px;
    color: var(--ds-muted);
    font-size: 12px;
    margin-top: 18px;
    padding: 14px;
}

.socios-sidebar-card strong {
    color: var(--ds-text);
    display: block;
    font-size: 14px;
}

.socios-main {
    margin-left: var(--sidebar-width);
    min-width: 0;
    width: calc(100% - var(--sidebar-width));
}

.socios-topbar {
    align-items: center;
    background: rgba(7, 9, 15, .72);
    border-bottom: 1px solid var(--ds-line);
    display: flex;
    gap: 14px;
    justify-content: space-between;
    min-height: 74px;
    padding: 16px 28px;
    position: sticky;
    top: 0;
    z-index: 15;
    backdrop-filter: blur(18px);
}

.socios-topbar strong {
    display: block;
    font-size: 22px;
}

.socios-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.inline-form {
    display: inline-flex;
    margin: 0;
}

.socios-content {
    padding: 28px;
}

.login-stage {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.login-panel {
    background: rgba(10, 12, 20, .82);
    border: 1px solid var(--ds-line);
    border-radius: 22px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 28px 90px rgba(0, 0, 0, .38);
    max-width: 460px;
    padding: 28px;
    width: 100%;
    backdrop-filter: blur(18px);
}

.login-brand {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.login-brand strong,
.login-brand small {
    display: block;
}

.login-brand small,
.login-copy p {
    color: var(--ds-muted);
}

.login-copy h1 {
    font-size: 34px;
    margin: 8px 0;
}

.login-panel .form-label,
.login-panel .form-check-label {
    color: var(--ds-text);
    font-weight: 700;
}

.login-panel .form-control {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .14);
    color: var(--ds-text);
}

.login-panel .form-control:focus {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 199, 44, .72);
    box-shadow: 0 0 0 .2rem rgba(255, 199, 44, .18);
    color: var(--ds-text);
}

.gold-hero {
    --level-color: var(--ds-gold);
    --level-color-light: #ffe47a;
    --level-color-dark: #6b4300;
    --level-contrast: #241500;
    --level-rgb: 255, 199, 44;
    border-radius: 24px;
    margin: 0 auto 24px;
    max-width: 1120px;
    overflow: hidden;
    padding: 44px;
    position: relative;
    text-align: center;
}

.gold-hero::before {
    background: radial-gradient(circle, rgba(var(--level-rgb), .24), transparent 62%);
    content: "";
    height: 520px;
    left: 50%;
    position: absolute;
    top: -270px;
    transform: translateX(-50%);
    width: 520px;
}

.gold-badge {
    background: rgba(var(--level-rgb), .08);
    border: 1px solid rgba(var(--level-rgb), .38);
    border-radius: 999px;
    color: var(--level-color);
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    padding: 8px 14px;
    position: relative;
    text-transform: uppercase;
}

.level-orb {
    align-items: center;
    background: linear-gradient(145deg, var(--level-color-light), var(--level-color));
    border-radius: 24px;
    box-shadow: 0 0 54px rgba(var(--level-rgb), .34), inset 0 1px 0 rgba(255, 255, 255, .45);
    color: var(--level-contrast);
    display: flex;
    height: 150px;
    justify-content: center;
    margin: 24px auto 22px;
    position: relative;
    width: 150px;
}

.level-trophy-icon {
    color: var(--level-color);
    display: inline-block;
    flex: 0 0 auto;
    height: 48px;
    overflow: visible;
    vertical-align: middle;
    width: 48px;
}

.level-orb-icon {
    color: var(--level-contrast);
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .22));
    height: 96px;
    width: 96px;
}

.trophy-glow {
    fill: currentColor;
    opacity: .16;
}

.trophy-cup,
.trophy-stem,
.trophy-base {
    fill: currentColor;
}

.trophy-handle {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 8;
}

.trophy-shine {
    fill: #fff;
    opacity: .38;
}

.gold-hero h1 {
    font-size: clamp(44px, 7vw, 74px);
    font-weight: 900;
    line-height: .95;
    margin: 0;
    position: relative;
}

.gold-hero h1 strong {
    color: var(--level-color);
    text-shadow: 0 0 28px rgba(var(--level-rgb), .28);
}

.gold-hero p {
    color: var(--ds-muted);
    font-size: 18px;
    margin: 18px auto 0;
    max-width: 720px;
    position: relative;
}

.gold-metrics {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 34px auto 24px;
    max-width: 820px;
    position: relative;
}

.gold-metrics article,
.reward-mini,
.stack-item,
.level-table article {
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--ds-line);
    border-radius: 16px;
}

.gold-metrics article {
    padding: 18px 20px;
    text-align: left;
}

.gold-metrics span,
.reward-card span,
.muted {
    color: var(--ds-muted);
}

.gold-metrics strong {
    color: var(--level-color);
    display: block;
    font-size: 34px;
    line-height: 1;
    margin-top: 6px;
}

.level-progress-card {
    background: rgba(7, 8, 12, .48);
    border: 1px solid rgba(var(--level-rgb), .28);
    border-radius: 18px;
    margin: 0 auto;
    max-width: 820px;
    padding: 20px;
    position: relative;
    text-align: left;
}

.progress-heading,
.card-heading,
.ledger-list > div,
.stat-list > div {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
}

.progress-heading span {
    color: var(--ds-muted);
    font-weight: 800;
    text-transform: uppercase;
}

.progress-heading strong {
    color: var(--level-color);
}

.level-progress-track {
    background: rgba(255, 255, 255, .09);
    border-radius: 999px;
    height: 14px;
    margin: 18px 0 10px;
    overflow: hidden;
}

.level-progress-track span {
    background: linear-gradient(90deg, var(--level-color), var(--level-color-light));
    border-radius: inherit;
    display: block;
    height: 100%;
}

.level-scale-name {
    color: var(--level-color);
    font-weight: 900;
}

.level-card-title,
.metric-level-name {
    align-items: center;
    color: var(--level-color);
    display: inline-flex;
    gap: 10px;
}

.level-title-icon {
    height: 34px;
    width: 34px;
}

.level-metric-card {
    border-color: rgba(var(--level-rgb), .32);
    box-shadow: inset 0 0 28px rgba(var(--level-rgb), .08);
}

.metric-level-icon {
    height: 40px;
    width: 40px;
}

.progress-scale {
    color: var(--ds-muted);
    display: flex;
    font-size: 13px;
    justify-content: space-between;
}

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

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

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

.glass-card,
.page-heading,
.level-table-card {
    border-radius: 22px;
    padding: 22px;
}

.wide-card {
    grid-column: span 2;
}

.qr-card,
.activity-card {
    grid-column: span 2;
}

.qr-card {
    text-align: center;
}

.qr-card.xl {
    grid-column: auto;
}

.qr-image {
    background: #ffffff;
    border-radius: 18px;
    display: block;
    margin: 18px auto;
    max-width: 230px;
    padding: 12px;
    width: 100%;
}

.qr-image.large {
    max-width: 360px;
}

.card-heading {
    margin-bottom: 16px;
}

.card-heading h2,
.page-heading h1,
.level-table-card h2,
.reward-card h2,
.public-card h1 {
    font-weight: 850;
    letter-spacing: 0;
    margin: 0;
}

.card-heading h2 {
    font-size: 22px;
}

.page-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.page-heading p {
    color: var(--ds-muted);
    margin: 8px 0 0;
}

.activity-bars {
    align-items: end;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(7, 1fr);
    min-height: 180px;
}

.activity-bar {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.activity-bar span {
    background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.14));
    border-radius: 999px;
    display: block;
    min-height: 34px;
    width: 100%;
}

.activity-bar span.active {
    background: linear-gradient(180deg, var(--ds-gold), rgba(255, 199, 44, .22));
}

.activity-bar small {
    color: var(--ds-muted);
    margin-top: 10px;
}

.benefit-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.benefit-list li {
    background: rgba(47, 226, 139, .09);
    border: 1px solid rgba(47, 226, 139, .18);
    border-radius: 12px;
    padding: 12px;
}

.stack-list,
.ledger-list,
.stat-list {
    display: grid;
    gap: 10px;
}

.stack-item,
.reward-mini {
    padding: 13px;
}

.stack-item strong,
.stack-item span,
.reward-mini strong,
.reward-mini span {
    display: block;
}

.stack-item span,
.reward-mini span {
    color: var(--ds-muted);
    margin-top: 5px;
}

.reward-row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ledger-list > div,
.stat-list > div {
    border-bottom: 1px solid var(--ds-line);
    padding: 10px 0;
}

.positive {
    color: var(--ds-green);
}

.negative {
    color: var(--ds-red);
}

.level-table-card {
    margin-top: 18px;
}

.level-table {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 16px;
}

.level-table article {
    min-height: 130px;
    padding: 18px;
}

.level-table article.current {
    border-color: rgba(var(--level-rgb), .46);
    box-shadow: inset 0 0 40px rgba(var(--level-rgb), .13), 0 0 24px rgba(var(--level-rgb), .1);
}

.level-table span,
.level-table strong,
.level-table small {
    display: block;
}

.level-table span {
    color: var(--level-color);
    font-weight: 900;
}

.level-table-icon {
    align-items: center;
    background: rgba(var(--level-rgb), .12);
    border: 1px solid rgba(var(--level-rgb), .22);
    border-radius: 14px;
    color: var(--level-color);
    display: inline-flex;
    height: 54px;
    justify-content: center;
    margin-bottom: 12px;
    width: 54px;
}

.level-table-icon .level-trophy-icon {
    height: 36px;
    width: 36px;
}

.level-table strong {
    font-size: 22px;
    margin: 12px 0 4px;
}

.level-table small {
    color: var(--ds-muted);
}

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

.reward-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.level-admin-card {
    border-color: rgba(var(--level-rgb), .26);
    box-shadow: inset 0 0 30px rgba(var(--level-rgb), .08);
}

.level-admin-card span,
.level-admin-card h2,
.level-admin-card strong {
    color: var(--level-color);
}

.level-admin-icon {
    align-items: center;
    background: linear-gradient(145deg, rgba(var(--level-rgb), .18), rgba(255, 255, 255, .04));
    border: 1px solid rgba(var(--level-rgb), .24);
    border-radius: 16px;
    display: inline-flex;
    height: 68px;
    justify-content: center;
    width: 68px;
}

.level-admin-icon .level-trophy-icon {
    height: 46px;
    width: 46px;
}

.reward-card p {
    color: var(--ds-muted);
    flex: 1;
}

.reward-availability {
    color: var(--ds-muted);
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    margin: 6px 0 14px;
    text-transform: uppercase;
}

.reward-availability.available {
    color: var(--ds-cyan);
}

.redeem-confirm-wrap {
    display: flex;
    justify-content: center;
}

.redeem-confirm-card {
    max-width: 760px;
    width: 100%;
}

.redeem-confirm-card h2 {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 900;
    line-height: 1;
    margin: 10px 0 12px;
}

.redeem-confirm-card > p {
    color: var(--ds-muted);
    font-size: 17px;
}

.redeem-summary {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 24px 0;
}

.redeem-summary div {
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--ds-line);
    border-radius: 16px;
    padding: 16px;
}

.redeem-summary span,
.redeem-summary strong {
    display: block;
}

.redeem-summary span {
    color: var(--ds-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.redeem-summary strong {
    font-size: 28px;
    line-height: 1;
    margin-top: 8px;
}

.redeem-summary .spend {
    border-color: rgba(255, 199, 44, .3);
    box-shadow: inset 0 0 28px rgba(255, 199, 44, .08);
}

.redeem-summary .spend strong {
    color: var(--ds-gold);
}

.redeem-warning {
    background: rgba(49, 234, 223, .09);
    border: 1px solid rgba(49, 234, 223, .22);
    border-radius: 14px;
    color: #d6fff9;
    padding: 14px 16px;
}

.redeem-warning.danger {
    background: rgba(255, 107, 107, .1);
    border-color: rgba(255, 107, 107, .3);
    color: #ffd6d6;
}

.metric-big {
    display: block;
    font-size: 38px;
    line-height: 1;
    margin-top: 10px;
}

.metric-big.metric-level-name {
    align-items: center;
    color: var(--level-color);
    display: inline-flex;
}

.socios-badge {
    border-radius: 999px;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    padding: 7px 10px;
}

.badge-good {
    background: rgba(47, 226, 139, .14);
    color: var(--ds-green);
}

.badge-warn {
    background: rgba(255, 199, 44, .14);
    color: var(--ds-gold);
}

.badge-danger {
    background: rgba(255, 107, 107, .14);
    color: var(--ds-red);
}

.badge-neutral {
    background: rgba(255, 255, 255, .1);
    color: var(--ds-muted);
}

.btn-neon {
    background: linear-gradient(135deg, var(--ds-gold), var(--ds-gold-2));
    border: 0;
    color: #1b1200;
    font-weight: 900;
}

.btn-neon:hover,
.btn-neon:focus {
    color: #1b1200;
    filter: brightness(1.05);
}

.btn-glass {
    background: rgba(255, 255, 255, .08);
    border: 1px solid var(--ds-line);
    color: var(--ds-text);
    font-weight: 800;
}

.btn-glass:hover,
.btn-glass:focus {
    background: rgba(255, 255, 255, .14);
    color: var(--ds-text);
}

.text-link {
    color: var(--ds-cyan);
    font-weight: 800;
    text-decoration: none;
}

.table-card {
    overflow-x: auto;
}

.socios-table {
    border-collapse: collapse;
    min-width: 760px;
    width: 100%;
}

.socios-table th,
.socios-table td {
    border-bottom: 1px solid var(--ds-line);
    padding: 13px 12px;
    vertical-align: middle;
}

.socios-table th {
    color: var(--ds-muted);
    font-size: 12px;
    text-transform: uppercase;
}

.socios-table code {
    background: rgba(0, 0, 0, .28);
    border: 1px solid var(--ds-line);
    border-radius: 10px;
    color: #d6fff9;
    display: inline-block;
    max-width: 360px;
    overflow: hidden;
    padding: 7px 9px;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}

.qr-admin-table {
    min-width: 1040px;
}

.qr-admin-preview {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 180px;
}

.qr-admin-preview img {
    background: #ffffff;
    border-radius: 10px;
    height: 58px;
    padding: 5px;
    width: 58px;
}

.qr-admin-preview strong,
.socios-table td > strong,
.socios-table td > span {
    display: block;
}

.socios-table td > span {
    color: var(--ds-muted);
    font-size: 12px;
    margin-top: 3px;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.table-actions form {
    margin: 0;
}

.api-card code,
.api-card pre {
    background: rgba(0, 0, 0, .34);
    border: 1px solid var(--ds-line);
    border-radius: 12px;
    color: #d6fff9;
    display: block;
    padding: 14px;
    white-space: pre-wrap;
}

.public-landing {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.public-card {
    border-radius: 28px;
    max-width: 560px;
    padding: 34px;
    text-align: center;
}

.public-card h1 {
    font-size: clamp(38px, 7vw, 64px);
    margin-top: 22px;
}

.public-card p {
    color: var(--ds-muted);
    font-size: 18px;
    margin: 16px 0 24px;
}

.public-meta {
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--ds-line);
    border-radius: 16px;
    margin-bottom: 18px;
    padding: 16px;
}

.public-meta span,
.public-meta strong {
    display: block;
}

.public-meta span {
    color: var(--ds-muted);
}

.public-card small {
    color: var(--ds-muted);
    display: block;
    margin-top: 14px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-card .form-label {
    color: var(--ds-muted);
    font-weight: 800;
}

.form-card .form-control,
.form-card .form-select {
    background: rgba(255, 255, 255, .08);
    border: 1px solid var(--ds-line);
    color: var(--ds-text);
}

.form-card .form-control:focus,
.form-card .form-select:focus {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 199, 44, .54);
    box-shadow: 0 0 0 .2rem rgba(255, 199, 44, .12);
    color: var(--ds-text);
}

.form-card .form-select option {
    background: #11141d;
    color: var(--ds-text);
}

.qr-form-note {
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--ds-line);
    border-radius: 14px;
    color: var(--ds-muted);
    margin-top: 18px;
    padding: 14px;
}

.qr-form-note strong {
    color: var(--ds-text);
    display: block;
    margin-bottom: 4px;
}

.qr-form-note code {
    color: var(--ds-cyan);
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

@media (max-width: 1180px) {
    .dg-topbar {
        grid-template-columns: 220px 1fr auto auto;
    }

    .dg-hero,
    .dg-prize-section {
        grid-template-columns: 1fr;
    }

    .dg-hero-art {
        min-height: 650px;
    }

    .dg-promo-main {
        left: calc(50% - 270px);
    }

    .dg-promo-side {
        right: calc(50% - 360px);
    }

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

    .socios-grid,
    .stats-grid,
    .reward-catalog,
    .level-table {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .dg-topbar {
        grid-template-columns: 1fr auto auto;
    }

    .dg-logo {
        order: 1;
    }

    .dg-top-cta {
        order: 2;
    }

    .dg-menu-toggle {
        order: 3;
    }

    .dg-main-menu {
        background: rgba(2, 18, 38, .96);
        border: 2px solid rgba(36, 216, 247, .5);
        box-shadow: 8px 8px 0 #00354f;
        display: none;
        gap: 0;
        grid-column: 1 / -1;
        justify-content: stretch;
        margin-top: 8px;
        order: 4;
        padding: 8px;
    }

    .dg-main-menu.is-open {
        display: grid;
    }

    .dg-main-menu a {
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        padding: 14px 12px;
    }

    .dg-main-menu a:last-child {
        border-bottom: 0;
    }

    .dg-main-menu a::before {
        display: none;
    }

    .dg-menu-toggle {
        align-items: center;
        display: grid;
    }

    .dg-blue-band,
    .dg-access,
    .dg-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .dg-steps {
        grid-template-columns: 1fr;
    }

    .socios-app {
        display: block;
    }

    .socios-sidebar {
        border-bottom: 1px solid var(--ds-line);
        border-right: 0;
        position: static;
        width: 100%;
    }

    .socios-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .socios-nav-group {
        flex: 0 0 190px;
    }

    .socios-sidebar-card {
        display: none;
    }

    .socios-main {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 720px) {
    .dg-topbar {
        gap: 10px;
        padding-top: 14px;
        width: calc(100% - 20px);
    }

    .dg-logo span {
        font-size: 25px;
    }

    .dg-logo small {
        font-size: 12px;
    }

    .dg-top-cta {
        box-shadow: none;
        font-size: 12px;
        padding: 9px 11px;
    }

    .dg-menu-toggle {
        padding: 6px;
    }

    .dg-menu-toggle span {
        height: 2px;
        width: 28px;
    }

    .dg-hero,
    .dg-blue-band,
    .dg-steps,
    .dg-prize-section,
    .dg-levels,
    .dg-access,
    .dg-footer {
        width: calc(100% - 24px);
    }

    .dg-hero {
        gap: 24px;
        padding: 76px 0 44px;
    }

    .dg-logo-xl span {
        font-size: 58px;
    }

    .dg-logo-xl small {
        font-size: 24px;
        margin-top: 8px;
    }

    .dg-ribbon {
        font-size: 15px;
        padding: 11px 18px 9px;
    }

    .dg-hero h1 {
        font-size: 46px;
        -webkit-text-stroke: 2px #ffffff;
    }

    .dg-hero-copy p,
    .dg-prize-copy p {
        font-size: 18px;
    }

    .dg-main-btn,
    .dg-secondary-btn,
    .dg-blue-band a {
        width: 100%;
    }

    .dg-legal-strip {
        font-size: 12px;
    }

    .dg-hero-art {
        min-height: 540px;
    }

    .dg-promo-main {
        height: 500px;
        left: calc(50% - 170px);
        width: 340px;
    }

    .dg-promo-side {
        display: none;
    }

    .dg-qr-ticket {
        bottom: 0;
        left: 10px;
        right: 10px;
    }

    .dg-blue-band,
    .dg-access {
        padding: 24px;
    }

    .dg-blue-band h2,
    .dg-prize-copy h2,
    .dg-section-heading h2,
    .dg-access h2 {
        font-size: 35px;
    }

    .dg-prize-section,
    .dg-levels {
        padding-bottom: 56px;
    }

    .dg-level-grid {
        grid-template-columns: 1fr;
    }

    .dg-footer strong {
        font-size: 34px;
    }

    .dg-affiliate-popup {
        bottom: 12px;
        max-width: none;
        padding: 22px;
        right: 12px;
        width: calc(100% - 24px);
    }

    .dg-affiliate-popup h2 {
        font-size: 32px;
    }

    .socios-content,
    .socios-topbar {
        padding: 18px;
    }

    .socios-topbar,
    .page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .gold-hero {
        padding: 30px 18px;
    }

    .gold-metrics,
    .socios-grid,
    .two-cols,
    .stats-grid,
    .reward-catalog,
    .level-table,
    .redeem-summary,
    .reward-row {
        grid-template-columns: 1fr;
    }

    .wide-card,
    .qr-card,
    .activity-card {
        grid-column: auto;
    }

    .level-orb {
        height: 118px;
        width: 118px;
    }

    .level-orb-icon {
        height: 78px;
        width: 78px;
    }
}
