:root {
    --bg-dark: #0a0e17;
    --bg-card: #161a25;
    --bg-card-hover: #1e2330;
    --text-primary: #ffffff;
    --text-secondary: #848e9c;
    --accent-color: #f0b90b;
    --accent-hover: #d4a30a;
    --up-color: #0ecb81;
    --down-color: #f6465d;
    --border-color: #2b2f36;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

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

@keyframes float {
	0% { transform: translatey(0px); }
	50% { transform: translatey(-20px); }
	100% { transform: translatey(0px); }
}

.animate-up { animation: fadeInUp 0.8s ease-out forwards; }
.float-icon { animation: float 6s ease-in-out infinite; }

/* Navbar */
.navbar {
    background: rgba(10, 14, 23, 0.8) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: radial-gradient(circle at top right, rgba(240, 185, 11, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(14, 203, 129, 0.1), transparent 40%);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #848e9c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Markets Table */
.market-table {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.market-table th {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
}

.market-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.market-table tr:hover {
    background-color: var(--bg-card-hover);
}

/* Buttons */
.btn-primary-custom {
    background: var(--accent-color);
    color: #000;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(240, 185, 11, 0.3);
}

/* Carousel / Banners */
.banner-carousel {
    border-radius: 20px;
    overflow: hidden;
}

.banner-item {
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 40px;
}

/* Trading Interface */
.trade-container {
    display: grid;
    grid-template-columns: 1fr 300px 300px;
    grid-template-rows: 1fr 300px;
    gap: 8px;
    height: calc(100vh - 70px);
    padding: 8px;
    background: #000;
}

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

.price-up { color: var(--up-color); }
.price-down { color: var(--down-color); }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}