:root {
    --bg-dark: #ffffff;
    --bg-card: #020617; /* Dark Blue for Modules */
    --bg-card-hover: #0f172a;
    --text-main: #ffffff; /* White text for inside modules */
    --text-muted: #94a3b8;
    --primary: #d4af37; /* Luxury Gold */
    --primary-hover: #b5952f;
    --accent: #000000;
    --success: #10b981;
    --danger: #ef4444;
    --border: rgba(255, 255, 255, 0.1);
    --gradient-main: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --glow: 0 0 40px rgba(212, 175, 55, 0.1);
}

/* Smooth Scrolling */
html { scroll-behavior: smooth; }

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.6); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-dark);
    color: #0f172a; /* Dark text for the white page background */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.bg-glow {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 15% 50%, rgba(0, 0, 0, 0.03), transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(212, 175, 55, 0.15), transparent 40%);
    z-index: -1;
    pointer-events: none;
}

.bg-grid {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

a:active {
    transform: scale(0.98);
}

ul { list-style: none; }

/* Utilities */
.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.text-center { text-align: center; }
.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}
.section-padding { padding: 80px 0; }
.section-subtitle { color: var(--primary); font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 10px; }

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideInDown 0.6s ease-out;
}
.nav-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: nowrap; }
.logo { font-size: 1.5rem; font-weight: 700; color: #0f172a; display: flex; align-items: center; gap: 10px; }
.logo i { color: var(--primary); }
.logo img {
    height: 50px !important;
    width: auto;
}
.nav-links { display: flex; align-items: center; }
.nav-links a { margin-left: 25px; color: #0f172a; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: #0f172a; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 1rem;
    letter-spacing: 0.5px;
    display: inline-flex; 
    align-items: center; 
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: scale(0.98);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}
.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #b5952f 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4); }
.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(212, 175, 55, 0.05); }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}
.hero-text { 
    text-align: left;
    animation: fadeInLeft 0.8s ease-out;
}

.hero-text h1 {
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero-text p {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-btns {
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.badge-wrapper { 
    margin-bottom: 25px;
    animation: slideInDown 0.6s ease-out;
}
.badge-new {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.badge-new:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.hero p {
    font-size: 1.3rem;
    color: #0f172a;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
}
.hero-btns { display: flex; gap: 20px; margin-bottom: 50px; }
.trust-row {
    display: flex;
    gap: 30px;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 600;
}
.trust-row span { display: flex; align-items: center; gap: 8px; }
.trust-row i { color: #0f172a; }

/* Hero Visual (Floating Card) */
.hero-visual { 
    position: relative; 
    display: flex; 
    justify-content: center;
    animation: fadeInRight 0.8s ease-out;
}
.floating-card {
    position: relative;
    width: 320px;
    height: 400px;
    animation: float 6s ease-in-out infinite, scaleIn 0.8s ease-out 0.2s backwards;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}
.coin-icon {
    font-size: 180px;
    color: var(--primary);
    position: absolute;
    top: -40px;
    right: -40px;
    opacity: 0.2;
    z-index: 0;
}
.card-glass {
    background: var(--gradient-main);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 1;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card-glass:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
}
.card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shimmer 6s infinite;
    pointer-events: none;
}
@keyframes shimmer {
    0% { left: -150%; }
    20% { left: 150%; }
    100% { left: 150%; }
}
.glass-header { display: flex; justify-content: space-between; color: rgba(0, 0, 0, 0.7); }
.glass-balance { font-size: 2.5rem; font-weight: 700; color: #000000; margin: 20px 0; }
.glass-footer { display: flex; justify-content: space-between; align-items: center; color: rgba(0, 0, 0, 0.7); font-family: monospace; }

/* Wallet Style Badge */
.wallet-badge {
    background: rgba(0, 0, 0, 0.1);
    padding: 6px 12px;
    border-radius: 12px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9rem;
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

/* Ticker */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}
.ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 40px;
    font-weight: 600;
    color: #0f172a;
}
.ticker-item i { margin-right: 10px; color: var(--text-muted); }
.up { color: var(--success); margin-left: 10px; font-size: 0.9rem; }
.down { color: var(--danger); margin-left: 10px; font-size: 0.9rem; }
.neutral { color: var(--text-muted); margin-left: 10px; font-size: 0.9rem; }

/* Stats Section */
.stats-section { border-bottom: 1px solid var(--border); padding: 60px 0; }
.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
    text-align: center; 
}

.stat-box {
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
    transition: all 0.4s ease;
}

.stat-box:nth-child(1) { animation-delay: 0.1s; }
.stat-box:nth-child(2) { animation-delay: 0.2s; }
.stat-box:nth-child(3) { animation-delay: 0.3s; }
.stat-box:nth-child(4) { animation-delay: 0.4s; }

.stat-box:hover {
    transform: scale(1.05);
}

.stat-box h3 { 
    font-size: 2.5rem; 
    font-weight: 800; 
    color: #0f172a; 
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.stat-box:hover h3 {
    color: var(--primary);
}

.stat-box p { 
    color: var(--text-muted); 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

/* Features Grid */
.section-header { 
    text-align: center; 
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}
.section-header h2 { 
    font-size: 2.5rem; 
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}
.section-header p { 
    color: var(--text-muted); 
    font-size: 1.1rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}
.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.5);
    background: var(--bg-card-hover);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}
.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--text-main); }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* Feature Section Specifics (Horizontal Layout) */
#features .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
#features .card {
    display: flex;
    align-items: flex-start;
    text-align: left;
    padding: 40px;
}
#features .icon-box { margin-bottom: 0; margin-right: 25px; flex-shrink: 0; }
#features .card h3 { margin-top: 0; font-size: 1.4rem; }

