:root {
    --gold-primary: #D4AF37;
    --gold-light: #F4E4BC;
    --gold-dark: #996515;
    --bg-dark: #000000;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --green-success: #00d97e;
    --red-error: #e63757;
    --border-color: #2a2a3a;
}

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

body {
    font-family: 'Raleway', sans-serif;
    background: var(--bg-dark) url('images/bg.jpg') top center no-repeat;
    background-size: 100% auto;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    font-weight: 400;
}

.security-banner {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
    padding: 8px 20px;
    text-align: center;
    font-size: 13px;
    border-bottom: 1px solid var(--border-color);
}

.security-banner a {
    color: var(--gold-primary);
    text-decoration: none;
    margin-left: 10px;
}

.security-banner a:hover {
    text-decoration: underline;
}

.header {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo:hover {
    opacity: 0.9;
}

.logo-icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-nav .nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.header-nav .nav-link.nav-link-dark {
    color: #000;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    border: 1px solid var(--gold-primary);
    font-weight: 600;
}

.header-nav .nav-link.nav-link-dark:hover {
    color: #000;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.header-nav .nav-link:hover {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.connect-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.connect-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.connect-btn.connected {
    background: var(--bg-card);
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
}

.wallet-icon {
    width: 20px;
    height: 20px;
}

.hero {
    text-align: center;
    padding: 60px 20px;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.hero-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 20px;
}

.hero-peg {
    display: inline-block;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--gold-primary);
    border-radius: 8px;
    color: var(--gold-primary);
    font-weight: 600;
}

.main-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px 40px;
    flex: 1;
}

.anti-phishing {
    background: rgba(230, 55, 87, 0.1);
    border: 1px solid var(--red-error);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.anti-phishing h4 {
    color: var(--red-error);
    margin-bottom: 10px;
}

.anti-phishing ul {
    list-style: none;
    font-size: 14px;
}

.anti-phishing li {
    padding: 5px 0;
    color: var(--text-secondary);
}

.anti-phishing code {
    background: var(--bg-card);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.info-card h3 {
    color: var(--gold-primary);
    margin-bottom: 12px;
    font-size: 18px;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(212, 175, 55, 0.05);
}

.card-header h3 {
    font-size: 18px;
    color: var(--gold-primary);
}

.card-body {
    padding: 24px;
}

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

.stat-item {
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.stat-item.full-width {
    grid-column: 1 / -1;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 18px;
    font-weight: 600;
}

.stat-value.gold {
    color: var(--gold-primary);
}

.stat-value.success {
    color: var(--green-success);
}

.price-large {
    font-size: 32px;
    font-weight: 700;
    color: var(--gold-primary);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green-success);
    box-shadow: 0 0 8px var(--green-success);
}

.status-dot.inactive {
    background: var(--red-error);
    box-shadow: 0 0 8px var(--red-error);
}

.rpc-status {
    margin-top: 16px;
    padding: 8px 12px;
    background: rgba(0, 217, 126, 0.1);
    border-radius: 6px;
    font-size: 12px;
    color: var(--green-success);
    text-align: center;
}

.rpc-status.error {
    background: rgba(230, 55, 87, 0.1);
    color: var(--red-error);
}

.trading-section {
    margin-bottom: 40px;
}

.trading-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--gold-primary);
}

.trading-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.trading-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}

.trading-card h4 {
    color: var(--gold-primary);
    margin-bottom: 20px;
    font-size: 18px;
}

.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--gold-primary);
}

.preview-box {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
}

.preview-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.preview-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--gold-primary);
}

.trade-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.trade-btn.buy {
    background: linear-gradient(135deg, var(--green-success), #00b36b);
    color: #fff;
}

.trade-btn.sell {
    background: linear-gradient(135deg, var(--red-error), #c22d4a);
    color: #fff;
}

.trade-btn.transfer {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #000;
}

.trade-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.trade-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.contract-section {
    margin-bottom: 40px;
}

.contract-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--gold-primary);
}

.contract-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.contract-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.contract-name {
    font-weight: 600;
    color: var(--text-primary);
}

.contract-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contract-address {
    font-family: monospace;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 8px;
    background: var(--bg-dark);
    border-radius: 4px;
    transition: color 0.3s;
}

.contract-address:hover {
    color: var(--gold-primary);
}

