/* ===== Moved from index.php: inline-block-1 ===== */


/* ===== RESET & BASE ===== */

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

 :root {
    --background: #FAFBFC;
    --background-muted: #F6F7F9;
    --foreground: #101828;
    --card: #FFFFFF;
    --card-foreground: #101828;
    --popover: #FFFFFF;
    --popover-foreground: #101828;
    --primary: #F5B800;
    --primary-light: #FFC83D;
    --primary-foreground: #3A2500;
    --secondary: #F3F4F6;
    --secondary-foreground: #101828;
    --muted: #F3F4F6;
    --muted-foreground: #667085;
    --accent: #FFF4CC;
    --accent-foreground: #101828;
    --destructive: oklch(0.577 0.245 27.325);
    --border: #E7EAF0;
    --input: #DDE2EA;
    --ring: #F5B800;
    --chart-1: #F5B800;
    --chart-2: #101828;
    --chart-3: #FFFFFF;
    --chart-4: #FFC83D;
    --chart-5: #B87900;
    --radius: 0.625rem;
    --sidebar: #FFFFFF;
    --sidebar-foreground: #101828;
    --sidebar-primary: #F5B800;
    --sidebar-primary-foreground: #3A2500;
    --sidebar-accent: #FFF4CC;
    --sidebar-accent-foreground: #101828;
    --sidebar-border: #E7EAF0;
    --sidebar-ring: #F5B800;
    --border-1: #E7EAF0;
    --border-hover: #F5B800;
    --woxb-gold: var(--primary);
    --woxb-gold2: var(--chart-5);
    --woxb-gold3: var(--primary-light);
    --woxb-dark: var(--background);
}

.dark {
    --background: #0A0A0A;
    --background-muted: #121212;
    --foreground: #FFFFFF;
    --card: #101010;
    --card-foreground: #FFFFFF;
    --popover: #101010;
    --popover-foreground: #FFFFFF;
    --primary: #F5B800;
    --primary-light: #FFD34D;
    --primary-foreground: #FFFFFF;
    --secondary: #161616;
    --secondary-foreground: #FFFFFF;
    --muted: #161616;
    --muted-foreground: #A7A7A7;
    --accent: rgba(245, 184, 0, 0.10);
    --accent-foreground: #F5B800;
    --destructive: oklch(0.704 0.191 22.216);
    --border: rgba(245, 184, 0, 0.25);
    --input: rgba(255, 255, 255, 0.14);
    --ring: #F5B800;
    --chart-1: #F5B800;
    --chart-2: #FFFFFF;
    --chart-3: #A7A7A7;
    --chart-4: #FFD34D;
    --chart-5: #B87900;
    --sidebar: #0A0A0A;
    --sidebar-foreground: #FFFFFF;
    --sidebar-primary: #F5B800;
    --sidebar-primary-foreground: #3A2500;
    --sidebar-accent: rgba(245, 184, 0, 0.10);
    --sidebar-accent-foreground: #F5B800;
    --sidebar-border: rgba(245, 184, 0, 0.18);
    --sidebar-ring: #F5B800;
    --border-1: rgba(245, 184, 0, 0.25);
    --border-hover: #F5B800;
    --woxb-gold: var(--primary);
    --woxb-gold2: var(--chart-5);
    --woxb-gold3: var(--primary-light);
    --woxb-dark: var(--background);
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: var(--background);
    color: var(--foreground);
    overflow-x: hidden;
    cursor: default;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9996;
    pointer-events: none;
    background: var(--theme-cover-bg, var(--background));
    opacity: 0;
    transition: opacity 0.22s ease;
}

html.theme-cover body::after {
    opacity: 1;
}

html.theme-transition-lock *,
html.theme-transition-lock *::before,
html.theme-transition-lock *::after {
    transition: none !important;
}

html.theme-transition-lock body::after {
    transition: opacity 0.22s ease !important;
}

a,
button {
    cursor: pointer;
}


/* ===== SCROLLBAR ===== */

 ::-webkit-scrollbar {
    width: 4px;
}

 ::-webkit-scrollbar-track {
    background: var(--background);
}

 ::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 20px;
}


/* ===== SCROLL PROGRESS ===== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #F5B800, #B87900);
    z-index: 9997;
    width: 0%;
    transition: width 0.1s;
}


/* ===== CANVAS BG ===== */

#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
    contain: strict;
    mix-blend-mode: screen;
}

html:not(.dark) #bgCanvas {
    mix-blend-mode: multiply;
    opacity: 0.5;
}


/* ===== GLASS HEADER ===== */

.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1440px;
    background: rgba(10, 10, 10, 0.45);
    backdrop-filter: blur(28px) saturate(1.8);
    border: 1px solid rgba(245, 184, 0, 0.12);
    border-radius: 100px;
    padding: 6px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.85);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.9);
    top: 6px;
    padding: 4px 24px;
    border-radius: 60px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.brand-logo {
    display: block;
    width: clamp(118px, 8vw, 142px);
    height: auto;
    object-fit: contain;
    filter: brightness(1.12) saturate(1.16) contrast(1.06) drop-shadow(0 0 12px rgba(245, 184, 0, 0.2));
}

.brand-word {
    font-size: 2rem;
    font-weight: 800;
    color: var(--woxb-gold, #F5B800);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: currentColor;
    background-clip: initial;
    filter: drop-shadow(0 0 12px rgba(245, 184, 0, 0.2));
}

.brand-sub {
    font-size: 0.85rem;
    font-weight: 500;
    color: #F5B800;
    background: linear-gradient(180deg, #FFD34D 0%, #F5B800 58%, #B87900 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.3em;
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a,
.nav-trigger {
    color: #A7A7A7;
    background: transparent;
    border: none;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 40px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.02em;
    position: relative;
}

.nav-links a::after,
.nav-trigger::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #F5B800;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 4px;
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-item.active > .nav-trigger::after,
.nav-item.open > .nav-trigger::after,
.nav-trigger:hover::after {
    width: 60%;
}

.nav-links a:hover,
.nav-links a.active,
.nav-item.active > .nav-trigger,
.nav-item.open > .nav-trigger,
.nav-trigger:hover {
    color: #F5B800;
}

.nav-caret {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 3px;
    transition: transform 0.3s;
}

.nav-item:hover .nav-caret,
.nav-item.open .nav-caret {
    transform: rotate(180deg);
}

.nav-item {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(12px) scale(0.92);
    background: rgba(16, 16, 16, 0.96);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(245, 184, 0, 0.25);
    border-radius: 20px;
    padding: 12px 8px;
    min-width: 210px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
    z-index: 100;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.open .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

.nav-dropdown a {
    display: block;
    color: #A7A7A7;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.25s;
    text-decoration: none;
    border-left: 2px solid transparent;
}

.nav-dropdown a:hover,
.nav-dropdown a.active {
    background: rgba(245, 184, 0, 0.08);
    color: #F5B800;
    border-left-color: #F5B800;
    transform: translateX(4px);
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--card), transparent 18%);
    color: var(--foreground);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    border-color: var(--border-hover);
    color: var(--primary);
    transform: translateY(-2px);
}

.theme-toggle::before {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px color-mix(in srgb, currentColor, transparent 78%);
    transition: all 0.25s ease;
}

html:not(.dark) .theme-toggle::before {
    background: transparent;
    box-shadow: inset -5px -3px 0 0 currentColor;
}

.btn {
    padding: 8px 24px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.78rem;
    border: none;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #F5B800, #B87900);
    color: #0A0A0A;
    box-shadow: 0 4px 24px rgba(245, 184, 0, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(245, 184, 0, 0.5);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(245, 184, 0, 0.4);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 42px;
    font-size: 0.95rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ===== HERO ===== */

.hero {
    min-height: 820px;
    display: flex;
    align-items: center;
    padding: 160px 5% 140px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.5) 34%, rgba(10, 10, 10, 0.1) 55%, rgba(10, 10, 10, 0) 74%), linear-gradient(180deg, rgba(10, 10, 10, 0.04) 0%, rgba(10, 10, 10, 0) 62%, rgba(10, 10, 10, 0.3) 100%), url("../images/hero.webp") right center / auto 110% no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 74% 58%, rgba(245, 184, 0, 0.12), transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: clamp(480px, 26vw, 620px);
    width: clamp(340px, 24vw, 500px);
    background: linear-gradient(90deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.85) 30%, rgba(10, 10, 10, 0.92) 60%, rgba(10, 10, 10, 0.2) 85%, rgba(10, 10, 10, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(480px, 0.92fr) minmax(300px, 0.58fr);
    align-items: center;
    gap: clamp(42px, 6vw, 96px);
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 640px;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 184, 0, 0.12);
    border: 1px solid rgba(245, 184, 0, 0.25);
    border-radius: 60px;
    padding: 8px 24px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #F5B800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
    width: fit-content;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 30px rgba(245, 184, 0, 0.05);
}

.hero h1 {
    font-size: clamp(3.2rem, 4.8vw, 5.2rem);
    font-weight: 800;
    line-height: 0.92;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.hero h1 span {
    background: linear-gradient(135deg, #F5B800, #B87900);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(245, 184, 0, 0.15));
}

.hero p {
    font-size: clamp(1rem, 1.1vw, 1.18rem);
    color: #A7A7A7;
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    padding-right: clamp(10px, 3vw, 58px);
}

.hero-card {
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 184, 0, 0.3);
    border-radius: 24px;
    padding: 8px 16px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.7);
}

.feature-row {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(245, 184, 0, 0.1);
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border: 2px solid #F5B800;
    border-radius: 50%;
    position: relative;
    box-shadow: inset 0 0 20px rgba(245, 184, 0, 0.15), 0 0 20px rgba(245, 184, 0, 0.05);
}

.feature-icon.fast {
    background: linear-gradient(#F5B800, #F5B800) 12px 24px / 5px 10px no-repeat, linear-gradient(#F5B800, #F5B800) 20px 17px / 5px 17px no-repeat, linear-gradient(#F5B800, #F5B800) 28px 10px / 5px 24px no-repeat;
}

.feature-icon.spread::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 18px;
    width: 24px;
    height: 14px;
    border-left: 2px solid #F5B800;
    border-bottom: 2px solid #F5B800;
    transform: rotate(-35deg);
}

.feature-icon.spread::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 12px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #F5B800;
}

.feature-icon.secure::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 8px;
    width: 24px;
    height: 28px;
    clip-path: polygon(50% 5%, 80% 18%, 76% 55%, 50% 86%, 24% 55%, 20% 18%);
    background: linear-gradient(180deg, #F5B800, rgba(245, 184, 0, 0.2));
}

.feature-icon.support::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 10px;
    width: 20px;
    height: 20px;
    border: 3px solid #F5B800;
    border-bottom-color: transparent;
    border-radius: 50%;
}

.feature-icon.support::after {
    content: "";
    position: absolute;
    left: 27px;
    top: 26px;
    width: 9px;
    height: 7px;
    border-radius: 5px;
    background: #F5B800;
}

.feature-copy h3 {
    color: #FFFFFF;
    font-size: 0.85rem;
    line-height: 1.1;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.feature-copy p {
    color: #A7A7A7;
    font-size: 0.7rem;
    line-height: 1.3;
    margin: 0;
    opacity: 0.8;
}


/* ===== QUICK FEATURES ===== */

.quick-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(1440px, calc(100% - 10%));
    max-width: 1440px;
    margin: -80px auto 60px;
    position: relative;
    z-index: 3;
    overflow: hidden;
    background: rgba(16, 16, 16, 0.88);
    border: 1px solid rgba(245, 184, 0, 0.35);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
}

.quick-features .qf-item {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    min-height: 120px;
    padding: 24px 34px;
    border-right: 1px solid rgba(245, 184, 0, 0.15);
    transition: all 0.4s ease;
}

.quick-features .qf-item:last-child {
    border-right: 0;
}

.quick-features .qf-item:hover {
    background: rgba(245, 184, 0, 0.05);
    transform: scale(1.01);
}

.qf-icon {
    width: 54px;
    height: 54px;
    border: 2px solid #F5B800;
    border-radius: 50%;
    position: relative;
    flex: none;
    box-shadow: inset 0 0 20px rgba(245, 184, 0, 0.15), 0 0 30px rgba(245, 184, 0, 0.06);
}

.qf-icon-spreads {
    background: linear-gradient(#F5B800, #F5B800) 15px 30px / 5px 11px no-repeat, linear-gradient(#F5B800, #F5B800) 24px 22px / 5px 19px no-repeat, linear-gradient(#F5B800, #F5B800) 33px 14px / 5px 27px no-repeat;
}

.qf-icon-spreads::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 15px;
    width: 25px;
    height: 17px;
    border-top: 2px solid #F5B800;
    border-right: 2px solid #F5B800;
    transform: skewY(-25deg);
    opacity: 0.78;
}

.qf-icon-leverage::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 13px;
    width: 24px;
    height: 24px;
    border: 2px solid #F5B800;
    border-radius: 50%;
}

.qf-icon-leverage::after {
    content: "";
    position: absolute;
    left: 26px;
    top: 10px;
    width: 2px;
    height: 30px;
    background: #F5B800;
    box-shadow: 11px 15px 0 -1px #F5B800, -11px 15px 0 -1px #F5B800;
    transform: rotate(38deg);
    transform-origin: center;
}

.qf-icon-instruments::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 13px;
    width: 28px;
    height: 21px;
    border: 2px solid #F5B800;
    border-radius: 2px;
    background: linear-gradient(#F5B800, #F5B800) 6px 13px / 4px 5px no-repeat, linear-gradient(#F5B800, #F5B800) 13px 9px / 4px 9px no-repeat, linear-gradient(#F5B800, #F5B800) 20px 5px / 4px 13px no-repeat;
}

.qf-icon-instruments::after {
    content: "";
    position: absolute;
    left: 20px;
    bottom: 10px;
    width: 15px;
    height: 8px;
    border-bottom: 2px solid #F5B800;
    border-left: 2px solid #F5B800;
    border-right: 2px solid #F5B800;
}

.qf-icon-support::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 13px;
    width: 24px;
    height: 24px;
    border: 2px solid #F5B800;
    border-radius: 50%;
}

.qf-icon-support::after {
    content: "";
    position: absolute;
    left: 25px;
    top: 9px;
    width: 2px;
    height: 35px;
    background: #F5B800;
}

.qf-copy strong {
    display: block;
    font-size: clamp(2.2rem, 2.8vw, 3.2rem);
    line-height: 0.95;
    font-weight: 800;
    color: #F5B800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.qf-copy {
    min-width: 0;
}

.qf-copy span {
    display: block;
    font-size: 0.78rem;
    line-height: 1.3;
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.85;
}


/* ===== SECTION ===== */

.section {
    padding: 90px 5%;
    max-width: 1440px;
    margin: 0 auto;
}

.section-head {
    text-align: center;
    margin-bottom: 56px;
}

.section-head h2 {
    font-size: clamp(2.2rem, 3.8vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-head h2 span {
    color: #F5B800;
}

.section-head p {
    color: #A7A7A7;
    max-width: 560px;
    margin: 14px auto 0;
    font-size: 1.05rem;
}

.section-divider {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #F5B800, transparent);
    margin: 18px auto 0;
    border-radius: 4px;
}


/* ===== INSTRUMENTS ===== */

.market-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 34px;
}

.market-tabs button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #A7A7A7;
    padding: 10px 26px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.market-tabs button:hover,
.market-tabs button.active {
    background: rgba(245, 184, 0, 0.1);
    border-color: rgba(245, 184, 0, 0.4);
    color: #F5B800;
    box-shadow: 0 0 30px rgba(245, 184, 0, 0.05);
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    width: min(1280px, 100%);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(245, 184, 0, 0.4);
    border-radius: 16px;
    background: rgba(16, 16, 16, 0.9);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
}

.quote-card {
    display: grid;
    grid-template-columns: 30px minmax(72px, 1fr) 96px;
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 11px;
    min-height: 130px;
    padding: 20px 16px 16px;
    background: rgba(16, 16, 16, 0.6);
    border-right: 1px solid rgba(245, 184, 0, 0.12);
    border-radius: 0;
    position: relative;
    transition: all 0.4s ease;
}

.quote-card:last-child {
    border-right: 0;
}

.quote-card:hover {
    background: rgba(18, 18, 18, 0.85);
    box-shadow: inset 0 0 0 1px rgba(245, 184, 0, 0.12);
    transform: translateY(-2px);
}

.quote-top {
    display: contents;
}

.quote-name {
    grid-column: 2 / 4;
    grid-row: 1;
    min-width: 0;
    padding-top: 1px;
}

.quote-card .pair {
    display: block;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.82rem;
    line-height: 1;
    margin: 0 0 5px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.quote-card .desc {
    display: block;
    color: #A7A7A7;
    font-size: 0.62rem;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quote-bottom {
    grid-column: 2 / 4;
    grid-row: 2;
    display: grid;
    grid-template-columns: 74px 1fr;
    align-items: end;
    gap: 9px;
    align-self: start;
    margin-top: 6px;
}

.quote-card .price {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
}

.quote-card .price.up {
    color: #4caf84;
}

.quote-card .price.down {
    color: #ef6b6b;
}

.quote-card .change {
    display: block;
    margin-top: 3px;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1;
}

.quote-card .change.up {
    color: #4caf84;
}

.quote-card .change.down {
    color: #ef6b6b;
}

.flag {
    grid-column: 1;
    grid-row: 1;
    width: 26px;
    height: 26px;
    display: block;
    overflow: hidden;
    border-radius: 50%;
    margin-top: 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 20px rgba(245, 184, 0, 0.08);
}

.flag-us {
    position: relative;
    background: linear-gradient(180deg, #c9272d 0 11%, #fff 11% 22%, #c9272d 22% 33%, #fff 33% 44%, #c9272d 44% 55%, #fff 55% 66%, #c9272d 66% 77%, #fff 77% 88%, #c9272d 88% 100%);
}

.flag-us::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    height: 15px;
    background: #244a9b;
}

.flag-uk {
    background: linear-gradient(45deg, transparent 41%, #fff 42% 47%, #d32030 48% 54%, #fff 55% 60%, transparent 61%), linear-gradient(-45deg, transparent 41%, #fff 42% 47%, #d32030 48% 54%, #fff 55% 60%, transparent 61%), linear-gradient(90deg, transparent 38%, #fff 39% 45%, #d32030 46% 54%, #fff 55% 61%, transparent 62%), linear-gradient(180deg, transparent 38%, #fff 39% 45%, #d32030 46% 54%, #fff 55% 61%, transparent 62%), #1f3d8f;
}

.flag-gold {
    background: radial-gradient(circle at 50% 43%, #FFD34D 0 12%, transparent 13%), linear-gradient(135deg, #F5B800, #B87900);
}

.flag-jp {
    background: radial-gradient(circle, #c9192e 0 29%, transparent 31%), #fff;
}

.flag-au {
    position: relative;
    background: linear-gradient(45deg, transparent 43%, #fff 44% 48%, #d32030 49% 53%, #fff 54% 58%, transparent 59%) left top / 56% 56% no-repeat, linear-gradient(-45deg, transparent 43%, #fff 44% 48%, #d32030 49% 53%, #fff 54% 58%, transparent 59%) left top / 56% 56% no-repeat, #173778;
}

.flag-au::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 11px;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 5px 5px 0 -1px #fff;
}

.sparkline {
    width: 96px;
    height: 42px;
    justify-self: end;
    overflow: visible;
}

.sparkline polyline {
    fill: none;
    stroke: #2f9b62;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px rgba(47, 155, 98, 0.4));
}

.sparkline.down polyline {
    stroke: #d9434f;
    filter: drop-shadow(0 0 6px rgba(217, 67, 79, 0.35));
}


/* ===== PLATFORMS ===== */

.platforms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.platform-devices {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
}

.platform-laptop-img {
    display: block;
    width: min(100%, 580px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.6));
}

.platform-laptop-light {
    display: none;
}

.platform-copy {
    max-width: 560px;
}

.platform-copy::before {
    content: "⚡ POWERFUL PLATFORMS";
    display: block;
    color: #F5B800;
    font-size: 0.7rem;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.12em;
}

.platform-copy h2 {
    font-size: clamp(2.5rem, 3.4vw, 3.6rem);
    font-weight: 800;
    line-height: 0.96;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.platform-copy h2 span {
    color: #F5B800;
}

.platform-copy p {
    color: #A7A7A7;
    margin-bottom: 28px;
    max-width: 490px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.platform-icons {
    display: flex;
    gap: 0;
    margin-bottom: 34px;
    align-items: center;
}

.platform-icons .pi {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 20px;
    border-left: 1px solid rgba(245, 184, 0, 0.2);
    color: #FFFFFF;
    text-transform: uppercase;
}

.platform-icons .pi:first-child {
    padding-left: 0;
    border-left: 0;
}

.platform-icons .pi:last-child {
    padding-right: 0;
}

.platform-icons .pi i {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 2px solid rgba(245, 184, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: none;
    font-size: 0;
    color: transparent;
    font-style: normal;
    box-shadow: inset 0 0 20px rgba(245, 184, 0, 0.08);
    transition: all 0.4s ease;
}

.platform-icons .pi:nth-child(1) i {
    background: linear-gradient(#F5B800, #F5B800) 10px 25px / 5px 10px no-repeat, linear-gradient(#F5B800, #F5B800) 19px 18px / 5px 17px no-repeat, linear-gradient(#F5B800, #F5B800) 28px 12px / 5px 23px no-repeat;
}

.platform-icons .pi:nth-child(1) i::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 10px;
    width: 25px;
    height: 16px;
    border-top: 2px solid #F5B800;
    border-right: 2px solid #F5B800;
    transform: skewY(-28deg);
}

.platform-icons .pi:nth-child(2) i::before,
.platform-icons .pi:nth-child(4) i::before {
    content: "";
    width: 16px;
    height: 27px;
    border: 2px solid #F5B800;
    border-radius: 4px;
}

.platform-icons .pi:nth-child(2) i::after,
.platform-icons .pi:nth-child(4) i::after {
    content: "";
    position: absolute;
    bottom: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #F5B800;
}

.platform-icons .pi:nth-child(3) i::before {
    content: "";
    width: 25px;
    height: 18px;
    border: 2px solid #F5B800;
    border-radius: 2px;
}

.platform-icons .pi:nth-child(3) i::after {
    content: "";
    position: absolute;
    bottom: 7px;
    width: 16px;
    height: 8px;
    border-bottom: 2px solid #F5B800;
    border-left: 2px solid #F5B800;
    border-right: 2px solid #F5B800;
}

.platform-icons .pi span {
    display: block;
    color: #FFFFFF;
    font-size: 0;
    line-height: 1.05;
    font-weight: 800;
    text-transform: uppercase;
    min-width: 72px;
}

.platform-icons .pi span::before,
.platform-icons .pi span::after {
    display: block;
    font-size: 0.7rem;
}

.platform-icons .pi:nth-child(1) span::before {
    content: "MT5";
}

.platform-icons .pi:nth-child(1) span::after {
    content: "DESKTOP";
}

.platform-icons .pi:nth-child(2) span::before {
    content: "MT5";
}

.platform-icons .pi:nth-child(2) span::after {
    content: "MOBILE";
}

.platform-icons .pi:nth-child(3) span::before {
    content: "WEB";
}

.platform-icons .pi:nth-child(3) span::after {
    content: "TRADER";
}

.platform-icons .pi:nth-child(4) span::before {
    content: "WOXB";
}

.platform-icons .pi:nth-child(4) span::after {
    content: "APP";
}

.platform-icons .pi:hover i {
    background: rgba(245, 184, 0, 0.1);
    border-color: #F5B800;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 30px rgba(245, 184, 0, 0.15);
}

.platform-copy .btn-primary {
    background: transparent;
    color: var(--foreground);
    border: 1px solid rgba(245, 184, 0, 0.7);
    border-radius: 8px;
    padding: 14px 40px;
    box-shadow: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.035em;
}

.platform-copy .btn-primary:hover {
    background: rgba(245, 184, 0, 0.08);
    border-color: #F5B800;
    color: var(--foreground);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(245, 184, 0, 0.15);
}


/* ===== PROMOTIONS ===== */

.promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.promo-card {
    background: rgba(16, 16, 16, 0.6);
    border: 1px solid rgba(245, 184, 0, 0.2);
    border-radius: 18px;
    min-height: 160px;
    padding: 28px 28px;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.promo-card::before {
    content: none;
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.6) 42%, rgba(10, 10, 10, 0.05) 100%);
    z-index: 1;
    pointer-events: none;
}

.promo-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.9;
    z-index: 0;
    transform: scale(1.02);
    transition: transform 0.7s ease;
}

.promo-bg-light {
    display: none;
}

.promo-card:hover {
    transform: translateY(-10px);
    border-color: rgba(245, 184, 0, 0.5);
    box-shadow: none;
}

.promo-card:hover .promo-bg {
    transform: scale(1.08);
}

.promo-copy {
    position: relative;
    z-index: 3;
    max-width: 60%;
}

.promo-card h3 {
    color: #FFFFFF;
    font-size: 1.2rem;
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.promo-card h3 span {
    color: #F5B800;
}

.promo-card p {
    font-size: 0.8rem;
    line-height: 1.35;
    color: #A7A7A7;
    opacity: 0.9;
}


/* ===== PAYMENTS ===== */

.payments-section {
    background: rgba(16, 16, 16, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 50px 5%;
    text-align: center;
}

.payment-logos {
    max-width: 1120px;
    margin: 28px auto 0;
    overflow: hidden;
    position: relative;
    padding: 4px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}

.payment-track {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    white-space: nowrap;
    animation: payment-slide 28s linear infinite;
}

.payment-logos:hover .payment-track {
    animation-play-state: paused;
}

.payment-logo {
    height: 56px;
    min-width: 112px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    filter: none;
    transition: all 0.3s ease;
}

.payment-logo img {
    display: block;
    max-height: 52px;
    max-width: 168px;
    object-fit: contain;
    mix-blend-mode: screen;
}

.payment-logo:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.04);
}

.payment-logo.mastercard {
    gap: 12px;
    min-width: 172px;
    color: #FFFFFF;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0;
}

.payment-logo.mastercard::before {
    content: "";
    width: 62px;
    height: 40px;
    background: radial-gradient(circle at 24px 20px, #eb001b 0 20px, transparent 21px), radial-gradient(circle at 38px 20px, #f79e1b 0 20px, transparent 21px);
    filter: none;
}

@keyframes payment-slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 28px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .payment-track {
        animation: none;
    }
}


/* ===== FOOTER ===== */

.site-footer {
    background: #0A0A0A;
    border-top: 1px solid rgba(245, 184, 0, 0.2);
    padding: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.9fr 1fr 1fr 1fr 1fr 1fr 1.8fr;
    gap: 28px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 5% 34px;
}

.footer-brand {
    padding-right: 34px;
    border-right: 1px solid rgba(245, 184, 0, 0.2);
}

.footer-brand .brand {
    margin-bottom: 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
}

.footer-brand .brand-logo {
    width: 158px;
}

.footer-brand .brand-word {
    font-size: 2.2rem;
    line-height: 1;
}

.footer-brand .brand-sub {
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    margin-left: 6px;
    opacity: 1;
}

.footer-brand p {
    color: #A7A7A7;
    font-size: 0.85rem;
    max-width: 280px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 800;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: #F5B800;
    border-color: #F5B800;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 184, 0, 0.1);
}

.footer-col h4 {
    color: #F5B800;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-col a {
    display: block;
    color: #A7A7A7;
    text-decoration: none;
    font-size: 0.78rem;
    padding: 4px 0;
    line-height: 1.4;
    transition: all 0.25s ease;
    opacity: 0.8;
}

.footer-col a:hover {
    color: #F5B800;
    opacity: 1;
    transform: translateX(4px);
}

.footer-contact {
    padding-left: 28px;
    border-left: 1px solid rgba(245, 184, 0, 0.2);
}

.contact-line {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: start;
    color: #A7A7A7;
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 14px;
    opacity: 0.8;
}

.contact-icon {
    width: 18px;
    height: 18px;
    border: 1px solid #F5B800;
    border-radius: 5px;
    position: relative;
    margin-top: 1px;
}

.contact-icon.phone::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 12px;
    border-left: 2px solid #F5B800;
    border-bottom: 2px solid #F5B800;
    transform: rotate(-28deg);
    left: 5px;
    top: 2px;
    border-radius: 0 0 0 4px;
}

.contact-icon.mail::before {
    content: "";
    position: absolute;
    inset: 4px 3px;
    border: 1px solid #F5B800;
    border-radius: 1px;
}

.contact-icon.web {
    border-radius: 50%;
}

.contact-icon.web::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-left: 1px solid #F5B800;
    border-right: 1px solid #F5B800;
    border-radius: 50%;
}

.contact-icon.pin {
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.contact-icon.pin::before {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border: 1px solid #F5B800;
    border-radius: 50%;
    left: 5px;
    top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(245, 184, 0, 0.25);
    padding: 16px 5% 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.72rem;
    color: #A7A7A7;
}

.footer-risk {
    flex-basis: 100%;
    color: #A7A7A7;
    opacity: 0.7;
}

.footer-bottom a {
    color: #A7A7A7;
    text-decoration: none;
    margin-left: 18px;
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    transition: color 0.25s;
}

.footer-bottom a:first-child {
    border-left: 0;
    padding-left: 0;
}

.footer-bottom a:hover {
    color: #F5B800;
}

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 8px 0 env(safe-area-inset-bottom);
    z-index: 999;
    justify-content: space-around;
}

.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #A7A7A7;
    text-decoration: none;
    font-size: 0.6rem;
    font-weight: 500;
    transition: color 0.2s;
    padding: 4px 12px;
}

.mobile-bottom-nav a.active {
    color: #F5B800;
}

.mobile-bottom-nav a i {
    font-size: 1.2rem;
    margin-bottom: 2px;
    font-style: normal;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(245, 184, 0, 0.12);
    border: 1px solid rgba(245, 184, 0, 0.2);
    color: #F5B800;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(245, 184, 0, 0.2);
    border-color: #F5B800;
    transform: translateY(-4px) scale(1.05);
}


/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero {
        min-height: auto;
        padding: 120px 5% 92px;
        background: linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.62) 58%, rgba(10, 10, 10, 0.2) 100%), linear-gradient(180deg, rgba(10, 10, 10, 0.02) 0%, rgba(10, 10, 10, 0.32) 100%), url("../images/hero.webp") 64% center / cover no-repeat;
    }
    .hero::after {
        display: none;
    }
    .hero-visual {
        justify-content: flex-start;
        padding-right: 0;
    }
    .quick-features {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 0;
    }
    .quick-features .qf-item {
        border-bottom: 1px solid rgba(245, 184, 0, 0.15);
    }
    .quick-features .qf-item:nth-child(2n) {
        border-right: 0;
    }
    .quick-features .qf-item:nth-last-child(-n+2) {
        border-bottom: 0;
    }
    .quote-grid {
        grid-template-columns: 1fr;
    }
    .quote-card {
        min-height: 96px;
        border-right: 0;
        border-bottom: 1px solid rgba(245, 184, 0, 0.12);
    }
    .quote-card:last-child {
        border-bottom: 0;
    }
    .sparkline {
        width: 110px;
    }
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand,
    .footer-contact {
        border: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .mobile-bottom-nav {
        display: flex;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 104px 18px 64px;
        text-align: left;
        background-position: 68% center;
    }
    .hero h1 {
        font-size: clamp(2.35rem, 10.5vw, 3.2rem);
        line-height: 1;
    }
    .hero-actions .btn-large {
        width: 100%;
        justify-content: center;
    }
    .hero-card {
        max-width: 100%;
    }
    .quick-features {
        grid-template-columns: 1fr;
        width: min(100% - 28px, 480px);
    }
    .quick-features .qf-item {
        grid-template-columns: 56px 1fr;
        min-height: 104px;
        padding: 20px 24px;
        border-right: 0;
        border-bottom: 1px solid rgba(245, 184, 0, 0.15);
    }
    .quick-features .qf-item:last-child {
        border-bottom: 0;
    }
    .quote-card {
        padding: 16px;
    }
    .quote-bottom {
        grid-template-columns: minmax(78px, max-content) minmax(90px, 1fr);
        padding-left: 36px;
    }
    .sparkline {
        width: 100%;
        max-width: 140px;
    }
    .promo-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .header-actions .btn-ghost {
        display: none;
    }
}


/* ===== REVEAL ANIMATIONS ===== */

.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal-delay-1 {
    transition-delay: 0.12s;
}

.reveal-delay-2 {
    transition-delay: 0.24s;
}

.reveal-delay-3 {
    transition-delay: 0.36s;
}

.reveal-delay-4 {
    transition-delay: 0.48s;
}


/* ===== Moved from index.php: inline-block-2 ===== */


/* =========================================================
   WOXB ULTRA PREMIUM MOTION V2
   World-class fintech motion / depth / interaction layer
   ========================================================= */

:root {
    --woxb-gold: var(--primary);
    --woxb-gold2: var(--chart-5);
    --woxb-gold3: var(--primary-light);
    --woxb-dark: var(--background);
}


/* ---------- PREMIUM HERO DEPTH ---------- */

.hero {
    perspective: 1600px;
    transform-style: preserve-3d;
}

.hero::before {
    background: radial-gradient(circle at 78% 48%, rgba(245, 184, 0, .20), transparent 27%), radial-gradient(circle at 88% 22%, rgba(245, 184, 0, .08), transparent 22%);
    animation: heroBreath 7s ease-in-out infinite alternate;
}

@keyframes heroBreath {
    0% {
        opacity: .58;
        transform: scale(1)
    }
    100% {
        opacity: 1;
        transform: scale(1.07)
    }
}

.hero-grid {
    transform-style: preserve-3d
}

.hero-content,
.hero-visual {
    will-change: transform
}

.hero-content::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -170px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 184, 0, .09), transparent 68%);
    filter: blur(24px);
    pointer-events: none;
    animation: leftAura 6s ease-in-out infinite alternate;
}