/* Security Section */
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.security-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.security-content p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 30px; }
.feature-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 15px; font-size: 1.1rem; }
.feature-list i { color: var(--success); background: rgba(16, 185, 129, 0.1); padding: 5px; border-radius: 50%; font-size: 0.8rem; }
.security-visual { display: flex; justify-content: center; align-items: center; }
.big-icon { font-size: 15rem; color: var(--bg-card); text-shadow: 0 0 50px var(--primary); opacity: 0.5; animation: pulse 4s infinite; }
@keyframes pulse {
    0% { text-shadow: 0 0 50px rgba(212, 175, 55, 0.2); }
    50% { text-shadow: 0 0 80px rgba(212, 175, 55, 0.5); }
    100% { text-shadow: 0 0 50px rgba(212, 175, 55, 0.2); }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.03) 100%);
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}
.cta-section h2 { font-size: 2rem; margin-bottom: 15px; }
.cta-section p { color: var(--text-muted); margin-bottom: 30px; }

/* Forms (Login/Register) */
.auth-box {
    max-width: 420px;
    margin: 60px auto;
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--text-muted); font-size: 0.9rem; }
.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: #ffffff;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: var(--primary); }

/* Dashboard Specifics */
.balance { font-size: 2rem; font-weight: 700; margin: 15px 0; letter-spacing: -0.02em; }
.wallet-address {
    background: rgba(0, 0, 0, 0.4);
    padding: 12px;
    border-radius: 8px;
    word-break: break-all;
    font-family: 'Monaco', monospace;
    font-size: 0.85rem;
    color: var(--accent);
    border: 1px dashed var(--border);
}

/* Tables (Admin) */
table { width: 100%; border-collapse: collapse; }
th { text-align: left; color: var(--text-muted); font-weight: 600; padding: 15px; border-bottom: 1px solid var(--border); }
td { padding: 15px; border-bottom: 1px solid var(--border); color: #ffffff; }
tr:last-child td { border-bottom: none; }

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.2);
}
.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.2);
}

