:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --card-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-btc: #f7931a;
    --accent-eth: #627eea;
    --green: #10b981;
    --yellow: #f59e0b;
    --red: #ef4444;
    --radius: 16px;
    --font-family: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Effect */
.background-glob {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
    z-index: -1;
    animation: rotate 60s linear infinite;
}

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

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

header {
    text-align: center;
    margin-bottom: 1rem;
}

header h1 {
    font-size: 2.5rem;
    background: linear-gradient(to right, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

header p {
    color: #94a3b8;
}

/* Glassmorphism Card */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.dashboard {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr 1fr;
    }
}

.card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coin-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coin-title .icon {
    font-size: 1.5rem;
}

#btc-card .icon { color: var(--accent-btc); }
#eth-card .icon { color: var(--accent-eth); }

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
}

.status-green { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.status-yellow { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.status-red { background: rgba(239, 68, 68, 0.2); color: #f87171; }

.fee-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    text-align: center;
}

.fee-item {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.fee-item .label {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.fee-item .value {
    font-size: 1.1rem;
    font-weight: 700;
}

.fee-item .unit {
    font-size: 0.7rem;
    color: #64748b;
}

.card-footer p {
    font-size: 0.9rem;
    color: #cbd5e1;
    text-align: center;
    font-style: italic;
}

/* Ads & Affiliates */
.ad-container {
    width: 100%;
    min-height: 100px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed #475569;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #475569;
    margin: 1rem 0;
    overflow: hidden;
}

.ad-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.affiliates h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    border-left: 4px solid var(--accent-eth);
    padding-left: 1rem;
}

.affiliate-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 600px) {
    .affiliate-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.affiliate-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}

.affiliate-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.affiliate-info h4 {
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.affiliate-info p {
    font-size: 0.85rem;
    color: #94a3b8;
}

.arrow {
    font-size: 1.25rem;
    color: var(--accent-eth);
}

footer {
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.disclaimer {
    margin-bottom: 1rem;
    opacity: 0.7;
}
