/* ============================================================
   MGA — MECGURA TOKEN | Premium Web3 Design System
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0d0d14;
    --bg-tertiary: #12121c;
    --bg-card: rgba(18, 18, 30, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-border: rgba(255, 255, 255, 0.06);

    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b5;
    --text-muted: #6a6a80;

    --gold: #d4a843;
    --gold-light: #f0d078;
    --gold-dark: #b8922e;
    --gold-glow: rgba(212, 168, 67, 0.15);

    --cyan: #4ecdc4;
    --cyan-glow: rgba(78, 205, 196, 0.12);
    --blue: #3b82f6;

    --silver: #c0c0d0;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-gold: rgba(212, 168, 67, 0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-glow: 0 0 60px rgba(212, 168, 67, 0.05);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --transition-fast: 0.2s ease;
    --transition-med: 0.35s ease;
    --transition-slow: 0.5s ease;

    --nav-height: 72px;
    --container-max: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
::selection {
    background: var(--gold);
    color: var(--bg-primary);
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold-light);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Glass Card --- */
.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-med);
    text-decoration: none;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--bg-primary);
    box-shadow: 0 4px 24px rgba(212, 168, 67, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

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

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--bg-primary);
    box-shadow: 0 4px 24px rgba(212, 168, 67, 0.3);
    transform: translateY(-2px);
}

/* --- Official Banner --- */
.official-banner {
    background: linear-gradient(90deg, rgba(212, 168, 67, 0.1), rgba(212, 168, 67, 0.05));
    border-bottom: 1px solid var(--border-gold);
    padding: 10px 0;
    font-size: 0.82rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1001;
}

.official-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.official-banner a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.banner-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 4px;
    line-height: 1;
    transition: color var(--transition-fast);
}

.banner-close:hover {
    color: var(--text-primary);
}

/* ============================================================
   LIVE CRYPTO MARKET TICKER
   ============================================================ */

.crypto-ticker {
    position: relative;
    background: rgba(10, 10, 15, 0.95);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
    height: 38px;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: tickerScroll 40s linear infinite;
    will-change: transform;
}

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

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.ticker-item.placeholder {
    color: var(--text-muted);
    font-style: italic;
    padding: 0 40px;
}

.ticker-item.highlight {
    color: var(--gold);
    font-weight: 700;
}

.ticker-item.highlight .ticker-price {
    color: var(--gold-light);
}

.ticker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-subtle);
    flex-shrink: 0;
}

.ticker-item.highlight .ticker-dot {
    background: var(--gold);
    box-shadow: 0 0 6px rgba(212, 168, 67, 0.5);
    animation: tickerPulse 2s ease-in-out infinite;
}

@keyframes tickerPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.ticker-symbol {
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.ticker-item.highlight .ticker-symbol {
    color: var(--gold);
}

.ticker-price {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text-primary);
}