/* Footer */
footer {
    margin-top: auto;
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text { text-align: center; }
    .hero h1 { font-size: 2.8rem; }
    .hero p { margin: 0 auto 30px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .trust-row { justify-content: center; flex-wrap: wrap; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .security-grid { grid-template-columns: 1fr; }
    #features .dashboard-grid { grid-template-columns: 1fr; }
    .security-visual { display: none; }
    .nav-links a { margin-left: 10px; }
    .nav-content { flex-direction: row; }
    .logo img { height: 40px !important; }
}

/* --- Premium Market Section --- */
.market-section {
    /* Section wrapper */
}

.market-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    color: #1e293b;
    position: relative;
    overflow: hidden;
}

/* Soft gold accent top border */
.market-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, #d4af37, #f59e0b);
}

.market-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.market-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.03em;
}

.market-tabs {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 12px;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.tab-btn:hover { color: #0f172a; }

.tab-btn.active {
    background: var(--primary);
    color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.market-row {
    display: grid;
    grid-template-columns: 60px 1.5fr 1fr 1.5fr 1fr;
    align-items: center;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeUp 0.5s ease forwards;
    opacity: 0;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.market-row:last-child { border-bottom: none; }

.market-row:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px) scale(1.005);
    z-index: 2;
    position: relative;
}

.asset-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #d4af37;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.asset-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.asset-info span { font-size: 0.85rem; color: #94a3b8; font-weight: 500; }

.asset-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    font-feature-settings: "tnum";
}

.chart-container { height: 50px; width: 100%; max-width: 160px; }

.asset-change {
    font-weight: 700;
    text-align: right;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
    justify-self: end;
    font-size: 0.95rem;
}

.text-green { color: #10b981; background: rgba(16, 185, 129, 0.1); }
.text-red { color: #ef4444; background: rgba(239, 68, 68, 0.1); }

@media (max-width: 768px) {
    .market-header { flex-direction: column; align-items: flex-start; }
    .market-tabs { width: 100%; overflow-x: auto; padding-bottom: 10px; }
    .market-row { grid-template-columns: 50px 1fr auto; gap: 15px; }
    .chart-container { display: none; }
    .asset-price { text-align: right; }
    .asset-change { grid-column: 3; font-size: 0.85rem; }
}

/* Admin Search & Table Animations */
.search-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}
.search-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    width: 300px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.search-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 15px rgba(212, 175, 55, 0.1); }

tbody tr { animation: fadeIn 0.5s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Notifications */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: white;
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: 50%;
    font-weight: bold;
}
.notification-dropdown {
    display: none;
    position: absolute;
    top: 30px;
    right: 0;
    width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 1000;
}
.notif-item {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    color: #ffffff;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: rgba(255,255,255,0.05); }

/* --- Sidebar & Nav Icons --- */

/* Force Luxury Button Styles */
.nav-links .nav-icon-btn,
button.menu-trigger {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    border: 1px solid #d4af37 !important; /* Gold border */
    color: #d4af37 !important; /* Gold icon */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-left: 15px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    text-decoration: none !important;
}

.nav-links .nav-icon-btn:hover,
button.menu-trigger:hover {
    background-color: rgba(212, 175, 55, 0.15) !important;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4) !important;
    transform: scale(1.05);
}

button.menu-trigger i,
.nav-links .nav-icon-btn i {
    font-size: 1.2rem !important;
}

button.menu-trigger i {
    font-size: 1.2rem !important;
    animation: point-left 1.5s infinite ease-in-out !important;
}

@keyframes point-left {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(-4px); opacity: 1; text-shadow: 0 0 8px #d4af37; }
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100%;
    background: var(--bg-card) !important;
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border) !important;
    z-index: 2000;
    transform: translateX(-120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 30px;
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
}
.sidebar.active { transform: translateX(0); }

.sidebar-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}
.sidebar-overlay.active { opacity: 1; visibility: visible; }

.sidebar-header { display: flex; justify-content: flex-end; margin-bottom: 40px; }
.close-sidebar {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}
.close-sidebar:hover { color: var(--primary); }

