:root {
    --bg-color: #05080a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --primary-color: #0052ff;
    --secondary-color: #00c853;
    --text-color: #ffffff;
    --text-muted: #888d9b;
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, #0052ff 0%, #00c853 100%);
    --accent-glow: 0 0 20px rgba(0, 82, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

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

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(0, 82, 255, 0.2); }
    50% { box-shadow: 0 0 20px rgba(0, 82, 255, 0.5); }
    100% { box-shadow: 0 0 5px rgba(0, 82, 255, 0.2); }
}

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

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 8, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.auth-btns {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: #white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--accent-glow);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.btn-outline:hover {
    background: var(--card-bg);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, #0052ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Glassmorphism Cards */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s;
}

.card:hover {
    border-color: rgba(0, 82, 255, 0.4);
    transform: translateY(-5px);
}

/* Multi-column Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

/* Dashboard Specific */
.sidebar {
    width: 260px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid var(--border-color);
    padding: 40px 20px;
}

.main-content {
    margin-left: 260px;
    padding: 40px;
}

/* Inputs */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: white;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

input:focus {
    border-color: var(--primary-color);
}

/* Crypto Price Widget */
.price-ticker {
    display: flex;
    overflow: hidden;
    background: rgba(0, 82, 255, 0.05);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.ticker-item {
    padding: 0 40px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th {
    text-align: left;
    padding: 15px;
    color: var(--text-muted);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.alert-success { background: rgba(0, 200, 83, 0.1); color: var(--secondary-color); border: 1px solid rgba(0, 200, 83, 0.2); }
.alert-error { background: rgba(255, 82, 82, 0.1); color: #ff5252; border: 1px solid rgba(255, 82, 82, 0.2); }

/* Charts */
.chart-container {
    height: 300px;
    margin-top: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links, .auth-btns { display: none; }
    .hero h1 { font-size: 40px; }
    .sidebar { display: none; }
    .main-content { margin-left: 0; }
}