.ticker-change {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.72rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.ticker-change.positive {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.ticker-change.negative {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.ticker-fade-left,
.ticker-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    pointer-events: none;
    z-index: 2;
}

.ticker-fade-left {
    left: 0;
    background: linear-gradient(90deg, rgba(10, 10, 15, 0.95), transparent);
}

.ticker-fade-right {
    right: 0;
    background: linear-gradient(270deg, rgba(10, 10, 15, 0.95), transparent);
}

/* --- Navigation --- */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background var(--transition-med), box-shadow var(--transition-med);
    height: var(--nav-height);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-img {
    height: 36px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
    color: var(--gold);
}

.nav-cta {
    margin-left: 8px;
}

.nav-cta .btn {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

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

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

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

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 80px;
    overflow: hidden;
}

.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gold);
    border: 1px solid var(--border-gold);
    background: rgba(212, 168, 67, 0.06);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 400;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-notice {
    background: rgba(212, 168, 67, 0.06);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    font-size: 0.88rem;
    color: var(--gold);
    margin-bottom: 24px;
}

/* Token Info Card */
.token-info-card {
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.token-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.token-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.token-info-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.token-info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

/* --- Section Base --- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gold);
    border: 1px solid var(--border-gold);
    background: rgba(212, 168, 67, 0.06);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- About Section --- */
.about-section {
    background: var(--bg-secondary);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.about-main {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-main > p {
    color: var(--text-muted);
    line-height: 1.8;
}

.about-phases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-phase {
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-glass-border);
    background: var(--bg-glass);
    transition: all var(--transition-med);
}

.about-phase:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
}

.phase-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.current-badge {
    background: rgba(78, 205, 196, 0.12);
    color: var(--cyan);
    border: 1px solid rgba(78, 205, 196, 0.2);
}

.planned-badge {
    background: rgba(212, 168, 67, 0.12);
    color: var(--gold);
    border: 1px solid var(--border-gold);
}

.future-badge {
    background: rgba(59, 130, 246, 0.12);
    color: var(--blue);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.about-phase h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-phase ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-phase li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 18px;
    position: relative;
}

.about-phase li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

/* --- Tokenomics Section --- */
.tokenomics-section {
    background: var(--bg-primary);
}

.supply-visual {
    text-align: center;
    margin-bottom: 60px;
}

.supply-circles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.supply-circle {
    position: relative;
    width: 220px;
    height: 220px;
    flex-shrink: 0;
}

.supply-ring {
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

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

.supply-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.supply-amount {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gold);
}

.supply-symbol {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.supply-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Burn Visual */
.burn-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.burn-card {
    padding: 28px 32px;
    text-align: center;
    border-color: rgba(239, 68, 68, 0.15) !important;
    background: rgba(239, 68, 68, 0.04) !important;
    position: relative;
    overflow: hidden;
}

.burn-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ef4444, transparent);
}

.burn-icon {
    color: #ef4444;
    margin-bottom: 12px;
}

.burn-icon svg {
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.4));
}

.burn-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.burn-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ef4444;
    text-transform: uppercase;
}

.burn-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.burn-percent {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.burn-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.circulating-card {
    padding: 20px 28px;
    text-align: center;
    border-color: rgba(78, 205, 196, 0.15) !important;
    background: rgba(78, 205, 196, 0.04) !important;
}

.circulating-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--cyan);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.circulating-amount {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.circulating-note {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Burn Trust Banner */
.burn-trust-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    margin-bottom: 40px;
    border-color: rgba(34, 197, 94, 0.15) !important;
    background: rgba(34, 197, 94, 0.03) !important;
}

.burn-trust-icon {
    color: #22c55e;
    flex-shrink: 0;
}

.burn-trust-content {
    flex: 1;
}

.burn-trust-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.burn-trust-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.82rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Token Detail Cards - Burned & Circulating */
.card-burned {
    border-color: rgba(239, 68, 68, 0.15) !important;
}

.card-circulating {
    border-color: rgba(78, 205, 196, 0.15) !important;
}

.burn-text {
    color: #ef4444 !important;
}

.circulating-text {
    color: var(--cyan) !important;
}

/* Allocation - Burned Card */
.burn-icon-bg {
    background: rgba(239, 68, 68, 0.08) !important;
    color: #ef4444 !important;
}

.burn-percent-text {
    color: #ef4444 !important;
    font-style: normal !important;
    font-weight: 600 !important;
}

.allocation-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 0.68rem;
    font-weight: 600;
}

.allocation-status.verified {
    color: #22c55e;
}

.token-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 60px;
}

.token-detail-card {
    padding: 24px;
    text-align: center;
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.detail-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.allocation-heading {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.allocation-notice {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gold);
    background: rgba(212, 168, 67, 0.06);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 12px 24px;
    margin-bottom: 40px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.allocation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.allocation-card {
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition-med);
}

.allocation-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
}

.allocation-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(212, 168, 67, 0.08);
    color: var(--gold);
}

.allocation-icon svg {
    width: 24px;
    height: 24px;
}

.allocation-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.allocation-percent {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* --- Utility Section --- */
.utility-section {
    background: var(--bg-secondary);
}

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

.utility-card {
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-med);
}

.utility-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
}