.menu-group { 
    margin-bottom: 20px; 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease, opacity 0.4s ease, margin-left 0.4s ease;
}
.menu-group:hover {
    border-color: var(--primary);
    transform: translateX(-5px);
    background: rgba(255, 255, 255, 0.05);
}
.menu-group h3 { color: var(--primary); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.menu-group h3::before { content: ''; display: block; width: 3px; height: 12px; background: var(--primary); border-radius: 2px; }
.menu-group ul { padding: 0; list-style: none; }
.menu-group li { margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.03); padding-bottom: 8px; }
.menu-group li:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.menu-group a { color: var(--text-muted); font-size: 0.95rem; display: block; transition: all 0.3s; font-weight: 400; }
.menu-group a:hover { color: var(--primary); padding-left: 5px; }
.menu-group a.active-link {
    color: var(--primary);
    font-weight: 600;
}

/* Sidebar Animation States */
.sidebar .menu-group,
.sidebar .sidebar-profile {
    opacity: 0;
    margin-left: -20px;
    transition: opacity 0.4s ease, margin-left 0.4s ease;
}
.sidebar.active .menu-group,
.sidebar.active .sidebar-profile {
    opacity: 1;
    margin-left: 0;
}

/* Staggered Animation for Groups */
.sidebar.active .sidebar-profile { transition-delay: 0.1s; }
.sidebar.active .menu-group:nth-of-type(2) { transition-delay: 0.2s; }
.sidebar.active .menu-group:nth-of-type(3) { transition-delay: 0.3s; }
.sidebar.active .menu-group:nth-of-type(4) { transition-delay: 0.4s; }

/* Individual Link Animations */
.sidebar .menu-group li {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.sidebar.active .menu-group li {
    opacity: 1;
    transform: translateX(0);
}
/* Stagger links */
.sidebar.active .menu-group li:nth-child(1) { transition-delay: 0.3s; }
.sidebar.active .menu-group li:nth-child(2) { transition-delay: 0.4s; }
.sidebar.active .menu-group li:nth-child(3) { transition-delay: 0.5s; }
.sidebar.active .menu-group li:nth-child(4) { transition-delay: 0.6s; }

/* --- Unified Auth Module --- */
.auth-container {
    max-width: 1000px;
    margin: 60px auto;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 600px;
}
.auth-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.auth-logo { text-align: center; margin-bottom: 30px; font-size: 2rem; color: #ffffff; }
.auth-logo i { color: var(--primary); }

.auth-tabs { display: flex; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.auth-tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 600;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}
.auth-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.auth-tab:hover { color: #ffffff; }

.auth-form { display: none; animation: fadeIn 0.4s ease; }
.auth-form.active { display: block; }

.form-footer { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--text-muted); }
.form-footer a { color: var(--primary); font-weight: 600; }

/* Password Strength Meter */
.password-strength-meter {
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}
.strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
}
.strength-text {
    font-size: 0.75rem;
    margin-top: 4px;
    text-align: right;
    font-weight: 600;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    cursor: pointer;
    z-index: 10;
}
.password-toggle:hover { color: var(--primary); }

.password-requirements {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.password-requirements li { margin-bottom: 5px; display: flex; align-items: center; gap: 8px; transition: color 0.3s; }
.password-requirements li.valid { color: var(--success); }

/* Auth Visual Side */
.auth-visual {
    flex: 1;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(20, 20, 20, 0.8)), url('https://images.unsplash.com/photo-1639762681485-074b7f938ba0?q=80&w=2832&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: white;
}
.auth-content {
    flex: 1;
    padding: 50px;
    background: var(--bg-card);
    position: relative;
}
.visual-content { position: relative; z-index: 2; }
.visual-content h2 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.2; }
.visual-content h2 span { color: var(--primary); }
.visual-content p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px; }
.visual-features { list-style: none; padding: 0; }
.visual-features li { margin-bottom: 15px; font-size: 1.1rem; display: flex; align-items: center; gap: 15px; }
.visual-features i { color: var(--primary); background: rgba(212, 175, 55, 0.1); padding: 10px; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }

@media (max-width: 900px) {
    .auth-container { flex-direction: column; max-width: 500px; }
    .auth-visual { display: none; }
    .auth-content { padding: 30px; }
}

/* Force Mobile Nav Layout Fix */
@media (max-width: 768px) {
    .nav-content { flex-direction: row !important; flex-wrap: nowrap !important; }
    .nav-links { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; }
    .nav-links .nav-icon-btn { margin: 0 0 0 10px !important; }
    button.menu-trigger { margin: 0 0 0 10px !important; }
    .container { padding-left: 20px; padding-right: 20px; }
}

/* User Icon Heartbeat Glow */
@keyframes gold-heartbeat {
    0% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.8); }
    100% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.4); }
}
.nav-links .nav-icon-btn { animation: gold-heartbeat 2s infinite ease-in-out; }

/* Sidebar Login/Register Hover */
.sidebar-profile a:hover { color: #d4af37 !important; }

/* Telegram Customer Service Floating Button */
.telegram-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #0088cc 0%, #005f8f 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
    z-index: 2147483647;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.telegram-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.6);
    color: #ffffff;
}

.telegram-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #0088cc;
    opacity: 0;
}

.telegram-float.pulsing::after {
    animation: telegram-pulse 2s infinite;
}

.telegram-float.pulsing {
    animation: telegram-glow 2s ease-in-out infinite;
}

@keyframes telegram-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes telegram-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4), 0 0 20px rgba(0, 136, 204, 0.2);
    }
    50% {
        box-shadow: 0 4px 15px rgba(0, 136, 204, 0.8), 0 0 35px rgba(0, 136, 204, 0.5);
    }
}

/* Telegram Label (Tooltip) */
.telegram-label {
    position: absolute;
    right: 75px;
    background-color: #0088cc;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}
.telegram-label::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #0088cc;
}
.telegram-float:hover .telegram-label,
.telegram-float.pulsing .telegram-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(-5px);
}

/* ===== SMOOTH INTERACTIONS & ANIMATIONS ===== */

/* Input Fields */
input, textarea, select {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    border-color: var(--border) !important;
}

input:focus, textarea:focus, select:focus {
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1) !important;
    border-color: var(--primary) !important;
}

input:hover, textarea:hover, select:hover {
    border-color: rgba(212, 175, 55, 0.3) !important;
}

/* Tables and Lists */
table tr {
    transition: all 0.3s ease;
}

table tbody tr:hover {
    background: rgba(212, 175, 55, 0.05) !important;
    transform: scale(1.01);
}