@keyframes leftAura {
    from {
        transform: translateY(-50%) translateX(-10px) scale(.95);
        opacity: .35
    }
    to {
        transform: translateY(-50%) translateX(22px) scale(1.08);
        opacity: .8
    }
}


/* ---------- GOLD SHIMMER TYPOGRAPHY ---------- */

.hero h1 {
    position: relative;
    text-shadow: 0 22px 60px rgba(0, 0, 0, .45);
}

.hero h1 span {
    background: linear-gradient(105deg, #B87900 0%, #F5B800 20%, #FFD34D 38%, #F5B800 54%, #B87900 72%, #F5B800 100%);
    background-size: 240% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: premiumGoldText 7s linear infinite;
}

@keyframes premiumGoldText {
    to {
        background-position: -240% 0
    }
}

.hero-badge {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 36px rgba(245, 184, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.hero-badge::after {
    content: "";
    position: absolute;
    top: -180%;
    bottom: -180%;
    left: -40%;
    width: 28%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent);
    transform: rotate(20deg);
    animation: badgeSweep 4.8s ease-in-out infinite;
}

@keyframes badgeSweep {
    0%,
    57% {
        left: -42%;
        opacity: 0
    }
    68% {
        opacity: 1
    }
    100% {
        left: 135%;
        opacity: 0
    }
}


/* ---------- CINEMATIC BUTTONS ---------- */

.btn {
    isolation: isolate;
    overflow: hidden;
    transform-style: preserve-3d;
}

.btn::before {
    content: "";
    position: absolute;
    top: -160%;
    bottom: -160%;
    left: -38%;
    width: 28%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
    transform: rotate(22deg);
    transition: left .72s cubic-bezier(.22, 1, .36, 1);
    z-index: -1;
}

.btn:hover::before {
    left: 132%
}

.btn-primary {
    background: linear-gradient(135deg, #FFD34D 0%, #F5B800 35%, #B87900 100%);
    color: #0A0A0A;
    box-shadow: 0 12px 42px rgba(245, 184, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .48);
}

.btn-primary:hover {
    color: #0A0A0A;
    box-shadow: 0 18px 58px rgba(245, 184, 0, .42), 0 0 24px rgba(245, 184, 0, .14);
}


/* ---------- HERO GLASS CARD ---------- */

.hero-card {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    background: linear-gradient(180deg, rgba(25, 25, 25, .76), rgba(10, 10, 10, .82));
    border-color: rgba(245, 184, 0, .34);
    box-shadow: 0 50px 120px rgba(0, 0, 0, .70), 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 1px 0 rgba(255, 255, 255, .06) inset;
}

.hero-card::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    top: -95px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 184, 0, .25), transparent 68%);
    filter: blur(8px);
    pointer-events: none;
    animation: heroCardGlow 5.5s ease-in-out infinite alternate;
}

@keyframes heroCardGlow {
    to {
        transform: translate(-42px, 38px) scale(1.25);
        opacity: .7
    }
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(125deg, transparent 6%, rgba(245, 184, 0, .15) 22%, rgba(255, 211, 77, .72) 38%, transparent 50%, rgba(245, 184, 0, .30) 68%, transparent 86%);
    background-size: 240% 240%;
    animation: cardBorderFlow 7s linear infinite;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes cardBorderFlow {
    to {
        background-position: 240% 240%
    }
}

.feature-row {
    position: relative;
    padding-inline: 9px;
    border-radius: 14px;
    transition: transform .36s cubic-bezier(.22, 1, .36, 1), background .3s ease;
}

.feature-row:hover {
    transform: translateX(9px);
    background: linear-gradient(90deg, rgba(245, 184, 0, .065), transparent 75%);
}

.feature-icon {
    transition: transform .35s ease, box-shadow .35s ease
}

.feature-row:hover .feature-icon {
    transform: scale(1.08) rotate(-6deg);
    box-shadow: 0 0 28px rgba(245, 184, 0, .22), inset 0 0 18px rgba(245, 184, 0, .18);
}


/* ---------- QUICK FEATURES ---------- */

.quick-features {
    overflow: visible;
    background: linear-gradient(180deg, rgba(18, 18, 18, .92), rgba(10, 10, 10, .94));
}

.quick-features::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    z-index: -1;
    background: linear-gradient(90deg, transparent, rgba(245, 184, 0, .16), transparent);
    filter: blur(14px);
    animation: qfAura 5s ease-in-out infinite alternate;
}

@keyframes qfAura {
    from {
        transform: translateX(-22px);
        opacity: .28
    }
    to {
        transform: translateX(22px);
        opacity: .8
    }
}

.qf-item {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d
}

.qf-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(245, 184, 0, .14), transparent 38%);
    opacity: 0;
    transition: opacity .28s;
    pointer-events: none;
}

.qf-item:hover::after {
    opacity: 1
}

.qf-icon {
    transition: transform .35s ease, box-shadow .35s ease
}

.qf-item:hover .qf-icon {
    transform: translateZ(18px) scale(1.1) rotate(-5deg);
    box-shadow: 0 0 32px rgba(245, 184, 0, .20), inset 0 0 20px rgba(245, 184, 0, .16);
}


/* ---------- SECTION HEADS ---------- */

.section-head {
    position: relative
}

.section-head h2 {
    text-shadow: 0 14px 42px rgba(0, 0, 0, .48)
}

.section-divider {
    position: relative;
    box-shadow: 0 0 18px rgba(245, 184, 0, .2);
}

.section-divider::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 3px;
    border-radius: 10px;
    background: #FFD34D;
    box-shadow: 0 0 12px rgba(255, 211, 77, .8);
    animation: dividerScanner 2.6s ease-in-out infinite;
}

@keyframes dividerScanner {
    0%,
    100% {
        left: 0;
        opacity: .2
    }
    50% {
        left: 52px;
        opacity: 1
    }
}


/* ---------- MARKET / QUOTE CARDS ---------- */

.market-tabs button {
    position: relative;
    overflow: hidden
}

.market-tabs button::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 1px;
    width: 0;
    height: 2px;
    transform: translateX(-50%);
    background: var(--woxb-gold);
    box-shadow: 0 0 12px rgba(245, 184, 0, .5);
    transition: width .3s;
}

.market-tabs button:hover::after,
.market-tabs button.active::after {
    width: 58%
}

.quote-card {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

.quote-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0 42%, rgba(245, 184, 0, .085) 50%, transparent 58%);
    transform: translateX(-145%);
    transition: transform .78s cubic-bezier(.22, 1, .36, 1);
}

.quote-card:hover::before {
    transform: translateX(145%)
}

.sparkline polyline {
    stroke-dasharray: 190;
    stroke-dashoffset: 190;
    animation: sparkDraw 1.55s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes sparkDraw {
    to {
        stroke-dashoffset: 0
    }
}


/* ---------- PLATFORM ---------- */

.platform-devices {
    perspective: 1200px
}

.platform-laptop-img {
    will-change: transform;
    animation: deviceFloat 5.8s ease-in-out infinite;
}

@keyframes deviceFloat {
    0%,
    100% {
        transform: translateY(0) rotateX(0deg)
    }
    50% {
        transform: translateY(-16px) rotateX(1.2deg)
    }
}

.platform-icons .pi {
    transition: transform .34s ease, color .34s ease;
}

.platform-icons .pi:hover {
    transform: translateY(-6px);
    color: var(--woxb-gold)
}


/* ---------- PROMO CARDS ---------- */

.promo-card {
    transform-style: preserve-3d;
    will-change: transform;
}

.promo-card::after {
    content: none;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(circle at var(--px, 75%) var(--py, 35%), rgba(245, 184, 0, .17), transparent 34%);
    opacity: 0;
    transition: opacity .28s;
}

.promo-card:hover::after {
    opacity: 0
}

.promo-copy {
    transform: translateZ(25px)
}

.promo-bg {
    will-change: transform
}


/* ---------- PAYMENT STRIP ---------- */

.payment-track {
    animation-duration: 23s;
    will-change: transform;
}

.payment-logo {
    filter: none;
}

.payment-logo:hover {
    filter: none;
}


/* ---------- FOOTER ---------- */

.site-footer {
    position: relative;
    overflow: hidden
}

.site-footer::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 184, 0, .95), transparent);
    box-shadow: 0 0 28px rgba(245, 184, 0, .32);
}


/* ---------- PREMIUM FOOTER ICONS ---------- */

.footer-socials {
    gap: 10px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(245, 184, 0, .72);
    color: var(--woxb-gold, #F5B800);
    background: linear-gradient(145deg, rgba(245, 184, 0, .10), rgba(245, 184, 0, .025));
    box-shadow: none;
}

.footer-socials a svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-socials a svg path {
    fill-rule: evenodd;
    clip-rule: evenodd;
}

.footer-socials a:hover {
    color: var(--woxb-gold, #F5B800);
    border-color: var(--woxb-gold, #F5B800);
    background: linear-gradient(145deg, rgba(245, 184, 0, .15), rgba(245, 184, 0, .04));
    transform: translateY(-2px);
    box-shadow: none;
}

.contact-line {
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: flex-start;
}

.contact-icon,
.contact-icon.phone,
.contact-icon.mail,
.contact-icon.web,
.contact-icon.pin {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-top: -2px;
    border: 1px solid rgba(245, 184, 0, .72);
    border-radius: 50%;
    color: var(--woxb-gold, #F5B800);
    background: linear-gradient(145deg, rgba(245, 184, 0, .10), rgba(245, 184, 0, .025));
    transform: none;
    box-shadow: none;
}

.contact-icon::before,
.contact-icon::after,
.contact-icon.phone::before,
.contact-icon.mail::before,
.contact-icon.web::before,
.contact-icon.pin::before {
    content: none;
}

.contact-icon svg {
    display: block;
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ---------- CURSOR LIGHT ---------- */

#woxbCursorGlow {
    position: fixed;
    top: 0;
    left: 0;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(245, 184, 0, .075), rgba(245, 184, 0, .022) 35%, transparent 70%);
    filter: blur(8px);
    mix-blend-mode: screen;
    opacity: .7;
    will-change: transform;
}

html:not(.dark) #woxbCursorGlow {
    opacity: 0
}


/* ---------- GOLD TRAIL ---------- */

.woxb-trail {
    position: fixed;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    background: #F5B800;
    box-shadow: 0 0 12px rgba(245, 184, 0, .9), 0 0 24px rgba(245, 184, 0, .45);
    animation: trailFade .72s ease-out forwards;
}

@keyframes trailFade {
    to {
        transform: scale(0);
        opacity: 0
    }
}


/* ---------- ACCESSIBILITY ---------- */

@media(max-width:1024px) {
    #woxbCursorGlow {
        display: block
    }
}


/* ---------- SOFTER TYPE OVERRIDES ---------- */

.hero h1 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: 0;
    text-shadow: 0 16px 44px rgba(0, 0, 0, .38);
}