.verify-link {
    color: var(--green-success);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.verify-link.timelock-link {
    color: var(--gold-primary);
}

.verify-link.timelock-link:hover {
    color: var(--gold-light);
}

.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.disclaimer {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.disclaimer h4 {
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.disclaimer p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.wallet-modal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    color: var(--gold-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.wallet-options {
    padding: 20px;
}

.wallet-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.wallet-option:hover {
    border-color: var(--gold-primary);
    background: var(--bg-card-hover);
}

.wallet-option-icon {
    font-size: 32px;
}

.wallet-option-info {
    flex: 1;
    text-align: left;
}

.wallet-option-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.wallet-option-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.wallet-option-arrow {
    color: var(--gold-primary);
    font-size: 20px;
}

.wallet-divider {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin: 20px 0;
    position: relative;
}

.wallet-divider::before,
.wallet-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: var(--border-color);
}

.wallet-divider::before { left: 0; }
.wallet-divider::after { right: 0; }

.mobile-wallets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.mobile-wallet-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
}

.mobile-wallet-btn:hover {
    border-color: var(--gold-primary);
}

.mobile-wallet-btn img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.mobile-wallet-btn span {
    font-size: 11px;
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    animation: slideIn 0.3s ease;
    max-width: 300px;
}

.toast.success {
    border-color: var(--green-success);
    background: rgba(0, 217, 126, 0.1);
}

.toast.error {
    border-color: var(--red-error);
    background: rgba(230, 55, 87, 0.1);
}

.toast.info {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr; }
    .trading-grid { grid-template-columns: 1fr; }
    .mobile-wallets { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; text-align: center; }
    .header-content { 
        flex-wrap: wrap; 
        gap: 12px; 
        justify-content: center;
    }
    .header-nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    .header-nav .nav-link {
        font-size: 14px;
        padding: 6px 12px;
    }
}

/* WalletConnect Modal */
.wc-modal {
    max-width: 380px;
}

.wc-content {
    padding: 20px;
    text-align: center;
}

.wc-qr-container {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-loading {
    color: #666;
}

.wc-instructions {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.wc-copy-btn {
    padding: 10px 24px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
}

.wc-copy-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

/* Currency Toggle */
.input-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.input-label-row label {
    margin-bottom: 0;
}

.currency-toggle {
    display: flex;
    background: var(--bg-dark);
    border-radius: 6px;
    padding: 2px;
    border: 1px solid var(--border-color);
}

.toggle-btn {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.toggle-btn.active {
    background: var(--gold-primary);
    color: var(--bg-darkest);
}

.toggle-btn:hover:not(.active) {
    color: var(--text-primary);
}

.input-with-symbol {
    position: relative;
    display: flex;
    align-items: center;
}

.input-symbol {
    position: absolute;
    left: 12px;
    font-size: 16px;
    color: var(--text-secondary);
    pointer-events: none;
    font-weight: 500;
}

.input-with-symbol input {
    padding-left: 32px;
    width: 100%;
}

.input-conversion {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    min-height: 16px;
}

/* =============================================
   ADDITIONAL STYLES - Multi-Wallet & Security
   ============================================= */

/* Detected Wallets Container */
.detected-wallets-container {
    margin-bottom: 16px;
}

.wallet-detecting {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.no-wallet-detected {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 14px;
    background: rgba(230, 55, 87, 0.1);
    border: 1px solid rgba(230, 55, 87, 0.2);
    border-radius: 8px;
}

.no-wallet-detected a {
    color: var(--gold-primary);
    text-decoration: underline;
}

.detected-wallet {
    border: 1px solid var(--gold-primary) !important;
    background: rgba(212, 175, 55, 0.05) !important;
}

.detected-wallet:hover {
    background: rgba(212, 175, 55, 0.15) !important;
}

/* Connected Wallet Icon */
.connected-wallet-icon {
    font-size: 16px;
    margin-right: 4px;
}

/* Trading Notice */
.trading-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}

.trading-notice .notice-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.trading-notice .notice-text {
    color: var(--text-secondary);
}

.trading-notice strong {
    color: var(--text-primary);
}

.trading-notice .notice-buy {
    color: var(--green-success);
    font-weight: 600;
}

.trading-notice .notice-sell {
    color: var(--gold-primary);
    font-weight: 600;
}

.trading-notice .notice-detail {
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Oracle Badge */
.trading-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.oracle-badge {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-family: 'Raleway', sans-serif;
}

/* Toast Warning Style */
.toast.warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .trading-notice {
        flex-direction: column;
        gap: 8px;
        padding: 12px 16px;
    }
    
    .trading-notice .notice-icon {
        display: none;
    }
    
    .oracle-badge {
        font-size: 9px;
        padding: 3px 6px;
    }
}

/* Supported Wallets Section */
.supported-wallets-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.supported-wallets-section h3 {
    font-size: 18px;
    color: var(--gold-primary);
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
}

.wallet-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.wallet-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    min-width: 80px;
    transition: all 0.2s ease;
}

.wallet-logo-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

.wallet-emoji {
    font-size: 24px;
}

.wallet-name {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

.wallet-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

@media (max-width: 768px) {
    .wallet-logos {
        gap: 10px;
    }
    
    .wallet-logo-item {
        padding: 10px 12px;
        min-width: 70px;
    }
    
    .wallet-emoji {
        font-size: 20px;
    }
    
    .wallet-name {
        font-size: 10px;
    }
}

/* Three Column Dashboard Grid */
.dashboard-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .dashboard-grid.three-col {
        grid-template-columns: 1fr;
    }
}

/* Balance Section Inside Token Statistics */
.balance-divider {
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}

.your-balance-section {
    padding-top: 4px;
}

.balance-header {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    color: var(--gold-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.balance-usd-value.gold {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--gold-primary);
}

/* No Wallet Note */
.no-wallet-note {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    padding: 8px 12px;
    margin-top: 8px;
}

/* WalletConnect Manual Fallback */
.wc-manual {
    text-align: center;
    padding: 10px 0;
}

.wc-manual-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.wc-manual-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.wc-mobile-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.wc-mobile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.wc-mobile-link:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold-primary);
}

.wc-mobile-link span {
    font-size: 20px;
}

.wc-manual-note {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* WalletConnect Desktop Instructions */
.wc-steps {
    text-align: left;
    margin: 16px 0;
}

.wc-step {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 8px;
}

.wc-url-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 12px 0;
}

.wc-url-box code {
    font-size: 16px;
    color: var(--gold-primary);
    font-weight: 600;
}

.wc-copy-url {
    padding: 6px 12px;
    background: var(--gold-primary);
    color: #000;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.wc-copy-url:hover {
    background: var(--gold-light);
}

.wc-divider-text {
    color: var(--text-muted);
    font-size: 12px;
    margin: 16px 0;
}

/* =============================================
   NAV LINK BUTTON (Resources page back button)
   ============================================= */

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

/* =============================================
   RESOURCE PAGE STYLES
   ============================================= */

/* Resource Sections */
.resource-section {
    margin-bottom: 40px;
}

.resource-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--gold-primary);
    font-size: 24px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.section-icon {
    font-size: 24px;
}

.section-title {
    font-size: 20px;
    color: var(--gold-primary);
}

/* Resource Grid */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.resource-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.resource-card:hover {
    border-color: var(--gold-primary);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.resource-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.resource-icon {
    font-size: 24px;
}

.resource-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.resource-card:hover .resource-name {
    color: var(--gold-primary);
}

.resource-url {
    font-family: monospace;
    font-size: 12px;
    color: var(--text-muted);
    word-break: break-all;
    display: block;
    margin-top: 8px;
    padding: 8px 10px;
    background: var(--bg-dark);
    border-radius: 4px;
}

.external-arrow {
    color: var(--gold-primary);
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.resource-card:hover .external-arrow {
    opacity: 1;
}

/* =============================================
   TIMELOCK DASHBOARD STYLES
   ============================================= */

/* Config Section */
.config-section {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.config-section h3 {
    color: var(--gold-primary);
    margin-bottom: 16px;
    font-size: 18px;
}

/* Timelock specific input group with flex layout */
.config-section .input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.config-section .input-group input {
    flex: 1;
    font-family: monospace;
    font-size: 15px;
}

.input-group input::placeholder {
    color: var(--text-muted);
}

.load-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
}

.load-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.config-note {
    font-size: 13px;
    color: var(--text-muted);
}

/* Card header with flex layout */
.card-header.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Status Badge */
.status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Raleway', sans-serif;
}

.status-locked {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.status-unlocked {
    background: rgba(0, 217, 126, 0.15);
    color: var(--green-success);
    border: 1px solid rgba(0, 217, 126, 0.4);
}

.status-withdrawn {
    background: rgba(160, 160, 160, 0.15);
    color: var(--text-secondary);
    border: 1px solid rgba(160, 160, 160, 0.4);
}

.status-pending {
    background: rgba(230, 55, 87, 0.15);
    color: var(--red-error);
    border: 1px solid rgba(230, 55, 87, 0.4);
}

/* Countdown */
.countdown-container {
    text-align: center;
    padding: 30px 0;
}

.countdown-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    padding: 20px 16px;
    min-width: 85px;
}

.countdown-value {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
}

.countdown-unit {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 8px;
    letter-spacing: 1px;
}

/* Progress Bar */
.progress-container {
    margin: 20px 0;
}

.progress-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--gold-light));
    border-radius: 5px;
    transition: width 0.5s ease;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Stat Value Extensions */