/* Modal and Overlay Effects */
.sidebar {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sidebar-overlay {
    transition: all 0.4s ease;
}

/* Smooth Page Transitions */
@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main, section, .container {
    animation: pageIn 0.6s ease-out;
}

/* Smooth List Items */
li {
    transition: all 0.3s ease;
}

li:hover {
    transform: translateX(5px);
}

/* Dropdown and Accordion Effects */
.accordion {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.accordion-content {
    animation: slideInDown 0.4s ease-out;
}

/* Image Transitions */
img {
    transition: all 0.4s ease;
}

img:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

/* Badge and Label Transitions */
.badge, .label, .tag {
    transition: all 0.3s ease;
}

.badge:hover, .label:hover, .tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Icon Transitions */
i, svg {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

a:hover i, button:hover i {
    transform: scale(1.1);
}

/* Smooth Visibility Toggle */
.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.fade-out {
    animation: fadeInUp 0.6s ease-out reverse;
}

.slide-in {
    animation: slideInUp 0.4s ease-out;
}

.slide-out {
    animation: slideInUp 0.4s ease-out reverse;
}

/* Page-specific Smooth Entries */
h1, h2, h3, h4, h5, h6 {
    transition: all 0.3s ease;
}

h1:hover, h2:hover, h3:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* Loading State */
.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.7);
}

/* ===== COMPREHENSIVE MOBILE OPTIMIZATION ===== */

/* Tablets & Medium Screens (769px - 1024px) */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
    h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
    .hero-grid { gap: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .dashboard-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .section-padding { padding: 60px 0; }
}

/* Small Tablets & Large Phones (481px - 768px) */
@media (max-width: 768px) {
    :root { --shadow-card: 0 5px 15px -5px rgba(0, 0, 0, 0.3); }
    
    /* Container & Spacing */
    .container { padding: 0 15px; }
    
    /* Typography */
    h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.3; }
    h2 { font-size: clamp(1.3rem, 3.5vw, 2rem); }
    h3 { font-size: clamp(1.1rem, 3vw, 1.5rem); }
    p { font-size: 0.95rem; }
    
    /* Hero Section */
    .hero { padding: 80px 0 60px; }
    .hero-grid { 
        grid-template-columns: 1fr; 
        gap: 30px; 
        text-align: center; 
    }
    .hero-text { text-align: center; }
    .hero-text h1 { font-size: 1.8rem; margin-bottom: 15px; }
    .hero-text p { font-size: 0.9rem; margin-bottom: 20px; }
    .hero-btns { 
        flex-direction: column; 
        align-items: center; 
        gap: 12px;
    }
    .hero-btns .btn { width: 100%; max-width: 300px; }
    .hero-visual { margin-top: 30px; }
    .floating-card { width: 250px; height: 320px; }
    .card-glass { padding: 25px; }
    .glass-header { font-size: 0.8rem; }
    .glass-balance { font-size: 1.3rem; }
    .coin-icon { font-size: 120px; top: -30px; right: -30px; }
    
    /* Navigation */
    .navbar { padding: 0.75rem 0; }
    .logo img { height: 35px !important; }
    .nav-content { justify-content: space-between; }
    .nav-links { gap: 10px; }
    .nav-links a { margin-left: 5px; font-size: 0.9rem; }
    
    /* Stats Section */
    .stats-section { padding: 50px 0; }
    .stats-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px; 
    }
    .stat-box h3 { font-size: 1.8rem; }
    .stat-box p { font-size: 0.8rem; }
    
    /* Cards & Grids */
    .dashboard-grid { 
        grid-template-columns: 1fr; 
        gap: 20px; 
    }
    .card { 
        padding: 20px; 
        border-radius: 12px;
        box-shadow: var(--shadow-card);
    }
    .icon-box { width: 40px; height: 40px; }
    .card h3 { font-size: 1.1rem; }
    .card p { font-size: 0.85rem; }
    
    /* Section Headers */
    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 1.5rem; }
    .section-header p { font-size: 0.9rem; }
    
    /* Buttons */
    .btn { 
        padding: 10px 20px; 
        font-size: 0.9rem;
        border-radius: 6px;
        min-height: 44px;
    }
    .btn-lg { padding: 12px 24px; }
    
    /* Tables */
    table { font-size: 0.85rem; }
    th, td { padding: 10px 8px; }
    
    /* Forms */
    input, textarea, select { 
        padding: 10px; 
        font-size: 16px;
    }
    
    /* Market Section */
    .market-card { padding: 20px; border-radius: 16px; }
    .market-header { flex-direction: column; gap: 15px; }
    .market-header h2 { font-size: 1.3rem; }
    .market-tabs { flex-wrap: wrap; gap: 8px; }
    .tab-btn { padding: 8px 12px; font-size: 0.85rem; }
    
    /* Security Grid */
    .security-grid { grid-template-columns: 1fr; }
    .security-visual { display: none; }
    
    /* CTA Section */
    .cta-section { padding: 50px 20px; }
    .cta-section h2 { font-size: 1.5rem; }
    .cta-section p { font-size: 0.9rem; margin-bottom: 30px; }
    
    /* Footer */
    footer { padding: 40px 15px 20px; }
    .footer-content { gap: 30px; margin-bottom: 30px; }
    .footer-col h4 { font-size: 0.95rem; }
    .footer-col ul li { margin-bottom: 10px; }
    
    /* Sidebar */
    .sidebar { width: 280px; }
    .sidebar-content { padding: 20px 0; }
    .menu-group { padding: 0; }
    .menu-group h3 { font-size: 0.95rem; padding: 0 20px 10px; }
    .menu-group ul li a { padding: 12px 20px; font-size: 0.9rem; }
    
    /* Badge */
    .badge-new { font-size: 0.75rem; padding: 4px 10px; }
    
    /* Ticker */
    .ticker { padding: 15px; }
    .ticker-item { font-size: 0.85rem; gap: 8px; }
    
    /* Section Padding */
    .section-padding { padding: 50px 0; }
}