.hero h1 span {
    background: linear-gradient(135deg, #FFD34D 0%, #F5B800 48%, #B87900 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 18px rgba(245, 184, 0, .12));
}

.qf-copy strong {
    font-family: var(--font-display);
    font-size: clamp(2rem, 2.55vw, 2.9rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0;
}

.qf-copy span {
    font-weight: 500;
    line-height: 1.35;
    opacity: .78;
}

.feature-copy h3,
.section-head h2,
.platform-copy h2,
.promo-card h3 {
    font-weight: 600;
}


/* ---------- COMPACT QUICK FEATURES ---------- */

.quick-features .qf-item {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    min-height: 78px;
    padding: 12px 22px;
}

.quick-features .qf-item .qf-icon {
    transform: scale(.7);
    transform-origin: center;
}

.quick-features .qf-item:hover .qf-icon {
    transform: translateZ(8px) scale(.78) rotate(-4deg);
}

.qf-copy strong {
    font-size: clamp(1.35rem, 1.75vw, 2.05rem);
    margin-bottom: 2px;
}

.qf-copy span {
    font-size: .62rem;
    line-height: 1.18;
}

@media(max-width:640px) {
    .quick-features .qf-item {
        grid-template-columns: 40px minmax(0, 1fr);
        min-height: 70px;
        padding: 10px 14px;
    }
    .quick-features .qf-item .qf-icon {
        transform: scale(.62);
    }
    .qf-copy strong {
        font-size: 1.42rem;
    }
    .qf-copy span {
        font-size: .58rem;
    }
}


/* ---------- HERO FEATURE ICON ALIGNMENT ---------- */

.hero-card .feature-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 66px;
    padding: 10px 12px;
}

.hero-card .feature-row:hover {
    transform: none;
}

.hero-card .feature-row:hover .feature-icon {
    transform: none;
    box-shadow: 0 0 24px rgba(245, 184, 0, .18), inset 0 0 18px rgba(245, 184, 0, .18);
}

.hero-card .feature-icon {
    width: 42px;
    height: 42px;
    justify-self: center;
    align-self: center;
    margin: 0;
}

.hero-card .feature-copy {
    min-width: 0;
    align-self: center;
}

.hero-card .feature-icon.fast {
    background: linear-gradient(#F5B800, #F5B800) 11px 23px / 5px 10px no-repeat, linear-gradient(#F5B800, #F5B800) 19px 16px / 5px 17px no-repeat, linear-gradient(#F5B800, #F5B800) 27px 9px / 5px 24px no-repeat;
}

.hero-card .feature-icon.spread::before {
    left: 9px;
    top: 17px;
}

.hero-card .feature-icon.spread::after {
    right: 9px;
    top: 11px;
}

.hero-card .feature-icon.secure::before {
    left: 9px;
    top: 8px;
    width: 22px;
    height: 26px;
}

.hero-card .feature-icon.support::before {
    left: 9px;
    top: 9px;
    width: 20px;
    height: 20px;
}

.hero-card .feature-icon.support::after {
    left: 25px;
    top: 25px;
}


/* ---------- MATCH ICONS AND TEXT TO WOXB GOLD ---------- */

.hero-card .feature-icon,
.quick-features .qf-icon {
    border-color: var(--woxb-gold, #F5B800);
    color: var(--woxb-gold, #F5B800);
}

.hero-card .feature-copy h3,
.hero-card .feature-copy p,
.quick-features .qf-copy strong,
.quick-features .qf-copy span {
    color: var(--woxb-gold, #F5B800);
}

.hero-card .feature-copy p,
.quick-features .qf-copy span {
    opacity: .92;
}

.hero-card .feature-copy p {
    color: #A7A7A7;
    opacity: .8;
}

.quick-features .qf-copy span {
    color: #FFFFFF;
    opacity: .85;
}


/* ---------- CENTERED QUICK FEATURE SVG ICONS ---------- */

.quick-features .qf-item {
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.quick-features .qf-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    justify-self: center;
    align-self: center;
    margin: 0;
    background: none;
    transform: none;
}

.quick-features .qf-item .qf-icon {
    width: 46px;
    height: 46px;
    transform: none;
}

.quick-features .qf-icon::before,
.quick-features .qf-icon::after {
    content: none;
}

.quick-features .qf-icon svg {
    display: block;
    width: 26px;
    height: 26px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.quick-features .qf-item:hover .qf-icon {
    transform: none;
}

.quick-features .qf-icon-spreads,
.quick-features .qf-icon-leverage,
.quick-features .qf-icon-instruments,
.quick-features .qf-icon-support {
    background: none;
}

@media(max-width:640px) {
    .quick-features .qf-item {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 10px;
    }
    .quick-features .qf-icon {
        width: 42px;
        height: 42px;
        transform: none;
    }
    .quick-features .qf-item .qf-icon {
        width: 42px;
        height: 42px;
        transform: none;
    }
    .quick-features .qf-icon svg {
        width: 24px;
        height: 24px;
    }
}

.hero-card .feature-icon.fast,
.hero-card .feature-icon.spread::after,
.hero-card .feature-icon.secure::before,
.hero-card .feature-icon.support::after {
    background-color: var(--woxb-gold, #F5B800);
}

.hero-card .feature-icon.fast {
    background: linear-gradient(var(--woxb-gold, #F5B800), var(--woxb-gold, #F5B800)) 11px 23px / 5px 10px no-repeat, linear-gradient(var(--woxb-gold, #F5B800), var(--woxb-gold, #F5B800)) 19px 16px / 5px 17px no-repeat, linear-gradient(var(--woxb-gold, #F5B800), var(--woxb-gold, #F5B800)) 27px 9px / 5px 24px no-repeat;
}

.hero-card .feature-icon.spread::before {
    border-left-color: var(--woxb-gold, #F5B800);
    border-bottom-color: var(--woxb-gold, #F5B800);
}

.hero-card .feature-icon.support::before {
    border-color: var(--woxb-gold, #F5B800);
    border-bottom-color: transparent;
}


/* ---------- CENTERED HERO FEATURE SVG ICONS ---------- */

.hero-card .feature-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--woxb-gold, #F5B800);
    background: none;
    transform: none;
}

.hero-card .feature-icon::before,
.hero-card .feature-icon::after {
    content: none;
}

.hero-card .feature-icon.fast,
.hero-card .feature-icon.spread,
.hero-card .feature-icon.secure,
.hero-card .feature-icon.support {
    background: none;
}

.hero-card .feature-icon svg {
    display: block;
    width: 24px;
    height: 24px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-card .feature-row:hover .feature-icon {
    transform: none;
}


/* ---------- PREMIUM FINTECH ICON DETAIL ---------- */

.hero-card .feature-icon,
.quick-features .qf-icon {
    background: radial-gradient(circle at 32% 24%, rgba(255, 211, 77, .28), transparent 35%), linear-gradient(145deg, rgba(245, 184, 0, .18), rgba(245, 184, 0, .035));
    border-color: rgba(245, 184, 0, .86);
    box-shadow: inset 0 0 18px rgba(245, 184, 0, .14), 0 0 24px rgba(245, 184, 0, .12);
}

.hero-card .feature-icon svg,
.quick-features .qf-icon svg {
    filter: drop-shadow(0 0 8px rgba(245, 184, 0, .22));
}

.hero-card .feature-icon .icon-fill,
.quick-features .qf-icon .icon-fill {
    fill: rgba(245, 184, 0, .14);
    stroke: none;
}

.hero-card .feature-icon .icon-dot,
.quick-features .qf-icon .icon-dot,
.hero-card .feature-icon .icon-gold-fill,
.quick-features .qf-icon .icon-gold-fill {
    fill: currentColor;
    stroke: none;
}

.hero-card .feature-icon .icon-muted,
.quick-features .qf-icon .icon-muted {
    opacity: .48;
}

.hero-card .feature-icon .icon-thin,
.quick-features .qf-icon .icon-thin {
    stroke-width: 1.35;
}


/* ---------- CLEAN QUICK FEATURE ICONS ---------- */

.quick-features .qf-icon,
.quick-features .qf-icon-spreads,
.quick-features .qf-icon-leverage,
.quick-features .qf-icon-instruments,
.quick-features .qf-icon-support {
    background: transparent;
    box-shadow: none;
}

.quick-features .qf-icon svg {
    filter: none;
}

.quick-features .qf-icon .icon-fill {
    fill: transparent;
}

.quick-features .qf-item:hover .qf-icon {
    transform: none;
    box-shadow: none;
}


/* ---------- PREMIUM PLATFORM ICONS ---------- */

.platform-icons {
    gap: 14px;
    flex-wrap: wrap;
}

.platform-icons .pi {
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 0 18px;
}

.platform-icons .pi i {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    border: 1px solid rgba(245, 184, 0, .86);
    color: var(--woxb-gold, #F5B800);
    background: radial-gradient(circle at 32% 24%, rgba(255, 211, 77, .30), transparent 36%), linear-gradient(145deg, rgba(245, 184, 0, .18), rgba(245, 184, 0, .035));
    box-shadow: inset 0 0 18px rgba(245, 184, 0, .14), 0 0 24px rgba(245, 184, 0, .12);
    overflow: hidden;
    transform: none;
}

.platform-icons .pi i>svg {
    display: none;
}

.platform-icons .pi i::before {
    content: "";
    position: relative;
    inset: auto;
    display: block;
    width: 32px;
    height: 32px;
    border: 0;
    background: currentColor;
    transform: none;
    opacity: 1;
    -webkit-mask: var(--platform-icon) center / contain no-repeat;
    mask: var(--platform-icon) center / contain no-repeat;
}

.platform-icons .pi i::after {
    content: "";
    position: absolute;
    inset: 7px;
    width: auto;
    height: auto;
    border: 1px solid rgba(245, 184, 0, .22);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .16), transparent 42%);
    pointer-events: none;
}

.platform-icons .pi:nth-child(1) i {
    --platform-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4M7 13v-3M12 13V8M17 13V6M6.5 8.5l3-1.7 3 1.7 5-3'/%3E%3C/svg%3E");
}

.platform-icons .pi:nth-child(2) i {
    --platform-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='3' width='10' height='18' rx='2.2'/%3E%3Cpath d='M10 17h4M9 13l2-2 2 1.4 2.5-3.4M9.5 7h5'/%3E%3C/svg%3E");
}

.platform-icons .pi:nth-child(3) i {
    --platform-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 17v3M7 9h10M7 13h4M13 13h4M7 15h8'/%3E%3C/svg%3E");
}

.platform-icons .pi:nth-child(4) i {
    --platform-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='3' width='10' height='18' rx='2.2'/%3E%3Cpath d='M9.5 8l1.3 7 1.4-4 1.4 4 1.3-7M10 17h4'/%3E%3C/svg%3E");
}

.platform-icons .pi:hover i {
    background: radial-gradient(circle at 32% 24%, rgba(255, 211, 77, .36), transparent 36%), linear-gradient(145deg, rgba(245, 184, 0, .24), rgba(245, 184, 0, .06));
    border-color: var(--woxb-gold, #F5B800);
    transform: translateY(-2px);
    box-shadow: inset 0 0 20px rgba(245, 184, 0, .18), 0 10px 32px rgba(245, 184, 0, .18);
}

.platform-icons .pi span {
    min-width: 76px;
}

.platform-icons .pi:nth-child(1) i,
.platform-icons .pi:nth-child(2) i,
.platform-icons .pi:nth-child(3) i,
.platform-icons .pi:nth-child(4) i {
    background: radial-gradient(circle at 30% 22%, rgba(255, 211, 77, .32), transparent 35%), radial-gradient(circle at 72% 78%, rgba(245, 184, 0, .16), transparent 42%), linear-gradient(145deg, rgba(245, 184, 0, .20), rgba(245, 184, 0, .045));
}

.platform-icons .pi:nth-child(1) i::before,
.platform-icons .pi:nth-child(2) i::before,
.platform-icons .pi:nth-child(3) i::before,
.platform-icons .pi:nth-child(4) i::before {
    content: "";
    position: relative;
    inset: auto;
    display: block;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 0;
    background: currentColor;
    transform: none;
    opacity: 1;
    box-shadow: none;
    -webkit-mask: var(--platform-icon) center / contain no-repeat;
    mask: var(--platform-icon) center / contain no-repeat;
}

.platform-icons .pi:nth-child(1) i::after,
.platform-icons .pi:nth-child(2) i::after,
.platform-icons .pi:nth-child(3) i::after,
.platform-icons .pi:nth-child(4) i::after {
    content: "";
    position: absolute;
    inset: 7px;
    width: auto;
    height: auto;
    border: 1px solid rgba(245, 184, 0, .22);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .16), transparent 42%);
    pointer-events: none;
}

.platform-icons .pi:nth-child(1):hover i,
.platform-icons .pi:nth-child(2):hover i,
.platform-icons .pi:nth-child(3):hover i,
.platform-icons .pi:nth-child(4):hover i {
    background: radial-gradient(circle at 30% 22%, rgba(255, 211, 77, .40), transparent 35%), radial-gradient(circle at 72% 78%, rgba(245, 184, 0, .22), transparent 42%), linear-gradient(145deg, rgba(245, 184, 0, .26), rgba(245, 184, 0, .07));
    border-color: var(--woxb-gold, #F5B800);
    transform: translateY(-2px);
    box-shadow: inset 0 0 20px rgba(245, 184, 0, .20), 0 10px 32px rgba(245, 184, 0, .20);
}

.platform-icons-old {
    display: none!important;
}

.platform-icons.platform-icons-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
    margin-bottom: 34px;
}

.platform-icons.platform-icons-hero .pi,
.platform-icons.platform-icons-hero .pi:first-child,
.platform-icons.platform-icons-hero .pi:last-child {
    display: grid;
    grid-template-columns: 46px minmax(52px, auto);
    align-items: center;
    gap: 10px;
    min-width: 100px;
    min-height: 54px;
    padding: 0;
    border-left: 0;
    color: #FFFFFF;
    text-transform: none;
    transition: transform .34s ease, color .34s ease;
}

.platform-icons.platform-icons-hero .pi:hover {
    transform: translateY(-3px);
    color: #FFFFFF;
}

.platform-icons.platform-icons-hero .pi i,
.platform-icons.platform-icons-hero .pi:nth-child(1) i,
.platform-icons.platform-icons-hero .pi:nth-child(2) i,
.platform-icons.platform-icons-hero .pi:nth-child(3) i,
.platform-icons.platform-icons-hero .pi:nth-child(4) i {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(245, 184, 0, .86);
    color: var(--woxb-gold, #F5B800);
    background: linear-gradient(145deg, rgba(245, 184, 0, .10), rgba(245, 184, 0, .025));
    box-shadow: none;
    overflow: visible;
    transform: none;
}

.platform-icons.platform-icons-hero .pi i::before,
.platform-icons.platform-icons-hero .pi i::after,
.platform-icons.platform-icons-hero .pi:nth-child(1) i::before,
.platform-icons.platform-icons-hero .pi:nth-child(2) i::before,
.platform-icons.platform-icons-hero .pi:nth-child(3) i::before,
.platform-icons.platform-icons-hero .pi:nth-child(4) i::before,
.platform-icons.platform-icons-hero .pi:nth-child(1) i::after,
.platform-icons.platform-icons-hero .pi:nth-child(2) i::after,
.platform-icons.platform-icons-hero .pi:nth-child(3) i::after,
.platform-icons.platform-icons-hero .pi:nth-child(4) i::after {
    content: none;
}

.platform-icons.platform-icons-hero .pi i>svg {
    display: block;
    width: 26px;
    height: 26px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: none;
}

.platform-icons.platform-icons-hero .icon-fill {
    fill: rgba(245, 184, 0, .14);
    stroke: none;
}

.platform-icons.platform-icons-hero .icon-dot,
.platform-icons.platform-icons-hero .icon-gold-fill {
    fill: currentColor;
    stroke: none;
}

.platform-icons.platform-icons-hero .icon-muted {
    opacity: .48;
}

.platform-icons.platform-icons-hero .icon-thin {
    stroke-width: 1.35;
}

.platform-icons.platform-icons-hero .pi span {
    display: grid;
    gap: 2px;
    min-width: auto;
    color: #FFFFFF;
    font-size: 0;
    line-height: 1.05;
    font-weight: 700;
    text-transform: none;
}

.platform-icons.platform-icons-hero .pi span::before,
.platform-icons.platform-icons-hero .pi span::after {
    content: none;
    display: none;
}

.platform-icons.platform-icons-hero .pi strong,
.platform-icons.platform-icons-hero .pi small {
    display: block;
    color: #FFFFFF;
    font-style: normal;
    letter-spacing: 0;
}

.platform-icons.platform-icons-hero .pi strong {
    font-size: .76rem;
    line-height: 1.05;
    font-weight: 800;
}

.platform-icons.platform-icons-hero .pi small {
    font-size: .68rem;
    line-height: 1.08;
    font-weight: 700;
}

.platform-icons.platform-icons-hero .pi:hover i {
    background: linear-gradient(145deg, rgba(245, 184, 0, .14), rgba(245, 184, 0, .035));
    border-color: var(--woxb-gold, #F5B800);
    transform: none;
    box-shadow: none;
}

@media(max-width:1180px) {
    .platform-icons.platform-icons-hero {
        flex-wrap: wrap;
        gap: 18px 24px;
    }
}

@media(max-width:560px) {
    .platform-icons.platform-icons-hero {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
    .platform-icons.platform-icons-hero .pi,
    .platform-icons.platform-icons-hero .pi:first-child,
    .platform-icons.platform-icons-hero .pi:last-child {
        min-width: 0;
    }
}

html:not(.dark) body {
    background: linear-gradient(180deg, #FAFBFC 0%, #F6F7F9 46%, #FFFFFF 100%);
    color: var(--foreground);
}

html:not(.dark) #bgCanvas {
    opacity: .34;
    mix-blend-mode: multiply;
    filter: saturate(.72) contrast(.9) brightness(1.12);
}

html:not(.dark) #woxbCursorGlow {
    display: none;
}

html:not(.dark) .woxb-trail {
    display: none;
}

html:not(.dark) .site-header {
    background: rgba(255, 255, 255, .90);
    border-color: rgba(231, 234, 240, .95);
    box-shadow: 0 12px 32px rgba(16, 24, 40, .08);
}

html:not(.dark) .site-header.scrolled {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 26px rgba(16, 24, 40, .10);
}

html:not(.dark) .theme-toggle {
    color: #101828;
    background: #FFFFFF;
    border-color: #E7EAF0;
    box-shadow: 0 6px 16px rgba(16, 24, 40, .08);
}

html:not(.dark) .mobile-menu-toggle span {
    background: #101828;
}

html:not(.dark) .nav-links a,
html:not(.dark) .nav-trigger {
    color: #344054;
}

html:not(.dark) .nav-links a:hover,
html:not(.dark) .nav-trigger:hover {
    color: #B87900;
}

html:not(.dark) .nav-dropdown {
    background: rgba(255, 255, 255, .98);
    border-color: #E7EAF0;
    box-shadow: 0 18px 42px rgba(16, 24, 40, .12);
}

html:not(.dark) .nav-dropdown a {
    color: #475467;
}

html:not(.dark) .nav-dropdown a:hover {
    background: #FFF4CC;
    color: #101828;
}

html:not(.dark) .btn-primary {
    background: linear-gradient(135deg, #FFC83D 0%, #F5B800 56%, #D99600 100%);
    color: #3A2500;
    box-shadow: 0 10px 24px rgba(245, 184, 0, .20), inset 0 1px 0 rgba(255, 255, 255, .62);
}

html:not(.dark) .btn-primary:hover {
    color: #3A2500;
    box-shadow: 0 14px 34px rgba(245, 184, 0, .26);
}

html:not(.dark) .btn-ghost {
    background: #FFFFFF;
    color: #101828;
    border-color: #DDE2EA;
    box-shadow: 0 6px 18px rgba(16, 24, 40, .06);
}

html:not(.dark) .btn-ghost:hover {
    background: #FFF4CC;
    border-color: #F5B800;
}

html:not(.dark) .hero {
    background: linear-gradient(90deg, rgba(250, 251, 252, .98) 0%, rgba(250, 251, 252, .86) 30%, rgba(250, 251, 252, .24) 52%, rgba(250, 251, 252, 0) 68%), url("../images/hero-light.webp") right center / auto 108% no-repeat;
}

html:not(.dark) .hero::before {
    background: radial-gradient(circle at 82% 26%, rgba(245, 184, 0, .12), transparent 30%), radial-gradient(circle at 54% 72%, rgba(245, 184, 0, .08), transparent 34%);
    opacity: .34;
    animation: none;
}

html:not(.dark) .hero::after {
    background: none;
}

html:not(.dark) .hero-content::before {
    opacity: .22;
    filter: blur(34px);
}

html:not(.dark) .hero h1,
html:not(.dark) .section-head h2,
html:not(.dark) .platform-copy h2 {
    color: #101828;
    text-shadow: none;
}

html:not(.dark) .hero h1 span,
html:not(.dark) .section-head h2 span,
html:not(.dark) .platform-copy h2 span {
    filter: none;
}

html:not(.dark) .hero p,
html:not(.dark) .platform-copy p,
html:not(.dark) .section-head p,
html:not(.dark) .promo-card p,
html:not(.dark) .footer-brand p,
html:not(.dark) .footer-col a,
html:not(.dark) .contact-line,
html:not(.dark) .footer-bottom,
html:not(.dark) .footer-risk,
html:not(.dark) .quote-card .desc {
    color: #667085;
}

html:not(.dark) .hero-badge {
    background: #FFF4CC;
    border-color: rgba(245, 184, 0, .32);
    color: #875E00;
    box-shadow: none;
    backdrop-filter: none;
}

html:not(.dark) .hero-card,
html:not(.dark) .quick-features,
html:not(.dark) .quote-grid,
html:not(.dark) .payments-section,
html:not(.dark) .site-footer,
html:not(.dark) .mobile-bottom-nav {
    background: rgba(255, 255, 255, .94);
    border-color: #E7EAF0;
    box-shadow: 0 16px 42px rgba(16, 24, 40, .08);
}

html:not(.dark) .hero-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, .62), rgba(255, 244, 204, .32));
    border: 1px solid rgba(245, 184, 0, .30);
    border-radius: 20px;
    backdrop-filter: blur(18px) saturate(1.28);
    -webkit-backdrop-filter: blur(18px) saturate(1.28);
    box-shadow: 0 18px 46px rgba(184, 121, 0, .12), 0 0 0 1px rgba(255, 255, 255, .56) inset, 0 1px 0 rgba(255, 255, 255, .82) inset;
}

html:not(.dark) .hero-card::before,
html:not(.dark) .hero-card::after,
html:not(.dark) .quick-features::before,
html:not(.dark) .quote-card::before,
html:not(.dark) .site-footer::before {
    content: none;
}

html:not(.dark) .hero-card::before {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    right: -82px;
    top: -96px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 184, 0, .24), transparent 68%);
    filter: blur(10px);
    opacity: .82;
    pointer-events: none;
}

html:not(.dark) .hero-card:hover {
    box-shadow: 0 22px 54px rgba(184, 121, 0, .16), 0 0 0 1px rgba(255, 255, 255, .62) inset, 0 1px 0 rgba(255, 255, 255, .86) inset;
}

html:not(.dark) .feature-row,
html:not(.dark) .quick-features .qf-item,
html:not(.dark) .quote-card {
    background: #FFFFFF;
    border-color: #E7EAF0;
}

html:not(.dark) .hero-card .feature-row {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(184, 121, 0, .16);
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

html:not(.dark) .hero-card .feature-row+.feature-row {
    margin-top: 0;
}

html:not(.dark) .hero-card .feature-row:last-child {
    border-bottom: 0;
}

html:not(.dark) .feature-row:hover,
html:not(.dark) .quick-features .qf-item:hover,
html:not(.dark) .quote-card:hover {
    background: #FFF9E6;
    box-shadow: none;
}

html:not(.dark) .hero-card .feature-row:hover {
    background: rgba(255, 244, 204, .22);
    border-color: rgba(184, 121, 0, .22);
    transform: none;
}

html:not(.dark) .feature-copy h3,
html:not(.dark) .quote-card .pair,
html:not(.dark) .quote-card .price,
html:not(.dark) .footer-col h4 {
    color: #101828;
}

html:not(.dark) .feature-copy p,
html:not(.dark) .qf-copy span {
    color: #667085;
}

html:not(.dark) .hero-card .feature-copy p {
    color: #667085;
    opacity: 1;
}

html:not(.dark) .qf-copy strong {
    color: #B87900;
}

html:not(.dark) .hero-card .feature-icon,
html:not(.dark) .quick-features .qf-icon,
html:not(.dark) .platform-icons.platform-icons-hero .pi i {
    color: #B87900;
    background: #FFF4CC;
    border-color: rgba(245, 184, 0, .38);
    box-shadow: none;
}

html:not(.dark) .hero-card .feature-icon {
    background: rgba(255, 244, 204, .58);
    border-color: rgba(245, 184, 0, .46);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 0 18px rgba(245, 184, 0, .10), 0 0 18px rgba(245, 184, 0, .10);
}

html:not(.dark) .hero-card .feature-icon svg,
html:not(.dark) .quick-features .qf-icon svg {
    filter: none;
}

html:not(.dark) .hero-card .feature-icon .icon-fill,
html:not(.dark) .quick-features .qf-icon .icon-fill,
html:not(.dark) .platform-icons.platform-icons-hero .icon-fill {
    fill: rgba(245, 184, 0, .18);
}

html:not(.dark) .quick-features {
    margin-top: -52px;
    border-color: #E7EAF0;
    overflow: hidden;
}

html:not(.dark) .quick-features .qf-item {
    border-right-color: #E7EAF0;
}

html:not(.dark) .market-tabs button {
    border-color: #E7EAF0;
    color: #667085;
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(16, 24, 40, .04);
}

html:not(.dark) .market-tabs button:hover,
html:not(.dark) .market-tabs button.active {
    background: #FFF4CC;
    border-color: rgba(245, 184, 0, .45);
    color: #101828;
    box-shadow: none;
}

html:not(.dark) .quote-grid {
    background: #FFFFFF;
    border-color: #E7EAF0;
    box-shadow: none;
    border-radius: 16px;
    overflow: hidden;
}

html:not(.dark) .quote-card {
    background: #FFFFFF;
    border-right-color: #E7EAF0;
    box-shadow: none;
    transform: none;
}

html:not(.dark) .quote-card:hover {
    background: #FFFDF7;
    box-shadow: none;
    transform: none;
}

html:not(.dark) .quote-card::before {
    content: none;
}

html:not(.dark) .quote-card .pair {
    font-weight: 700;
}

html:not(.dark) .quote-card .price {
    font-weight: 700;
}

html:not(.dark) .flag {
    box-shadow: 0 0 0 1px rgba(16, 24, 40, .08);
}

html:not(.dark) .platform-laptop-img {
    filter: drop-shadow(0 28px 52px rgba(16, 24, 40, .18));
}

html:not(.dark) .platform-laptop-dark {
    display: none;
}

html:not(.dark) .platform-laptop-light {
    display: block;
}

html:not(.dark) .platform-copy::before {
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: #FFF4CC;
    border: 1px solid rgba(245, 184, 0, .26);
    color: #875E00;
}

html:not(.dark) .platform-icons.platform-icons-hero .pi,
html:not(.dark) .platform-icons.platform-icons-hero .pi:hover,
html:not(.dark) .platform-icons.platform-icons-hero .pi strong,
html:not(.dark) .platform-icons.platform-icons-hero .pi small {
    color: #101828;
}

html:not(.dark) .platform-icons.platform-icons-hero .pi:hover i {
    background: #FFEAA3;
    border-color: #F5B800;
}

html:not(.dark) .platform-copy .btn-primary {
    background: #FFFFFF;
    color: #101828;
    border-color: rgba(184, 121, 0, .45);
    box-shadow: 0 8px 18px rgba(16, 24, 40, .05);
}

html:not(.dark) .platform-copy .btn-primary:hover {
    background: #FFF4CC;
    color: #101828;
    box-shadow: 0 10px 24px rgba(245, 184, 0, .13);
}

html:not(.dark) .promo-card {
    background: #FFFFFF;
    border-color: #E7EAF0;
    box-shadow: 0 14px 34px rgba(16, 24, 40, .08);
}

html:not(.dark) .promo-bg-dark {
    display: none;
}

html:not(.dark) .promo-bg-light {
    display: block;
}

html:not(.dark) .promo-bg {
    opacity: 1;
    filter: none;
    mix-blend-mode: normal;
}

html:not(.dark) .promo-card h3 {
    color: #101828;
    text-shadow: none;
}

html:not(.dark) .promo-card h3 span {
    color: #B87900;
}

html:not(.dark) .payments-section {
    background: #FFFFFF;
    border-top-color: #E7EAF0;
    border-bottom-color: #E7EAF0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}

html:not(.dark) .payment-logo {
    opacity: 1;
}

html:not(.dark) .payment-logo img {
    mix-blend-mode: normal;
}

html:not(.dark) .payment-logo.mastercard {
    color: #101828;
}

html:not(.dark) .site-footer {
    background: #FFFFFF;
    border-top-color: #E7EAF0;
    box-shadow: none;
}

html:not(.dark) .footer-brand,
html:not(.dark) .footer-contact {
    border-color: #E7EAF0;
}

html:not(.dark) .footer-socials a,
html:not(.dark) .contact-icon {
    color: #B87900;
    background: #FFF4CC;
    border-color: rgba(245, 184, 0, .32);
}

html:not(.dark) .footer-bottom {
    border-top-color: #E7EAF0;
}

html:not(.dark) .footer-bottom a {
    color: #667085;
    border-left-color: #E7EAF0;
}

html:not(.dark) .back-to-top {
    background: #FFF4CC;
    border-color: rgba(245, 184, 0, .38);
    color: #875E00;
    box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
}

html:not(.dark) .brand-logo {
    filter: brightness(1.02) saturate(1.06) contrast(1.02) drop-shadow(0 6px 10px rgba(245, 184, 0, .10));
}

@media(max-width:1024px) {
    html:not(.dark) .hero {
        background: linear-gradient(90deg, rgba(250, 251, 252, .98) 0%, rgba(250, 251, 252, .82) 46%, rgba(250, 251, 252, .16) 78%, rgba(250, 251, 252, 0) 100%), url("../images/hero-light.webp") 62% center / cover no-repeat;
    }
}

@media(max-width:640px) {
    html:not(.dark) .hero {
        background: linear-gradient(180deg, rgba(250, 251, 252, .98) 0%, rgba(250, 251, 252, .88) 36%, rgba(250, 251, 252, .32) 100%), url("../images/hero-light.webp") 70% top / auto 72% no-repeat;
    }
    html:not(.dark) .quick-features {
        margin-top: 0;
    }
}

@media(prefers-reduced-motion:reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms!important;
        animation-iteration-count: 1!important;
        scroll-behavior: auto!important;
    }
}

.hero::before,
.hero-content::before,
.hero h1 span,
.hero-badge::after,
.hero-card::before,
.hero-card::after,
.quick-features::before,
html:not(.dark) .hero::before,
html:not(.dark) .hero::after,
html:not(.dark) .hero-card::before,
html:not(.dark) .hero-card::after,
html:not(.dark) .quick-features::before {
    animation: none!important;
}

.payment-track {
    animation-duration: 48s;
}


/* ===== Moved from index.php: inline-block-3 ===== */


/* WOXB LIGHT THEME ULTRA PREMIUM V3 */

html:not(.dark) body {
    background: radial-gradient(circle at 14% 10%, rgba(245, 184, 0, .10), transparent 22%), radial-gradient(circle at 88% 18%, rgba(255, 211, 77, .12), transparent 24%), linear-gradient(180deg, #fffdf7 0%, #fafbfc 38%, #f7f8fb 72%, #fff 100%)
}

html:not(.dark) body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(rgba(184, 121, 0, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(184, 121, 0, .03) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .65), transparent 72%);
    opacity: .6
}

html:not(.dark) #bgCanvas {
    opacity: .2;
    mix-blend-mode: multiply;
    filter: saturate(.72) contrast(.9) brightness(1.15)
}

html:not(.dark) .site-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .76));
    border: 1px solid rgba(245, 184, 0, .18);
    box-shadow: 0 18px 50px rgba(16, 24, 40, .10), 0 0 0 1px rgba(255, 255, 255, .85) inset;
    backdrop-filter: blur(28px) saturate(1.3)
}

html:not(.dark) .site-header::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 184, 0, .7), transparent)
}

html:not(.dark) .hero {
    background: linear-gradient(90deg, rgba(255, 253, 247, .99) 0%, rgba(255, 253, 247, .94) 30%, rgba(255, 253, 247, .56) 48%, rgba(255, 253, 247, .12) 66%, transparent 80%), linear-gradient(180deg, transparent 0%, transparent 70%, rgba(255, 255, 255, .72) 100%), url("../images/hero-light.webp") right center/auto 110% no-repeat
}

html:not(.dark) .hero::before {
    background: radial-gradient(circle at 80% 27%, rgba(255, 211, 77, .24), transparent 26%), radial-gradient(circle at 58% 70%, rgba(245, 184, 0, .10), transparent 32%);
    opacity: .75;
    animation: lightHeroAura 6.5s ease-in-out infinite alternate
}

@keyframes lightHeroAura {
    from {
        transform: scale(1);
        opacity: .58
    }
    to {
        transform: scale(1.05);
        opacity: .92
    }
}

html:not(.dark) .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 0 48%, rgba(255, 255, 255, .28) 52%, transparent 56%);
    transform: translateX(-120%);
    animation: lightHeroSweep 8s ease-in-out infinite
}

@keyframes lightHeroSweep {
    0%,
    62% {
        transform: translateX(-120%);
        opacity: 0
    }
    72% {
        opacity: 1
    }
    100% {
        transform: translateX(120%);
        opacity: 0
    }
}

html:not(.dark) .hero h1 {
    color: #101828;
    text-shadow: none
}

html:not(.dark) .hero h1 span {
    background: linear-gradient(105deg, #9f6900 0%, #f5b800 18%, #ffe486 38%, #f5b800 56%, #b87900 74%, #f5b800 100%);
    background-size: 240% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 6px 16px rgba(184, 121, 0, .10))
}

html:not(.dark) .hero p {
    color: #596273
}

html:not(.dark) .hero-badge {
    background: linear-gradient(180deg, #fff8dc, #ffefad);
    border-color: rgba(184, 121, 0, .24);
    color: #7a5200;
    box-shadow: 0 10px 30px rgba(184, 121, 0, .10), inset 0 1px 0 rgba(255, 255, 255, .9)
}

html:not(.dark) .hero-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, .74), rgba(255, 248, 221, .48));
    border: 1px solid rgba(184, 121, 0, .24);
    box-shadow: 0 30px 70px rgba(72, 54, 0, .14), 0 0 0 1px rgba(255, 255, 255, .84) inset, 0 1px 0 rgba(255, 255, 255, .95) inset;
    backdrop-filter: blur(24px) saturate(1.3)
}

html:not(.dark) .hero-card::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    top: -95px;
    right: -75px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 184, 0, .25), transparent 68%);
    filter: blur(10px);
    opacity: .9;
    animation: lightCardGlow 4.8s ease-in-out infinite alternate
}

@keyframes lightCardGlow {
    to {
        transform: translate(-28px, 30px) scale(1.22);
        opacity: .65
    }
}

html:not(.dark) .hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(125deg, transparent 8%, rgba(245, 184, 0, .18) 28%, rgba(255, 232, 145, .86) 40%, transparent 53%, rgba(184, 121, 0, .18) 72%, transparent);
    background-size: 230% 230%;
    animation: lightCardBorder 6.5s linear infinite;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none
}

@keyframes lightCardBorder {
    to {
        background-position: 230% 230%
    }
}

