:root {
    --bg-core: #0a0b0d;
    --bg-surface: #15191d;
    --primary: #2dd4bf;
    /* Teal for life */
    --primary-glow: rgba(45, 212, 191, 0.2);
    --amber: #f59e0b;
    --text-main: #e2e8f0;
    --text-dim: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
}

body {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-core);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 12px;
    position: relative;
    text-align: center;
}

.container::before {
    content: "MODULE // 05 // BIO_SYNC_MONITOR";
    position: absolute;
    top: -24px;
    left: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--amber);
    letter-spacing: 1px;
}

.back-link {
    display: block;
    text-align: left;
    margin-bottom: 24px;
    text-decoration: none;
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
}

h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 40px;
    font-family: 'JetBrains Mono', monospace;
}

.plant-container {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 100px 100px 12px 12px;
    padding: 60px 20px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.plant-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(45, 212, 191, 0.05), transparent);
    pointer-events: none;
}

#plant {
    font-size: 6rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 30px var(--primary-glow));
    transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

#pot {
    width: 120px;
    height: 60px;
    background: #1e293b;
    margin: 0 auto;
    border: 1px solid var(--border);
    position: relative;
    border-radius: 4px 4px 20px 20px;
}

#pot::before {
    content: "TECH_POT_V1";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.5rem;
    color: var(--text-dim);
    white-space: nowrap;
}

.status {
    text-align: left;
    background: rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
    border-left: 2px solid var(--amber);
}

.status p {
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
}

.status span {
    color: var(--amber);
    font-weight: 700;
}

#message {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-dim);
    min-height: 2.5em;
    border-top: 1px solid var(--border);
    padding-top: 15px;
    font-family: 'JetBrains Mono', monospace;
}

.plant-withered {
    filter: grayscale(1) opacity(0.5) !important;
}