.stat-value.large {
    font-size: 22px;
    font-family: 'Cinzel', serif;
}

.stat-value a {
    color: var(--gold-primary);
    text-decoration: none;
}

.stat-value a:hover {
    text-decoration: underline;
}

.stat-value.mono {
    font-family: monospace;
    font-size: 13px;
}

/* Network Badge */
.network-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 217, 126, 0.1);
    border: 1px solid var(--green-success);
    border-radius: 20px;
    font-size: 12px;
    color: var(--green-success);
}

.network-badge.readonly {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.network-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* Withdraw Section */
.withdraw-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.withdraw-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--green-success), #00b368);
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
}

.withdraw-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 217, 126, 0.4);
}

.withdraw-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Etherscan Link Card */
.etherscan-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.etherscan-card a {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.etherscan-card a:hover {
    text-decoration: underline;
}

/* Loading State */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Error Message */
.error-message {
    background: rgba(230, 55, 87, 0.1);
    border: 1px solid var(--red-error);
    color: var(--red-error);
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

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

@media (max-width: 768px) {
    /* Resources page responsive */
    .resource-grid {
        grid-template-columns: 1fr;
    }

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

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    /* Timelock page responsive */
    .countdown-item {
        min-width: 70px;
        padding: 14px 12px;
    }

    .countdown-value {
        font-size: 26px;
    }

    .config-section .input-group {
        flex-direction: column;
    }
}


/* ============================================================ */
/* LANDING PAGE STYLES (index.html)                        */
/* ============================================================ */

/* ═══════════════════════════════════════════
   CSS VARIABLES & RESET
   ═══════════════════════════════════════════ */
.page-landing {
--gold: #D4AF37;
--gold-light: #E8D48B;
--gold-dark: #A8871F;
--bg-primary: #060608;
--bg-card: #0D0D12;
--bg-card-hover: #131320;
--bg-elevated: #111118;
--text-primary: #F0EDE6;
--text-secondary: #9B978E;
--text-muted: #5E5B54;
--border-subtle: rgba(212, 175, 55, 0.12);
--border-gold: rgba(212, 175, 55, 0.3);
--glow-gold: rgba(212, 175, 55, 0.15);
--font-display: 'Cinzel', serif;
--font-body: 'Raleway', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body.page-landing {
font-family: var(--font-body);
background: var(--bg-primary);
color: var(--text-primary);
line-height: 1.6;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-label {
font-family: var(--font-body);
font-weight: 600;
font-size: 0.75rem;
letter-spacing: 0.25em;
text-transform: uppercase;
color: var(--gold);
margin-bottom: 1rem;
}
.page-landing .section-title {
font-family: var(--font-display);
font-weight: 600;
font-size: clamp(1.8rem, 4vw, 2.8rem);
color: var(--text-primary);
line-height: 1.2;
margin-bottom: 1.25rem;
}
.section-subtitle {
font-size: 1.05rem;
color: var(--text-secondary);
max-width: 640px;
font-weight: 300;
line-height: 1.7;
}

/* ═══════════════════════════════════════════
   BACKGROUND TEXTURE
   ═══════════════════════════════════════════ */
body.page-landing::before {
content: '';
position: fixed;
inset: 0;
background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(212,175,55,0.04), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(212,175,55,0.03), transparent 50%);
pointer-events: none;
z-index: 0;
}

/* Grain overlay */
body.page-landing::after {
content: '';
position: fixed;
inset: 0;
opacity: 0.025;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
pointer-events: none;
z-index: 0;
}

.page-landing section, .page-landing header, .page-landing footer, .page-landing > nav { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.page-landing > nav {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
padding: 1.25rem 0;
backdrop-filter: blur(20px);
background: rgba(6, 6, 8, 0.85);
border-bottom: 1px solid var(--border-subtle);
transition: all 0.4s ease;
}
.page-landing > nav.scrolled {
padding: 0.75rem 0;
background: rgba(6, 6, 8, 0.95);
}
.nav-inner {
display: flex;
align-items: center;
justify-content: space-between;
}
.nav-logo {
font-family: var(--font-display);
font-weight: 700;
font-size: 1.3rem;
color: var(--gold);
letter-spacing: 0.08em;
text-decoration: none;
}
.nav-logo span { color: var(--text-primary); font-weight: 400; }
.page-landing .nav-links { display: flex; gap: 2.5rem; align-items: center; }
.page-landing .nav-links a {
font-family: var(--font-body);
font-size: 0.82rem;
font-weight: 500;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--text-secondary);
text-decoration: none;
transition: color 0.3s;
}
.page-landing .nav-links a:hover { color: var(--gold); }
.nav-cta {
padding: 0.6rem 1.5rem;
background: transparent;
border: 1px solid var(--gold);
color: var(--gold) !important;
border-radius: 2px;
transition: all 0.3s ease !important;
}
.nav-cta:hover {
background: var(--gold) !important;
color: var(--bg-primary) !important;
}

/* Mobile hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span {
display: block; width: 24px; height: 2px;
background: var(--gold); margin: 5px 0;
transition: all 0.3s;
}

/* Hero video background */
.page-landing .hero-video-bg {
position: absolute;
inset: 0;
z-index: 0;
overflow: hidden;
}
.page-landing .hero-video-bg video {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.page-landing .hero-video-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.90);
pointer-events: none;
z-index: 1;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.page-landing .hero {
min-height: 100vh;
display: flex;
align-items: center;
padding: 8rem 0 6rem;
position: relative;
overflow: hidden;
}
.page-landing .hero > .container {
position: relative;
z-index: 2;
}
.page-landing .hero-bg-glow {
position: absolute;
top: -20%;
right: -10%;
width: 700px;
height: 700px;
border-radius: 50%;
background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
animation: pulseGlow 8s ease-in-out infinite;
pointer-events: none;
}
@keyframes pulseGlow {
0%, 100% { transform: scale(1); opacity: 0.6; }
50% { transform: scale(1.15); opacity: 1; }
}

.page-landing .hero-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}
.page-landing .hero-text { max-width: 580px; }
.page-landing .hero-badge {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.4rem 1rem;
background: rgba(212, 175, 55, 0.08);
border: 1px solid var(--border-gold);
border-radius: 100px;
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--gold);
margin-bottom: 2rem;
}
.page-landing .hero-badge::before {
content: '';
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--gold);
animation: badgePulse 2s infinite;
}
@keyframes badgePulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
}