html:not(.dark) .hero-card .feature-row {
    background: transparent;
    border-bottom: 1px solid rgba(184, 121, 0, .12)
}

html:not(.dark) .hero-card .feature-row:hover {
    background: linear-gradient(90deg, rgba(255, 244, 204, .55), rgba(255, 244, 204, .05))
}

html:not(.dark) .hero-card .feature-icon {
    color: #a66f00;
    background: linear-gradient(145deg, #fff8df, #ffefaa);
    border-color: rgba(184, 121, 0, .28);
    box-shadow: 0 8px 24px rgba(184, 121, 0, .10), inset 0 1px 0 rgba(255, 255, 255, .8)
}

html:not(.dark) .hero-card .feature-copy h3 {
    color: #101828
}

html:not(.dark) .hero-card .feature-copy p {
    color: #667085
}

html:not(.dark) .quick-features {
    background: rgba(255, 255, 255, .9);
    border-color: rgba(184, 121, 0, .18);
    box-shadow: 0 28px 70px rgba(16, 24, 40, .09), 0 0 0 1px rgba(255, 255, 255, .85) inset;
    backdrop-filter: blur(18px)
}

html:not(.dark) .quick-features::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(245, 184, 0, .18), transparent);
    filter: blur(16px);
    animation: lightQuickGlow 4.8s ease-in-out infinite alternate
}

@keyframes lightQuickGlow {
    from {
        transform: translateX(-26px);
        opacity: .15
    }
    to {
        transform: translateX(26px);
        opacity: .65
    }
}

html:not(.dark) .quick-features .qf-item {
    background: transparent;
    border-right-color: #eceff3
}

html:not(.dark) .quick-features .qf-item:hover {
    background: linear-gradient(180deg, #fffdf6, #fff7df)
}

html:not(.dark) .qf-copy strong {
    color: #9d6900
}

html:not(.dark) .qf-copy span {
    color: #596273
}

html:not(.dark) .quick-features .qf-icon {
    color: #a66f00;
    border-color: rgba(184, 121, 0, .24);
    background: linear-gradient(145deg, #fff9e6, #ffefb8)
}

html:not(.dark) .market-tabs button {
    background: rgba(255, 255, 255, .86);
    color: #667085;
    border-color: #e7eaf0;
    box-shadow: 0 6px 18px rgba(16, 24, 40, .05)
}

html:not(.dark) .market-tabs button:hover,
html:not(.dark) .market-tabs button.active {
    background: linear-gradient(180deg, #fff8dc, #fff0ad);
    color: #6e4c00;
    border-color: rgba(184, 121, 0, .26);
    box-shadow: 0 8px 22px rgba(184, 121, 0, .10)
}

html:not(.dark) .quote-grid {
    background: rgba(255, 255, 255, .94);
    border-color: #e7eaf0;
    box-shadow: 0 24px 60px rgba(16, 24, 40, .08)
}

html:not(.dark) .quote-card {
    background: linear-gradient(180deg, #fff, #fbfcfe);
    border-right-color: #e7eaf0
}

html:not(.dark) .quote-card:hover {
    background: linear-gradient(180deg, #fffef9, #fff8e4)
}

html:not(.dark) .quote-card::before {
    content: "";
    background: linear-gradient(120deg, transparent 0 42%, rgba(245, 184, 0, .08) 50%, transparent 58%)
}

html:not(.dark) .quote-card .pair {
    color: #101828
}

html:not(.dark) .quote-card .desc {
    color: #667085
}

html:not(.dark) .platform-devices::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 220px;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(245, 184, 0, .14), transparent 68%);
    filter: blur(18px);
    z-index: -1
}

html:not(.dark) .platform-laptop-img {
    filter: drop-shadow(0 30px 44px rgba(16, 24, 40, .14)) drop-shadow(0 8px 14px rgba(184, 121, 0, .08))
}

html:not(.dark) .platform-copy::before {
    background: linear-gradient(180deg, #fff7d5, #ffefae);
    border-color: rgba(184, 121, 0, .20);
    color: #7c5600;
    box-shadow: 0 8px 18px rgba(184, 121, 0, .08)
}

html:not(.dark) .platform-icons.platform-icons-hero .pi i {
    color: #a66f00;
    background: linear-gradient(145deg, #fff8df, #ffefb3);
    border-color: rgba(184, 121, 0, .24);
    box-shadow: 0 8px 22px rgba(184, 121, 0, .08)
}

html:not(.dark) .platform-icons.platform-icons-hero .pi:hover i {
    background: linear-gradient(145deg, #fff4c8, #ffe890);
    box-shadow: 0 12px 30px rgba(184, 121, 0, .12)
}

html:not(.dark) .platform-icons.platform-icons-hero .pi strong,
html:not(.dark) .platform-icons.platform-icons-hero .pi small {
    color: #101828
}

html:not(.dark) .promo-card {
    background: #fff;
    border-color: rgba(184, 121, 0, .16);
    box-shadow: 0 20px 45px rgba(16, 24, 40, .08)
}

html:not(.dark) .promo-card:hover {
    box-shadow: 0 28px 58px rgba(72, 54, 0, .14)
}

html:not(.dark) .promo-card::after {
    content: "";
    opacity: 0;
    background: radial-gradient(circle at var(--px, 75%) var(--py, 35%), rgba(245, 184, 0, .18), transparent 34%)
}

html:not(.dark) .promo-card:hover::after {
    opacity: 1
}

html:not(.dark) .promo-card h3 {
    color: #101828
}

html:not(.dark) .promo-card h3 span {
    color: #9d6900
}

html:not(.dark) .promo-card p {
    color: #667085
}

html:not(.dark) .payments-section {
    background: linear-gradient(180deg, #fffdf8, #fff);
    border-top-color: #eceff3;
    border-bottom-color: #eceff3
}

html:not(.dark) .payment-logo:hover {
    transform: translateY(-5px) scale(1.045);
    filter: drop-shadow(0 12px 20px rgba(184, 121, 0, .10))
}

html:not(.dark) .site-footer {
    background: linear-gradient(180deg, #fff, #fbfcfe);
    border-top-color: #eceff3
}

html:not(.dark) .site-footer::before {
    content: "";
    background: linear-gradient(90deg, transparent, rgba(245, 184, 0, .72), transparent);
    box-shadow: 0 0 24px rgba(245, 184, 0, .16)
}

#lightCursorGlow {
    position: fixed;
    top: 0;
    left: 0;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(245, 184, 0, .09), rgba(245, 184, 0, .028) 36%, transparent 70%);
    filter: blur(8px);
    opacity: 0;
    transition: opacity .25s ease;
    will-change: transform
}

html:not(.dark) #lightCursorGlow {
    opacity: .8
}

.light-gold-spark {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    background: #f5b800;
    box-shadow: 0 0 10px rgba(245, 184, 0, .65), 0 0 18px rgba(245, 184, 0, .28);
    animation: lightSparkOut .7s ease-out forwards
}

@keyframes lightSparkOut {
    to {
        transform: translateY(-10px) scale(0);
        opacity: 0
    }
}

@media(max-width:1024px) {
    #lightCursorGlow {
        display: block
    }
    html:not(.dark) .hero {
        background: linear-gradient(90deg, rgba(255, 253, 247, .98) 0%, rgba(255, 253, 247, .88) 48%, rgba(255, 253, 247, .18) 82%, transparent 100%), url("../images/hero-light.webp") 64% center/cover no-repeat
    }
}

@media(max-width:640px) {
    html:not(.dark) .hero {
        background: linear-gradient(180deg, rgba(255, 253, 247, .98) 0%, rgba(255, 253, 247, .92) 42%, rgba(255, 253, 247, .44) 100%), url("../images/hero-light.webp") 70% top/auto 76% no-repeat
    }
}

html.dark .site-header {
    background: rgba(10, 10, 10, .45);
    border-color: rgba(245, 184, 0, .12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .70);
    backdrop-filter: blur(28px) saturate(1.8);
}

html.dark .site-header.scrolled {
    background: rgba(10, 10, 10, .85);
    box-shadow: 0 8px 40px rgba(0, 0, 0, .90);
}

html.dark .nav-links a,
html.dark .nav-trigger {
    color: #CFCFCF;
}

html.dark .hero h1 {
    color: #FFFFFF;
    text-shadow: 0 16px 44px rgba(0, 0, 0, .38);
}

html.dark .btn-ghost {
    background: rgba(255, 255, 255, .04);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, .08);
    box-shadow: none;
}

html.dark .btn-ghost:hover {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(245, 184, 0, .40);
}


/* ===== Moved from index.php: inline-block-4 ===== */


/* ===== MOBILE APP RESPONSIVE SHELL ===== */

@media (max-width: 760px) {
    html {
        background: #f6f7f9;
        scroll-padding-top: 76px;
    }
    body {
        background: #f6f7f9;
        color: #141821;
        padding-bottom: 86px;
        width: 100%;
        overflow-x: hidden;
    }
    body::before {
        opacity: 0;
    }
    html.dark body {
        background: #070707;
        color: #f7f7f7;
    }
    #bgCanvas {
        opacity: .08;
    }
    .scroll-progress {
        height: 2px;
    }
    .site-header,
    .site-header.scrolled {
        box-sizing: border-box;
        top: 0;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        max-width: none;
        height: 64px;
        padding: 10px 14px;
        border: 0;
        border-radius: 0;
        background: rgba(246, 247, 249, .96);
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        gap: 10px;
    }
    html.dark .site-header,
    html.dark .site-header.scrolled {
        background: rgba(7, 7, 7, .96);
    }
    .mobile-menu-toggle {
        display: inline-flex;
        order: 1;
        width: 28px;
        height: 28px;
        padding: 5px;
        gap: 4px;
        align-items: center;
        justify-content: center;
    }
    .mobile-menu-toggle span {
        width: 17px;
        height: 2px;
        background: #101828;
    }
    html.dark .mobile-menu-toggle span {
        background: #ffffff;
    }
    .site-header .brand {
        order: 2;
        display: inline-flex;
        align-items: center;
        margin-right: auto;
    }
    .brand-logo {
        width: 74px;
    }
    .nav-links {
        order: 4;
    }
    .header-actions {
        order: 3;
        display: flex !important;
        flex: 0 0 auto;
        gap: 7px;
        align-items: center;
        position: absolute;
        top: 16px;
        right: auto;
        left: min(254px, calc(100vw - 114px));
        z-index: 2;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100px;
    }
    .theme-toggle {
        display: inline-flex !important;
        width: 31px;
        height: 31px;
        background: #ffffff;
        border-color: #edf0f3;
        box-shadow: 0 5px 14px rgba(16, 24, 40, .08);
    }
    html.dark .theme-toggle {
        background: rgba(255, 255, 255, .08);
        border-color: rgba(255, 255, 255, .16);
    }
    .theme-toggle::before {
        width: 12px;
        height: 12px;
    }
    .header-actions .btn-ghost {
        display: none;
    }
    .header-actions .btn-primary {
        display: inline-flex !important;
        min-width: 62px;
        min-height: 31px;
        padding: 8px 13px;
        border-radius: 999px;
        font-size: 0;
        letter-spacing: 0;
        box-shadow: 0 8px 18px rgba(184, 121, 0, .14);
    }
    .header-actions .btn-primary::after {
        content: "Register";
        font-size: 9px;
        line-height: 1;
        font-weight: 500;
    }
    .hero,
    html:not(.dark) .hero {
        box-sizing: border-box;
        display: block;
        width: min(calc(100% - 24px), 390px);
        max-width: 390px;
        min-height: 0;
        margin: 70px 0 8px 12px;
        padding: 17px 13px 16px;
        border: 1px solid rgba(184, 121, 0, .10);
        border-radius: 18px;
        background: linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .92) 43%, rgba(255, 255, 255, .50) 68%, rgba(255, 255, 255, .08) 100%), url("../images/hero-light.webp") right top / auto 104% no-repeat;
        box-shadow: 0 12px 28px rgba(16, 24, 40, .08);
        overflow: hidden;
    }
    html.dark .hero {
        border-color: rgba(245, 184, 0, .16);
        background: linear-gradient(90deg, rgba(10, 10, 10, .96) 0%, rgba(10, 10, 10, .82) 48%, rgba(10, 10, 10, .35) 76%, rgba(10, 10, 10, .08) 100%), url("../images/hero.webp") right top / auto 104% no-repeat;
        box-shadow: 0 14px 28px rgba(0, 0, 0, .36);
    }
    .hero::after {
        display: none;
    }
    .hero-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(104px, .74fr);
        gap: 6px;
        align-items: center;
        max-width: none;
        min-width: 0;
    }
    .hero-content {
        max-width: none;
        min-width: 0;
        overflow: hidden;
    }
    .hero-badge {
        padding: 4px 7px;
        margin-bottom: 7px;
        border: 0;
        background: rgba(255, 243, 206, .82);
        color: #7a5200;
        box-shadow: none;
        font-size: 0;
        letter-spacing: 0;
    }
    .hero-badge::before {
        content: "TRADE - INVEST - GROW";
        font-size: 6px;
        line-height: 1;
        font-weight: 900;
        letter-spacing: .08em;
    }
    .hero h1 {
        max-width: 175px;
        margin: 0 0 7px;
        font-size: clamp(1.55rem, 8vw, 2.15rem);
        line-height: 1.02;
        letter-spacing: 0;
    }
    .hero p {
        max-width: 154px;
        margin: 0 0 11px;
        font-size: 8.5px;
        line-height: 1.45;
        color: #667085;
    }
    html.dark .hero p {
        color: #c8c8c8;
    }
    .hero-actions {
        gap: 7px;
        flex-wrap: nowrap;
        min-width: 0;
    }
    .hero-actions .btn-large {
        width: auto;
        min-width: 0;
        flex: 0 1 auto;
        min-height: 29px;
        padding: 8px 12px;
        border-radius: 999px;
        font-size: 9px;
        line-height: 1;
        white-space: nowrap;
    }
    .hero-actions .btn-primary {
        font-size: 0;
    }
    .hero-actions .btn-primary::after {
        content: "Open Live Account";
        font-size: 9px;
        font-weight: 500;
    }
    .hero-visual {
        min-width: 0;
        overflow: hidden;
        padding-right: 0;
        justify-content: stretch;
    }
    .hero-card,
    html:not(.dark) .hero-card {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        max-width: none;
        padding: 3px 8px;
        border-radius: 13px;
        background: rgba(255, 255, 255, .58);
        border-color: rgba(184, 121, 0, .14);
        box-shadow: 0 8px 20px rgba(16, 24, 40, .07);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        overflow: hidden;
    }
    html.dark .hero-card {
        background: rgba(12, 12, 12, .58);
        border-color: rgba(245, 184, 0, .20);
    }
    .hero-card .feature-row {
        grid-template-columns: 22px minmax(0, 1fr);
        gap: 5px;
        padding: 5px 0;
        border-bottom-color: rgba(184, 121, 0, .12);
    }
    .hero-card .feature-icon {
        width: 21px;
        height: 21px;
        border-width: 1.4px;
    }
    .hero-card .feature-icon svg {
        width: 13px;
        height: 13px;
    }
    .hero-card .feature-copy {
        min-width: 0;
        overflow: hidden;
    }
    .hero-card .feature-copy h3 {
        margin-bottom: 1px;
        font-size: 6.5px;
        line-height: 1.05;
        letter-spacing: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .hero-card .feature-copy p {
        font-size: 5.5px;
        line-height: 1.15;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .quick-features,
    html:not(.dark) .quick-features {
        box-sizing: border-box;
        grid-template-columns: repeat(4, 25%);
        width: min(calc(100% - 24px), 390px);
        max-width: 390px;
        margin: 8px 0 12px 12px;
        border-radius: 17px;
        background: rgba(255, 255, 255, .96);
        border-color: #edf0f3;
        box-shadow: 0 10px 24px rgba(16, 24, 40, .07);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    html.dark .quick-features {
        background: rgba(18, 18, 18, .94);
        border-color: rgba(245, 184, 0, .16);
    }
    .quick-features .qf-item {
        min-width: 0;
        box-sizing: border-box;
        display: flex;
        min-height: 72px;
        padding: 9px 4px 8px;
        gap: 4px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-right: 1px solid #edf0f3;
        border-bottom: 0 !important;
        text-align: center;
    }
    html.dark .quick-features .qf-item {
        border-right-color: rgba(245, 184, 0, .12);
    }
    .quick-features .qf-item:last-child {
        border-right: 0;
    }
    .quick-features .qf-icon {
        width: 29px;
        height: 29px;
        border-width: 1.5px;
    }
    .quick-features .qf-icon svg {
        width: 17px;
        height: 17px;
    }
    .qf-copy strong {
        margin: 0;
        font-size: clamp(12px, 3.7vw, 16px);
        line-height: 1;
        letter-spacing: 0;
    }
    .qf-copy span {
        font-size: 5.6px;
        line-height: 1.15;
        letter-spacing: 0;
        overflow-wrap: anywhere;
    }
    .section {
        box-sizing: border-box;
        width: min(calc(100% - 24px), 390px);
        max-width: 390px;
        margin: 0 0 0 12px;
        padding: 12px 0;
    }
    .section-head {
        margin: 0 0 10px;
    }
    .section-head h2,
    .payments-section .section-head h2 {
        font-size: 16px !important;
        line-height: 1.15;
        letter-spacing: 0;
    }
    .section-divider {
        width: 26px;
        height: 2px;
        margin-top: 7px;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .market-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 7px;
        margin: 0 0 8px;
        padding: 1px 0 5px;
        overflow-x: auto;
        scrollbar-width: none;
        max-width: 100%;
    }
    .market-tabs::-webkit-scrollbar {
        display: none;
    }
    .market-tabs button {
        flex: 0 0 auto;
        padding: 6px 13px;
        border-radius: 999px;
        font-size: 8px;
    }
    .quote-grid,
    html:not(.dark) .quote-grid {
        box-sizing: border-box;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, calc((100% - 28px) / 5)));
        gap: 7px;
        width: 100%;
        padding: 8px;
        border-radius: 17px;
        border-color: #edf0f3;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 10px 24px rgba(16, 24, 40, .07);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    html.dark .quote-grid {
        border-color: rgba(245, 184, 0, .16);
        background: rgba(18, 18, 18, .92);
    }
    .quote-card,
    html:not(.dark) .quote-card {
        min-width: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        min-height: 82px;
        padding: 7px 5px;
        border: 0;
        border-radius: 11px;
        background: #ffffff;
        box-shadow: 0 7px 18px rgba(16, 24, 40, .055);
    }
    html.dark .quote-card {
        background: rgba(255, 255, 255, .05);
    }
    .quote-top {
        display: flex;
        align-items: center;
        gap: 4px;
        width: 100%;
    }
    .quote-name {
        display: block;
        min-width: 0;
        padding: 0;
    }
    .flag {
        width: 14px;
        height: 14px;
        flex: 0 0 auto;
    }
    .quote-card .pair {
        margin: 0;
        font-size: 6.6px;
        line-height: 1;
    }
    .quote-card .desc {
        display: none;
    }
    .quote-bottom {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        gap: 3px;
        margin-top: 7px;
        padding: 0;
    }
    .quote-bottom>div {
        min-width: 0;
    }
    .quote-card .price {
        font-size: 8px;
        font-weight: 900;
    }
    html:not(.dark) .quote-card .price.up,
    html:not(.dark) .quote-card .price.down {
        color: #101828;
    }
    .quote-card .change {
        margin-top: 2px;
        font-size: 6.4px;
    }
    .sparkline {
        width: 100%;
        max-width: none;
        height: 23px;
        justify-self: stretch;
    }
    .sparkline polyline {
        stroke-width: 3;
        filter: none;
    }
    #platforms {
        padding-top: 10px;
    }
    .platforms-grid,
    html:not(.dark) .platforms-grid {
        box-sizing: border-box;
        grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
        gap: 8px;
        padding: 13px 10px;
        border: 1px solid #edf0f3;
        border-radius: 18px;
        background: #ffffff;
        box-shadow: 0 10px 24px rgba(16, 24, 40, .07);
        overflow: hidden;
    }
    html.dark .platforms-grid {
        background: rgba(18, 18, 18, .94);
        border-color: rgba(245, 184, 0, .16);
    }
    .platform-devices {
        min-width: 0;
        min-height: 0;
        justify-content: flex-start;
        overflow: hidden;
    }
    .platform-laptop-img {
        width: 136px;
        max-width: 132%;
        margin-left: -8px;
    }
    .platform-copy {
        max-width: none;
        min-width: 0;
    }
    .platform-copy::before {
        content: "POWERFUL - FLEXIBLE";
        margin-bottom: 4px;
        font-size: 6px;
        letter-spacing: .06em;
    }
    .platform-copy h2 {
        margin-bottom: 5px;
        font-size: 15px;
        line-height: 1.03;
        letter-spacing: 0;
    }
    .platform-copy p {
        margin-bottom: 7px;
        font-size: 7.5px;
        line-height: 1.35;
    }
    .platform-icons.platform-icons-hero {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
        margin-bottom: 8px;
        min-width: 0;
        overflow: hidden;
    }
    .platform-icons.platform-icons-hero .pi,
    .platform-icons.platform-icons-hero .pi:first-child,
    .platform-icons.platform-icons-hero .pi:last-child {
        display: flex;
        grid-template-columns: none;
        min-width: 0;
        width: 100%;
        min-height: 0;
        padding: 0;
        border: 0;
        gap: 3px;
        flex-direction: column;
    }
    .platform-icons.platform-icons-hero .pi i {
        width: 23px;
        height: 23px;
        border-radius: 7px;
        border-width: 1px;
    }
    .platform-icons.platform-icons-hero .pi i>svg {
        width: 14px;
        height: 14px;
    }
    .platform-icons.platform-icons-hero .pi span {
        display: block;
        width: 100%;
        min-width: 0;
        text-align: center;
        overflow: hidden;
    }
    .platform-icons.platform-icons-hero .pi strong,
    .platform-icons.platform-icons-hero .pi small {
        font-size: 5.4px;
        line-height: 1.05;
    }
    .platform-copy .btn-primary {
        min-height: 27px;
        padding: 8px 11px;
        border-radius: 999px;
        font-size: 8px;
        letter-spacing: 0;
    }
    #promotions {
        padding-top: 12px;
    }
    .promo-grid {
        grid-template-columns: repeat(4, minmax(0, calc((100% - 21px) / 4)));
        gap: 7px;
        min-width: 0;
    }
    .promo-card,
    html:not(.dark) .promo-card {
        min-width: 0;
        box-sizing: border-box;
        min-height: 72px;
        padding: 7px;
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 8px 18px rgba(16, 24, 40, .06);
    }
    html.dark .promo-card {
        background: rgba(18, 18, 18, .94);
    }
    .promo-bg {
        object-position: center;
        opacity: .98;
    }
    .promo-copy {
        max-width: 68%;
        transform: none;
    }
    .promo-card h3 {
        margin-bottom: 2px;
        font-size: 6.8px;
        line-height: 1.08;
        letter-spacing: 0;
    }
    .promo-card p {
        font-size: 5px;
        line-height: 1.2;
    }
    .payments-section,
    html:not(.dark) .payments-section {
        box-sizing: border-box;
        width: min(calc(100% - 24px), 390px);
        max-width: 390px;
        margin: 0 0 0 12px;
        padding: 12px 12px 14px;
        background: transparent;
        border: 0;
    }
    .payment-logos {
        margin-top: 9px;
        padding: 0;
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
        scrollbar-width: none;
    }
    .payment-logos::-webkit-scrollbar {
        display: none;
    }
    .payment-track {
        gap: 16px;
        animation: none;
    }
    .payment-logo {
        min-width: 46px;
        height: 27px;
        opacity: .95;
    }
    .payment-logo img {
        max-width: 62px;
        max-height: 24px;
        mix-blend-mode: normal;
    }
    html.dark .payment-logo img {
        mix-blend-mode: screen;
    }
    .site-footer {
        padding: 22px 14px 92px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .mobile-bottom-nav,
    html:not(.dark) .mobile-bottom-nav {
        box-sizing: border-box;
        display: flex;
        left: 12px;
        right: auto;
        bottom: 10px;
        width: min(calc(100vw - 24px), 390px);
        transform: none;
        height: 64px;
        padding: 6px 8px;
        border: 1px solid #edf0f3;
        border-radius: 22px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 14px 30px rgba(16, 24, 40, .12);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        justify-content: stretch;
        gap: 0;
        overflow: hidden;
    }
    html.dark .mobile-bottom-nav {
        border-color: rgba(245, 184, 0, .16);
        background: rgba(16, 16, 16, .94);
    }
    .mobile-bottom-nav a {
        flex: 0 0 20%;
        width: 20%;
        min-width: 0;
        padding: 4px 0;
        gap: 2px;
        font-size: 0;
        line-height: 1;
        color: #98a2b3;
    }
    .mobile-bottom-nav a::after {
        display: block;
        font-size: 9px;
        font-weight: 700;
    }
    .mobile-bottom-nav a:nth-child(1)::after {
        content: "Home";
    }
    .mobile-bottom-nav a:nth-child(2)::after {
        content: "Markets";
    }
    .mobile-bottom-nav a:nth-child(3)::after {
        content: "Trade";
    }
    .mobile-bottom-nav a:nth-child(4)::after {
        content: "Funds";
    }
    .mobile-bottom-nav a:nth-child(5)::after {
        content: "Profile";
    }
    .mobile-bottom-nav a.active {
        color: #F5B800;
    }
    .mobile-bottom-nav a i {
        position: relative;
        display: block;
        width: 21px;
        height: 21px;
        margin: 0 auto 3px;
        font-size: 0;
    }
    .mobile-bottom-nav a i::before,
    .mobile-bottom-nav a i::after {
        content: "";
        position: absolute;
        box-sizing: border-box;
    }
    .mobile-bottom-nav a:nth-child(1) i::before {
        left: 5px;
        top: 8px;
        width: 11px;
        height: 9px;
        border: 2px solid currentColor;
        border-top: 0;
        border-radius: 2px;
    }
    .mobile-bottom-nav a:nth-child(1) i::after {
        left: 6px;
        top: 4px;
        width: 9px;
        height: 9px;
        border-left: 2px solid currentColor;
        border-top: 2px solid currentColor;
        transform: rotate(45deg);
    }
    .mobile-bottom-nav a:nth-child(2) i::before {
        left: 4px;
        bottom: 4px;
        width: 3px;
        height: 8px;
        background: currentColor;
        border-radius: 2px;
        box-shadow: 6px -4px 0 currentColor, 12px -1px 0 currentColor;
    }
    .mobile-bottom-nav a:nth-child(3) i::before {
        left: 4px;
        top: 5px;
        width: 13px;
        height: 11px;
        border: 2px solid currentColor;
        border-radius: 3px;
    }
    .mobile-bottom-nav a:nth-child(3) i::after {
        left: 7px;
        top: 10px;
        width: 8px;
        height: 2px;
        background: currentColor;
        box-shadow: 0 -3px 0 currentColor;
    }
    .mobile-bottom-nav a:nth-child(4) i::before {
        left: 4px;
        top: 7px;
        width: 14px;
        height: 10px;
        border: 2px solid currentColor;
        border-radius: 3px;
    }
    .mobile-bottom-nav a:nth-child(4) i::after {
        left: 7px;
        top: 4px;
        width: 8px;
        height: 5px;
        border: 2px solid currentColor;
        border-bottom: 0;
        border-radius: 3px 3px 0 0;
    }
    .mobile-bottom-nav a:nth-child(5) i::before {
        left: 7px;
        top: 4px;
        width: 7px;
        height: 7px;
        border: 2px solid currentColor;
        border-radius: 50%;
    }
    .mobile-bottom-nav a:nth-child(5) i::after {
        left: 4px;
        bottom: 3px;
        width: 13px;
        height: 7px;
        border: 2px solid currentColor;
        border-radius: 8px 8px 2px 2px;
        border-bottom-width: 1px;
    }
}

