import time
import datetime

class ArkHubDome:
    def __init__(self):
        self.dome_id = "Geodesic Core 01"
        self.status = "System Nominally Active (Amphibious Mode)"

    def get_environmental_status(self, current_hour):
        if 6 <= current_hour < 12:
            return {
                "lighting": "Blue-Enriched Daylight (6500K)", "brightness": "90%",
                "biophilic": "Morning Mist Alertness - High Oxygen Production",
                "audio": "Soft Sunrise Melodies & Light Rain Masking", "melatonin": "Suppressed (Promoting Wakefulness)"
            }
        elif 12 <= current_hour < 18:
            return {
                "lighting": "Balanced Natural Spectrum (5000K)", "brightness": "100%",
                "biophilic": "Active Photosynthesis - Jasmine & Rosemary Scent Circulation",
                "audio": "Low-Frequency White Noise (Machinery Dampened)", "melatonin": "Neutral"
            }
        elif 18 <= current_hour < 22:
            return {
                "lighting": "Warm Amber Evening Tone (2700K)", "brightness": "45% (Dimmable Alcoves Active)",
                "biophilic": "Resting State - Lavender Scent Dispersal",
                "audio": "Deep Ambient Forest Textures & Heavy Rain Camouflage", "melatonin": "Stimulated (Preparing for Sleep)"
            }
        else:
            return {
                "lighting": "Ultra-Warm Red-Shifted Night Mode (1800K)", "brightness": "10%",
                "biophilic": "Nocturnal Air Purification (Snake Plants & Peace Lilies)",
                "audio": "Ultra-Low Frequency Pink Noise (Acoustic Felt Dampening)", "melatonin": "Maximum Production"
            }

    def display_dashboard(self, custom_hour=None):
        hour = custom_hour if custom_hour is not None else datetime.datetime.now().hour
        env = self.get_environmental_status(hour)
        print("=" * 70)
        print(f" ARK HUB AUTOMATED ENVIRONMENT MATRIX | {str(hour).zfill(2)}:00 Simulated Time")
        print("=" * 70)
        print(f" [LIGHTING ZONE] : {env['lighting']} at {env['brightness']}")
        print(f" [AUDIO ZONE]    : Active Masking: {env['audio']}")
        print(f" [BIOPHILIC]     : Focus: {env['biophilic']}")
        print(f" [BIO-CHEMISTRY] : Melatonin: {env['melatonin']}")
        print("=" * 70 + "\n")

hub = ArkHubDome()
for simulated_hour in [8, 14, 19, 23]:
    hub.display_dashboard(custom_hour=simulated_hour)