:root {
    --primary-color: #2eff95;
    /* Neon Green (Bigfoot/Nature) */
    --secondary-color: #a855f7;
    /* Purple (Mothman/Mystery) */
    --accent-color: #d946ef;
    /* Magenta */
    --text-color: #f8fafc;
    /* Slate 50 */
    --bg-color: #020617;
    /* Deepest Forest/Space */
    --card-bg: #0f172a;
    /* Slate 900 */
    --danger-color: #ef4444;
    /* Red (Chupacabra/Kaiju) */
    --success-color: #2eff95;
    --warning-color: #eab308;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
}

#debt-destroyer-app {
    max-width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 70px;
    /* Space for bottom nav */
}

@media (min-width: 1024px) {
    #debt-destroyer-app {
        max-width: 1024px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        min-height: auto;
        /* Allow footer */
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 600;
    color: var(--text-color);
}

.dd-header h1 {
    font-size: 24px;
    /* Reduced from default h1 */
}

@media (max-width: 480px) {
    .dd-header h1 {
        font-size: 20px;
    }
}

p {
    color: var(--text-color);
}

/* Cards */
.dd-card {
    background: var(--card-bg);
    color: var(--text-color);
    border-radius: 16px;
    padding: 20px;
    margin: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Bottom Navigation */
.dd-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.dd-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #888;
    text-decoration: none;
    font-size: 12px;
}

.dd-nav-item.active {
    color: var(--primary-color);
}

.dd-nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

/* Buttons */
.dd-btn {
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s;
}

.dd-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.dd-btn:active {
    transform: scale(0.98);
}

/* FAB */
.dd-fab {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #dd2476);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(221, 36, 118, 0.4);
    font-size: 24px;
    border: none;
    cursor: pointer;
    z-index: 900;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

/* Modals */
.dd-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.dd-modal {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
    color: var(--text-color);
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Forms */
.dd-form-group {
    margin-bottom: 16px;
}

.dd-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.dd-form-group input,
.dd-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #233554;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    /* Important for padding */
    background-color: #0a192f;
    /* Dark background */
    color: #e6f1ff;
    /* Light text */
}

.dd-form-group input:focus,
.dd-form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.1);
}

.dd-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Monster Headers */
.dd-monster-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.dd-monster-img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(46, 255, 149, 0.3));
    transition: transform 0.3s ease;
}

.dd-monster-img:hover {
    transform: scale(1.1) rotate(5deg);
}

.dd-dashboard-guardian {
    text-align: center;
    margin-bottom: 20px;
}

.dd-dashboard-guardian img {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.5));
}