.utility-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: rgba(212, 168, 67, 0.12);
    color: var(--gold);
    border: 1px solid var(--border-gold);
}

.utility-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.1), rgba(78, 205, 196, 0.05));
    color: var(--gold);
    margin-bottom: 20px;
}

.utility-icon svg {
    width: 28px;
    height: 28px;
}

.utility-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.utility-type {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 12px;
}

.utility-card > p:last-child {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Roadmap Section --- */
.roadmap-section {
    background: var(--bg-primary);
}

.roadmap-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.roadmap-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--border-gold), transparent);
    transform: translateX(-50%);
}

.roadmap-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 48px;
    width: 50%;
}

.roadmap-item:nth-child(odd) {
    padding-right: 60px;
    text-align: right;
}

.roadmap-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 60px;
}

.roadmap-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--gold);
    border-radius: 50%;
    top: 24px;
    box-shadow: 0 0 12px rgba(212, 168, 67, 0.4);
    z-index: 2;
}

.roadmap-item:nth-child(odd) .roadmap-dot {
    right: -8px;
}

.roadmap-item:nth-child(even) .roadmap-dot {
    left: -8px;
}

.roadmap-card {
    padding: 28px;
    transition: all var(--transition-med);
}

.roadmap-card:hover {
    border-color: var(--border-gold);
}

.roadmap-phase {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 8px;
    display: block;
}

.roadmap-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.roadmap-card ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.roadmap-card li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
}

.roadmap-item:nth-child(odd) .roadmap-card li {
    padding-left: 0;
    padding-right: 16px;
}

.roadmap-item:nth-child(odd) .roadmap-card li::after {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}

.roadmap-item:nth-child(even) .roadmap-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}

.roadmap-disclaimer {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 40px auto 0;
    padding: 20px;
    border-top: 1px solid var(--border-subtle);
    line-height: 1.7;
}

/* --- Contract Section --- */
.contract-section {
    background: var(--bg-secondary);
}

.contract-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
}

.contract-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-subtle);
    gap: 16px;
}

.contract-row:last-of-type {
    border-bottom: none;
}

.contract-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.contract-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
    word-break: break-all;
    font-family: var(--font-mono);
}

.contract-value-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: flex-end;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-gold);
    background: rgba(212, 168, 67, 0.08);
    color: var(--gold);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    white-space: nowrap;
    font-family: var(--font-main);
}

.copy-btn svg {
    width: 14px;
    height: 14px;
}

.copy-btn:hover {
    background: rgba(212, 168, 67, 0.15);
}

.copy-btn.copied {
    background: rgba(78, 205, 196, 0.12);
    border-color: rgba(78, 205, 196, 0.3);
    color: var(--cyan);
}

.contract-actions {
    text-align: center;
    padding: 24px 0;
}

.contract-verify-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: rgba(212, 168, 67, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    margin-top: 24px;
}

.contract-verify-notice svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.contract-verify-notice p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.copy-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 700px;
    margin: 16px auto 0;
    padding: 12px;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: var(--radius-md);
    color: var(--cyan);
    font-size: 0.85rem;
    font-weight: 500;
}

/* --- Buy Section --- */
.buy-section {
    background: var(--bg-primary);
}

.buy-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.buy-step {
    padding: 32px 24px;
    position: relative;
    transition: all var(--transition-med);
}

.buy-step:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
}

.step-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: 16px;
    font-family: var(--font-mono);
}

.buy-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.buy-step p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.buy-contract-box {
    max-width: 700px;
    margin: 0 auto 32px;
    padding: 24px;
    text-align: center;
}

.contract-box-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.contract-box-address {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    word-break: break-all;
    margin-bottom: 16px;
}

.buy-warning {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: rgba(220, 50, 50, 0.06);
    border: 1px solid rgba(220, 50, 50, 0.15);
    border-radius: var(--radius-md);
}

.buy-warning svg {
    color: #dc3232;
    flex-shrink: 0;
    margin-top: 2px;
}

.buy-warning p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Buy Inactive */
.buy-inactive {
    max-width: 600px;
    margin: 0 auto;
}

