﻿/* =============================================
   SA BULLION - Main Stylesheet
   Theme 2: Modern Clean Theme
   ============================================= */

:root {
    --primary: #9B7B2C;
    --primary-dark: #7A5F1A;
    --gold: #D7AD3B;
    --gold-dark: #8B6914;
    --gold-light: #f1d66c;
    --text-dark: #1a1a1a;
    --text-muted: #666;
    --bg-light: #f7f5ee;
    --white: #ffffff;
    --border: #ded8c5;
    --surface: #ffffff;
    --surface-soft: #fbf8ed;
    --success: #16804a;
    --danger: #b92f2f;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html[data-theme="night"] {
    --primary: #c9a33e;
    --primary-dark: #8a6e1e;
    --gold: #e4bd4a;
    --gold-dark: #7a5c12;
    --gold-light: #ffe28a;
    --text-dark: #f4f1e8;
    --text-muted: #c8c1ac;
    --bg-light: #1a1710;
    --white: #1e1b14;
    --border: #3b3425;
    --surface: #1e1b14;
    --surface-soft: #252117;
}
body { font-family: 'Montserrat', 'Open Sans', sans-serif; color: var(--text-dark); background: var(--surface); transition: background .2s, color .2s; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    z-index: 3000;
    pointer-events: none;
    transition: width .08s linear;
}

