/* General Reset */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #0f172a; /* Deep Navy Black */
    color: #f8fafc; /* Clean White */
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 5%;
    background: #1e293b;
    border-bottom: 1px solid #334155;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: #10b981; /* Emerald Green */
}

.btn-login {
    background: #10b981;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 10%;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    color: #94a3b8;
    font-size: 1.2rem;
}

/* Bot Marketplace Grid */
.bot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px 10%;
}

.bot-card {
    background: #1e293b;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #334155;
    text-align: center;
    transition: transform 0.3s ease;
}

.bot-card:hover {
    transform: translateY(-10px);
    border-color: #10b981;
}

.bot-card h3 {
    margin-bottom: 15px;
    color: #10b981;
}

.bot-card button {
    background: transparent;
    border: 2px solid #10b981;
    color: #10b981;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 20px;
}

.bot-card button:hover {
    background: #10b981;
    color: #fff;
}


/* Dashboard Specific Styles */
.dashboard-container {
    padding: 40px 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #1e293b;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #10b981;
}

.stat-card h4 {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

.balance {
    font-size: 2rem;
    font-weight: bold;
    margin: 10px 0;
}

.btn-action {
    background: #334155;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-action.deposit {
    background: #10b981;
}

.chart-section {
    background: #1e293b;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.active-node {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0f172a;
    padding: 20px;
    border: 1px solid #334155;
    border-radius: 10px;
}

.btn-stop {
    background: #ef4444;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

/* New Dashboard UI Elements */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
}
.modal-content {
    background: #1e293b;
    margin: 15% auto;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #334155;
}
.crypto-address {
    background: #0f172a;
    padding: 15px;
    word-break: break-all;
    margin: 20px 0;
    color: #10b981;
    font-family: monospace;
    border-radius: 10px;
}
.mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.mini-card {
    background: #1e293b;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #334155;
    text-align: center;
}
footer {
    text-align: center;
    padding: 40px;
    font-size: 0.8rem;
    color: #475569;
}
.btn-stop {
    background: #ef4444;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
}