.buy-notice {
    padding: 60px 40px;
    text-align: center;
}

.notice-icon {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.notice-icon svg {
    margin: 0 auto;
}

.buy-notice h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.buy-notice p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- FAQ Section --- */
.faq-section {
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
    transition: border-color var(--transition-med);
}

.faq-item:hover,
.faq-item.active {
    border-color: var(--border-gold);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--gold);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform var(--transition-med);
    flex-shrink: 0;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-med), padding var(--transition-med);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 28px 22px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- Transparency Section --- */
.transparency-section {
    background: var(--bg-primary);
}

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

.transparency-card {
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-med);
}

.transparency-card:hover {
    border-color: rgba(220, 50, 50, 0.2);
    transform: translateY(-2px);
}

.transparency-card svg {
    color: rgba(220, 50, 50, 0.6);
    margin-bottom: 16px;
}

.transparency-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.transparency-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Links Section --- */
.links-section {
    background: var(--bg-secondary);
}

.official-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.official-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 20px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all var(--transition-med);
}

.official-link:hover {
    border-color: var(--border-gold);
    color: var(--gold);
    transform: translateY(-4px);
}

.official-link svg {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.official-link:hover svg {
    color: var(--gold);
}

.official-link span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* --- Security Section --- */
.security-section {
    padding: 60px 0;
    background: var(--bg-primary);
}

.security-banner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 36px 40px;
    border-color: var(--border-gold);
    background: rgba(212, 168, 67, 0.04);
}

.security-icon {
    color: var(--gold);
    flex-shrink: 0;
}

.security-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.security-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 12px;
}

.footer-brand h3 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-nav h4,
.footer-official h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-nav ul,
.footer-official ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a,
.footer-official a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-nav a:hover,
.footer-official a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.footer-copyright {
    font-size: 0.78rem;
    color: var(--text-muted);
}

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

/* Tablet */
@media (max-width: 1024px) {
    .about-phases {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .token-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .utility-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .buy-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .transparency-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .official-banner .container {
        font-size: 0.75rem;
    }

    .crypto-ticker {
        height: 34px;
    }

    .ticker-item {
        padding: 0 16px;
        font-size: 0.72rem;
    }

    /* Mobile Nav */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 86px 24px 40px;
        gap: 4px;
        transition: right var(--transition-med);
        border-left: 1px solid var(--border-subtle);
        overflow-y: auto;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        width: 100%;
    }

    .nav-cta .btn {
        width: 100%;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-med);
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    /* Hero */
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .token-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Sections */
    .section {
        padding: 70px 0;
    }

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

    /* About */
    .about-phases {
        grid-template-columns: 1fr;
    }

    /* Tokenomics */
    .token-details-grid {
        grid-template-columns: 1fr;
    }

    .allocation-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Utility */
    .utility-grid {
        grid-template-columns: 1fr;
    }

    /* Roadmap - Vertical */
    .roadmap-line {
        left: 16px;
    }

    .roadmap-item {
        width: 100%;
        padding-left: 50px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .roadmap-item:nth-child(even) {
        margin-left: 0;
    }

    .roadmap-dot {
        left: 8px !important;
        right: auto !important;
    }

    .roadmap-card li {
        padding-left: 16px !important;
        padding-right: 0 !important;
    }

    .roadmap-card li::after {
        display: none !important;
    }

    .roadmap-card li::before {
        display: block !important;
    }

    /* Buy */
    .buy-steps {
        grid-template-columns: 1fr;
    }

    .contract-card {
        padding: 24px;
    }

    .contract-row {
        flex-direction: column;
        gap: 6px;
    }

    .contract-value {
        text-align: left;
    }

    .contract-value-wrap {
        justify-content: flex-start;
    }

    /* FAQ */
    .faq-question {
        padding: 18px 20px;
        font-size: 0.92rem;
    }

    .faq-answer p {
        padding: 0 20px 18px;
    }

    /* Transparency */
    .transparency-grid {
        grid-template-columns: 1fr;
    }

    /* Links */
    .official-links-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Security */
    .security-banner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 32px 24px;
    }

    /* Blockchain Visual */
    .blockchain-visual-section {
        height: 300px;
    }

    .blockchain-stats {
        gap: 32px;
        padding: 20px 28px;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    /* Buy */
    .razorpay-buy-card {
        padding: 28px;
    }

    .preset-amounts {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Burn Visual - Mobile */
    .supply-circles {
        flex-direction: column;
        gap: 24px;
    }

    .burn-trust-banner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .token-info-grid {
        grid-template-columns: 1fr;
    }

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

    .official-links-grid {
        grid-template-columns: 1fr;
    }

    .buy-notice {
        padding: 40px 24px;
    }

    .blockchain-stats {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

    .blockchain-visual-section {
        height: 400px;
    }

    .razorpay-buy-card {
        padding: 24px;
    }

    .buy-card-header {
        flex-direction: column;
    }

    .buy-card-rate {
        text-align: left;
    }

    .preset-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   BLOCKCHAIN 3D VISUAL
   ============================================================ */

.blockchain-visual-section {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(10, 10, 20, 1) 50%, var(--bg-secondary) 100%);
}

.blockchain-visual-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.blockchain-visual-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transition: transform 0.1s ease-out;
}

.blockchain-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.blockchain-stats {
    display: flex;
    gap: 60px;
    padding: 28px 48px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 168, 67, 0.15);
    border-radius: var(--radius-xl);
}

.blockchain-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-mono);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   RAZORPAY BUY CARD
   ============================================================ */