.page-landing .hero h1 {
font-family: var(--font-display);
font-weight: 700;
font-size: clamp(2.4rem, 5vw, 3.6rem);
line-height: 1.1;
margin-bottom: 1.5rem;
}
.page-landing .hero h1 .gold-text {
background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.page-landing .hero-desc {
font-size: 1.1rem;
font-weight: 300;
color: var(--text-secondary);
line-height: 1.8;
margin-bottom: 2.5rem;
}
.page-landing .hero-actions {
display: flex;
gap: 1rem;
margin-bottom: 3rem;
}
.btn-primary {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.9rem 2rem;
font-family: var(--font-body);
font-weight: 600;
font-size: 0.85rem;
letter-spacing: 0.08em;
text-transform: uppercase;
text-decoration: none;
background: linear-gradient(135deg, var(--gold), var(--gold-dark));
color: var(--bg-primary);
border: none;
border-radius: 2px;
cursor: pointer;
transition: all 0.3s;
position: relative;
overflow: hidden;
}
.btn-primary::after {
content: '';
position: absolute;
top: -50%;
left: -150%;
width: 60%;
height: 300%;
background: linear-gradient(100deg, transparent, rgba(255,255,255,0.3), transparent);
animation: btnShine 3s infinite;
}
@keyframes btnShine {
0% { transform: translateX(-150%); }
25% { transform: translateX(350%); }
100% { transform: translateX(350%); }
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,175,55,0.3); }

.btn-secondary {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.9rem 2rem;
font-family: var(--font-body);
font-weight: 600;
font-size: 0.85rem;
letter-spacing: 0.08em;
text-transform: uppercase;
text-decoration: none;
background: transparent;
color: var(--text-primary);
border: 1px solid rgba(255,255,255,0.15);
border-radius: 2px;
cursor: pointer;
transition: all 0.3s;
}
.btn-secondary:hover {
border-color: var(--gold);
color: var(--gold);
transform: translateY(-2px);
}

.page-landing .hero-trust {
display: flex;
gap: 2.5rem;
}
.trust-item {
display: flex;
flex-direction: column;
}
.trust-value {
font-family: var(--font-display);
font-weight: 700;
font-size: 1.4rem;
color: var(--gold);
}
.trust-label {
font-size: 0.72rem;
font-weight: 500;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--text-muted);
margin-top: 0.2rem;
}

/* Hero visual area */
.page-landing .hero-visual {
display: flex;
align-items: center;
justify-content: center;
position: relative;
}