@media (max-width: 390px) {
    .hero,
    html:not(.dark) .hero,
    .quick-features,
    html:not(.dark) .quick-features,
    .section,
    .payments-section,
    html:not(.dark) .payments-section {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        margin-left: 12px;
        margin-right: 0;
    }
    .hero-grid {
        grid-template-columns: minmax(0, 1fr) 96px;
        gap: 4px;
    }
    .hero h1 {
        max-width: 148px;
        font-size: clamp(1.42rem, 7.2vw, 1.86rem);
    }
    .hero p {
        max-width: 132px;
        font-size: 7.5px;
    }
    .hero-card,
    html:not(.dark) .hero-card {
        padding: 2px 5px;
        border-radius: 11px;
    }
    .hero-card .feature-row {
        grid-template-columns: 18px minmax(0, 1fr);
        gap: 4px;
        padding: 4px 0;
    }
    .hero-card .feature-icon {
        width: 18px;
        height: 18px;
    }
    .hero-card .feature-icon svg {
        width: 11px;
        height: 11px;
    }
    .hero-card .feature-copy h3 {
        font-size: 5.4px;
    }
    .hero-card .feature-copy p {
        display: block;
        font-size: 4.6px;
    }
    .hero-actions .btn-large {
        padding-left: 10px;
        padding-right: 10px;
    }
    .quick-features .qf-item {
        min-height: 68px;
        padding: 8px 2px;
    }
    .quick-features .qf-icon {
        width: 26px;
        height: 26px;
    }
    .quick-features .qf-icon svg {
        width: 15px;
        height: 15px;
    }
    .qf-copy strong {
        font-size: 13px;
    }
    .qf-copy span {
        font-size: 4.8px;
    }
    .quote-grid,
    html:not(.dark) .quote-grid {
        grid-template-columns: repeat(5, minmax(0, calc((100% - 20px) / 5)));
        gap: 5px;
        padding: 6px;
    }
    .quote-card,
    html:not(.dark) .quote-card {
        min-height: 76px;
        padding: 6px 4px;
    }
    .quote-card .pair {
        font-size: 5.8px;
    }
    .quote-card .price {
        font-size: 7px;
    }
    .quote-card .change {
        font-size: 5.6px;
    }
    .platforms-grid,
    html:not(.dark) .platforms-grid {
        grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
        gap: 6px;
        padding: 12px 8px;
    }
    .platform-laptop-img {
        width: 112px;
    }
    .platform-copy h2 {
        font-size: 13px;
    }
    .platform-copy p {
        font-size: 6.8px;
    }
    .platform-icons.platform-icons-hero .pi i {
        width: 20px;
        height: 20px;
    }
    .platform-icons.platform-icons-hero .pi strong,
    .platform-icons.platform-icons-hero .pi small {
        font-size: 4.8px;
        display: block;
        overflow-wrap: anywhere;
    }
    .mobile-bottom-nav,
    html:not(.dark) .mobile-bottom-nav {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
    }
    .mobile-bottom-nav a::after {
        font-size: 8px;
    }
    .mobile-bottom-nav a i {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 340px) {
    .platforms-grid,
    html:not(.dark) .platforms-grid {
        grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
        gap: 4px;
        padding: 10px 6px;
    }
    .platform-laptop-img {
        width: 92px;
        margin-left: -4px;
    }
    .platform-copy h2 {
        font-size: 12px;
    }
    .platform-copy p {
        font-size: 6px;
    }
    .platform-icons.platform-icons-hero {
        gap: 2px;
    }
    .platform-icons.platform-icons-hero .pi i {
        width: 18px;
        height: 18px;
    }
    .platform-icons.platform-icons-hero .pi strong,
    .platform-icons.platform-icons-hero .pi small {
        font-size: 4.2px;
    }
    .platform-copy .btn-primary {
        min-height: 24px;
        padding: 7px 9px;
        font-size: 7px;
    }
}


/* ===== Moved from index.php: mobile-app-final-overrides ===== */


/* =========================================================
   FINAL MOBILE APP RESPONSIVE OVERRIDES
   Keeps desktop/tablet intact; improves <= 760px UX
   ========================================================= */

@media (max-width: 760px) {
     :root {
        --mobile-gutter: 16px;
        --mobile-radius: 20px;
    }
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 76px;
    }
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }
    body {
        padding-bottom: 0;
    }
    /* App header */
    .site-header,
    .site-header.scrolled {
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 10px;
        height: 64px;
        padding: 10px var(--mobile-gutter);
        border-bottom: 1px solid rgba(16, 24, 40, .07);
    }
    html.dark .site-header,
    html.dark .site-header.scrolled {
        border-bottom-color: rgba(245, 184, 0, .12);
    }
    .site-header .brand {
        grid-column: 2;
        justify-self: start;
        min-width: 0;
        margin: 0;
    }
    .brand-logo {
        width: 82px;
    }
    .header-actions {
        grid-column: 3;
        justify-self: end;
        position: static !important;
        width: auto !important;
        margin-left: 0;
        gap: 8px;
    }
    .header-actions .btn-primary {
        min-width: 96px;
        padding-inline: 12px;
    }
    .header-actions .btn-primary::after {
        font-weight: 500;
    }
    .theme-toggle {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
    }
    .mobile-menu-toggle {
        grid-column: 1;
        order: 0;
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
    }
    /* Mobile drawer generated by existing JS */
    .nav-links[style*="display: flex"] {
        width: calc(100% - 24px) !important;
        left: 12px !important;
        right: 12px !important;
        top: 72px !important;
        max-height: calc(100dvh - 94px);
        overflow-y: auto;
        padding: 14px !important;
        border-radius: 20px !important;
        gap: 4px !important;
    }
    .nav-links[style*="display: flex"]>a,
    .nav-links[style*="display: flex"] .nav-trigger {
        width: 100%;
        min-height: 44px;
        justify-content: space-between;
        padding: 11px 13px;
        font-size: 13px;
        border-radius: 12px;
    }
    .nav-links[style*="display: flex"] .nav-item {
        width: 100%;
    }
    .nav-links[style*="display: flex"] .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        display: none;
        min-width: 0;
        margin-top: 3px;
        padding: 5px;
        border-radius: 12px;
        box-shadow: none;
    }
    .nav-links[style*="display: flex"] .nav-item.open .nav-dropdown,
    .nav-links[style*="display: flex"] .nav-item:focus-within .nav-dropdown,
    .nav-links[style*="display: flex"] .nav-item:hover .nav-dropdown {
        display: block;
    }
    .nav-links[style*="display: flex"] .nav-dropdown a {
        min-height: 40px;
        display: flex;
        align-items: center;
        font-size: 12px;
        padding: 9px 12px;
    }
    /* Hero becomes readable app card */
    .hero,
    html:not(.dark) .hero,
    html.dark .hero {
        width: calc(100% - 24px);
        max-width: 520px;
        margin: 64px auto 10px;
        padding: 22px 18px 18px;
        border-radius: 22px;
        background-position: 72% top;
        background-size: auto 68%;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .hero-content {
        overflow: visible;
    }
    .hero-badge {
        margin-bottom: 10px;
        padding: 6px 10px;
    }
    .hero-badge::before {
        font-size: 8px;
    }
    .hero h1 {
        max-width: 250px;
        font-size: clamp(2.05rem, 11vw, 3rem);
        line-height: .98;
        margin-bottom: 10px;
    }
    .hero p {
        max-width: 260px;
        font-size: 12px;
        line-height: 1.55;
        margin-bottom: 14px;
    }
    .hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }
    .hero-actions .btn-large {
        width: 100%;
        min-height: 40px;
        padding: 11px 16px;
        font-size: 11px;
        flex: none;
        justify-content: center;
        min-width: 0;
        white-space: nowrap;
    }
    .hero-actions .btn-primary {
        font-size: 0;
        letter-spacing: 0;
    }
    .hero-actions .btn-primary::after {
        content: "Open Live Account";
        display: block;
        font-size: 10px;
        line-height: 1;
        font-weight: 500;
    }
    .hero-visual {
        overflow: visible;
    }
    .hero-card,
    html:not(.dark) .hero-card {
        max-width: none;
        padding: 7px 11px;
        border-radius: 17px;
    }
    .hero-card .feature-row {
        grid-template-columns: 34px 1fr;
        gap: 9px;
        min-height: 52px;
        padding: 8px 2px;
    }
    .hero-card .feature-icon {
        width: 31px;
        height: 31px;
    }
    .hero-card .feature-icon svg {
        width: 18px;
        height: 18px;
    }
    .hero-card .feature-copy h3 {
        font-size: 9.5px;
    }
    .hero-card .feature-copy p {
        font-size: 8px;
    }
    /* KPI strip: 2x2 instead of unreadable 4-column */
    .quick-features,
    html:not(.dark) .quick-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: calc(100% - 24px);
        max-width: 520px;
        margin: 10px auto 14px;
    }
    .quick-features .qf-item {
        min-height: 86px;
        padding: 12px 8px;
        border-bottom: 1px solid #edf0f3 !important;
    }
    .quick-features .qf-item:nth-child(2n) {
        border-right: 0;
    }
    .quick-features .qf-item:nth-last-child(-n+2) {
        border-bottom: 0 !important;
    }
    html.dark .quick-features .qf-item {
        border-bottom-color: rgba(245, 184, 0, .12) !important;
    }
    .quick-features .qf-icon {
        width: 34px;
        height: 34px;
    }
    .quick-features .qf-icon svg {
        width: 20px;
        height: 20px;
    }
    .qf-copy strong {
        font-size: 18px;
    }
    .qf-copy span {
        font-size: 7.5px;
        line-height: 1.25;
    }
    /* Standard mobile section width */
    .section,
    .payments-section,
    html:not(.dark) .payments-section {
        width: calc(100% - 24px);
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        padding: 16px 0;
    }
    .section-head {
        margin-bottom: 13px;
    }
    .section-head h2,
    .payments-section .section-head h2 {
        font-size: 21px !important;
    }
    .section-divider {
        width: 42px;
    }
    /* Markets: native app horizontal cards */
    .market-tabs {
        margin-bottom: 10px;
        padding-bottom: 5px;
    }
    .market-tabs button {
        min-height: 34px;
        padding: 7px 14px;
        font-size: 10px;
    }
    .quote-grid,
    html:not(.dark) .quote-grid {
        display: flex;
        gap: 10px;
        width: 100%;
        padding: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
    }
    .quote-grid::-webkit-scrollbar {
        display: none;
    }
    .quote-card,
    html:not(.dark) .quote-card {
        flex: 0 0 152px;
        min-height: 112px;
        padding: 12px 10px;
        border-radius: 14px;
        scroll-snap-align: start;
    }
    .flag {
        width: 20px;
        height: 20px;
    }
    .quote-card .pair {
        font-size: 9.5px;
    }
    .quote-card .desc {
        display: block;
        margin-top: 3px;
        font-size: 7px;
        max-width: 110px;
    }
    .quote-bottom {
        margin-top: auto;
        padding-top: 10px;
        gap: 5px;
    }
    .quote-card .price {
        font-size: 12px;
    }
    .quote-card .change {
        font-size: 8px;
    }
    .sparkline {
        height: 30px;
    }
    /* Platforms: stacked card, readable copy */
    .platforms-grid,
    html:not(.dark) .platforms-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px 14px;
        border-radius: 20px;
    }
    .platform-devices {
        justify-content: center;
        min-height: 145px;
    }
    .platform-laptop-img {
        width: min(86%, 280px);
        max-width: 280px;
        margin: 0;
    }
    .platform-copy {
        text-align: center;
    }
    .platform-copy::before {
        margin: 0 auto 6px;
        font-size: 7px;
    }
    .platform-copy h2 {
        font-size: 22px;
        line-height: 1;
        margin-bottom: 8px;
    }
    .platform-copy p {
        max-width: 320px;
        margin: 0 auto 12px;
        font-size: 10px;
        line-height: 1.45;
    }
    .platform-icons.platform-icons-hero {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
        margin-bottom: 12px;
    }
    .platform-icons.platform-icons-hero .pi i {
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }
    .platform-icons.platform-icons-hero .pi i>svg {
        width: 18px;
        height: 18px;
    }
    .platform-icons.platform-icons-hero .pi strong,
    .platform-icons.platform-icons-hero .pi small {
        font-size: 6.5px;
    }
    .platform-copy .btn-primary {
        min-height: 38px;
        padding: 10px 18px;
        font-size: 10px;
    }
    /* Promotions: swipeable cards */
    .promo-grid {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 2px 1px 7px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .promo-grid::-webkit-scrollbar {
        display: none;
    }
    .promo-card,
    html:not(.dark) .promo-card {
        flex: 0 0 min(78vw, 300px);
        min-height: 132px;
        padding: 16px;
        border-radius: 17px;
        scroll-snap-align: start;
    }
    .promo-copy {
        max-width: 60%;
    }
    .promo-card h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    .promo-card p {
        font-size: 9px;
        line-height: 1.35;
    }
    /* Payments */
    .payments-section {
        padding-top: 10px;
        padding-bottom: 16px;
    }
    .payment-logos {
        margin-top: 10px;
    }
    .payment-track {
        gap: 22px;
        padding: 6px 2px;
    }
    .payment-logo {
        min-width: 62px;
        height: 34px;
    }
    .payment-logo img {
        max-width: 78px;
        max-height: 30px;
    }
    .payment-logo.mastercard {
        min-width: 100px;
        font-size: 11px;
    }
    .payment-logo.mastercard::before {
        transform: scale(.62);
        transform-origin: center;
        margin-right: -7px;
    }
    /* Footer as app info section */
    .site-footer {
        padding: 24px 16px 104px;
    }
    .footer-grid {
        padding: 0;
        gap: 22px;
    }
    .footer-brand .brand-logo {
        width: 130px;
    }
    .footer-brand p {
        max-width: none;
        font-size: 12px;
    }
    .footer-col h4 {
        margin-bottom: 9px;
    }
    .footer-col a {
        font-size: 11px;
        min-height: 30px;
        display: flex;
        align-items: center;
    }
    .footer-bottom {
        padding: 18px 0 0;
        font-size: 9px;
        line-height: 1.45;
    }
    .footer-bottom>div {
        display: flex;
        flex-wrap: wrap;
        gap: 7px 12px;
    }
    .footer-bottom a {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }
    /* Floating app nav */
    .mobile-bottom-nav,
    html:not(.dark) .mobile-bottom-nav {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        left: 12px;
        right: 12px;
        width: auto;
        max-width: 520px;
        margin: 0 auto;
        bottom: max(10px, env(safe-area-inset-bottom));
        height: 66px;
        border-radius: 22px;
        padding: 7px 6px;
    }
    .mobile-bottom-nav a {
        width: auto;
        min-width: 0;
        min-height: 50px;
        padding-inline: 2px;
        border-radius: 15px;
    }
    .mobile-bottom-nav a.active {
        background: rgba(245, 184, 0, .10);
    }
    .mobile-bottom-nav a::after {
        font-size: 9px;
    }
    .mobile-bottom-nav a i {
        width: 22px;
        height: 22px;
    }
    /* Back to top stays available in responsive/app mode */
    .back-to-top {
        display: flex !important;
        width: 42px;
        height: 42px;
        right: 16px;
        bottom: 88px;
        z-index: 1001;
        font-size: 1.05rem;
        background: rgba(245, 184, 0, .14);
        border: 1px solid rgba(245, 184, 0, .42);
        color: #F5B800;
        box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
    }
    html:not(.dark) .back-to-top {
        background: #FFF4CC;
        border-color: rgba(245, 184, 0, .45);
        color: #875E00;
        box-shadow: 0 10px 24px rgba(16, 24, 40, .10);
    }
    .back-to-top.visible {
        opacity: 1;
        transform: translateY(0);
    }
    /* Better tap behaviour */
    a,
    button {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
}

@media (max-width: 380px) {
     :root {
        --mobile-gutter: 12px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 11px;
    }
    .header-actions .btn-primary {
        min-width: 90px;
        padding-inline: 10px;
    }
    .quote-card,
    html:not(.dark) .quote-card {
        flex-basis: 140px;
    }
    .promo-card,
    html:not(.dark) .promo-card {
        flex-basis: 82vw;
    }
}


/* ===== Moved from index.php: inline-block-6 ===== */


/* ===== MOBILE HERO TOP-LINE FIX ===== */

@media (max-width: 760px) {
    /* Hide desktop scroll-progress treatment on the app shell. */
    .scroll-progress {
        display: none !important;
    }
    /* Crop the thin bright strip that exists at the top of the hero artwork. */
    .hero,
    html:not(.dark) .hero {
        background-position: right -26px !important;
    }
    html.dark .hero {
        background-position: right -26px !important;
    }
    /* Keep the cropped artwork inside the rounded app card. */
    .hero {
        background-clip: padding-box !important;
    }
}

@media (max-width: 390px) {
    .hero,
    html:not(.dark) .hero,
    html.dark .hero {
        background-position: right -22px !important;
    }
}


/* ===== Moved from index.php: restore-mouse-animation ===== */


/* Restore original cursor/mouse animation. No existing visual feature is removed. */

#woxbCursorGlow,
#lightCursorGlow {
    pointer-events: none;
}

@media (max-width: 1024px) {
    #woxbCursorGlow {
        display: block !important;
    }
    #lightCursorGlow {
        display: block !important;
    }
}

@media (hover:none) and (pointer:coarse) {
    /* Touch devices have no mouse pointer, so the elements remain harmless; JS stays intact. */
    #woxbCursorGlow,
    #lightCursorGlow {
        pointer-events: none;
    }
}


/* ===== Moved from index.php: gold-theme-toggle-fix ===== */


/* ===== WOXB GOLD THEME TOGGLE DOT ===== */

html.dark .theme-toggle {
    color: #F5B800 !important;
}

html.dark .theme-toggle::before {
    background: #F5B800 !important;
    box-shadow: 0 0 0 3px rgba(245, 184, 0, .20), 0 0 14px rgba(245, 184, 0, .35) !important;
}


/* ===== Moved from index.php: woxb-ultra-premium-buttons ===== */


/* =========================================================
   WOXB ULTRA PREMIUM BUTTON SYSTEM
   Additive only — existing functionality/layout preserved.
   ========================================================= */

:root {
    --btn-gold: #F5B800;
    --btn-gold-light: #FFD34D;
    --btn-gold-deep: #B87900;
    --btn-dark: #0A0A0A;
}


/* ---------- GLOBAL BUTTON DEPTH ---------- */

.btn,
.market-tabs button,
.theme-toggle,
.back-to-top,
.footer-socials a,
.mobile-bottom-nav a {
    position: relative;
    isolation: isolate;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}


/* ---------- PRIMARY CTA ---------- */

.btn-primary {
    overflow: hidden;
    border: 1px solid rgba(255, 211, 77, .62) !important;
    background: linear-gradient(135deg, #FFE47A 0%, #FFD34D 18%, #F5B800 48%, #D79600 76%, #B87900 100%) !important;
    background-size: 180% 180% !important;
    color: #0A0A0A !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .26);
    box-shadow: 0 8px 18px rgba(184, 121, 0, .22), 0 16px 38px rgba(245, 184, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .72), inset 0 -1px 0 rgba(91, 58, 0, .18) !important;
    transition: transform .32s cubic-bezier(.22, 1, .36, 1), box-shadow .32s ease, filter .32s ease, background-position .7s ease !important;
}

.btn-primary::before {
    content: "" !important;
    position: absolute !important;
    inset: -2px !important;
    width: auto !important;
    height: auto !important;
    left: -2px !important;
    top: -2px !important;
    bottom: -2px !important;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 0 26%, rgba(255, 255, 255, .14) 33%, rgba(255, 255, 255, .95) 46%, rgba(255, 244, 185, .52) 54%, transparent 66% 100%) !important;
    transform: translateX(-125%) skewX(-18deg) !important;
    z-index: 1 !important;
    opacity: .9;
    pointer-events: none;
    transition: none !important;
    animation: woxbButtonSweep 3.8s cubic-bezier(.4, 0, .2, 1) infinite;
}

.btn-primary::after {
    position: relative;
    z-index: 3;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.025) !important;
    filter: saturate(1.08) brightness(1.035);
    background-position: 100% 50% !important;
    box-shadow: 0 10px 24px rgba(184, 121, 0, .26), 0 20px 48px rgba(245, 184, 0, .36), 0 0 26px rgba(245, 184, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .78) !important;
}

.btn-primary:active {
    transform: translateY(0) scale(.975) !important;
    box-shadow: 0 5px 14px rgba(184, 121, 0, .22), 0 8px 20px rgba(245, 184, 0, .18), inset 0 2px 5px rgba(91, 58, 0, .20) !important;
}

.btn-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 10, 10, .9), 0 0 0 6px rgba(245, 184, 0, .58), 0 18px 44px rgba(245, 184, 0, .28) !important;
}

@keyframes woxbButtonSweep {
    0%,
    58% {
        transform: translateX(-135%) skewX(-18deg);
        opacity: 0
    }
    64% {
        opacity: .95
    }
    82% {
        opacity: .95
    }
    100% {
        transform: translateX(135%) skewX(-18deg);
        opacity: 0
    }
}


/* soft breathing gold aura */

.btn-primary {
    animation: woxbPrimaryAura 3.4s ease-in-out infinite;
}

@keyframes woxbPrimaryAura {
    0%,
    100% {
        box-shadow: 0 8px 18px rgba(184, 121, 0, .20), 0 15px 34px rgba(245, 184, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .70)
    }
    50% {
        box-shadow: 0 10px 22px rgba(184, 121, 0, .24), 0 18px 42px rgba(245, 184, 0, .30), 0 0 20px rgba(245, 184, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .76)
    }
}


/* ---------- GHOST / SECONDARY ---------- */

.btn-ghost {
    overflow: hidden;
    color: var(--foreground) !important;
    background: linear-gradient(145deg, color-mix(in srgb, var(--card), transparent 10%), color-mix(in srgb, var(--card), transparent 34%)) !important;
    border: 1px solid color-mix(in srgb, var(--primary), transparent 56%) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
    backdrop-filter: blur(14px) saturate(1.25);
    -webkit-backdrop-filter: blur(14px) saturate(1.25);
}

.btn-ghost::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0, rgba(245, 184, 0, .18), transparent 52%);
    opacity: 0;
    z-index: -1;
    transition: opacity .3s ease;
}

.btn-ghost:hover {
    color: var(--primary) !important;
    border-color: rgba(245, 184, 0, .78) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18), 0 0 22px rgba(245, 184, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .12) !important;
}

.btn-ghost:hover::after {
    opacity: 1
}

.btn-ghost:active {
    transform: translateY(0) scale(.98) !important
}


/* ---------- THEME TOGGLE ---------- */

.theme-toggle {
    overflow: visible;
    border: 1px solid rgba(245, 184, 0, .38) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .14), 0 0 0 0 rgba(245, 184, 0, 0);
    transition: transform .32s cubic-bezier(.22, 1, .36, 1), box-shadow .32s ease, border-color .32s ease !important;
}

.theme-toggle::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid rgba(245, 184, 0, .22);
    opacity: 0;
    transform: scale(.72);
    transition: opacity .32s ease, transform .32s cubic-bezier(.22, 1, .36, 1);
    pointer-events: none;
}

.theme-toggle:hover {
    transform: translateY(-2px) rotate(10deg) scale(1.06) !important;
    border-color: #F5B800 !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .18), 0 0 20px rgba(245, 184, 0, .22) !important;
}

.theme-toggle:hover::after {
    opacity: 1;
    transform: scale(1);
}

.theme-toggle:active {
    transform: scale(.94) rotate(0deg) !important
}


/* ---------- MARKET TAB BUTTONS ---------- */

.market-tabs button {
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s, border-color .3s, color .3s, background .3s !important;
}

.market-tabs button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, .24) 48%, transparent 68%);
    transform: translateX(-130%);
    transition: transform .65s cubic-bezier(.22, 1, .36, 1);
}

.market-tabs button:hover::before,
.market-tabs button.active::before {
    transform: translateX(130%)
}

.market-tabs button:hover,
.market-tabs button.active {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(245, 184, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .12) !important;
}

.market-tabs button:active {
    transform: translateY(0) scale(.96)
}


/* ---------- BACK TO TOP ---------- */

.back-to-top {
    overflow: hidden;
    background: radial-gradient(circle at 32% 24%, rgba(255, 230, 130, .42), transparent 34%), linear-gradient(145deg, rgba(245, 184, 0, .20), rgba(184, 121, 0, .08)) !important;
    border: 1px solid rgba(245, 184, 0, .72) !important;
    color: #F5B800 !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .20), 0 0 22px rgba(245, 184, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .14) !important;
}

.back-to-top::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: conic-gradient(from 0deg, transparent 0 60%, rgba(255, 211, 77, .65) 72%, transparent 84%);
    animation: woxbBackSpin 5s linear infinite;
    z-index: -2;
}

.back-to-top::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: color-mix(in srgb, var(--card), transparent 18%);
    z-index: -1;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.08) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .24), 0 0 30px rgba(245, 184, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .18) !important;
}

.back-to-top:active {
    transform: translateY(-1px) scale(.94) !important
}

@keyframes woxbBackSpin {
    to {
        transform: rotate(360deg)
    }
}


/* ---------- FOOTER SOCIALS ---------- */

.footer-socials a {
    overflow: hidden;
    transition: transform .32s cubic-bezier(.22, 1, .36, 1), box-shadow .32s, border-color .32s, background .32s !important;
}

.footer-socials a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0, rgba(255, 211, 77, .28), transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}

.footer-socials a:hover {
    transform: translateY(-4px) scale(1.08) !important;
    background: rgba(245, 184, 0, .13) !important;
    box-shadow: 0 10px 26px rgba(245, 184, 0, .18), 0 0 16px rgba(245, 184, 0, .14) !important;
}

