/* assets/css/style.css */
/* 
    Global Design System Implementation
    Theme Colors:
    * Background: #0F172A
    * Card: #1E293B
    * Accent: #00F0FF
    * Success: #22C55E
    * Danger: #EF4444
*/

:root {
    --bg-color: #0F172A;
    --card-color: #1E293B;
    --accent-color: #00F0FF;
    --success-color: #22C55E;
    --danger-color: #EF4444;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    padding-bottom: 70px; /* Space for sticky bottom nav on mobile */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--text-primary);
}

/* Base UI Rules */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Glass Effect Card */
.card {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px); /* Hover scale effect */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    width: 100%;
}

.btn-primary {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    /* Neon glow button */
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.btn-success { background-color: var(--success-color); color: #fff; }
.btn-danger { background-color: var(--danger-color); color: #fff; }
.btn-disabled { background-color: #334155; color: #94A3B8; cursor: not-allowed; }

/* Forms */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background-color: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
}

/* Badges */
.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.badge-success { background-color: rgba(34, 197, 94, 0.2); color: var(--success-color); }
.badge-danger { background-color: rgba(239, 68, 68, 0.2); color: var(--danger-color); }
.badge-accent { background-color: rgba(0, 240, 255, 0.2); color: var(--accent-color); }

/* Sticky Mobile Bottom Navigation */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
}

.mobile-nav a {
    color: var(--text-secondary);
    text-align: center;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mobile-nav a.active {
    color: var(--accent-color);
}

.mobile-nav a svg {
    width: 24px;
    height: 24px;
}

/* Header Navbar */
.top-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 900;
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.wallet-badge {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Utility classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.text-accent { color: var(--accent-color); }
.text-success { color: var(--success-color); }
.text-danger { color: var(--danger-color); }
.text-secondary { color: var(--text-secondary); }

/* Progress Bar (Slots) */
.progress-container {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin-top: 5px;
}
.progress-bar {
    height: 100%;
    transition: width 0.3s ease;
    background-color: var(--success-color);
}
.progress-bar.yellow { background-color: #EAB308; }
.progress-bar.red { background-color: var(--danger-color); }