/* ── Hero Video Player ───────────────────────────────────────── */
.page-landing .hero-video-player {
width: 100%;
max-width: 520px;
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.page-landing .hero-ring {
position: absolute;
border: 1px solid rgba(212,175,55,0.08);
border-radius: 50%;
animation: ringExpand 6s ease-in-out infinite;
pointer-events: none;
}
.page-landing .hero-ring:nth-child(1) { width: 108%; height: 108%; animation-delay: 0s; }
.page-landing .hero-ring:nth-child(2) { width: 122%; height: 122%; animation-delay: 2s; }
.page-landing .hero-ring:nth-child(3) { width: 136%; height: 136%; animation-delay: 4s; }
@keyframes ringExpand {
0%, 100% { opacity: 0.3; transform: scale(0.95); }
50%       { opacity: 0.8; transform: scale(1.05); }
}

.hvp-inner {
width: 100%;
border-radius: 14px;
border: 1px solid var(--border-gold);
background: #000;
overflow: hidden;
position: relative;
box-shadow: 0 0 60px -10px rgba(212,175,55,0.18);
}
.hvp-inner video {
display: block;
width: 100%;
aspect-ratio: 16/9;
object-fit: cover;
cursor: pointer;
}

/* Overlay (big play button shown before first play) */
.hvp-overlay {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(6,6,8,0.45);
transition: opacity 0.3s;
border-radius: 14px;
}
.hvp-overlay.hidden { opacity: 0; pointer-events: none; }
.hvp-big-play {
width: 72px;
height: 72px;
border-radius: 50%;
border: 2px solid var(--gold);
background: rgba(212,175,55,0.12);
backdrop-filter: blur(8px);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s;
color: var(--gold);
}
.hvp-big-play svg { width: 30px; height: 30px; margin-left: 4px; }
.hvp-big-play:hover {
background: var(--gold);
color: var(--bg-primary);
transform: scale(1.1);
box-shadow: 0 0 30px rgba(212,175,55,0.4);
}

/* Controls bar */
.hvp-controls {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 0.5rem 0.75rem 0.65rem;
background: linear-gradient(transparent, rgba(6,6,8,0.92));
border-radius: 0 0 14px 14px;
opacity: 0;
transform: translateY(4px);
transition: opacity 0.25s, transform 0.25s;
}
.hvp-inner:hover .hvp-controls,
.hvp-inner.playing .hvp-controls { opacity: 1; transform: translateY(0); }

/* Progress */
.hvp-progress-wrap {
position: relative;
height: 3px;
background: rgba(255,255,255,0.15);
border-radius: 3px;
cursor: pointer;
margin-bottom: 0.55rem;
transition: height 0.15s;
}
.hvp-progress-wrap:hover { height: 5px; }
.hvp-progress-bar {
height: 100%;
background: linear-gradient(to right, var(--gold-light), var(--gold));
border-radius: 3px;
width: 0%;
pointer-events: none;
transition: width 0.1s linear;
}
.hvp-progress-thumb {
position: absolute;
top: 50%;
left: 0%;
transform: translate(-50%, -50%) scale(0);
width: 12px;
height: 12px;
background: var(--gold);
border-radius: 50%;
pointer-events: none;
transition: transform 0.15s;
}
.hvp-progress-wrap:hover .hvp-progress-thumb { transform: translate(-50%,-50%) scale(1); }

/* Bottom row */
.hvp-bottom {
display: flex;
align-items: center;
gap: 0.6rem;
}
.hvp-right { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.hvp-btn {
background: none;
border: none;
color: var(--text-primary);
cursor: pointer;
padding: 2px;
display: flex;
align-items: center;
justify-content: center;
opacity: 0.85;
transition: opacity 0.2s, color 0.2s;
flex-shrink: 0;
}
.hvp-btn:hover { opacity: 1; color: var(--gold); }
.hvp-btn svg { width: 20px; height: 20px; display: block; }
.hvp-time {
font-family: var(--font-body);
font-size: 0.7rem;
font-weight: 500;
color: rgba(255,255,255,0.65);
letter-spacing: 0.03em;
white-space: nowrap;
min-width: 80px;
}
.hvp-volume {
-webkit-appearance: none;
appearance: none;
width: 68px;
height: 3px;
background: rgba(255,255,255,0.2);
border-radius: 3px;
outline: none;
cursor: pointer;
}
.hvp-volume::-webkit-slider-thumb {
-webkit-appearance: none;
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--gold);
cursor: pointer;
}
.hvp-fullscreen svg { width: 18px; height: 18px; }

/* ═══════════════════════════════════════════
   TICKER BAR
   ═══════════════════════════════════════════ */
.ticker-bar {
padding: 1rem 0;
border-top: 1px solid var(--border-subtle);
border-bottom: 1px solid var(--border-subtle);
background: var(--bg-elevated);
}
.ticker-inner {
display: flex;
justify-content: space-between;
align-items: center;
gap: 2rem;
flex-wrap: wrap;
}
.ticker-item {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.25rem 0;
}
.ticker-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--gold);
flex-shrink: 0;
}
.ticker-label {
font-size: 0.7rem;
font-weight: 600;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--text-muted);
}
.ticker-value {
font-family: var(--font-display);
font-weight: 600;
font-size: 0.95rem;
color: var(--text-primary);
}