.footer-socials a:hover::before {
    opacity: 1
}

.footer-socials a:active {
    transform: translateY(-1px) scale(.95) !important
}


/* ---------- MOBILE APP BOTTOM NAV ---------- */

.mobile-bottom-nav a {
    overflow: hidden;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), color .28s ease, background .28s ease, box-shadow .28s ease !important;
}

.mobile-bottom-nav a::before {
    content: "";
    position: absolute;
    width: 38px;
    height: 38px;
    top: 3px;
    left: 50%;
    transform: translateX(-50%) scale(.55);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 184, 0, .22), rgba(245, 184, 0, .05) 55%, transparent 70%);
    opacity: 0;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), opacity .3s;
}

.mobile-bottom-nav a:hover,
.mobile-bottom-nav a.active {
    color: #F5B800 !important;
    transform: translateY(-2px);
}

.mobile-bottom-nav a:hover::before,
.mobile-bottom-nav a.active::before {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

.mobile-bottom-nav a.active {
    background: linear-gradient(180deg, rgba(245, 184, 0, .13), rgba(245, 184, 0, .05)) !important;
    box-shadow: inset 0 0 0 1px rgba(245, 184, 0, .09);
}

.mobile-bottom-nav a:active {
    transform: translateY(0) scale(.95)
}


/* icon micro animation */

.mobile-bottom-nav a i {
    transition: transform .32s cubic-bezier(.22, 1, .36, 1), filter .32s;
}

.mobile-bottom-nav a:hover i,
.mobile-bottom-nav a.active i {
    transform: translateY(-1px) scale(1.10);
    filter: drop-shadow(0 0 6px rgba(245, 184, 0, .34));
}


/* ---------- MOBILE-SPECIFIC POLISH ---------- */

@media(max-width:760px) {
    .btn-primary {
        box-shadow: 0 6px 14px rgba(184, 121, 0, .20), 0 10px 24px rgba(245, 184, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .70) !important;
    }
    .hero-actions .btn-large,
    .platform-copy .btn-primary,
    .header-actions .btn-primary {
        min-height: 40px;
    }
    .header-actions .btn-primary {
        min-height: 34px;
        animation: woxbMobileDepositPulse 3.8s ease-in-out infinite;
    }
    @keyframes woxbMobileDepositPulse {
        0%,
        100% {
            box-shadow: 0 6px 14px rgba(184, 121, 0, .18), 0 0 0 rgba(245, 184, 0, 0)
        }
        50% {
            box-shadow: 0 8px 18px rgba(184, 121, 0, .24), 0 0 18px rgba(245, 184, 0, .20)
        }
    }
    .back-to-top {
        width: 44px !important;
        height: 44px !important;
        right: 16px !important;
        bottom: 88px !important;
    }
    /* tap feedback instead of desktop-only hover dependency */
    .btn:active,
    .market-tabs button:active,
    .theme-toggle:active,
    .footer-socials a:active,
    .back-to-top:active {
        transition-duration: .12s !important;
    }
}


/* ---------- LIGHT THEME REFINEMENT ---------- */

html:not(.dark) .btn-ghost {
    background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(255, 248, 221, .80)) !important;
    border-color: rgba(184, 121, 0, .28) !important;
    box-shadow: 0 8px 20px rgba(16, 24, 40, .07), inset 0 1px 0 rgba(255, 255, 255, .9) !important;
}

html:not(.dark) .theme-toggle {
    background: linear-gradient(145deg, #FFFFFF, #FFF8DD) !important;
    box-shadow: 0 7px 18px rgba(16, 24, 40, .08), 0 0 0 1px rgba(255, 255, 255, .8) inset !important;
}

html:not(.dark) .back-to-top::after {
    background: #FFF8DE;
}


/* Respect OS reduced-motion preference */

@media(prefers-reduced-motion:reduce) {
    .btn-primary,
    .btn-primary::before,
    .back-to-top::before,
    .header-actions .btn-primary {
        animation: none !important;
    }
}


/* ===== Moved from index.php: woxb-desktop-back-to-top-fix ===== */


/* Desktop Back-to-Top positioning fix */

@media (min-width: 761px) {
    .back-to-top {
        position: fixed !important;
        right: 28px !important;
        bottom: 28px !important;
        left: auto !important;
        top: auto !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 50% !important;
        z-index: 9998 !important;
        transform: translateY(18px) scale(.94) !important;
    }
    .back-to-top.visible {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
    }
    .back-to-top:hover {
        transform: translateY(-5px) scale(1.08) !important;
    }
    .back-to-top:active {
        transform: translateY(-1px) scale(.95) !important;
    }
}


/* ===== Moved from index.php: advanced-bg-canvas ===== */


/* =========================================================
   WORLD-CLASS ADVANCED BG CANVAS – GOLD NEURAL NETWORK
   ========================================================= */

#bgCanvas {
    display: block;
    opacity: 1;
    transition: opacity 0.8s ease;
}

html:not(.dark) #bgCanvas {
    opacity: 0.55;
    mix-blend-mode: multiply;
    filter: saturate(0.7) contrast(0.85) brightness(1.1);
}

html.dark #bgCanvas {
    opacity: 0.9;
    mix-blend-mode: screen;
    filter: saturate(1.1) contrast(1.05) brightness(0.85);
}


/* ===== Moved from index.php: woxb-light-bg-visibility-final ===== */


/* =========================================================
   LIGHT THEME BG VISIBILITY — CLEAR BUT NOT OVERPOWERING
   Dark theme and existing animation logic remain untouched.
   ========================================================= */

html:not(.dark) #bgCanvas {
    display: block !important;
    opacity: .72 !important;
    mix-blend-mode: multiply !important;
    filter: saturate(.88) contrast(.96) brightness(1.01) !important;
}


/* Keep white theme elegant while giving gold particles contrast */

html:not(.dark) body {
    background: radial-gradient(circle at 14% 12%, rgba(245, 184, 0, .055), transparent 23%), radial-gradient(circle at 86% 38%, rgba(255, 211, 77, .055), transparent 27%), linear-gradient(180deg, #fffefb 0%, #fafbfc 48%, #ffffff 100%) !important;
}


/* Existing grid stays extremely subtle so the animated network remains the hero */

html:not(.dark) body::before {
    opacity: .25 !important;
}


/* Slight visibility correction on tablet */

@media (max-width:1024px) {
    html:not(.dark) #bgCanvas {
        opacity: .64 !important;
        filter: saturate(.86) contrast(.94) brightness(1.01) !important;
    }
}


/* Mobile: visible, but deliberately softer behind compact app cards */

@media (max-width:760px) {
    html:not(.dark) #bgCanvas {
        display: block !important;
        opacity: .42 !important;
        mix-blend-mode: multiply !important;
        filter: saturate(.84) contrast(.92) brightness(1.02) !important;
    }
}


/* Very small screens stay clean */

@media (max-width:390px) {
    html:not(.dark) #bgCanvas {
        opacity: .36 !important;
    }
}


/* ===== Moved from index.php: mobile-platform-label-fix ===== */


/* Mobile platform labels: readable, friendly, and aligned with their icons. */

@media (max-width: 760px) {
    .platform-icons.platform-icons-hero {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
        align-items: start !important;
        overflow: visible !important;
        margin: 8px 0 14px !important;
    }
    .platform-icons.platform-icons-hero .pi,
    .platform-icons.platform-icons-hero .pi:first-child,
    .platform-icons.platform-icons-hero .pi:last-child {
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        align-content: start !important;
        gap: 6px !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 64px !important;
        padding: 0 !important;
        text-align: center !important;
    }
    .platform-icons.platform-icons-hero .pi i {
        width: 34px !important;
        height: 34px !important;
        border-radius: 11px !important;
    }
    .platform-icons.platform-icons-hero .pi i>svg {
        width: 19px !important;
        height: 19px !important;
    }
    .platform-icons.platform-icons-hero .pi span {
        display: grid !important;
        gap: 1px !important;
        width: 100% !important;
        min-width: 0 !important;
        text-align: center !important;
        overflow: visible !important;
    }
    .platform-icons.platform-icons-hero .pi strong,
    .platform-icons.platform-icons-hero .pi small {
        display: block !important;
        width: 100% !important;
        color: #101828 !important;
        font-size: 9px !important;
        line-height: 1.08 !important;
        font-weight: 500 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
    }
    html.dark .platform-icons.platform-icons-hero .pi strong,
    html.dark .platform-icons.platform-icons-hero .pi small {
        color: #FFFFFF !important;
    }
}

@media (max-width: 380px) {
    .platform-icons.platform-icons-hero {
        gap: 6px !important;
    }
    .platform-icons.platform-icons-hero .pi strong,
    .platform-icons.platform-icons-hero .pi small {
        font-size: 8.5px !important;
    }
}