/* ---- TOP CONTACT BAR ---- */
.top-bar {
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    padding: 6px 0;
}
.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}
.top-bar a { color: #fff; }
.top-bar .tb-item { display: flex; align-items: center; gap: 6px; }
.top-bar i { font-size: 12px; }

/* ---- HEADER / NAVBAR ---- */
header.site-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    gap: 16px;
}
.logo-wrap { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-wrap img { height: 42px; }
.logo-text { font-size: 20px; font-weight: 800; color: var(--primary); line-height: 1.1; white-space: nowrap; }
.logo-text span { display: block; font-size: 9px; font-weight: 500; letter-spacing: 2px; color: var(--gold); }

nav.main-nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    align-items: center;
    flex-wrap: nowrap;
}
nav.main-nav ul li a {
    font-size: 11px;
    font-weight: 600;
    padding: 6px 7px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0;
    border-radius: 4px;
    transition: color 0.2s;
    white-space: nowrap;
    display: block;
}
nav.main-nav ul li a:hover,
nav.main-nav ul li a.active { color: var(--primary); }
.btn-login {
    background: var(--primary);
    color: #fff !important;
    padding: 7px 13px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    white-space: nowrap;
    margin-left: 4px;
}
.btn-login:hover { background: var(--primary-dark) !important; color: #fff !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; flex-shrink: 0; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; }

/* ---- HERO SECTION ---- */
.hero {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 48%, #a07818 100%);
    padding: 60px 0 40px;
    overflow: hidden;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 80%, rgba(255,255,255,0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}
.hero .container { display: flex; align-items: center; gap: 40px; position: relative; z-index: 1; }
.hero-text { flex: 1; }
.hero-text h1 {
    font-size: 52px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.hero-text .tagline {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 4px;
    margin-bottom: 16px;
}
.hero-text p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    line-height: 1.6;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary-cta {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s;
    display: inline-block;
}
.btn-primary-cta:hover { background: linear-gradient(135deg, var(--primary-dark), var(--gold-dark)); color: #fff; }
.btn-gold-cta {
    background: linear-gradient(135deg, #3d2e10, var(--gold-dark));
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s;
    display: inline-block;
}
.btn-gold-cta:hover { background: linear-gradient(135deg, #2a1f0a, #6b5118); color: #fff; }
.hero-image { flex: 1; text-align: center; }
.hero-image img { max-height: 340px; width: 100%; object-fit: contain; border-radius: 12px; }

/* ---- LIVE RATES SECTION ---- */
.live-rates-section {
    background: var(--bg-light);
    padding: 50px 0;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}
.section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    margin-top: 6px;
    border-radius: 2px;
}
.view-all { font-size: 13px; font-weight: 600; color: var(--primary); }
.view-all:hover { text-decoration: underline; }

.rates-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.rate-card {
    background: var(--surface);
    border-radius: 10px;
    padding: 16px 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    text-align: center;
}
.rate-card .metal-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5e6b8 0%, #dbb84d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 3px 8px rgba(201,168,76,0.3);
}
.rate-card .metal-icon i { color: #fff; font-size: 20px; }
.rate-card .metal-name { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.rate-card .metal-price { font-size: 22px; font-weight: 800; color: var(--primary); }
.rate-card .metal-hl { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.rate-card .metal-change { font-size: 12px; font-weight: 700; color: #22a022; margin-top: 2px; }
.rate-card .metal-change.down { color: #cc0000; }

.rate-card.gold-card,
.rate-card.silver-card,
.rate-card.forex-card,
.rate-card.mcx-gold-card,
.rate-card.mcx-silver-card { border-top: none; }

/* ---- FEATURES STRIP ---- */
.features-strip {
    background: var(--surface);
    padding: 36px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    text-align: center;
}
.feature-item img { width: 44px; height: 44px; object-fit: contain; margin-bottom: 10px; }
.feature-item .fi-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
    box-shadow: 0 3px 10px rgba(155,123,44,0.3);
}
.feature-item .fi-icon i { color: #fff; }
.feature-item p { font-size: 11px; font-weight: 700; color: var(--text-dark); line-height: 1.4; text-transform: uppercase; }

/* ---- Theme 2 Feature Section (Gold Release + Products + Why Choose) ---- */
.mid-section {
    padding: 24px 0 18px;
    background: var(--surface);
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
}
.mid-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.05fr .85fr;
    gap: 12px;
    align-items: stretch;
}

/* ---- Online Tools ---- */
.tools-section {
    background: #fff;
    padding: 44px 0;
    border-bottom: 1px solid var(--border);
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.tool-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px 14px;
    min-height: 142px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}
.tool-card i { color: var(--primary); font-size: 24px; }
.tool-card span {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.25;
}
.tool-card small {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.45;
}

/* Gold Release Program */
.gold-release-card {
    position: relative;
    overflow: hidden;
    min-height: 158px;
    border-radius: 8px;
    padding: 18px 18px;
    background:
        radial-gradient(circle at 84% 74%, rgba(255,255,255,.15), transparent 28%),
        linear-gradient(135deg, #3d2e10 0%, var(--gold-dark) 78%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(139,105,20,.25);
}
.gold-release-card::after {
    content: "";
    position: absolute;
    right: -18px;
    bottom: -36px;
    width: 150px;
    height: 92px;
    background: rgba(215,173,59,.38);
    border-radius: 50%;
}
.gold-release-card .gr-badge {
    color: #f7d886;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .2px;
    display: inline-block;
    margin-bottom: 10px;
}
.gold-release-card h3 {
    position: relative;
    z-index: 1;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: 0;
}
.gold-release-card p {
    position: relative;
    z-index: 1;
    max-width: 170px;
    font-size: 10px;
    opacity: .9;
    margin-bottom: 14px;
    line-height: 1.45;
}
.btn-gold-mini {
    position: relative;
    z-index: 1;
    display: inline-block;
    background: #d99b22;
    color: #27000e;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}
.btn-gold-mini:hover { background: #f0bc42; color: #27000e; }
.release-art {
    position: absolute;
    right: 24px;
    bottom: 18px;
    z-index: 1;
    color: #d99b22;
    font-size: 56px;
    opacity: .95;
}
.release-art span {
    position: absolute;
    right: -16px;
    bottom: -14px;
    width: 82px;
    height: 20px;
    border-radius: 50%;
    background: rgba(215,154,35,.42);
}
.btn-white-cta {
    background: #fff;
    color: var(--primary);
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: background 0.2s;
}
.btn-white-cta:hover { background: var(--gold); color: #fff; }

/* Our Products */
.products-card {
    border-radius: 8px;
    padding: 18px 18px 12px;
    background: var(--surface);
    border: 1px solid #ececec;
    box-shadow: 0 6px 16px rgba(0,0,0,.05);
}
.theme2-title {
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: 0;
}
.theme2-title span {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #111;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}
.product-item {
    min-height: 82px;
    text-align: center;
    background: #fff;
    border-radius: 0;
    padding: 8px 8px;
    box-shadow: none;
    border-left: 1px solid #e6e6e6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.product-item:first-child { border-left: 0; }
.product-item:hover {
    transform: translateY(-2px);
    box-shadow: none;
}
.product-item img {
    height: 42px;
    max-width: 58px;
    object-fit: contain;
}
.product-item p {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-dark);
}
.view-products {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    color: #111;
}

/* Why Choose */
.why-choose-card {
    border-radius: 8px;
    padding: 18px 18px;
    background: var(--surface);
    border: 1px solid #ececec;
    box-shadow: 0 6px 16px rgba(0,0,0,.05);
}
.why-choose-card h3 {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #111;
}
.why-list { list-style: none; }
.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11px;
    color: #333;
    margin-bottom: 9px;
    font-weight: 700;
    line-height: 1.35;
    padding: 0;
    border-bottom: 0;
}
.why-list li i { color: #c49325; margin-top: 1px; flex-shrink: 0; }

/* ---- About Band ---- */
.about-band {
    background: var(--bg-light);
    padding: 52px 0;
}
.about-band-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 34px;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.about-band h2 {
    font-size: 28px;
    line-height: 1.18;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-transform: uppercase;
}
.about-band p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.75;
}
.trust-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.trust-list div {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 18px;
}
.trust-list strong {
    display: block;
    color: var(--primary);
    font-size: 24px;
    font-weight: 900;
}
.trust-list span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 3px;
}

/* ---- FOOTER ---- */
footer.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 32px 0 0;
}
.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #333;
}
.footer-col .fc-icon { font-size: 20px; color: var(--gold); margin-bottom: 6px; }
.footer-col p { font-size: 13px; color: #ccc; line-height: 1.5; }
.footer-col a { color: #ccc; font-size: 13px; }
.footer-col a:hover { color: var(--gold); }
.footer-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #888; margin-bottom: 4px; }
.footer-value { font-size: 14px; font-weight: 600; color: #fff; }

.social-icons { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.social-icons a {
    width: 34px;
    height: 34px;
    background: #333;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    transition: background 0.2s;
}
.social-icons a i {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    line-height: 1;
    text-align: center;
    transform: translate(-50%, -50%);
}
.social-icons a i::before {
    display: block;
    line-height: 1;
}
.social-icons a:hover { background: var(--gold-dark); }

.footer-bottom {
    text-align: center;
    padding: 16px 0;
    font-size: 12px;
    color: #666;
    border-top: 1px solid #333;
}
.footer-bottom a { color: #888; margin: 0 10px; }
.footer-bottom a:hover { color: var(--gold); }

/* ---- CONTAINER ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =============================================
   THEME 1: Live Rates Page Styles
   ============================================= */

/* T1 Header Bar (logo + contact + login) */
.t1-header-bar {
    background: var(--surface);
    padding: 14px 0;
    transition: box-shadow .22s ease, padding .22s ease;
}
.t1-header-bar.is-scrolled {
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.t1-header-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.t1-header-right {
    display: flex;
    align-items: center;
    gap: 26px;
}
.t1-header-info {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}
.t1-header-info i { color: var(--gold); font-size: 14px; }
.t1-header-info a { color: #444; }
.t1-header-info a:hover { color: var(--primary); }

.t1-logo { display: flex; align-items: center; gap: 10px; }
.t1-logo img { height: 50px; width: auto; }
.t1-logo-text { font-size: 26px; font-weight: 900; color: var(--gold-dark); }
.t1-logo-sub { font-size: 10px; font-weight: 600; letter-spacing: 3px; color: var(--gold); display: block; }

.btn-login-t1 {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 5px;
    font-weight: 700 !important;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 2px solid var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.btn-login-t1:hover { background: linear-gradient(135deg, var(--primary-dark), var(--gold-dark)); color: #fff !important; }

/* T1 Navigation */
.t1-nav {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    padding: 0;
    border-bottom: none;
}
.t1-nav .container { display: flex; align-items: center; justify-content: center; }
.t1-nav ul { list-style: none; display: flex; flex: 1; flex-wrap: nowrap; justify-content: center; }
.t1-nav ul li a {
    display: block;
    color: rgba(255,255,255,0.85);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 13px 5px;
    letter-spacing: 0.1px;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.t1-nav ul li a:hover { color: #fff; }
.t1-nav ul li a.active {
    color: #fff;
    border-bottom-color: #fff;
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* T1 Live Rates Banner (hidden - H1 kept for SEO) */
.t1-rates-banner { display: none; }

/* T1 Tabs - Pill Style */
.t1-tabs {
    background: var(--surface-soft);
    padding: 14px 0;
    border-bottom: none;
}
.t1-tabs .container { display: flex; gap: 12px; align-items: center; }
.t1-tab-btn {
    padding: 11px 30px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #777;
    cursor: pointer;
    border: 2px solid #ccc;
    background: var(--surface);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
}
.t1-tab-btn.active {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #fff;
    border-color: var(--gold);
    box-shadow: 0 3px 10px rgba(155,123,44,0.35);
}
.t1-tab-btn:hover:not(.active) {
    border-color: var(--gold);
    color: var(--gold-dark);
}
.t1-tab-btn i { font-size: 14px; }
.t1-tab-btn.active i { color: #fff; }

/* T1 Spot Rates */
.t1-spot-rates { padding: 28px 0; background: var(--surface-soft); }
.t1-spot-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.t1-spot-card {
    background: var(--surface);
    border: 1px solid #e8dcc0;
    border-radius: 12px;
    padding: 20px 14px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(180,150,80,0.08);
    transition: box-shadow 0.2s;
}
.t1-spot-card:hover { box-shadow: 0 4px 16px rgba(180,150,80,0.15); }
.t1-spot-card .sc-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5e6b8 0%, #dbb84d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 3px 8px rgba(201,168,76,0.3);
}
.t1-spot-card .sc-icon img { height: 28px; object-fit: contain; filter: brightness(0) invert(1); }
.t1-spot-card .sc-icon i { color: #fff; font-size: 20px; }
.t1-spot-card .sc-name { font-size: 11px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.t1-spot-card .sc-price { font-size: 22px; font-weight: 900; color: var(--primary); }
.t1-spot-card .sc-hl { font-size: 11px; color: #999; margin-top: 4px; }
.t1-spot-card .sc-change { font-size: 12px; font-weight: 700; color: #00aa00; margin-top: 3px; }

/* T1 Metal Rates Table */
.t1-metal-rates { padding: 20px 0 30px; background: var(--surface); }
.t1-metal-rates .container { overflow-x: auto; }
.t1-rates-table { width: 100%; border-collapse: collapse; }
.t1-rates-table thead { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: #fff; }
.t1-rates-table thead th { padding: 14px 20px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.t1-rates-table thead th:first-child { text-align: left; }
.t1-rates-table thead th:not(:first-child) { text-align: center; }
.t1-rates-table tbody tr { border-bottom: 1px solid #f0f0f0; }
.t1-rates-table tbody tr:hover { background: #fafafa; }
.t1-rates-table tbody tr.trade-row { cursor: pointer; }
.t1-rates-table tbody tr.trade-row:hover { background: #fff7df; }
.t1-rates-table tbody tr.trade-row:focus { outline: 2px solid var(--gold); outline-offset: -2px; background: #fff7df; }
.t1-rates-table tbody td { padding: 16px 20px; font-size: 15px; }
.t1-rates-table tbody td:first-child { font-weight: 700; }
.t1-rates-table tbody td:not(:first-child) { text-align: center; font-weight: 800; color: var(--primary); font-size: 17px; }
.metal-label { display: flex; align-items: center; gap: 10px; }
.metal-badge { background: var(--gold); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 3px; }
.metal-badge-muted { background: #888; }
.net-position-badge { display: inline-flex; align-items: baseline; gap: 3px; margin-left: 2px; background: #2e8b45; color: #fff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 10px; white-space: nowrap; }
.net-position-badge.short { background: #b31b1b; }
.net-position-badge small { font-size: 8px; font-weight: 700; }
.rate-loading-row { text-align: center !important; color: #999 !important; font-weight: 600 !important; }

/* T1 Why Section */
.t1-why { padding: 40px 0; background: var(--bg-light); }
.t1-why h2 { text-align: center; font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 28px; color: var(--text-dark); }
.t1-why h2 span { color: var(--gold-dark); }
.t1-why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; text-align: center; }
.t1-why-item .wi-icon { font-size: 40px; color: var(--primary); margin-bottom: 10px; }
.t1-why-item img { height: 48px; object-fit: contain; margin-bottom: 10px; }
.t1-why-item p { font-size: 12px; font-weight: 700; color: var(--text-dark); line-height: 1.4; }

/* T1 Footer */
.t1-footer { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: #fff; padding: 30px 0 0; }
.t1-footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.t1-fc .tf-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.t1-fc .tf-value { font-size: 14px; font-weight: 700; color: #fff; }
.t1-fc a { color: #fff; }
.t1-fc p { font-size: 12px; color: rgba(255,255,255,0.85); line-height: 1.6; }
.t1-fc i { font-size: 20px; color: rgba(255,255,255,0.8); margin-bottom: 6px; }
.t1-footer-bottom { background: rgba(0,0,0,0.2); text-align: center; padding: 12px; font-size: 12px; color: rgba(255,255,255,0.7); }
.t1-footer-bottom a { color: rgba(255,255,255,0.7); margin: 0 10px; }

/* Live Rate Flash Animation */
@keyframes flash-green { 0%,100%{background:transparent} 50%{background:rgba(0,180,0,0.15)} }
@keyframes flash-red { 0%,100%{background:transparent} 50%{background:rgba(200,0,0,0.12)} }
.flash-up { animation: flash-green 0.6s; }
.flash-down { animation: flash-red 0.6s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .rates-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .mid-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .tools-grid { grid-template-columns: repeat(3, 1fr); }
    .about-band-grid { grid-template-columns: 1fr; }
    .t1-spot-grid { grid-template-columns: repeat(3, 1fr); }
    .t1-why-grid { grid-template-columns: repeat(3, 1fr); }
    .t1-footer-grid { grid-template-columns: repeat(2, 1fr); }
    nav.main-nav { display: none; }
    nav.main-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,0.1); padding: 16px; z-index: 999; }
    nav.main-nav.open ul { flex-direction: column; }
    nav.main-nav.open ul li a { padding: 10px 14px; border-radius: 4px; }
    .hamburger { display: flex; }
    .hero .container { flex-direction: column; }
    .hero-text h1 { font-size: 36px; }
    .t1-nav ul { flex-wrap: wrap; }
    .t1-header-right { gap: 16px; }
    .t1-header-info { font-size: 12px; }
    .t1-tabs .container { flex-wrap: wrap; }
}

@media (max-width: 900px) {
    .t1-nav ul { flex-wrap: wrap; }
    .t1-nav ul li a { padding: 10px 8px; }
}

@media (max-width: 768px) {
    .t1-header-bar .container { flex-wrap: wrap; gap: 10px; }
    .t1-header-right { gap: 12px; width: 100%; justify-content: flex-end; }
    .t1-header-info.hide-mobile { display: none; }
    .t1-tab-btn { padding: 9px 20px; font-size: 11px; }
}

@media (max-width: 600px) {
    .rates-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .t1-spot-grid { grid-template-columns: repeat(2, 1fr); }
    .t1-why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-text h1 { font-size: 28px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .t1-footer-grid { grid-template-columns: 1fr; }
    .t1-header-info { display: none; }
    .t1-tab-btn { padding: 8px 16px; font-size: 10px; letter-spacing: 0.5px; }
}

/* Loading spinner */
.rate-loading { color: #aaa; font-size: 12px; }

/* ---- Themed Inner Pages ---- */
.inner-hero {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #fff;
    padding: 34px 0;
}
.inner-hero .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.inner-hero h1 { font-size: 28px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.inner-hero p { color: rgba(255,255,255,0.82); font-size: 13px; margin-top: 6px; }
.inner-panel { padding: 36px 0 52px; background: var(--bg-light); min-height: 420px; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.content-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.06);
}
.content-card.wide { grid-column: span 2; }
.content-card.full { grid-column: 1 / -1; }
.content-card h2,
.content-card h3 { color: var(--primary); font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.content-card h2 { font-size: 20px; }
.content-card h3 { font-size: 15px; }
.content-card p,
.content-card li { color: #333; font-size: 14px; line-height: 1.7; }
.content-card ul { padding-left: 18px; }
.coming-soon-card {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.coming-soon-card h2 {
    margin: 0;
    color: var(--primary);
    font-size: 32px;
    letter-spacing: 0;
}
.detail-list { display: grid; gap: 10px; }
.detail-row { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid #eee; }
.detail-row span:first-child { color: #777; font-size: 12px; text-transform: uppercase; font-weight: 800; }
.detail-row span:last-child { font-size: 14px; font-weight: 600; }
.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.calc-toolbar {
    align-items: center;
    justify-content: space-between;
    margin: 8px 0 16px;
}
.calc-type-group {
    display: flex;
    align-items: center;
    gap: 18px;
}
.calc-type-group label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-size: 14px;
    font-weight: 700;
}
.calc-type-group input {
    margin: 0;
}
.calc-add-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 10px 18px;
    line-height: 1;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12px; color: #666; font-weight: 800; text-transform: uppercase; margin-bottom: 6px; }
.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 11px 12px;
    font-family: inherit;
    font-size: 14px;
    background: var(--surface);
    color: var(--text-dark);
}
.field textarea { min-height: 110px; resize: vertical; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; }
.data-table th { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: #fff; text-align: left; font-size: 12px; text-transform: uppercase; padding: 12px; }
.data-table td { border-bottom: 1px solid #eee; padding: 12px; font-size: 14px; }
.data-table input { width: 100%; border: 1px solid #ddd; border-radius: 5px; padding: 8px; }
.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-scroll .data-table {
    min-width: 640px;
}
.summary-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.summary-box { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.summary-box span { display: block; color: #777; font-size: 11px; text-transform: uppercase; font-weight: 800; margin-bottom: 5px; }
.summary-box strong { color: var(--primary); font-size: 20px; }
.message-list { display: grid; gap: 14px; }
.message-item { border: 1px solid var(--border); border-radius: 8px; background: #fff; overflow: hidden; }
.message-item p { padding: 16px; }
.message-date { background: #f4e8c1; color: #3d2b00; font-size: 12px; font-weight: 800; text-align: right; padding: 10px 16px; }
.status-note { color: #777; font-size: 13px; margin-top: 10px; }

@media (max-width: 900px) {
    .content-grid { grid-template-columns: 1fr; }
    .content-card.wide { grid-column: auto; }
    .form-grid { grid-template-columns: 1fr; }
    .calc-toolbar { align-items: stretch; }
    .calc-type-group { width: 100%; }
    .calc-add-row { width: 100%; }
    .summary-strip { grid-template-columns: repeat(2, 1fr); }
    .inner-hero .container { display: block; }
}

@media (max-width: 520px) {
    .detail-row { grid-template-columns: 1fr; gap: 3px; }
    .summary-strip { grid-template-columns: 1fr; }
}

/* ---- SA Bullion dashboard and trading modules ---- */
.theme-toggle {
    border: 1px solid var(--border);
    background: var(--surface-soft);
    color: var(--text-dark);
    border-radius: 6px;
    min-height: 36px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font: 700 11px 'Montserrat', sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
}
.theme-toggle i { color: var(--gold); margin: 0; font-size: 13px; }
.dashboard-shell {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 18px;
}
.dashboard-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.dash-tile,
.position-card {
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 8px;
    padding: 16px;
}
.dash-tile span,
.position-card span {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.dash-tile strong,
.position-card strong {
    color: var(--primary);
    font-size: 22px;
}
.module-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.module-action {
    min-height: 118px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.module-action i { color: var(--gold); font-size: 24px; }
.module-action strong { color: var(--text-dark); font-size: 13px; text-transform: uppercase; }
.module-action small { color: var(--text-muted); font-size: 11px; line-height: 1.45; }
.net-position-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}
.position-card.net strong { color: var(--success); }
.position-card.net.short strong { color: var(--danger); }
.trade-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: start;
}
.trade-panel {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    background: var(--surface-soft);
}
.comment-box {
    min-height: 86px;
}
.trade-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.trade-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.trade-status-row span {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
}
.orders-table button {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--primary);
    padding: 7px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 800;
    font-size: 11px;
}
html[data-theme="night"] .t1-rates-table tbody tr:hover,
html[data-theme="night"] .t1-rates-table tbody tr.trade-row:hover {
    background: #2a2418;
}
html[data-theme="night"] .message-date { background: #332b1a; color: var(--gold-light); }
html[data-theme="night"] .t1-nav {
    background: linear-gradient(135deg, var(--gold-dark), #5a4310);
}
html[data-theme="night"] .t1-footer {
    background: linear-gradient(135deg, #3d2e10, var(--gold-dark));
}
html[data-theme="night"] .hero {
    background: linear-gradient(135deg, #3d2e10, var(--gold-dark));
}
html[data-theme="night"] .inner-hero {
    background: linear-gradient(135deg, #3d2e10, var(--gold-dark));
}
html[data-theme="night"] .highlight-box {
    background: linear-gradient(135deg, #3d2e10, var(--gold-dark));
}
html[data-theme="night"] .social-icons a { background: rgba(255,255,255,0.15); }
html[data-theme="night"] .social-icons a:hover { background: var(--gold); }
html[data-theme="night"] .btn-white-cta { background: rgba(255,255,255,0.12); color: #fff; }
html[data-theme="night"] .btn-white-cta:hover { background: var(--gold); color: #fff; }
html[data-theme="night"] .service-card { background: var(--surface); }
html[data-theme="night"] .product-item { background: var(--surface); }
html[data-theme="night"] .why-choose-card { background: var(--surface); }
html[data-theme="night"] .products-card { background: var(--surface); border-color: var(--border); }
html[data-theme="night"] .gold-release-card {
    background: radial-gradient(circle at 84% 74%, rgba(255,255,255,.08), transparent 28%),
                linear-gradient(135deg, #2a1f0a, var(--gold-dark));
}
html[data-theme="night"] .cert-badge { background: var(--surface-soft); border-color: var(--border); }
html[data-theme="night"] .t1-tab-btn { background: var(--surface); border-color: var(--border); color: var(--text-muted); }
html[data-theme="night"] .t1-tab-btn.active { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); border-color: var(--gold); color: #fff; }
html[data-theme="night"] .content-card { background: var(--surface); border-color: var(--border); }
html[data-theme="night"] .content-card h2,
html[data-theme="night"] .content-card h3 { color: var(--gold); }
html[data-theme="night"] .content-card p,
html[data-theme="night"] .content-card li { color: var(--text-muted); }
html[data-theme="night"] .about-band { background: var(--surface-soft); }
html[data-theme="night"] .features-strip { background: var(--surface); border-color: var(--border); }
html[data-theme="night"] .mid-section { background: var(--surface); border-color: var(--border); }
html[data-theme="night"] .t1-spot-card { background: var(--surface); border-color: var(--border); }
html[data-theme="night"] .rate-card { background: var(--surface); border-color: var(--border); }
html[data-theme="night"] .trust-list div { background: var(--surface); border-color: var(--border); }
html[data-theme="night"] .detail-row { border-color: var(--border); }
html[data-theme="night"] .field input,
html[data-theme="night"] .field select,
html[data-theme="night"] .field textarea { background: var(--surface-soft); color: var(--text-dark); border-color: var(--border); }
html[data-theme="night"] .data-table { background: var(--surface); }
html[data-theme="night"] .data-table td { border-color: var(--border); }
html[data-theme="night"] .orders-table th { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); }

@media (max-width: 992px) {
    .dashboard-shell,
    .trade-workspace { grid-template-columns: 1fr; }
    .dashboard-tiles,
    .module-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .net-position-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .dashboard-tiles,
    .module-actions { grid-template-columns: 1fr; }
    .theme-toggle span { display: none; }
    .theme-toggle { padding: 8px 10px; }
    .rate-display { flex-direction: column; }
    .order-action-row { align-items: stretch; flex-direction: column; }
}

/* ---- Services Page ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 3px 14px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 6px 22px rgba(0,0,0,0.11); }
.service-card .svc-icon { font-size: 46px; color: var(--primary); margin-bottom: 14px; }
.service-card h3 { font-size: 15px; font-weight: 800; color: var(--primary); text-transform: uppercase; margin-bottom: 10px; letter-spacing: 0.5px; }
.service-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services-grid { grid-template-columns: 1fr; } }

/* ---- Process Steps ---- */
.process-list { list-style: none; margin-top: 8px; }
.process-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.step-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
}
.step-body h4 { font-size: 14px; font-weight: 800; color: var(--text-dark); margin-bottom: 3px; text-transform: uppercase; }
.step-body p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* ---- About page ---- */
.about-intro { font-size: 15px; line-height: 1.8; color: #333; margin-bottom: 18px; }
.cert-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px;
}
.cert-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}
.cert-badge i { color: var(--primary); font-size: 18px; }

/* ---- Highlight box ---- */
.highlight-box {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #fff;
    border-radius: 10px;
    padding: 24px 22px;
    margin-bottom: 0;
}
.highlight-box h3 { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 10px; text-transform: uppercase; }
.highlight-box p { color: rgba(255,255,255,0.88); font-size: 13px; line-height: 1.6; }
.highlight-box .btn-white-cta { margin-top: 14px; display: inline-block; }

/* ---- Device responsive hardening ---- */
html {
    overflow-x: hidden;
}

body {
    min-width: 320px;
    overflow-x: hidden;
}

.container {
    width: min(100%, 1200px);
}

.t1-header-bar .container,
.header-inner,
.section-header,
.inner-hero .container {
    min-width: 0;
}

.t1-logo,
.logo-wrap {
    min-width: 0;
}

.t1-logo-text,
.logo-text {
    overflow-wrap: anywhere;
}

.t1-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.t1-nav .container {
    justify-content: flex-start;
    min-width: max-content;
}

.t1-nav ul {
    justify-content: flex-start;
}

.t1-rates-table,
.orders-table {
    min-width: 680px;
}

.t1-metal-rates .container,
.content-card > div[style*="overflow-x:auto"] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rate-card,
.t1-spot-card,
.content-card,
.dash-tile,
.position-card,
.module-action,
.tool-card,
.service-card {
    min-width: 0;
}

.rate-card .metal-price,
.t1-spot-card .sc-price,
.position-card strong,
.dash-tile strong,
.summary-box strong {
    overflow-wrap: anywhere;
}

@media (min-width: 993px) and (max-width: 1180px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .t1-logo img {
        height: 44px;
    }

    .t1-logo-text {
        font-size: 22px;
    }

    .t1-logo-sub {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .t1-header-right {
        gap: 14px;
    }

    .t1-header-info {
        font-size: 12px;
    }

    .t1-nav .container {
        min-width: 0;
    }

    .t1-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .t1-nav ul li a {
        padding: 10px 7px;
    }

    .theme-toggle span {
        display: none;
    }

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

    .features-grid,
    .tools-grid,
    .t1-why-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .why-choose-card {
        grid-column: 1 / -1;
    }

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

@media (min-width: 768px) and (max-width: 992px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .t1-header-bar .container {
        align-items: flex-start;
        gap: 16px;
    }

    .t1-logo img {
        height: 46px;
    }

    .t1-logo-text {
        font-size: 23px;
    }

    .t1-header-right {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 10px;
        max-width: 430px;
    }

    .t1-nav .container {
        min-width: 0;
    }

    .t1-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0;
    }

    .t1-nav ul li a {
        padding: 10px 9px;
    }

    .hero {
        padding: 42px 0 32px;
    }

    .hero .container {
        align-items: flex-start;
        gap: 24px;
    }

    .hero-image img {
        max-height: 280px;
    }

    .section-header {
        gap: 16px;
    }

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

    .trust-list,
    .summary-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .t1-header-bar {
        padding: 10px 0;
    }

    .t1-header-bar .container {
        align-items: center;
    }

    .t1-logo img {
        height: 42px;
    }

    .t1-logo {
        gap: 8px;
        max-width: 100%;
    }

    .t1-logo-text {
        font-size: 20px;
        line-height: 1.1;
    }

    .t1-logo-sub {
        font-size: 8px;
        letter-spacing: 1.6px;
    }

    .t1-header-right {
        justify-content: flex-start;
        width: 100%;
        flex-wrap: wrap;
    }

    .btn-login-t1,
    .theme-toggle {
        min-height: 36px;
    }

    .t1-nav {
        border-top: none;
    }

    .t1-nav .container {
        min-width: max-content;
        padding-left: 12px;
        padding-right: 12px;
    }

    .t1-nav ul {
        flex-wrap: nowrap;
    }

    .t1-nav ul li a {
        padding: 11px 10px;
        font-size: 10px;
    }

    .hero {
        padding: 34px 0 28px;
    }

    .hero .container {
        gap: 22px;
    }

    .hero-text .tagline {
        letter-spacing: 2px;
    }

    .hero-text p {
        margin-bottom: 22px;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .live-rates-section,
    .about-band,
    .tools-section {
        padding: 34px 0;
    }

    .features-strip,
    .t1-why {
        padding: 30px 0;
    }

    .t1-tabs .container {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
    }

    .t1-tab-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .t1-metal-rates .container {
        padding-left: 0;
        padding-right: 0;
    }

    .t1-rates-table thead th,
    .t1-rates-table tbody td {
        padding-left: 14px;
        padding-right: 14px;
    }

    .inner-hero {
        padding: 26px 0;
    }

    .inner-hero .container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .inner-panel {
        padding: 24px 0 38px;
    }

    .content-card {
        padding: 18px;
    }

    .dashboard-links,
    .hero-btns,
    .action-row,
    .order-action-row {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-links a,
    .hero-btns a,
    .action-row a,
    .action-row button,
    .order-action-row button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .trade-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .refresh-btn {
        float: none;
        width: 100%;
        min-height: 38px;
    }
}

@media (max-width: 600px) {
    .rates-grid,
    .t1-spot-grid,
    .features-grid,
    .tools-grid,
    .t1-why-grid,
    .products-grid,
    .trust-list {
        grid-template-columns: 1fr;
    }

    .rate-card,
    .t1-spot-card {
        text-align: left;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 12px;
        align-items: center;
    }

    .rate-card .metal-icon,
    .t1-spot-card .sc-icon {
        width: 46px;
        height: 46px;
        grid-row: span 3;
        margin: 0;
    }

    .rate-card .metal-name,
    .rate-card .metal-price,
    .rate-card .metal-hl,
    .rate-card .metal-change,
    .t1-spot-card .sc-name,
    .t1-spot-card .sc-price,
    .t1-spot-card .sc-hl,
    .t1-spot-card .sc-change {
        min-width: 0;
    }

    .rate-card .metal-price,
    .t1-spot-card .sc-price {
        font-size: 20px;
    }

    .products-grid {
        gap: 10px;
    }

    .product-item {
        border: 1px solid var(--border);
        border-radius: 8px;
    }

    .product-item:first-child {
        border-left: 1px solid var(--border);
    }

    .summary-strip,
    .net-position-grid {
        grid-template-columns: 1fr;
    }

    .orders-table {
        min-width: 760px;
    }

    .t1-rates-table {
        min-width: 620px;
        table-layout: auto;
    }

    .t1-rates-table thead th:first-child,
    .t1-rates-table tbody td:first-child {
        min-width: 210px;
    }

    .t1-rates-table thead th {
        padding: 10px 8px;
        font-size: 11px;
        letter-spacing: 0;
    }

    .t1-rates-table tbody td {
        padding: 12px 8px;
        font-size: 13px;
    }

    .t1-rates-table tbody td:not(:first-child) {
        font-size: 14px;
    }

    .metal-label {
        gap: 6px;
    }

    .metal-badge {
        font-size: 9px;
        padding: 2px 5px;
    }
}

@media (max-width: 420px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .t1-logo img {
        height: 38px;
    }

    .t1-logo-text {
        font-size: 18px;
    }

    .t1-logo-sub {
        letter-spacing: 1px;
    }

    .btn-login-t1 {
        padding: 8px 12px !important;
    }

    .hero-text h1 {
        font-size: 26px;
    }

    .hero-text .tagline {
        font-size: 12px;
        letter-spacing: 1.2px;
    }

    .section-title,
    .t1-why h2 {
        font-size: 19px;
    }

    .inner-hero h1 {
        font-size: 23px;
    }

    .content-card {
        padding: 16px 14px;
    }

    .theme-toggle {
        padding: 8px 9px;
    }
}

@media (orientation: landscape) and (max-height: 520px) and (max-width: 932px) {
    .hero {
        padding: 24px 0;
    }

    .hero .container {
        flex-direction: row;
        align-items: center;
    }

    .hero-text h1 {
        font-size: 30px;
    }

    .hero-image img {
        max-height: 190px;
    }

    .inner-hero {
        padding: 20px 0;
    }
}

/* ---- Scroll and interaction effects ---- */
@keyframes soft-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes sheen-pass {
    0% { transform: translateX(-140%); opacity: 0; }
    20% { opacity: .65; }
    100% { transform: translateX(140%); opacity: 0; }
}

.hero-image img {
    animation: soft-float 5.5s ease-in-out infinite;
    box-shadow: 0 22px 45px rgba(0,0,0,.14);
}

.hero-text h1,
.inner-hero h1 {
    text-shadow: 0 8px 24px rgba(0,0,0,.16);
}

.rate-card,
.t1-spot-card,
.content-card,
.product-item,
.feature-item,
.why-choose-card,
.products-card,
.gold-release-card,
.summary-box,
.position-card,
.dash-tile,
.tool-card,
.module-action,
.service-card {
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.rate-card:hover,
.t1-spot-card:hover,
.content-card:hover,
.product-item:hover,
.feature-item:hover,
.why-choose-card:hover,
.products-card:hover,
.gold-release-card:hover,
.summary-box:hover,
.position-card:hover,
.dash-tile:hover,
.tool-card:hover,
.module-action:hover,
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0,0,0,.10);
    border-color: rgba(215,173,59,.55);
}

.btn-primary-cta,
.btn-gold-cta,
.btn-white-cta,
.btn-login-t1,
.theme-toggle {
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn-primary-cta:hover,
.btn-gold-cta:hover,
.btn-white-cta:hover,
.btn-login-t1:hover,
.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

.btn-primary-cta::after,
.btn-gold-cta::after,
.btn-white-cta::after,
.btn-login-t1::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.35) 45%, transparent 70%);
    transform: translateX(-140%);
    pointer-events: none;
}

.btn-primary-cta:hover::after,
.btn-gold-cta:hover::after,
.btn-white-cta:hover::after,
.btn-login-t1:hover::after {
    animation: sheen-pass .85s ease;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .62s ease, transform .62s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.reveal-left {
    transform: translateX(-28px);
}

.scroll-reveal.reveal-right {
    transform: translateX(28px);
}

.scroll-reveal.reveal-left.revealed,
.scroll-reveal.reveal-right.revealed {
    transform: translateX(0);
}

.data-table tbody tr,
.orders-table tbody tr,
.t1-rates-table tbody tr {
    transition: background .18s ease, transform .18s ease;
}

.data-table tbody tr:hover,
.orders-table tbody tr:hover,
.t1-rates-table tbody tr:hover {
    background: rgba(215,173,59,.10);
}

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

    .scroll-reveal {
        opacity: 1;
        transform: none !important;
    }
}