/* ═══════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════ */
.about {
padding: 7rem 0;
}
.about-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 5rem;
align-items: center;
}
.about-logo-container {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.about-logo-img {
width: 100%;
max-width: 100%;
height: auto;
object-fit: contain;
border-radius: 12px;
}
.about-video-placeholder { display: none; }
.play-btn {
width: 72px;
height: 72px;
border-radius: 50%;
border: 2px solid var(--gold);
background: rgba(212,175,55,0.1);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s;
}
.play-btn:hover {
background: var(--gold);
transform: scale(1.1);
}
.play-btn::after {
content: '';
width: 0;
height: 0;
border-style: solid;
border-width: 10px 0 10px 18px;
border-color: transparent transparent transparent var(--gold);
margin-left: 4px;
}
.play-btn:hover::after { border-color: transparent transparent transparent var(--bg-primary); }

.about-features {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin-top: 2.5rem;
}
.about-feature {
padding: 1.25rem;
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 8px;
transition: all 0.3s;
}
.about-feature:hover {
border-color: var(--border-gold);
transform: translateY(-3px);
}
.about-feature-icon {
font-size: 1.5rem;
margin-bottom: 0.75rem;
}
.about-feature h4 {
font-family: var(--font-display);
font-size: 0.9rem;
font-weight: 600;
margin-bottom: 0.4rem;
}
.about-feature p {
font-size: 0.8rem;
color: var(--text-secondary);
font-weight: 300;
line-height: 1.6;
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════ */
.how-it-works {
padding: 7rem 0;
background: var(--bg-elevated);
border-top: 1px solid var(--border-subtle);
border-bottom: 1px solid var(--border-subtle);
}
.how-header { text-align: center; margin-bottom: 4rem; }
.how-header .section-subtitle { margin: 0 auto; }

.steps-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
position: relative;
}
/* Connector line */
.steps-grid::before {
content: '';
position: absolute;
top: 3.5rem;
left: calc(16.67% + 1rem);
right: calc(16.67% + 1rem);
height: 1px;
background: linear-gradient(to right, transparent, var(--gold), transparent);
z-index: 0;
}
.step-card {
text-align: center;
padding: 2.5rem 2rem;
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 12px;
position: relative;
z-index: 1;
transition: all 0.4s;
}
.step-card:hover {
border-color: var(--border-gold);
transform: translateY(-6px);
box-shadow: 0 20px 50px -10px rgba(212,175,55,0.15);
}
.step-number {
width: 56px;
height: 56px;
border-radius: 50%;
border: 2px solid var(--gold);
display: flex;
align-items: center;
justify-content: center;
font-family: var(--font-display);
font-weight: 700;
font-size: 1.2rem;
color: var(--gold);
margin: 0 auto 1.5rem;
background: var(--bg-card);
}
.step-card h3 {
font-family: var(--font-display);
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 0.75rem;
}
.step-card p {
font-size: 0.9rem;
color: var(--text-secondary);
font-weight: 300;
line-height: 1.7;
}

/* ═══════════════════════════════════════════
   GOLD BACKING SECTION
   ═══════════════════════════════════════════ */
.backing {
padding: 7rem 0;
position: relative;
overflow: clip;
}
/* ─── BACKGROUND IMAGE PLACEHOLDER ───
   Replace the url() below with your actual image path.
   Recommended: 1920×1080 px, dark-toned photo (vault, gold bars, etc.)
   Example: url('images/gold-vault-bg.jpg')
   ─────────────────────────────────── */
.backing-bg-image {
position: absolute;
inset: 0;
z-index: 0;
background: url('/images/bgblue.jpg') center center no-repeat;
background-size: cover;
background-attachment: fixed;
pointer-events: none;
}
.backing-bg-image::before { display: none; }
.backing-bg-image::after { display: none; }
/* Overlay disabled — background image now visible */
.backing-bg-overlay {
display: none;
}
.backing .container { position: relative; z-index: 2; }
.backing-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}
.backing-visual {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.backing-visual-label {
position: absolute;
top: 0.75rem;
left: 0.75rem;
font-family: var(--font-body);
font-size: 0.7rem;
font-weight: 600;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--gold);
background: rgba(6, 6, 8, 0.7);
padding: 0.3rem 0.75rem;
border-radius: 4px;
z-index: 1;
pointer-events: none;
}
.backing-visual-img {
width: 100%;
max-width: 100%;
height: auto;
object-fit: contain;
border-radius: 12px;
}
.backing-stats {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin-top: 2.5rem;
}
.backing-stat {
padding: 1.5rem;
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 8px;
}
.backing-stat-value {
font-family: var(--font-display);
font-weight: 700;
font-size: 1.6rem;
color: var(--gold);
margin-bottom: 0.25rem;
}
.backing-stat-label {
font-size: 0.75rem;
font-weight: 500;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════ */
.features {
padding: 7rem 0;
background: var(--bg-elevated);
border-top: 1px solid var(--border-subtle);
border-bottom: 1px solid var(--border-subtle);
}
.features-header { text-align: center; margin-bottom: 4rem; }
.features-header .section-subtitle { margin: 0 auto; }

.features-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
}
.feature-card {
padding: 2.5rem 2rem;
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 12px;
transition: all 0.4s;
position: relative;
overflow: hidden;
}
.feature-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(to right, transparent, var(--gold), transparent);
opacity: 0;
transition: opacity 0.4s;
}
.feature-card:hover {
border-color: var(--border-gold);
transform: translateY(-6px);
box-shadow: 0 20px 50px -10px rgba(212,175,55,0.12);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
width: 48px;
height: 48px;
border-radius: 10px;
background: rgba(212,175,55,0.08);
border: 1px solid var(--border-gold);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.3rem;
margin-bottom: 1.5rem;
}
.feature-card h3 {
font-family: var(--font-display);
font-size: 1.05rem;
font-weight: 600;
margin-bottom: 0.75rem;
}
.feature-card p {
font-size: 0.88rem;
color: var(--text-secondary);
font-weight: 300;
line-height: 1.7;
}

/* ═══════════════════════════════════════════
   SECURITY / TRUST
   ═══════════════════════════════════════════ */
.security {
padding: 7rem 0;
}
.security-header { text-align: center; margin-bottom: 4rem; }
.security-header .section-subtitle { margin: 0 auto; }

.security-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1.5rem;
}
.security-item {
text-align: center;
padding: 2rem 1.5rem;
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 12px;
transition: all 0.3s;
}
.security-item:hover {
border-color: var(--border-gold);
transform: translateY(-4px);
}
.security-icon {
width: 56px;
height: 56px;
border-radius: 50%;
background: rgba(212,175,55,0.08);
border: 1px solid var(--border-gold);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.4rem;
margin: 0 auto 1.25rem;
}
.security-item h4 {
font-family: var(--font-display);
font-size: 0.9rem;
font-weight: 600;
margin-bottom: 0.5rem;
}
.security-item p {
font-size: 0.8rem;
color: var(--text-secondary);
font-weight: 300;
line-height: 1.6;
}

/* ═══════════════════════════════════════════
   CONTRACT INFO BANNER
   ═══════════════════════════════════════════ */
.contract-banner {
padding: 4rem 0;
background: var(--bg-elevated);
border-top: 1px solid var(--border-subtle);
border-bottom: 1px solid var(--border-subtle);
}
.contract-banner-inner {
text-align: center;
}
.contract-address-display {
display: inline-flex;
align-items: center;
gap: 1rem;
padding: 1rem 2rem;
background: var(--bg-card);
border: 1px solid var(--border-gold);
border-radius: 8px;
margin-top: 1.5rem;
}
.contract-addr {
font-family: 'Courier New', monospace;
font-size: 0.85rem;
color: var(--gold);
word-break: break-all;
}
.copy-btn {
padding: 0.4rem 0.8rem;
background: rgba(212,175,55,0.1);
border: 1px solid var(--border-gold);
border-radius: 4px;
color: var(--gold);
font-size: 0.72rem;
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
cursor: pointer;
transition: all 0.3s;
flex-shrink: 0;
}
.copy-btn:hover {
background: var(--gold);
color: var(--bg-primary);
}

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.faq {
padding: 7rem 0;
}
.faq-header { text-align: center; margin-bottom: 4rem; }
.faq-header .section-subtitle { margin: 0 auto; }

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
border-bottom: 1px solid var(--border-subtle);
}
.faq-question {
width: 100%;
text-align: left;
padding: 1.5rem 0;
background: none;
border: none;
color: var(--text-primary);
font-family: var(--font-display);
font-size: 1rem;
font-weight: 500;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
transition: color 0.3s;
}
.faq-question:hover { color: var(--gold); }
.faq-toggle {
width: 28px;
height: 28px;
border-radius: 50%;
border: 1px solid var(--border-gold);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
color: var(--gold);
flex-shrink: 0;
transition: all 0.3s;
}
.faq-item.active .faq-toggle {
background: var(--gold);
color: var(--bg-primary);
transform: rotate(45deg);
}
.faq-answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
max-height: 200px;
padding-bottom: 1.5rem;
}
.faq-answer p {
font-size: 0.9rem;
color: var(--text-secondary);
font-weight: 300;
line-height: 1.8;
}

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.cta-section {
padding: 7rem 0;
background: var(--bg-elevated);
border-top: 1px solid var(--border-subtle);
text-align: center;
position: relative;
overflow: hidden;
}
.cta-section::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 600px;
height: 600px;
border-radius: 50%;
background: radial-gradient(circle, rgba(212,175,55,0.06), transparent 70%);
pointer-events: none;
}
.cta-section .section-title { margin-bottom: 1rem; }
.cta-section .section-subtitle {
margin: 0 auto 2.5rem;
}
.cta-actions { display: flex; justify-content: center; gap: 1rem; }