/* ===== Moved from index.php: theme-toggle-icon-fix ===== */
/* ===== LOGIN VALIDATION UI - TOAST VERSION ===== */

    .auth-field {
      position: relative;
    }

    .auth-error,
    .login-error-box {
      display: none !important;
    }

    .auth-field.has-error input {
      border-color: rgba(217, 45, 32, 0.45) !important;
      box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.055) !important;
    }

    .auth-field.has-success input {
      border-color: rgba(22, 163, 74, 0.30) !important;
      box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.035) !important;
    }

    html.dark .auth-field.has-error input {
      border-color: rgba(248, 113, 113, 0.45) !important;
      box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.055) !important;
    }

    .auth-submit:disabled {
      opacity: 0.72;
      cursor: not-allowed;
      pointer-events: none;
    }

    .swal2-container.swal2-top-end {
      padding: 22px !important;
    }

    .woxb-toast-popup {
      width: min(380px, calc(100vw - 28px)) !important;
      padding: 0 !important;
      border: 1px solid rgba(184, 121, 0, .22) !important;
      border-radius: 18px !important;
      background:
        linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,251,238,.88)) !important;
      color: #101827 !important;
      box-shadow:
        0 28px 72px rgba(101,72,0,.14),
        inset 0 1px 0 rgba(255,255,255,.72) !important;
      backdrop-filter: blur(22px) saturate(1.2) !important;
      -webkit-backdrop-filter: blur(22px) saturate(1.2) !important;
      overflow: hidden !important;
    }

    .woxb-toast-popup::before {
      content: "";
      display: block;
      height: 3px;
      background: linear-gradient(90deg, #FFC83D, #F5B800, #B87900);
    }

    .woxb-toast-popup .swal2-html-container {
      margin: 0 !important;
      padding: 0 !important;
      color: inherit !important;
      text-align: left !important;
      overflow: visible !important;
    }

    .woxb-toast-content {
      padding: 15px 16px 16px;
    }

    .woxb-toast-head {
      display: flex;
      align-items: flex-start;
      gap: 11px;
      margin-bottom: 10px;
    }

    .woxb-toast-icon {
      display: grid;
      place-items: center;
      width: 34px;
      height: 34px;
      flex: 0 0 34px;
      border-radius: 10px;
      background: linear-gradient(135deg, #FFE173 0%, #F5B800 54%, #D99A00 100%);
      border: 1px solid rgba(255, 211, 77, .82);
      color: #0a0a0a;
      font-size: 17px;
      font-weight: 800;
      line-height: 1;
      box-shadow:
        0 10px 26px rgba(245,184,0,.25),
        inset 0 1px 0 rgba(255,255,255,.52);
    }

    .woxb-toast-title {
      margin: 1px 0 2px;
      color: #101827;
      font-size: 13.5px;
      font-weight: 750;
      line-height: 1.3;
    }

    .woxb-toast-simple {
      padding: 12px 42px 12px 14px;
    }

    .woxb-toast-simple .woxb-toast-head {
      align-items: center;
      margin-bottom: 0;
    }

    .woxb-toast-simple .woxb-toast-title {
      margin: 0;
      line-height: 1;
    }

    .woxb-toast-subtitle {
      color: #4b5565;
      font-size: 11.5px;
      font-weight: 500;
      line-height: 1.45;
    }

    .woxb-toast-list {
      display: grid;
      gap: 7px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .woxb-toast-list li {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      color: #667085;
      font-size: 11.5px;
      font-weight: 500;
      line-height: 1.45;
    }

    .woxb-toast-list li::before {
      content: "";
      width: 6px;
      height: 6px;
      flex: 0 0 6px;
      margin-top: 5px;
      border-radius: 50%;
      background: #F5B800;
      box-shadow: 0 0 0 3px rgba(245,184,0,.10);
    }

    .woxb-toast-example {
      margin-top: 11px;
      padding: 9px 10px;
      border: 1px solid rgba(184, 121, 0, .22);
      border-radius: 10px;
      background: rgba(255,255,255,.82);
      color: #4b5565;
      font-size: 11px;
      font-weight: 550;
      line-height: 1.5;
    }

    .woxb-toast-example strong {
      color: #B87900;
      font-weight: 750;
    }

    .woxb-toast-popup .swal2-close {
      color: #B87900 !important;
      transition: color .2s ease, transform .2s ease !important;
    }

    .woxb-toast-popup .swal2-close:hover {
      color: #F5B800 !important;
      transform: scale(1.06);
    }

    .woxb-toast-progress {
      background: linear-gradient(90deg, #F5B800, #B87900) !important;
    }

    html.dark .woxb-toast-popup {
      background:
        linear-gradient(180deg, rgba(13,13,14,.94), rgba(9,9,10,.88)) !important;
      color: #FFFFFF !important;
      border-color: rgba(245,184,0,.22) !important;
      box-shadow:
        0 28px 72px rgba(0,0,0,.46),
        inset 0 1px 0 rgba(255,255,255,.055) !important;
    }

    html.dark .woxb-toast-title {
      color: #FFFFFF;
    }

    html.dark .woxb-toast-subtitle,
    html.dark .woxb-toast-list li {
      color: rgba(255,255,255,.70);
    }

    html.dark .woxb-toast-example {
      background: rgba(255,255,255,.075);
      border-color: rgba(255,255,255,.16);
      color: rgba(255,255,255,.70);
    }

    html.dark .woxb-toast-example strong {
      color: #F5B800;
    }

    @media (max-width: 640px) {
      .swal2-container.swal2-top-end {
        padding: 12px !important;
      }

      .woxb-toast-popup {
        width: calc(100vw - 24px) !important;
      }
    }

/* Replace the old theme dot with clear moon/sun icons. */

.theme-toggle::before {
    display: none !important;
    content: none !important;
}

.theme-toggle .theme-icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: scale(.72) rotate(-18deg);
    transition: opacity .22s ease, transform .22s ease;
    pointer-events: none;
    z-index: 2;
}

.theme-toggle .theme-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html:not(.dark) .theme-toggle {
    color: #101828 !important;
}

html:not(.dark) .theme-toggle .theme-icon-moon,
html.dark .theme-toggle .theme-icon-sun {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

html.dark .theme-toggle {
    color: #F5B800 !important;
}

html.dark .theme-toggle .theme-icon-sun svg {
    filter: drop-shadow(0 0 8px rgba(245, 184, 0, .34));
}

@media (max-width: 760px) {
    .theme-toggle .theme-icon svg {
        width: 16px;
        height: 16px;
    }
}


/* ===== Moved from index.php: responsive-mobile-animation-smooth-fix ===== */


/* Mobile-only animation smoothing. Desktop motion remains unchanged. */

@media (max-width: 760px) {
    .hero,
    .hero-grid,
    .hero-content,
    .hero-visual,
    .hero-card,
    .quote-card,
    .qf-item,
    .promo-card,
    .platform-devices,
    .platform-laptop-img,
    .platform-icons .pi {
        transform-style: flat !important;
    }
    .hero-content,
    .hero-visual,
    .hero-card,
    .quote-card,
    .promo-card,
    .promo-bg,
    .platform-laptop-img,
    .platform-icons .pi {
        will-change: auto !important;
    }
    .hero::before,
    html:not(.dark) .hero::before,
    html:not(.dark) .hero::after,
    .hero h1 span,
    .hero-badge::after,
    .hero-card::before,
    html:not(.dark) .hero-card::before,
    .hero-card::after,
    html:not(.dark) .hero-card::after,
    .quick-features::before,
    html:not(.dark) .quick-features::before,
    .back-to-top::before,
    .header-actions .btn-primary {
        animation-duration: 12s !important;
    }
    .section-divider::after {
        animation-duration: 5s !important;
    }
    .platform-laptop-img {
        animation-duration: 10s !important;
    }
    .payment-track {
        animation-duration: 42s !important;
    }
    .mobile-motion-paused.hero::before,
    html:not(.dark) .mobile-motion-paused.hero::before,
    html:not(.dark) .mobile-motion-paused.hero::after,
    .mobile-motion-paused.hero h1 span,
    .mobile-motion-paused.hero .hero-badge::after,
    .mobile-motion-paused.hero .hero-card::before,
    html:not(.dark) .mobile-motion-paused.hero .hero-card::before,
    .mobile-motion-paused.hero .hero-card::after,
    html:not(.dark) .mobile-motion-paused.hero .hero-card::after,
    .mobile-motion-paused.quick-features::before,
    html:not(.dark) .mobile-motion-paused.quick-features::before,
    .mobile-motion-paused .section-divider::after,
    .mobile-motion-paused .platform-laptop-img,
    .mobile-motion-paused .payment-track,
    .mobile-motion-paused.payment-track {
        animation-play-state: paused !important;
    }
    html.mobile-scrolling .hero::before,
    html.mobile-scrolling:not(.dark) .hero::before,
    html.mobile-scrolling:not(.dark) .hero::after,
    html.mobile-scrolling .hero h1 span,
    html.mobile-scrolling .hero-badge::after,
    html.mobile-scrolling .hero-card::before,
    html.mobile-scrolling:not(.dark) .hero-card::before,
    html.mobile-scrolling .hero-card::after,
    html.mobile-scrolling:not(.dark) .hero-card::after,
    html.mobile-scrolling .quick-features::before,
    html.mobile-scrolling:not(.dark) .quick-features::before,
    html.mobile-scrolling .section-divider::after,
    html.mobile-scrolling .platform-laptop-img,
    html.mobile-scrolling .payment-track,
    html.mobile-scrolling .back-to-top::before,
    html.mobile-scrolling .header-actions .btn-primary {
        animation-play-state: paused !important;
    }
    html.mobile-scrolling .hero-card,
    html.mobile-scrolling .quote-card,
    html.mobile-scrolling .quick-features,
    html.mobile-scrolling .site-header,
    html.mobile-scrolling .mobile-bottom-nav {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    html.mobile-scrolling .market-tabs,
    html.mobile-scrolling .payment-logos,
    html.mobile-scrolling .platform-icons .pi,
    html.mobile-scrolling .promo-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}


/* ===== Moved from index.php: inline-block-16 ===== */


/* ===== FINAL MOBILE FOOTER FIX ===== */

@media (max-width: 760px) {
    .site-footer,
    html:not(.dark) .site-footer,
    html.dark .site-footer {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 20px 14px 14px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .footer-grid {
        width: 100% !important;
        max-width: 520px !important;
        margin: 0 auto !important;
        padding: 16px !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        align-items: start !important;
        border: 1px solid #E7EAF0 !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, .66) !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    html.dark .footer-grid {
        background: rgba(255, 255, 255, .03) !important;
        border-color: rgba(245, 184, 0, .16) !important;
    }
    .footer-brand {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        padding: 0 0 4px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-sizing: border-box !important;
    }
    html.dark .footer-brand {
        background: transparent !important;
        border-color: transparent !important;
    }
    .footer-brand .brand {
        display: flex !important;
        align-items: flex-start !important;
        gap: 4px !important;
        margin-bottom: 10px !important;
    }
    .footer-brand .brand-logo {
        width: 118px !important;
        max-width: 42vw !important;
        height: auto !important;
    }
    .footer-brand .brand-sub {
        margin-left: 2px !important;
        font-size: 8px !important;
        letter-spacing: .28em !important;
    }
    .footer-brand p {
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 14px !important;
        font-size: 11px !important;
        line-height: 1.55 !important;
    }
    .footer-socials {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    .footer-socials a {
        width: 34px !important;
        height: 34px !important;
        flex: 0 0 34px !important;
    }
    .footer-col {
        min-width: 0 !important;
        width: 100% !important;
        padding: 8px 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    html.dark .footer-col {
        background: transparent !important;
        border-color: transparent !important;
    }
    .footer-col h4 {
        margin: 0 0 10px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
    }
    .footer-col a {
        display: block !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 5px 0 !important;
        font-size: 10px !important;
        line-height: 1.35 !important;
        overflow-wrap: anywhere !important;
    }
    .footer-contact {
        padding: 8px 0 !important;
        border-left: 0 !important;
    }
    html.dark .footer-contact {
        border-left-color: transparent !important;
    }
    .contact-line {
        grid-template-columns: 28px minmax(0, 1fr) !important;
        gap: 9px !important;
        margin-bottom: 10px !important;
        font-size: 10.5px !important;
        line-height: 1.45 !important;
        overflow-wrap: anywhere !important;
    }
    .contact-line:last-child {
        margin-bottom: 0 !important;
    }
    .contact-icon,
    .contact-icon.phone,
    .contact-icon.mail,
    .contact-icon.web,
    .contact-icon.pin {
        width: 26px !important;
        height: 26px !important;
        margin: 0 !important;
    }
    .footer-bottom {
        width: 100% !important;
        max-width: 520px !important;
        margin: 14px auto 0 !important;
        padding: 14px 2px 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        border-top: 1px solid #E7EAF0 !important;
        font-size: 9px !important;
        line-height: 1.5 !important;
        box-sizing: border-box !important;
    }
    html.dark .footer-bottom {
        border-top-color: rgba(245, 184, 0, .14) !important;
    }
    .footer-risk {
        flex-basis: auto !important;
        width: 100% !important;
        margin: 0 !important;
    }
    .footer-bottom>div {
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px 12px !important;
    }
    .footer-bottom a {
        margin: 0 !important;
        padding: 0 !important;
        border-left: 0 !important;
        font-size: 9px !important;
        line-height: 1.35 !important;
    }
    /* Keep footer tight against the floating app nav without a large empty block. */
    .footer-bottom {
        padding-bottom: 4px !important;
    }
}

@media (max-width: 430px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .footer-brand {
        grid-column: 1 / -1 !important;
    }
    .footer-col,
    .footer-contact {
        grid-column: auto !important;
    }
    .footer-col {
        padding: 7px 0 !important;
    }
    .footer-col h4 {
        margin-bottom: 7px !important;
    }
    .footer-col a {
        padding: 4px 0 !important;
    }
}


/* ===== Moved from index.php: mobile-back-to-top-final-fix ===== */


/* Final mobile position: keep the back-to-top button above the app nav and away from footer text. */

@media (max-width: 760px) {
    .back-to-top,
    html:not(.dark) .back-to-top,
    html.dark .back-to-top {
        position: fixed !important;
        inset: auto 18px calc(104px + env(safe-area-inset-bottom)) auto !important;
        left: auto !important;
        top: auto !important;
        right: 18px !important;
        bottom: calc(104px + env(safe-area-inset-bottom)) !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        z-index: 1004 !important;
        opacity: 0;
        pointer-events: none;
        transform: translate3d(0, 14px, 0) scale(.94) !important;
    }
    .back-to-top.visible {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translate3d(0, 0, 0) scale(1) !important;
    }
    .back-to-top:hover {
        transform: translate3d(0, -3px, 0) scale(1.04) !important;
    }
    .footer-bottom {
        padding-right: 66px !important;
    }
}

@media (max-width: 390px) {
    .back-to-top,
    html:not(.dark) .back-to-top,
    html.dark .back-to-top {
        right: 16px !important;
        bottom: calc(102px + env(safe-area-inset-bottom)) !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
    }
    .footer-bottom {
        padding-right: 62px !important;
    }
}

.payments-title {
    font-size: 1.8rem;
}

/* ===== ACCOUNT TYPES INNER PAGE ===== */
.inner-page { min-height: 100vh; }
.inner-page main { padding-top: 132px; }
.nav-links > a.active { color: var(--gold, #f5b800); }
.account-hero { width: min(1440px, 92%); min-height: 500px; margin: 0 auto 70px; padding: 70px 7%; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; overflow: hidden; position: relative; border: 1px solid rgba(245,184,0,.22); border-radius: 36px; background: linear-gradient(120deg, rgba(255,255,255,.94), rgba(255,248,221,.78)); box-shadow: 0 35px 90px rgba(101,72,0,.10); }
html.dark .account-hero { background: linear-gradient(120deg, rgba(16,16,17,.96), rgba(43,31,2,.86)); box-shadow: 0 35px 90px rgba(0,0,0,.45); }
.account-eyebrow, .account-bottom-cta > div > span { display: inline-block; color: #bd8300; font-size: .74rem; font-weight: 800; letter-spacing: .16em; margin-bottom: 18px; }
.account-hero h1 { margin: 0 0 20px; color: #101827; font-size: clamp(2.7rem, 5vw, 5.4rem); line-height: .98; letter-spacing: -.055em; }
html.dark .account-hero h1 { color: #fff; }
.account-hero h1 span, .account-plans .section-head h2 span { color: #e9aa00; }
.account-hero p { max-width: 650px; margin: 0 0 32px; color: #687183; font-size: 1.08rem; line-height: 1.75; }
.account-hero-art { position: relative; width: 360px; height: 360px; justify-self: end; display: grid; place-items: center; }
.account-orbit { position: absolute; inset: 8%; border: 1px solid rgba(234,170,0,.45); border-radius: 50%; }
.orbit-one { transform: rotate(35deg) scaleY(.48); }
.orbit-two { transform: rotate(-35deg) scaleY(.48); }
.account-hero-art::before { content: ''; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8cf 0, #ffc400 42%, #c88100 100%); box-shadow: 0 35px 75px rgba(224,155,0,.35); }
.account-hero-badge { position: absolute; display: flex; align-items: center; gap: 12px; padding: 17px 22px; border: 1px solid rgba(255,255,255,.72); border-radius: 18px; color: #332500; background: rgba(255,255,255,.72); backdrop-filter: blur(12px); box-shadow: 0 20px 40px rgba(80,53,0,.18); }
.account-hero-badge strong { font-size: 2.5rem; line-height: 1; }.account-hero-badge span { font-size: .77rem; font-weight: 700; line-height: 1.25; text-transform: uppercase; }
.account-plans { width: min(1440px, 92%); margin: 0 auto 90px; }
.account-plans .section-head p { max-width: 650px; margin: 12px auto; color: #737b8b; }
.account-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 45px; align-items: stretch; }
.account-card { position: relative; padding: 30px 26px 26px; border: 1px solid #ece4cf; border-radius: 24px; background: rgba(255,255,255,.86); box-shadow: 0 18px 45px rgba(36,29,12,.07); transition: transform .25s ease, border-color .25s ease; }
.account-card:hover { transform: translateY(-8px); border-color: #efb600; }
html.dark .account-card { background: rgba(18,18,20,.9); border-color: rgba(245,184,0,.18); }
.account-card.featured { border: 2px solid #efb600; box-shadow: 0 24px 60px rgba(222,157,0,.18); }
.popular-tag { position: absolute; top: -13px; right: 22px; padding: 7px 13px; border-radius: 999px; color: #2b2000; background: #ffc400; font-size: .62rem; font-weight: 900; letter-spacing: .08em; }
.account-card-top { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.account-icon { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 15px; color: #7a5100; background: linear-gradient(145deg, #fff4bd, #ffc400); font-weight: 900; font-size: 1.15rem; }
.account-card small { color: #9b7a23; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.account-card h2 { margin: 3px 0 0; color: #121a29; font-size: 1.65rem; } html.dark .account-card h2 { color: #fff; }
.account-card > p { min-height: 74px; color: #737b8b; font-size: .88rem; line-height: 1.65; }
.account-card ul { list-style: none; padding: 8px 0; margin: 15px 0 22px; border-top: 1px solid rgba(128,110,61,.15); }
.account-card li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(128,110,61,.12); font-size: .78rem; }
.account-card li span { color: #7d8492; }.account-card li strong { color: #202735; text-align: right; } html.dark .account-card li strong { color: #eee; }
.account-cta { width: 100%; justify-content: center; }
.account-bottom-cta { width: min(1200px, 90%); margin: 0 auto 90px; padding: 42px 50px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border-radius: 28px; color: #251900; background: linear-gradient(120deg, #fff2b7, #ffc400); box-shadow: 0 28px 65px rgba(222,157,0,.2); }
.account-bottom-cta h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 3vw, 2.7rem); }.account-bottom-cta p { margin: 0; color: #66501d; }.account-bottom-cta .btn { background: #111827; border-color: #111827; color: #fff; }
.account-footer { width: min(1440px, 92%); margin: 0 auto; padding: 34px 0 48px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; border-top: 1px solid rgba(156,128,52,.2); color: #838895; font-size: .72rem; }.account-footer p { margin: 0; text-align: center; }.account-footer .brand-logo { width: 112px; }
@media (max-width: 1050px) { .account-card-grid { grid-template-columns: repeat(2, 1fr); }.account-hero-art { width: 280px; height: 280px; }.account-hero-art::before { width: 190px; height: 190px; } }
@media (max-width: 760px) { .inner-page main { padding-top: 92px; }.account-hero { min-height: auto; padding: 48px 28px; grid-template-columns: 1fr; text-align: center; }.account-hero p { margin-left: auto; margin-right: auto; }.account-hero-art { width: 230px; height: 230px; margin: 25px auto 0; justify-self: center; }.account-hero-art::before { width: 155px; height: 155px; }.account-card-grid { grid-template-columns: 1fr; }.account-card > p { min-height: 0; }.account-bottom-cta { padding: 35px 26px; flex-direction: column; text-align: center; }.account-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-bottom: 120px; } }

/* Account page — reference layout */
.inner-page main { padding-top: 86px; }
.inner-page .account-hero { width: 100%; max-width: none; min-height: 535px; margin: 0; padding: 74px max(5%, calc((100% - 1440px)/2)); display: flex; align-items: flex-start; border: 0; border-radius: 0; box-shadow: none; background: #fff; }
html.dark .inner-page .account-hero { background: #050606; box-shadow: none; }
.account-hero-bg, .account-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.account-hero-img { object-fit: cover; object-position: center; }
.account-hero-img-dark { display: none; }
html.dark .account-hero-img-light { display: none; }
html.dark .account-hero-img-dark { display: block; }
.account-hero-copy { position: relative; z-index: 2; width: 390px; }
.account-eyebrow { padding: 7px 14px; margin-bottom: 18px; border: 1px solid rgba(232,168,0,.55); border-radius: 999px; background: rgba(255,250,226,.78); color: #a77100; font-size: .66rem; letter-spacing: .05em; }
html.dark .account-eyebrow { background: rgba(34,27,4,.75); color: #ffc400; }
.inner-page .account-hero h1 { font-size: clamp(3.1rem, 4.7vw, 5.2rem); line-height: .95; }
.inner-page .account-hero p { max-width: 340px; margin-bottom: 25px; font-size: .94rem; line-height: 1.65; color: #525b6c; }
html.dark .inner-page .account-hero p { color: #bcc0c9; }
.account-hero-actions { display: flex; gap: 14px; }
.account-hero-actions .btn { min-width: 142px; justify-content: center; }
.account-hero-stats { position: absolute; z-index: 2; left: 5%; right: 5%; bottom: 22px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(224,163,0,.5); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.82); backdrop-filter: blur(8px); }
html.dark .account-hero-stats { background: rgba(8,9,9,.78); }
.account-hero-stats > div { padding: 16px 28px; display: flex; align-items: center; gap: 13px; border-right: 1px solid rgba(224,163,0,.32); }
.account-hero-stats > div:last-child { border-right: 0; }
.account-hero-stats strong { color: #b77b00; font-size: 1.55rem; }
.account-hero-stats span { color: #6d7480; font-size: .59rem; line-height: 1.35; text-transform: uppercase; }
.inner-page .account-plans { margin-top: 30px; margin-bottom: 15px; }
.account-plans .section-head small { color: inherit; font-size: .7rem; letter-spacing: .06em; }
.inner-page .account-plans .section-head h2 { margin: 6px 0 3px; font-size: 2.25rem; }
.inner-page .account-card-grid { gap: 16px; margin-top: 25px; }
.inner-page .account-card { padding: 22px 20px 18px; border-radius: 12px; box-shadow: none; }
.inner-page .account-card:hover { transform: translateY(-4px); }
.inner-page .account-card-top { display: block; margin-bottom: 12px; text-align: center; }
.inner-page .account-icon { width: 48px; height: 42px; margin: auto auto 5px; color: #ffbd00; background: transparent; font-size: 2.2rem; text-shadow: 0 5px 0 rgba(237,168,0,.25); }
.inner-page .premium .account-icon, .inner-page .premium h2 { color: #13ac6e; }
.inner-page .vip .account-icon, .inner-page .vip h2 { color: #8d3ddd; }
.inner-page .cent .account-icon, .inner-page .cent h2 { color: #1989ef; }
.inner-page .account-card h2 { margin: 0; color: #e3a500; font-size: 1.1rem; }
.inner-page .account-card small { color: inherit; font-size: .7rem; text-transform: none; }
.inner-page .account-card > p { min-height: 55px; margin: 0; text-align: center; font-size: .68rem; line-height: 1.55; }
.min-deposit { margin: 10px 0; padding: 8px; border-radius: 4px; background: rgba(128,128,128,.08); text-align: center; font-size: .65rem; }.min-deposit strong { margin-left: 4px; }
.inner-page .account-cta { min-height: 32px; padding: 7px 12px; border-radius: 5px; font-size: .68rem; }
.inner-page .account-card h3 { margin: 13px 0 5px; color: #d89b00; font-size: .7rem; }
.inner-page .account-card .markets { min-height: 67px; text-align: left; font-size: .61rem; line-height: 1.55; }
.inner-page .account-card ul { margin: 4px 0 8px; padding: 0; border: 0; }
.inner-page .account-card li { justify-content: flex-start; padding: 4px 0; border: 0; font-size: .64rem; }
.yes { color: #12b76a; }.no { color: #ef4754; }
.account-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 6px; padding-top: 8px; border-top: 1px solid rgba(128,128,128,.15); }
.account-specs span { color: #7d8492; font-size: .56rem; }.account-specs strong { display: block; margin-top: 4px; color: #1d2430; font-size: .68rem; } html.dark .account-specs strong { color: #fff; }
.view-less { display: block; margin-top: 13px; color: #e3a500; text-align: right; font-size: .63rem; }
.account-note { width: min(1200px, 90%); margin: 0 auto 16px; color: #777f8d; text-align: center; font-size: .62rem; line-height: 1.5; }
.inner-page .account-bottom-cta { width: min(1440px, 92%); margin-bottom: 45px; padding: 23px 34px; border: 1px solid rgba(224,163,0,.45); border-radius: 12px; color: inherit; background: rgba(255,251,235,.65); box-shadow: none; }
html.dark .inner-page .account-bottom-cta { background: rgba(16,16,16,.85); }
.inner-page .account-bottom-cta > div { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; align-items: center; }
.inner-page .account-bottom-cta > div > span { grid-row: 1 / 3; width: 48px; height: 48px; display: grid; place-items: center; margin: 0; border: 2px solid #e4a600; border-radius: 50%; color: #e4a600; font-size: 1.4rem; }
.inner-page .account-bottom-cta h2 { font-size: 1.25rem; }.inner-page .account-bottom-cta h2 em { color: #e8a900; font-style: normal; }.inner-page .account-bottom-cta p { color: #747c88; font-size: .72rem; }
@media (max-width: 900px) { .account-hero-stats { grid-template-columns: repeat(2,1fr); }.account-hero-stats > div:nth-child(2) { border-right: 0; }.inner-page .account-hero { min-height: 610px; }.account-hero-copy { width: 350px; } }
@media (max-width: 760px) { .inner-page main { padding-top: 76px; }.inner-page .account-hero { min-height: 650px; padding: 42px 6%; text-align: left; }.account-hero-bg { opacity: .55; }.account-hero-img { object-position: 64% center; }.account-hero-copy { width: min(350px,100%); }.inner-page .account-hero p { margin-left: 0; }.account-hero-stats { left: 4%; right: 4%; bottom: 15px; }.account-hero-stats > div { padding: 13px 12px; }.account-hero-stats strong { font-size: 1.15rem; }.inner-page .account-bottom-cta > div { display: block; }.inner-page .account-bottom-cta > div > span { margin: 0 auto 12px; } }

/* Keep the inner page inside the same visual system as index.html. */
.inner-page .account-plans { width: 90%; max-width: 1440px; }
.inner-page .account-page-footer .footer-grid { grid-template-columns: 1.5fr repeat(4, 1fr); }
.inner-page .nav-item.active > .nav-trigger { color: var(--primary, #f5b800); }
html:not(.dark) .inner-page .account-card { background: rgba(255,255,255,.92); border-color: #e7eaf0; }
html:not(.dark) .inner-page .account-bottom-cta { background: rgba(255,255,255,.82); }
html.dark .inner-page .account-plans .section-head p,
html.dark .inner-page .account-card > p,
html.dark .inner-page .account-card .markets,
html.dark .inner-page .account-note { color: #a7acb5; }
@media (max-width: 1100px) { .inner-page .account-page-footer .footer-grid { grid-template-columns: repeat(3, 1fr); }.inner-page .account-page-footer .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .inner-page .account-page-footer .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }.inner-page .account-page-footer .footer-brand { grid-column: 1 / -1; } }

/* Account hero uses the exact homepage text, button and stats components. */
.inner-page .hero.account-hero { min-height: 820px; padding: 160px 5% 140px; display: flex; align-items: center; }
.inner-page .account-hero-copy { width: auto; max-width: 640px; }
.inner-page .account-eyebrow { padding: 8px 24px; margin-bottom: 24px; border-radius: 60px; font-size: .72rem; letter-spacing: .1em; }
.inner-page .hero.account-hero h1 { margin: 0 0 28px; font-size: clamp(3.2rem,4.8vw,5.2rem); font-weight: 800; line-height: .92; letter-spacing: -.03em; }
.inner-page .hero.account-hero p { max-width: 520px; margin: 0 0 36px; font-size: clamp(1rem,1.1vw,1.18rem); line-height: 1.7; }
.inner-page .account-hero-actions { gap: 16px; }
.inner-page .account-hero-actions .btn { min-width: 0; }
.inner-page .quick-features.account-hero-stats { position: relative; inset: auto; width: min(1440px,calc(100% - 10%)); margin: -80px auto 60px; display: grid; grid-template-columns: repeat(4,1fr); border-radius: 20px; }
.inner-page .account-hero-stats .qf-item { display: grid; grid-template-columns: 62px minmax(0,1fr); align-items: center; gap: 20px; min-height: 120px; padding: 24px 34px; }
.inner-page .account-hero-stats .qf-copy strong { color: #b77b00; font-size: 1.55rem; }
.inner-page .account-hero-stats .qf-copy span { color: #6d7480; font-size: .59rem; line-height: 1.35; }
html.dark .inner-page .account-hero-stats .qf-copy span { color: #a7a7a7; }
@media (max-width: 900px) { .inner-page .quick-features.account-hero-stats { grid-template-columns: repeat(2,1fr); }.inner-page .hero.account-hero { min-height: 760px; } }
@media (max-width: 760px) { .inner-page .hero.account-hero { min-height: 700px; padding: 125px 6% 150px; }.inner-page .quick-features.account-hero-stats { grid-template-columns: 1fr 1fr; margin-top: -105px; }.inner-page .account-hero-stats .qf-item { min-height: 92px; padding: 14px; grid-template-columns: 42px 1fr; gap: 10px; }.inner-page .account-hero-stats .qf-icon { width: 40px; height: 40px; } }

.inner-page .account-card .account-cta { min-height: auto; padding: 8px 24px; border-radius: 60px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.inner-page .account-bottom-cta .btn-primary { padding: 8px 24px; border-radius: 60px; background: linear-gradient(135deg,#F5B800,#B87900); border: 0; color: #0a0a0a; box-shadow: 0 4px 24px rgba(245,184,0,.35); }

/* Account page final polish: keep the provided hero art readable in both themes. */
.inner-page .hero.account-hero {
    background: var(--background);
    min-height: 430px;
    padding: 104px 5% 52px;
}

.inner-page .hero.account-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 31%, rgba(255,255,255,.60) 50%, rgba(255,255,255,.12) 72%, transparent 100%),
        linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,.18) 72%, rgba(255,255,255,.92) 100%);
    opacity: 1;
    animation: none;
}

.inner-page .hero.account-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at 72% 44%, rgba(245,184,0,.16), transparent 38%);
    transform: none;
    animation: none;
}

html.dark .inner-page .hero.account-hero::before {
    background:
        linear-gradient(90deg, rgba(5,6,6,.96) 0%, rgba(5,6,6,.88) 32%, rgba(5,6,6,.50) 52%, rgba(5,6,6,.12) 76%, transparent 100%),
        linear-gradient(180deg, rgba(5,6,6,.08) 0%, rgba(5,6,6,.08) 68%, rgba(5,6,6,.82) 100%);
}

html.dark .inner-page .hero.account-hero::after {
    background: radial-gradient(ellipse at 72% 44%, rgba(245,184,0,.18), transparent 42%);
}

.inner-page .hero.account-hero .hero-grid,
.inner-page .hero.account-hero .account-hero-copy {
    position: relative;
    z-index: 2;
}

.inner-page .account-hero-stats .reveal,
.inner-page .account-plans .section-head.reveal,
.inner-page .account-card.reveal,
.inner-page .account-bottom-cta.reveal {
    opacity: 1;
    transform: none;
}

html:not(.dark) .inner-page .hero.account-hero h1 {
    color: #101828;
}

html:not(.dark) .inner-page .hero.account-hero p {
    color: #3f4756;
}

html:not(.dark) .inner-page .hero.account-hero .btn-ghost {
    background: rgba(255,255,255,.72);
    border-color: rgba(184,121,0,.28);
    color: #3a2500;
}

html:not(.dark) .inner-page .quick-features.account-hero-stats {
    background: rgba(255,255,255,.88);
    box-shadow: 0 30px 80px rgba(72,54,0,.12), inset 0 1px 0 rgba(255,255,255,.9);
}

.inner-page .quick-features.account-hero-stats {
    margin-top: -16px;
}

@media (max-width: 760px) {
    .inner-page .hero.account-hero {
        min-height: 460px;
        padding: 92px 6% 92px;
    }

    .inner-page .hero.account-hero::before {
        background:
            linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.86) 58%, rgba(255,255,255,.42) 100%),
            linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.34) 58%, rgba(255,255,255,.96) 100%);
    }

    html.dark .inner-page .hero.account-hero::before {
        background:
            linear-gradient(90deg, rgba(5,6,6,.96) 0%, rgba(5,6,6,.84) 58%, rgba(5,6,6,.38) 100%),
            linear-gradient(180deg, rgba(5,6,6,.08) 0%, rgba(5,6,6,.22) 58%, rgba(5,6,6,.88) 100%);
    }
}

/* Account page mobile: align with the index mobile app-shell layout. */
@media (max-width: 760px) {
    .inner-page main {
        padding-top: 0 !important;
    }

    .inner-page .hero.account-hero,
    html:not(.dark) .inner-page .hero.account-hero,
    html.dark .inner-page .hero.account-hero {
        width: 100% !important;
        min-height: auto !important;
        margin: 0 !important;
        padding: 126px var(--mobile-gutter, 16px) 34px !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
        text-align: left !important;
    }

    .inner-page .hero.account-hero .hero-grid {
        display: block !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 0 !important;
    }

    .inner-page .hero.account-hero .account-hero-copy {
        width: 100% !important;
        max-width: 350px !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        align-items: flex-start !important;
    }

    .inner-page .account-hero-bg {
        opacity: 1 !important;
    }

    .inner-page .account-hero-img {
        object-fit: cover !important;
        object-position: 68% center !important;
    }

    html:not(.dark) .inner-page .hero.account-hero::before {
        background:
            linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.88) 54%, rgba(255,255,255,.42) 100%),
            linear-gradient(180deg, rgba(255,255,255,.15) 0%, rgba(255,255,255,.12) 62%, rgba(255,255,255,.94) 100%) !important;
    }

    html.dark .inner-page .hero.account-hero::before {
        background:
            linear-gradient(90deg, rgba(5,6,6,.94) 0%, rgba(5,6,6,.82) 58%, rgba(5,6,6,.30) 100%),
            linear-gradient(180deg, rgba(5,6,6,.12) 0%, rgba(5,6,6,.10) 62%, rgba(5,6,6,.88) 100%) !important;
    }

    .inner-page .account-eyebrow {
        max-width: 100%;
        padding: 7px 18px !important;
        margin: 0 0 18px !important;
        white-space: nowrap;
        font-size: 10px !important;
        letter-spacing: .08em !important;
    }

    .inner-page .hero.account-hero h1 {
        max-width: 330px !important;
        margin: 0 0 20px !important;
        font-size: clamp(3rem, 15vw, 4rem) !important;
        line-height: .94 !important;
        letter-spacing: 0 !important;
    }

    .inner-page .hero.account-hero p {
        max-width: 330px !important;
        margin: 0 0 28px !important;
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }

    .inner-page .account-hero-actions,
    .inner-page .account-hero-actions .btn {
        width: 100% !important;
        max-width: 330px !important;
    }

    .inner-page .account-hero-actions .btn {
        min-height: 48px !important;
        justify-content: center !important;
        padding: 12px 16px !important;
        white-space: normal !important;
    }

    .inner-page .quick-features.account-hero-stats,
    html:not(.dark) .inner-page .quick-features.account-hero-stats,
    html.dark .inner-page .quick-features.account-hero-stats {
        position: relative !important;
        z-index: 4 !important;
        width: calc(100% - 32px) !important;
        max-width: 520px !important;
        margin: 0 auto 58px !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        border-radius: 18px !important;
        overflow: hidden !important;
    }

    .inner-page .account-hero-stats .qf-item {
        min-height: 86px !important;
        padding: 14px 12px !important;
        grid-template-columns: 38px minmax(0, 1fr) !important;
        gap: 9px !important;
        border-right: 1px solid rgba(245,184,0,.16) !important;
        border-bottom: 1px solid rgba(245,184,0,.16) !important;
    }

    .inner-page .account-hero-stats .qf-item:nth-child(2n) {
        border-right: 0 !important;
    }

    .inner-page .account-hero-stats .qf-item:nth-last-child(-n + 2) {
        border-bottom: 0 !important;
    }

    .inner-page .account-hero-stats .qf-icon {
        width: 38px !important;
        height: 38px !important;
    }

    .inner-page .account-hero-stats .qf-icon svg {
        width: 20px !important;
        height: 20px !important;
    }

    .inner-page .account-hero-stats .qf-copy strong {
        font-size: 1.32rem !important;
        line-height: 1 !important;
        margin-bottom: 3px !important;
    }

    .inner-page .account-hero-stats .qf-copy span {
        font-size: 8px !important;
        line-height: 1.25 !important;
    }

    .inner-page .account-plans {
        width: calc(100% - 32px) !important;
        margin: 0 auto 28px !important;
    }

    .inner-page .account-plans .section-head {
        margin-bottom: 26px !important;
    }

    .inner-page .account-card-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        margin-top: 24px !important;
    }

    .inner-page .account-card {
        padding: 20px 18px 18px !important;
    }

    .inner-page .account-card h2 {
        font-size: 1.22rem !important;
    }

    .inner-page .account-card small {
        font-size: .74rem !important;
    }

    .inner-page .account-card > p {
        font-size: .82rem !important;
        line-height: 1.6 !important;
    }

    .inner-page .min-deposit {
        font-size: .76rem !important;
    }

    .inner-page .account-card .account-cta,
    .inner-page .account-show-more {
        min-height: 40px !important;
        font-size: .82rem !important;
    }

    .inner-page .account-bottom-cta {
        width: calc(100% - 32px) !important;
        margin-bottom: 96px !important;
        padding: 24px 18px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
    }

    .inner-page .account-page-footer {
        padding-bottom: 102px !important;
    }
}

/* Account cards: compact by default, reveal every card from any Show More button. */
.inner-page .account-card h3,
.inner-page .account-card .markets,
.inner-page .account-card ul,
.inner-page .account-card .account-specs {
    max-height: 0;
    min-height: 0 !important;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height .35s ease, opacity .25s ease, margin .25s ease, padding .25s ease;
}

.inner-page.account-cards-expanded .account-card h3,
.inner-page.account-cards-expanded .account-card .markets,
.inner-page.account-cards-expanded .account-card ul,
.inner-page.account-cards-expanded .account-card .account-specs {
    max-height: 260px;
    opacity: 1;
    pointer-events: auto;
}

.inner-page.account-cards-expanded .account-card h3 {
    margin: 13px 0 5px;
}

.inner-page.account-cards-expanded .account-card .markets {
    margin: 0;
}

.inner-page.account-cards-expanded .account-card ul {
    margin: 4px 0 8px;
    padding: 0;
}

.inner-page.account-cards-expanded .account-card .account-specs {
    padding-top: 8px;
    border-top-width: 1px;
}

.inner-page .account-show-more {
    width: 100%;
    min-height: 34px;
    margin-top: 12px;
    padding: 8px 14px;
    border: 1px solid rgba(245,184,0,.38);
    border-radius: 60px;
    background: linear-gradient(180deg, rgba(245,184,0,.12), rgba(245,184,0,.04));
    color: #f5b800;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    font: inherit;
    font-size: .7rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: .02em;
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.inner-page .account-card h2 {
    font-size: 1.28rem;
}

.inner-page .account-card small {
    font-size: .78rem;
    font-weight: 800;
}

.inner-page .account-card > p {
    font-size: .82rem;
    line-height: 1.65;
    color: #b6bdc8;
}

.min-deposit {
    padding: 10px 12px;
    font-size: .78rem;
    font-weight: 700;
}

.inner-page .account-card .account-cta {
    min-height: 40px;
    font-size: .86rem;
}

.inner-page .account-show-more {
    min-height: 38px;
    font-size: .82rem;
    font-weight: 500;
}

.account-note {
    font-size: .74rem;
    line-height: 1.55;
}

.inner-page.account-cards-expanded .account-card h3 {
    font-size: .82rem;
}

.inner-page.account-cards-expanded .account-card .markets,
.inner-page.account-cards-expanded .account-card li {
    font-size: .74rem;
    line-height: 1.55;
}

.inner-page.account-cards-expanded .account-specs span {
    font-size: .68rem;
}

.inner-page.account-cards-expanded .account-specs strong {
    font-size: .82rem;
}

html:not(.dark) .inner-page .account-card > p,
html:not(.dark) .inner-page.account-cards-expanded .account-card .markets {
    color: #596273;
}

.inner-page .account-show-more:hover {
    transform: translateY(-2px);
    border-color: rgba(245,184,0,.78);
    background: linear-gradient(135deg, #F5B800, #B87900);
    color: #0a0a0a;
    box-shadow: 0 10px 28px rgba(245,184,0,.22);
}

html:not(.dark) .inner-page .account-show-more {
    color: #8a5c00;
    background: linear-gradient(180deg, #fff8dc, #fff3bd);
    border-color: rgba(184,121,0,.26);
}

html:not(.dark) .inner-page .account-show-more:hover {
    color: #0a0a0a;
}

/* ===== AUTH PAGES ===== */

.auth-page {
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.auth-page .site-header,
.auth-page .site-footer,
.auth-page .scroll-progress,
.auth-page .back-to-top {
    display: none;
}

.auth-page .auth-main {
    width: 100%;
    min-height: 100vh;
    padding-top: 0;
}

.auth-shell.hero,
html:not(.dark) .auth-shell.hero,
html.dark .auth-shell.hero {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    height: 100svh;
    min-height: 100svh;
    padding: 76px max(5%, calc((100% - 1440px) / 2));
    display: grid;
    place-items: center;
    background: url("../images/login-bg.webp") center center / 100% 100% no-repeat;
    overflow: hidden;
}

html:not(.dark) .auth-shell.hero {
    background: url("../images/login-light-bg.webp") center center / 100% 100% no-repeat;
}

.auth-shell.hero::before,
.auth-shell.hero::after,
html:not(.dark) .auth-shell.hero::before,
html:not(.dark) .auth-shell.hero::after {
    display: none;
}

.auth-copy,
.auth-card {
    position: relative;
    z-index: 2;
}

.auth-page .reveal {
    opacity: 1;
    transform: none;
}

.auth-copy {
    display: none;
}

.auth-eyebrow {
    width: fit-content;
    margin-bottom: 24px;
}

.auth-copy h1 {
    margin: 0 0 26px;
    color: #fff;
    font-size: clamp(3.15rem, 5vw, 5.5rem);
    font-weight: 800;
    line-height: .92;
    letter-spacing: 0;
}

html:not(.dark) .auth-copy h1 {
    color: #101827;
}

.auth-copy h1 span {
    color: var(--primary);
}

.auth-copy p {
    max-width: 500px;
    margin: 0 0 34px;
    color: rgba(255,255,255,.74);
    font-size: clamp(1rem, 1.1vw, 1.17rem);
    line-height: 1.75;
}

html:not(.dark) .auth-copy p {
    color: #525b6c;
}

.auth-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 520px;
}

.auth-highlights div {
    min-height: 94px;
    padding: 18px;
    border: 1px solid rgba(245,184,0,.24);
    border-radius: 16px;
    background: rgba(12,12,12,.56);
    backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

html:not(.dark) .auth-highlights div {
    background: rgba(255,255,255,.76);
    border-color: rgba(184,121,0,.18);
    box-shadow: 0 18px 44px rgba(101,72,0,.08);
}

.auth-highlights strong {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1;
}

.auth-highlights span {
    color: rgba(255,255,255,.66);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

html:not(.dark) .auth-highlights span {
    color: #667085;
}

.auth-card {
    width: min(430px, calc(100vw - 32px));
    min-width: 0;
    max-width: 430px;
    justify-self: center;
    padding: 28px 28px 22px;
    border: 1px solid rgba(245,184,0,.22);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(13,13,14,.94), rgba(9,9,10,.88));
    backdrop-filter: blur(22px) saturate(1.2);
    box-shadow: 0 28px 72px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.055);
}

html:not(.dark) .auth-card {
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,251,238,.88));
    border-color: rgba(184,121,0,.22);
    box-shadow: 0 28px 72px rgba(101,72,0,.14), inset 0 1px 0 rgba(255,255,255,.72);
}

.register-page .auth-card {
    width: min(430px, calc(100vw - 32px));
    max-width: 430px;
}

.auth-card-head {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
}

.auth-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 211, 77, .82);
    border-radius: 12px;
    color: #0a0a0a;
    background: linear-gradient(135deg, #FFE173 0%, #F5B800 54%, #D99A00 100%);
    box-shadow: 0 10px 26px rgba(245,184,0,.32), inset 0 1px 0 rgba(255,255,255,.52);
}

.auth-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-card-head small {
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
    font-size: .72rem;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-card h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.7rem, 2.1vw, 2rem);
    font-weight: 650;
    line-height: 1.05;
}

html:not(.dark) .auth-card h2 {
    color: #101827;
}

.auth-form {
    display: grid;
    gap: 14px;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.auth-field {
    display: grid;
    gap: 7px;
    color: rgba(255,255,255,.70);
    font-size: .82rem;
    font-weight: 500;
}

html:not(.dark) .auth-field {
    color: #4b5565;
}

.auth-field input,
.auth-field select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 10px;
    outline: none;
    background: rgba(255,255,255,.075);
    color: #fff;
    font: inherit;
    font-size: .92rem;
    font-weight: 400;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.auth-field select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, currentColor 50%),
        linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 21px,
        calc(100% - 12px) 21px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.auth-field input::placeholder {
    color: rgba(255,255,255,.38);
}

.auth-field option {
    color: #101828;
    background: #fff;
}

.auth-field input:focus,
.auth-field select:focus {
    border-color: rgba(245,184,0,.76);
    background-color: rgba(255,255,255,.09);
    box-shadow: 0 0 0 4px rgba(245,184,0,.12);
}

html:not(.dark) .auth-field input,
html:not(.dark) .auth-field select {
    background-color: rgba(255,255,255,.82);
    border-color: #dde2ea;
    color: #101828;
}

html:not(.dark) .auth-field input::placeholder {
    color: #98a2b3;
}

.password-wrap {
    position: relative;
    display: block;
}

.password-wrap input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 9px;
    background: rgba(245,184,0,.12);
    color: var(--primary);
}

.password-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    color: rgba(255,255,255,.68);
    font-size: .84rem;
    font-weight: 400;
}

.auth-row a,
.auth-switch a {
    color: var(--primary);
    font-weight: 650;
    outline: none;
    text-decoration: none;
}

.auth-row a:hover,
.auth-row a:focus,
.auth-row a:focus-visible,
.auth-switch a:hover,
.auth-switch a:focus,
.auth-switch a:focus-visible {
    outline: none;
    box-shadow: none;
    text-decoration: none;
}

.auth-check {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,.66);
    font-size: .84rem;
    font-weight: 400;
    line-height: 1.45;
}

.auth-check input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--primary);
}

html:not(.dark) .auth-row,
html:not(.dark) .auth-check {
    color: #667085;
}

.auth-terms {
    margin-top: 2px;
}

.auth-submit {
    min-height: 48px;
    justify-content: center;
    margin-top: 2px;
    font-size: .94rem;
    font-weight: 550;
}

.auth-switch {
    margin: 12px 0 0;
    color: rgba(255,255,255,.68);
    font-size: .8rem;
    font-weight: 400;
    text-align: center;
}

.auth-card .auth-switch:last-child {
    margin-bottom: 0;
}

html:not(.dark) .auth-switch {
    color: #667085;
}

body.auth-page .auth-switch,
body.auth-page .auth-switch a {
    font-size: 12px !important;
    line-height: 1.25 !important;
}

body.auth-page .auth-submit {
    width: 100% !important;
    min-height: 42px !important;
    margin: 4px auto 0 !important;
    padding: 8px 22px !important;
    display: inline-flex !important;
    justify-content: center !important;
    border-radius: 999px !important;
    font-size: 14px !important;
}

.auth-footer .footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
}

@media (max-width: 1040px) {
    .auth-shell.hero,
    html:not(.dark) .auth-shell.hero,
    html.dark .auth-shell.hero {
        padding-top: 76px;
        background-size: 100% 100%;
        background-position: center center;
    }

    .auth-card {
        width: min(calc(100vw - 32px), 430px);
        max-width: 430px;
        justify-self: center;
    }

    .register-page .auth-card {
        width: min(calc(100vw - 32px), 430px);
        max-width: 430px;
    }
}

@media (max-width: 760px) {
    .auth-page,
    .auth-page .auth-main {
        min-height: 100svh;
    }

    .auth-shell.hero,
    html:not(.dark) .auth-shell.hero,
    html.dark .auth-shell.hero {
        width: 100vw;
        height: 100vh;
        min-height: 100vh;
        height: 100svh;
        min-height: 100svh;
        padding: 16px;
        gap: 0;
        background-size: 100% 100%;
        background-position: center center;
    }

    .auth-shell.hero::before {
        display: none;
    }

    html:not(.dark) .auth-shell.hero::before {
        display: none;
    }

    .auth-copy h1 {
        max-width: 360px;
        font-size: clamp(2.65rem, 12vw, 3.75rem);
        line-height: .96;
    }

    .auth-copy p {
        max-width: 350px;
        margin-bottom: 24px;
        font-size: .96rem;
    }

    .auth-highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .auth-highlights div {
        min-height: 78px;
        padding: 13px 10px;
        border-radius: 12px;
    }

    .auth-highlights strong {
        font-size: 1.15rem;
    }

    .auth-highlights span {
        font-size: .58rem;
    }

    .auth-card {
        width: min(calc(100vw - 32px), 342px);
        max-width: calc(100vw - 32px);
        max-height: calc(100svh - 32px);
        padding: 20px 16px;
        border-radius: 16px;
        overflow-y: auto;
        scrollbar-width: none;
    }

    .auth-card::-webkit-scrollbar {
        display: none;
    }

    .register-page .auth-card {
        width: min(calc(100vw - 32px), 342px);
        max-width: calc(100vw - 32px);
        padding: 16px;
    }

    .auth-card-head {
        gap: 10px;
        margin-bottom: 18px;
    }

    .register-page .auth-card-head {
        margin-bottom: 14px;
    }

    .auth-icon {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }

    .auth-icon svg {
        width: 20px;
        height: 20px;
    }

    .auth-card-head small {
        margin-bottom: 3px;
        font-size: .66rem;
        letter-spacing: .07em;
    }

    .auth-card h2 {
        font-size: 1.75rem;
    }

    .auth-form {
        gap: 12px;
    }

    .auth-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .register-page .auth-form {
        gap: 10px;
    }

    .auth-field {
        gap: 6px;
        font-size: .78rem;
    }

    .auth-field input,
    .auth-field select {
        min-height: 44px;
        border-radius: 10px;
        font-size: .88rem;
    }

    .register-page .auth-field input,
    .register-page .auth-field select {
        min-height: 40px;
    }

    .auth-row {
        align-items: center;
        flex-direction: row;
        gap: 12px;
        font-size: .8rem;
    }

    .auth-row a {
        white-space: nowrap;
    }

    .auth-check {
        gap: 8px;
        font-size: .8rem;
    }

    .auth-submit {
        width: 78% !important;
        min-height: 40px;
        margin: 0 auto;
        padding: 8px 18px !important;
        font-size: .88rem;
        border-radius: 999px;
    }

    .register-page .auth-submit {
        min-height: 40px;
    }

    .auth-switch {
        display: block;
        width: 100%;
        margin: 12px 0 0;
        color: rgba(255, 255, 255, .78);
        font-size: .76rem;
        line-height: 1.45;
        text-align: center;
    }

    html:not(.dark) .auth-switch {
        color: #5f6978;
    }

    .auth-switch a {
        display: inline-block;
        margin-left: 2px;
        color: #d99a00;
        font-weight: 600;
    }

    .auth-footer {
        padding-bottom: 0;
    }

    .auth-page .mobile-bottom-nav {
        display: none !important;
    }
}

@media (max-width: 390px) {
    .auth-highlights {
        grid-template-columns: 1fr;
    }
}

/* Final mobile auth lock: overrides earlier homepage/account mobile hero rules. */
@media (max-width: 760px) {
    html,
    body.auth-page {
        width: 100% !important;
        height: 100svh !important;
        min-height: 100svh !important;
        overflow: hidden !important;
    }

    body.auth-page .auth-main {
        width: 100vw !important;
        height: 100svh !important;
        min-height: 100svh !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    body.auth-page .auth-shell.hero,
    html:not(.dark) body.auth-page .auth-shell.hero,
    html.dark body.auth-page .auth-shell.hero {
        width: 100vw !important;
        max-width: none !important;
        height: 100svh !important;
        min-height: 100svh !important;
        margin: 0 !important;
        padding: 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background-size: cover !important;
        background-position: center center !important;
        overflow: hidden !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    body.auth-page .auth-copy {
        display: none !important;
    }

    body.auth-page .auth-card {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        width: min(330px, calc(100vw - 32px)) !important;
        max-width: calc(100vw - 32px) !important;
        max-height: calc(100svh - 32px) !important;
        margin: 0 auto !important;
        padding: 18px 16px 14px !important;
        box-sizing: border-box !important;
        background: rgba(12, 12, 13, .96) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        transform: translate3d(-50%, -50%, 0) !important;
        overflow: hidden !important;
    }

    html:not(.dark) body.auth-page .auth-card {
        background: rgba(255, 255, 255, .96) !important;
    }

    body.auth-page.register-page .auth-card {
        width: min(330px, calc(100vw - 32px)) !important;
        overflow-y: auto !important;
        scrollbar-width: none !important;
    }

    body.auth-page.register-page .auth-card::-webkit-scrollbar {
        display: none !important;
    }

    body.auth-page .auth-row {
        flex-wrap: wrap !important;
    }
}
/* =========================================================
   LOGIN / AUTH PAGE — USER FRIENDLY TEXT SIZE FIX
   Added to improve readability without changing the layout.
   ========================================================= */

/* Desktop / tablet */
body.auth-page .auth-card-head small {
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: .07em !important;
}

body.auth-page .auth-card h2 {
    font-size: 32px !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;
}

body.auth-page .auth-form {
    gap: 16px !important;
}

body.auth-page .auth-field {
    gap: 7px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
}

body.auth-page .auth-field > span,
body.auth-page .auth-field > label,
body.auth-page .auth-field label {
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
}

body.auth-page .auth-field input,
body.auth-page .auth-field select {
    min-height: 52px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
}

body.auth-page .password-wrap input {
    padding-right: 52px !important;
}

body.auth-page .auth-field input::placeholder {
    font-size: 15px !important;
}

body.auth-page .password-toggle {
    width: 38px !important;
    height: 38px !important;
    right: 7px !important;
}

body.auth-page .password-toggle svg {
    width: 19px !important;
    height: 19px !important;
}

body.auth-page .auth-row,
body.auth-page .auth-row a,
body.auth-page .auth-check,
body.auth-page .auth-check span {
    font-size: 14px !important;
    line-height: 1.4 !important;
}

body.auth-page .auth-check input {
    width: 17px !important;
    height: 17px !important;
}

body.auth-page .auth-submit {
    width: 100% !important;
    min-height: 50px !important;
    margin: 4px auto 0 !important;
    padding: 10px 22px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
}

body.auth-page .auth-switch,
body.auth-page .auth-switch a {
    font-size: 14px !important;
    line-height: 1.45 !important;
}

body.auth-page .auth-switch {
    margin-top: 14px !important;
}

/* Mobile */
@media (max-width: 760px) {
    body.auth-page .auth-card {
        width: min(360px, calc(100vw - 28px)) !important;
        max-width: calc(100vw - 28px) !important;
        padding: 20px 18px 16px !important;
    }

    body.auth-page .auth-card-head {
        gap: 11px !important;
        margin-bottom: 18px !important;
    }

    body.auth-page .auth-card-head small {
        font-size: 11px !important;
    }

    body.auth-page .auth-card h2 {
        font-size: 28px !important;
    }

    body.auth-page .auth-field,
    body.auth-page .auth-field > span,
    body.auth-page .auth-field > label,
    body.auth-page .auth-field label {
        font-size: 13px !important;
    }

    body.auth-page .auth-field input,
    body.auth-page .auth-field select {
        min-height: 48px !important;
        font-size: 16px !important;
    }

    body.auth-page .auth-field input::placeholder {
        font-size: 14px !important;
    }

    body.auth-page .auth-row,
    body.auth-page .auth-row a,
    body.auth-page .auth-check,
    body.auth-page .auth-check span {
        font-size: 13px !important;
    }

    body.auth-page .auth-submit {
        min-height: 48px !important;
        font-size: 15px !important;
    }

    body.auth-page .auth-switch,
    body.auth-page .auth-switch a {
        font-size: 13px !important;
    }
}

@media (max-width: 390px) {
    body.auth-page .auth-card {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        padding: 18px 15px 14px !important;
    }

    body.auth-page .auth-card h2 {
        font-size: 26px !important;
    }

    body.auth-page .auth-row,
    body.auth-page .auth-row a,
    body.auth-page .auth-check,
    body.auth-page .auth-check span {
        font-size: 12px !important;
    }
}

/* Mobile page scroll fix */
@media (max-width: 760px) {
    html,
    body:not(.auth-page) {
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        touch-action: pan-y !important;
        overscroll-behavior-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    body:not(.auth-page) main {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    body:not(.auth-page) .hero,
    body:not(.auth-page) .section,
    body:not(.auth-page) .payments-section,
    body:not(.auth-page) .site-footer {
        overflow-y: visible !important;
        touch-action: pan-y !important;
    }

    body:not(.auth-page) .quote-grid,
    body:not(.auth-page) .promo-grid,
    body:not(.auth-page) .payment-logos,
    body:not(.auth-page) .market-tabs {
        touch-action: pan-x pan-y !important;
    }
}

/* Auth background should cover the whole viewport while the gold canvas stays visible. */
body.auth-page,
body.auth-page .auth-main {
    background: #050505 url("../images/login-bg.webp") center center / cover no-repeat fixed !important;
}

html:not(.dark) body.auth-page,
html:not(.dark) body.auth-page .auth-main {
    background: #fffaf0 url("../images/login-light-bg.webp") center center / cover no-repeat fixed !important;
}

body.auth-page #bgCanvas {
    display: block !important;
    opacity: .72 !important;
    z-index: 1 !important;
    mix-blend-mode: screen !important;
    filter: saturate(1.08) contrast(1.05) brightness(.92) !important;
}

body.auth-page .auth-shell.hero,
html:not(.dark) body.auth-page .auth-shell.hero,
html.dark body.auth-page .auth-shell.hero {
    background: transparent !important;
}

.availability-shell {
    padding: 24px !important;
}

.availability-card {
    position: relative;
    z-index: 2;
    width: min(450px, calc(100vw - 34px));
    padding: 24px 34px 22px;
    border: 1px solid rgba(245, 184, 0, .28);
    border-radius: 22px;
    background:
        radial-gradient(circle at 18% 10%, rgba(245, 184, 0, .12), transparent 32%),
        rgba(10, 10, 10, .94);
    color: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
    text-align: center;
}

.availability-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 13px;
    border-radius: 15px;
    color: #0a0a0a;
    background: linear-gradient(135deg, #FFE17A 0%, #F5B800 55%, #D59700 100%);
    box-shadow: 0 16px 36px rgba(245, 184, 0, .30);
}

.availability-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.availability-eyebrow {
    margin: 0 0 8px;
    color: #F5B800;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.availability-card h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 650;
    line-height: 1.05;
    letter-spacing: 0;
}

.availability-card p:not(.availability-eyebrow) {
    max-width: 360px;
    margin: 0 auto 18px;
    color: rgba(255, 255, 255, .78);
    font-size: .88rem;
    font-weight: 400;
    line-height: 1.48;
}

.availability-action {
    width: 100%;
    max-width: none;
    min-height: 44px;
    margin: 10px auto 0;
    border-radius: 999px;
}

html:not(.dark) .availability-card {
    background:
        radial-gradient(circle at 18% 10%, rgba(245, 184, 0, .14), transparent 32%),
        rgba(255, 255, 255, .96);
    color: #101828;
    box-shadow: 0 28px 80px rgba(16, 24, 40, .14), inset 0 1px 0 rgba(255, 255, 255, .9);
}

html:not(.dark) .availability-card h1 {
    color: #101828;
}

html:not(.dark) .availability-card p:not(.availability-eyebrow) {
    color: #5f6978;
}

@media (max-width: 760px) {
    .availability-card {
        padding: 26px 20px 22px;
        border-radius: 18px;
    }

    .availability-card p:not(.availability-eyebrow) {
        font-size: .92rem;
    }
}

/* Keep the gold network background animation visible. */
#bgCanvas {
    display: block !important;
    visibility: visible !important;
}

/* Mobile header: keep theme, Login, and Register visible. */
@media (max-width: 760px) {
    body:not(.auth-page) .site-header,
    body:not(.auth-page) .site-header.scrolled {
        grid-template-columns: 32px minmax(66px, 1fr) auto !important;
        column-gap: 8px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    body:not(.auth-page) .header-actions {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        min-width: 0 !important;
        position: absolute !important;
        top: 16px !important;
        right: 14px !important;
        left: auto !important;
        width: auto !important;
        z-index: 3 !important;
    }

    body:not(.auth-page) .header-actions .theme-toggle {
        display: inline-flex !important;
        width: 32px !important;
        height: 32px !important;
        flex: 0 0 32px !important;
        order: 0 !important;
        padding: 0 !important;
        border-radius: 50% !important;
        z-index: 4 !important;
    }

    body:not(.auth-page) .header-actions .btn-ghost {
        display: inline-flex !important;
        order: 1 !important;
        min-width: 52px !important;
        min-height: 32px !important;
        padding: 8px 12px !important;
        border-radius: 999px !important;
        font-size: 10.5px !important;
        font-weight: 650 !important;
        line-height: 1 !important;
        justify-content: center !important;
        white-space: nowrap !important;
    }

    body:not(.auth-page) .header-actions .btn-primary {
        order: 2 !important;
        min-width: 78px !important;
        min-height: 32px !important;
        padding: 8px 12px !important;
        border-radius: 999px !important;
        justify-content: center !important;
    }

    body:not(.auth-page) .header-actions .btn-primary::after {
        content: "Register" !important;
        font-size: 10.5px !important;
        font-weight: 650 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 370px) {
    body:not(.auth-page) .site-header,
    body:not(.auth-page) .site-header.scrolled {
        padding-left: 10px !important;
        padding-right: 10px !important;
        column-gap: 6px !important;
    }

    body:not(.auth-page) .brand-logo {
        width: 70px !important;
    }

    body:not(.auth-page) .theme-toggle {
        width: 30px !important;
        height: 30px !important;
        flex-basis: 30px !important;
    }

    body:not(.auth-page) .header-actions {
        gap: 5px !important;
    }

    body:not(.auth-page) .header-actions .btn-ghost {
        min-width: 46px !important;
        padding-left: 9px !important;
        padding-right: 9px !important;
        font-size: 9.5px !important;
    }

    body:not(.auth-page) .header-actions .btn-primary {
        min-width: 72px !important;
        padding-left: 9px !important;
        padding-right: 9px !important;
    }

    body:not(.auth-page) .header-actions .btn-primary::after {
        font-size: 9.5px !important;
    }
}

/* Keep canvas animation behind auth forms, never through the card. */
body.auth-page #bgCanvas {
    z-index: 0 !important;
}

body.auth-page.login-page .auth-field.has-error input,
body.auth-page.login-page .auth-field.has-error input:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.75) !important;
}

html:not(.dark) body.auth-page.login-page .auth-field.has-error input,
html:not(.dark) body.auth-page.login-page .auth-field.has-error input:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.45) !important;
}

/* Account page: dashboard-matched account type cards. */
.inner-page .account-card .account-subtitle {
    display: block;
    margin-top: 4px;
    color: #596273;
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.2;
}

html.dark .inner-page .account-card .account-subtitle {
    color: #a7acb5;
}

.inner-page .account-icon {
    color: #f5b800 !important;
    font-size: 0 !important;
    text-shadow: none !important;
}

.inner-page .account-icon::before {
    content: "";
    width: 28px;
    height: 28px;
    display: block;
    background: currentColor;
    -webkit-mask: var(--account-icon-mask) center / contain no-repeat;
    mask: var(--account-icon-mask) center / contain no-repeat;
}

.inner-page .featured .account-icon,
.inner-page .featured h2 {
    color: #f5b800 !important;
}

.inner-page .featured .account-icon {
    --account-icon-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 18h16v2H4v-2Zm2.2-2.4 4.1-4.1 3 2 4.6-6.1H15V5.4h6.5V12H19.5V8.9l-5.8 7.7-3.2-2.1-2.9 2.9-1.4-1.8Z'/%3E%3C/svg%3E");
}

.inner-page .premium .account-icon,
.inner-page .premium h2 {
    color: #06b6d4 !important;
}

.inner-page .premium .account-icon {
    --account-icon-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M9 3h6l5 6-8 12L4 9l5-6Zm.9 2-2.5 3h9.2l-2.5-3H9.9Zm-2 5 4.1 6.2L16.1 10H7.9Z'/%3E%3C/svg%3E");
}

.inner-page .vip .account-icon,
.inner-page .vip h2 {
    color: #f59e0b !important;
}

.inner-page .vip .account-icon {
    --account-icon-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='m3.4 7.2 4.4 3.2L12 3l4.2 7.4 4.4-3.2L18.8 18H5.2L3.4 7.2ZM6 20h12v2H6v-2Z'/%3E%3C/svg%3E");
}

.inner-page .cent .account-icon,
.inner-page .cent h2 {
    color: #10b981 !important;
}

.inner-page .cent .account-icon {
    --account-icon-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 15.5v1.3h-2v-1.2c-1.3-.2-2.4-.8-3.1-1.8l1.5-1.3c.6.8 1.4 1.2 2.5 1.2 1 0 1.6-.4 1.6-1.1 0-1.8-5.1-.9-5.1-4.3 0-1.7 1.1-2.9 2.6-3.3V5.2h2V7c1.1.2 2 .7 2.7 1.5L14.8 10c-.6-.7-1.2-1-2.1-1-.9 0-1.4.4-1.4 1 0 1.7 5.1.8 5.1 4.4 0 1.6-1 2.8-3.4 3.1Z'/%3E%3C/svg%3E");
}

html:not(.dark) .inner-page .account-card {
    background: rgba(255, 255, 255, .96) !important;
    border-color: #e3e8f0 !important;
    box-shadow: 0 14px 40px rgba(15, 23, 42, .06) !important;
}

html:not(.dark) .inner-page .account-card.featured {
    border-color: #f5b800 !important;
    box-shadow: 0 18px 46px rgba(245, 184, 0, .14) !important;
}

body.auth-page .auth-main,
body.auth-page .auth-shell.hero {
    position: relative !important;
    z-index: 1 !important;
}

body.auth-page .auth-card {
    position: relative;
    z-index: 5 !important;
    isolation: isolate !important;
    background: linear-gradient(180deg, #0d0d0e 0%, #09090a 100%) !important;
    border-color: rgba(245, 184, 0, .24) !important;
    box-shadow:
        0 28px 72px rgba(0, 0, 0, .52),
        inset 0 1px 0 rgba(255, 255, 255, .055) !important;
}

html:not(.dark) body.auth-page .auth-card {
    background: linear-gradient(180deg, #ffffff 0%, #fffbee 100%) !important;
    border-color: rgba(184, 121, 0, .24) !important;
    box-shadow:
        0 28px 72px rgba(101, 72, 0, .16),
        inset 0 1px 0 rgba(255, 255, 255, .86) !important;
}

body.auth-page .auth-field input,
body.auth-page .auth-field select {
    background: #171717 !important;
}

html:not(.dark) body.auth-page .auth-field input,
html:not(.dark) body.auth-page .auth-field select {
    background: #ffffff !important;
}

/* Password eye state: muted by default, gold only while visible. */
body.auth-page .password-toggle {
    border: 1px solid rgba(255, 255, 255, .10) !important;
    background: rgba(255, 255, 255, .08) !important;
    color: #98a2b3 !important;
    box-shadow: none !important;
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease !important;
}

body.auth-page .password-toggle:hover {
    color: #cbd5e1 !important;
    background: rgba(255, 255, 255, .12) !important;
}

body.auth-page .password-toggle.is-active,
body.auth-page .password-toggle[aria-pressed="true"] {
    border-color: rgba(255, 211, 77, .45) !important;
    background: rgba(245, 184, 0, .16) !important;
    color: #F5B800 !important;
    box-shadow: 0 8px 18px rgba(245, 184, 0, .14) !important;
}

html:not(.dark) body.auth-page .password-toggle {
    border-color: #d7dee9 !important;
    background: #e8eef8 !important;
    color: #667085 !important;
}

html:not(.dark) body.auth-page .password-toggle:hover {
    background: #fff7df !important;
    color: #B87900 !important;
}

html:not(.dark) body.auth-page .password-toggle.is-active,
html:not(.dark) body.auth-page .password-toggle[aria-pressed="true"] {
    border-color: rgba(184, 121, 0, .35) !important;
    background: rgba(245, 184, 0, .16) !important;
    color: #B87900 !important;
}

/* Auth inputs: remove heavy glow/blur shadows. */
body.auth-page .auth-field input,
body.auth-page .auth-field select {
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.auth-page .password-wrap {
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.auth-page .auth-field input:-webkit-autofill,
body.auth-page .auth-field input:-webkit-autofill:hover,
body.auth-page .auth-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 0 0 1000px #171717 inset !important;
    transition: background-color 9999s ease-out !important;
}

html:not(.dark) body.auth-page .auth-field input:-webkit-autofill,
html:not(.dark) body.auth-page .auth-field input:-webkit-autofill:hover,
html:not(.dark) body.auth-page .auth-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: #101828 !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
}

body.auth-page .auth-field input:focus,
body.auth-page .auth-field select:focus {
    border-color: rgba(245, 184, 0, .72) !important;
    box-shadow: none !important;
}

body.auth-page .auth-field.has-error input,
body.auth-page .auth-field.has-success input {
    box-shadow: none !important;
}