/* Small Phones (max 480px) */
@media (max-width: 480px) {
    /* Root Variables */
    :root { --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.2); }
    
    /* Container & Base */
    .container { padding: 0 12px; }
    
    /* Typography */
    h1 { font-size: clamp(1.3rem, 5vw, 2rem); line-height: 1.2; }
    h2 { font-size: clamp(1.1rem, 3vw, 1.7rem); }
    h3 { font-size: clamp(1rem, 2.5vw, 1.3rem); }
    p { font-size: 0.9rem; line-height: 1.5; }
    
    /* Hero Section */
    .hero { padding: 60px 0 40px; }
    .hero-grid { gap: 20px; }
    .hero-text h1 { font-size: 1.5rem; margin-bottom: 12px; }
    .hero-text p { font-size: 0.85rem; margin-bottom: 15px; }
    .hero-btns { gap: 10px; }
    .hero-btns .btn { font-size: 0.85rem; padding: 10px 18px; }
    .trust-row { gap: 10px; font-size: 0.8rem; }
    .trust-row span { flex: 1; }
    .floating-card { 
        width: 200px; 
        height: 260px; 
        margin-top: 20px;
    }
    .card-glass { padding: 20px; }
    .glass-header { font-size: 0.7rem; }
    .glass-balance { font-size: 1.1rem; }
    .coin-icon { font-size: 80px; top: -20px; right: -20px; }
    
    /* Navbar */
    .navbar { padding: 0.5rem 0; }
    .logo { font-size: 1.1rem; }
    .logo img { height: 30px !important; }
    .nav-links a { display: none; }
    .menu-trigger { display: block !important; font-size: 1.3rem; }
    
    /* Stats */
    .stats-section { padding: 40px 0; }
    .stats-grid { 
        grid-template-columns: 1fr; 
        gap: 12px; 
    }
    .stat-box { padding: 15px; }
    .stat-box h3 { font-size: 1.5rem; margin-bottom: 3px; }
    .stat-box p { font-size: 0.75rem; }
    
    /* Cards */
    .dashboard-grid { gap: 15px; }
    .card { 
        padding: 15px; 
        border-radius: 10px;
        box-shadow: var(--shadow-card);
    }
    .card:nth-child(1) { animation-delay: 0.05s; }
    .card:nth-child(2) { animation-delay: 0.1s; }
    .card:nth-child(3) { animation-delay: 0.15s; }
    .card:nth-child(4) { animation-delay: 0.2s; }
    .icon-box { 
        width: 35px; 
        height: 35px; 
        font-size: 0.9rem;
    }
    .card h3 { font-size: 1rem; margin-bottom: 8px; }
    .card p { font-size: 0.8rem; line-height: 1.4; }
    
    /* Section Headers */
    .section-header { margin-bottom: 30px; }
    .section-header h2 { font-size: 1.3rem; }
    .section-header p { font-size: 0.85rem; }
    .section-subtitle { font-size: 0.75rem; }
    
    /* Buttons */
    .btn { 
        padding: 9px 16px; 
        font-size: 0.85rem;
        border-radius: 5px;
        min-height: 40px;
        gap: 6px;
    }
    .btn i { font-size: 0.9rem; }
    
    /* Badge */
    .badge-new { 
        font-size: 0.7rem; 
        padding: 3px 8px;
        margin-bottom: 15px;
    }
    
    /* Market Card */
    .market-card { padding: 15px; border-radius: 14px; }
    .market-header { 
        flex-direction: column; 
        gap: 12px;
    }
    .market-header h2 { font-size: 1.2rem; }
    .market-tabs { gap: 6px; }
    .tab-btn { 
        padding: 6px 10px; 
        font-size: 0.8rem;
        border-radius: 5px;
    }
    .market-content { gap: 12px; }
    
    /* Tables */
    table { font-size: 0.8rem; }
    th, td { padding: 8px 6px; }
    
    /* Forms */
    input, textarea, select { 
        padding: 8px; 
        font-size: 16px;
        border-radius: 5px;
    }
    
    /* CTA Section */
    .cta-section { 
        padding: 40px 12px; 
        text-align: center;
    }
    .cta-section h2 { font-size: 1.3rem; margin-bottom: 12px; }
    .cta-section p { 
        font-size: 0.85rem; 
        margin-bottom: 20px;
    }
    
    /* Footer */
    footer { padding: 30px 12px 15px; }
    .footer-content { 
        grid-template-columns: 1fr; 
        gap: 20px; 
        margin-bottom: 20px;
    }
    .footer-col h4 { 
        font-size: 0.9rem; 
        margin-bottom: 10px;
    }
    .footer-col ul li { margin-bottom: 8px; }
    .footer-col ul li a { font-size: 0.85rem; }
    .footer-bottom { font-size: 0.8rem; padding-top: 15px; }
    
    /* Sidebar */
    .sidebar { width: 250px; }
    .sidebar-header { padding: 15px; }
    .close-sidebar { font-size: 1.2rem; }
    .sidebar-profile { margin-bottom: 20px; padding-bottom: 15px; }
    .sidebar-profile h4 { font-size: 0.9rem; }
    .menu-group { margin-bottom: 15px; }
    .menu-group h3 { 
        font-size: 0.9rem; 
        padding: 0 15px 8px;
        margin-bottom: 5px;
    }
    .menu-group ul li a { 
        padding: 10px 15px; 
        font-size: 0.85rem;
    }
    
    /* Ticker */
    .ticker { padding: 12px; }
    .ticker-item { 
        font-size: 0.8rem; 
        gap: 6px;
    }
    .ticker-item i { font-size: 1rem; }
    
    /* List Items */
    .feature-list li { font-size: 0.85rem; margin-bottom: 8px; }
    
    /* Section Padding */
    .section-padding { padding: 40px 0; }
    
    /* Links */
    a { font-size: 0.95rem; }
    
    /* Modals & Overlays */
    .modal-content { max-width: 95%; margin: auto; }
}