/* ═══════════════════════════════════════════
   NEWSLETTER (Landing Page)
   ═══════════════════════════════════════════ */
.newsletter-section {
padding: 5rem 0;
background: var(--bg-card);
border-top: 1px solid var(--border-subtle);
border-bottom: 1px solid var(--border-subtle);
position: relative;
overflow: hidden;
}
.newsletter-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(ellipse at 30% 50%, rgba(212,175,55,0.04), transparent 60%);
pointer-events: none;
}
.newsletter-inner {
display: grid;
grid-template-columns: 1fr 1.2fr;
gap: 4rem;
align-items: center;
}
.newsletter-form-wrap {
position: relative;
}
.newsletter-form {
display: flex;
flex-direction: column;
gap: 1.25rem;
}
.newsletter-fields {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}
.newsletter-field-email {
grid-column: 1 / -1;
}
.newsletter-field label {
display: block;
font-family: var(--font-body);
font-size: 0.7rem;
font-weight: 600;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(--text-secondary);
margin-bottom: 0.4rem;
}
.newsletter-field input {
width: 100%;
padding: 0.85rem 1rem;
font-family: var(--font-body);
font-size: 0.9rem;
color: var(--text-primary);
background: var(--bg-primary);
border: 1px solid var(--border-subtle);
border-radius: 2px;
outline: none;
transition: border-color 0.3s, box-shadow 0.3s;
}
.newsletter-field input::placeholder {
color: var(--text-muted);
}
.newsletter-field input:focus {
border-color: var(--gold);
box-shadow: 0 0 0 2px rgba(212,175,55,0.1);
}
.newsletter-submit {
align-self: flex-start;
margin-top: 0.25rem;
}
.newsletter-disclaimer {
font-size: 0.72rem;
color: var(--text-muted);
font-weight: 300;
line-height: 1.5;
}

/* ═══════════════════════════════════════════
   NEWSLETTER BANNER (Resources / Inner Pages)
   ═══════════════════════════════════════════ */