.razorpay-buy-card {
    max-width: 560px;
    margin: 0 auto 48px;
    padding: 40px;
    transition: transform 0.15s ease-out, box-shadow var(--transition-med);
    transform-style: preserve-3d;
}

.razorpay-buy-card:hover {
    box-shadow: 0 8px 40px rgba(212, 168, 67, 0.08);
}

.buy-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
    gap: 16px;
}

.buy-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
}

.buy-card-title h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.buy-card-rate {
    text-align: right;
}

.rate-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.rate-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold);
    font-family: var(--font-mono);
}

.buy-input-group {
    margin-bottom: 20px;
}

.buy-input-group label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.buy-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.buy-input-wrap:focus-within {
    border-color: var(--gold);
}

.buy-input {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-mono);
    outline: none;
    min-width: 0;
}

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

.buy-input-symbol {
    padding: 16px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    background: rgba(212, 168, 67, 0.06);
    border-left: 1px solid var(--border-subtle);
}

.buy-input.wallet-input {
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    padding: 14px 16px;
}

.wallet-input-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.4;
}

.preset-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.preset-btn {
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.preset-btn:hover {
    background: rgba(212, 168, 67, 0.08);
    border-color: var(--border-gold);
    color: var(--gold);
}

.buy-summary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.summary-row.highlight {
    border-top: 1px solid var(--border-subtle);
    margin-top: 8px;
    padding-top: 12px;
}

.summary-value {
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.mga-receive {
    color: var(--gold) !important;
    font-size: 1rem;
}

.btn-pay {
    width: 100%;
    padding: 18px 32px;
    font-size: 1rem;
}

.btn-pay.btn-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.buy-powered {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 16px;
}

.buy-powered strong {
    color: var(--text-secondary);
}

.buy-contract-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
}

.contract-inline-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.contract-inline-address {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    word-break: break-all;
}

.copy-btn-sm {
    padding: 4px 10px;
    font-size: 0.7rem;
}

/* ============================================================
   MODALS
   ============================================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-med);
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    max-width: 440px;
    width: 100%;
    padding: 40px;
    text-align: center;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-med);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-icon {
    margin-bottom: 20px;
}

.modal-icon.success {
    color: #22c55e;
}

.modal-icon.warning {
    color: var(--gold);
}

.modal h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.modal-txn {
    font-size: 0.82rem !important;
}

.modal-txn code {
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--gold);
}

.modal-note {
    font-size: 0.82rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 24px !important;
}

.modal .btn {
    margin-top: 12px;
}

.modal.error .modal-icon {
    color: #dc3232;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 67, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 168, 67, 0.35);
}