/* Extra Small Phones (max 360px) */
@media (max-width: 360px) {
    .container { padding: 0 10px; }
    
    h1 { font-size: 1.2rem; }
    h2 { font-size: 1.05rem; }
    h3 { font-size: 0.95rem; }
    
    .hero { padding: 50px 0 30px; }
    .hero-text h1 { font-size: 1.3rem; }
    .floating-card { width: 170px; height: 220px; }
    .coin-icon { font-size: 60px; }
    
    .stats-grid { gap: 10px; }
    .stat-box h3 { font-size: 1.3rem; }
    .stat-box p { font-size: 0.7rem; }
    
    .card { padding: 12px; }
    .icon-box { width: 30px; height: 30px; font-size: 0.8rem; }
    .card h3 { font-size: 0.95rem; }
    .card p { font-size: 0.75rem; }
    
    .btn { padding: 8px 14px; font-size: 0.8rem; }
    
    .badge-new { font-size: 0.65rem; padding: 2px 6px; }
    
    .tab-btn { padding: 5px 8px; font-size: 0.75rem; }
    
    .cta-section h2 { font-size: 1.2rem; }
    .cta-section p { font-size: 0.8rem; }
    
    footer { padding: 25px 10px 12px; }
    .footer-content { gap: 15px; }
    .footer-col h4 { font-size: 0.85rem; }
    
    .sidebar { width: 220px; }
    .menu-group h3 { font-size: 0.85rem; }
    .menu-group ul li a { font-size: 0.8rem; padding: 8px 12px; }
}