.newsletter-banner {
padding: 2.5rem 20px;
background: linear-gradient(135deg, #0D0D12 0%, #12121a 100%);
border-top: 1px solid rgba(212,175,55,0.15);
border-bottom: 1px solid rgba(212,175,55,0.15);
}
.newsletter-banner-inner {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
gap: 2.5rem;
flex-wrap: wrap;
}
.newsletter-banner-text h3 {
font-family: 'Cinzel', serif;
font-size: 1.15rem;
font-weight: 600;
color: #F0EDE6;
margin-bottom: 0.25rem;
}
.newsletter-banner-text p {
font-family: 'Raleway', sans-serif;
font-size: 0.82rem;
color: #9B978E;
font-weight: 300;
}
.newsletter-banner-form {
display: flex;
gap: 0.6rem;
flex: 1;
min-width: 0;
flex-wrap: wrap;
position: relative;
}
.newsletter-banner-form input {
flex: 1;
min-width: 140px;
padding: 0.7rem 1rem;
font-family: 'Raleway', sans-serif;
font-size: 0.85rem;
color: #F0EDE6;
background: rgba(6,6,8,0.8);
border: 1px solid rgba(212,175,55,0.15);
border-radius: 2px;
outline: none;
transition: border-color 0.3s;
}
.newsletter-banner-form input::placeholder { color: #5E5B54; }
.newsletter-banner-form input:focus {
border-color: #D4AF37;
box-shadow: 0 0 0 2px rgba(212,175,55,0.1);
}
.newsletter-banner-form button {
padding: 0.7rem 1.5rem;
font-family: 'Raleway', sans-serif;
font-weight: 600;
font-size: 0.8rem;
letter-spacing: 0.08em;
text-transform: uppercase;
background: linear-gradient(135deg, #D4AF37, #996515);
color: #060608;
border: none;
border-radius: 2px;
cursor: pointer;
transition: all 0.3s;
white-space: nowrap;
}
.newsletter-banner-form button:hover {
transform: translateY(-2px);
box-shadow: 0 8px 30px rgba(212,175,55,0.3);
}

/* ═══════════════════════════════════════════
   NEWSLETTER CONFIRMATION MESSAGES
   ═══════════════════════════════════════════ */
.mc-response {
text-align: center;
padding: 2rem;
border-radius: 2px;
animation: mcFadeIn 0.4s ease;
}
@keyframes mcFadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.mc-response.mc-success {
background: rgba(0, 217, 126, 0.08);
border: 1px solid rgba(0, 217, 126, 0.25);
}
.mc-response.mc-error {
background: rgba(230, 55, 87, 0.08);
border: 1px solid rgba(230, 55, 87, 0.25);
padding: 1rem 1.5rem;
}
.mc-response.mc-error p {
color: #e63757;
font-family: 'Raleway', sans-serif;
font-size: 0.85rem;
margin: 0;
}
.mc-response-icon {
font-size: 2.5rem;
display: block;
margin-bottom: 0.75rem;
color: #00d97e;
}
.mc-response-title {
font-family: 'Cinzel', serif;
font-size: 1.25rem;
font-weight: 600;
color: #F0EDE6;
margin: 0 0 0.4rem;
}
.mc-response-text {
font-family: 'Raleway', sans-serif;
font-size: 0.85rem;
color: #9B978E;
margin: 0;
font-weight: 300;
}
/* Inline variant for banner forms */
.mc-response-inline {
text-align: left;
padding: 0.75rem 1rem;
font-family: 'Raleway', sans-serif;
font-size: 0.85rem;
flex: 1 1 100%;
margin-top: 0.25rem;
}
.mc-response-inline.mc-success {
color: #00d97e;
}
.mc-response-inline.mc-error {
color: #e63757;
}
.mc-response-icon-sm {
display: inline-block;
font-size: 1rem;
margin-right: 0.4rem;
vertical-align: middle;
}

/* ═══════════════════════════════════════════
   NEWSLETTER RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .newsletter-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .newsletter-fields {
        grid-template-columns: 1fr;
    }
    .newsletter-submit {
        align-self: stretch;
    }
    .newsletter-banner-inner {
        flex-direction: column;
        text-align: center;
    }
    .newsletter-banner-form {
        flex-direction: column;
        width: 100%;
    }
    .newsletter-banner-form input {
        min-width: 100%;
    }
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.page-landing footer.landing-footer {
padding: 4rem 0 2rem;
border-top: 1px solid var(--border-subtle);
}
.page-landing .footer-grid {
display: grid;
grid-template-columns: 2fr 1fr 1fr 1fr;
gap: 3rem;
margin-bottom: 3rem;
}
.footer-brand .nav-logo { font-size: 1.1rem; display: block; margin-bottom: 1rem; }
.footer-brand p {
font-size: 0.85rem;
color: var(--text-muted);
font-weight: 300;
line-height: 1.7;
max-width: 300px;
}
.footer-col h4 {
font-family: var(--font-display);
font-size: 0.8rem;
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--text-primary);
margin-bottom: 1.25rem;
}
.footer-col a {
display: block;
font-size: 0.85rem;
color: var(--text-muted);
text-decoration: none;
margin-bottom: 0.6rem;
transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }
.page-landing .footer-bottom {
padding-top: 2rem;
border-top: 1px solid var(--border-subtle);
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}
.page-landing .footer-bottom p {
font-size: 0.75rem;
color: var(--text-muted);
}
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a {
width: 36px;
height: 36px;
border-radius: 50%;
border: 1px solid var(--border-subtle);
display: flex;
align-items: center;
justify-content: center;
color: var(--text-muted);
font-size: 0.8rem;
text-decoration: none;
transition: all 0.3s;
}
.footer-socials a:hover {
border-color: var(--gold);
color: var(--gold);
}

/* ═══════════════════════════════════════════
   ANIMATIONS (INTERSECTION OBSERVER)
   ═══════════════════════════════════════════ */
.reveal {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
opacity: 1;
transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
.page-landing .hero-content { grid-template-columns: 1fr; }
.page-landing .hero-visual { max-width: 520px; margin: 0 auto; }
.about-grid { grid-template-columns: 1fr; }
.backing-grid { grid-template-columns: 1fr; }
.features-grid { grid-template-columns: repeat(2, 1fr); }
.security-grid { grid-template-columns: repeat(2, 1fr); }
.page-landing .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
.page-landing .nav-links { display: none; }
.nav-toggle { display: block; }
.page-landing .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6,6,8,0.98);
    padding: 2rem;
    border-bottom: 1px solid var(--border-subtle);
    gap: 1.5rem;
}

.page-landing .hero { min-height: auto; padding: 7rem 0 4rem; }
.page-landing .hero-actions { flex-direction: column; }
.page-landing .hero-trust { flex-wrap: wrap; gap: 1.5rem; }

.steps-grid { grid-template-columns: 1fr; }
.steps-grid::before { display: none; }

.features-grid { grid-template-columns: 1fr; }
.security-grid { grid-template-columns: 1fr; }
.about-features { grid-template-columns: 1fr; }
.backing-stats { grid-template-columns: 1fr; }
.page-landing .footer-grid { grid-template-columns: 1fr; }

.ticker-inner { justify-content: center; }
.contract-address-display { flex-direction: column; text-align: center; }
.cta-actions { flex-direction: column; align-items: center; }
}
/* ═══════════════════════════════════════════
   PARALLAX DIVIDER
   ═══════════════════════════════════════════ */
.parallax-divider {
width: 100%;
height: 400px;
background-attachment: fixed;
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
position: relative;
z-index: 1;
}
.parallax-partnership {
background-image: url('/images/partnership.jpg');
}

/* ═══════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════ */
.lightbox-overlay {
position: fixed;
inset: 0;
z-index: 9999;
background: rgba(0, 0, 0, 0.92);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s, visibility 0.3s;
cursor: pointer;
}
.lightbox-overlay.active {
opacity: 1;
visibility: visible;
}
.lightbox-img {
max-width: 90vw;
max-height: 85vh;
object-fit: contain;
border-radius: 8px;
box-shadow: 0 0 60px rgba(212, 175, 55, 0.2);
transform: scale(0.9);
transition: transform 0.3s;
cursor: default;
}
.lightbox-overlay.active .lightbox-img {
transform: scale(1);
}
.lightbox-close {
position: absolute;
top: 1.5rem;
right: 1.5rem;
width: 48px;
height: 48px;
border: 1px solid rgba(255, 255, 255, 0.25);
border-radius: 50%;
background: rgba(0, 0, 0, 0.6);
color: #fff;
font-size: 1.8rem;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s;
z-index: 10000;
}
.lightbox-close:hover {
background: var(--gold);
color: var(--bg-primary);
border-color: var(--gold);
}



/* Scroll-down indicator arrow */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    animation: scrollBounce 2s ease-in-out infinite;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.scroll-indicator:hover {
    opacity: 1;
}
.scroll-indicator span {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    font-family: var(--font-body);
}
.scroll-indicator svg {
    width: 28px;
    height: 28px;
    color: var(--gold);
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Services Portal button */
.btn-portal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-portal:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}
.btn-portal svg {
    width: 16px;
    height: 16px;
}

/* Hide How It Works section */
.page-landing .how-it-works {
    display: none !important;
}
