/* RESET & BASICS */
body {
    margin: 0;
    padding: 0;
    background-color: #000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    overflow-x: hidden; /* Prevent side scroll */
}

/* --- SEARCH BAR --- */
.search-container {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}

.search-box {
    display: flex;
    background: rgba(30, 41, 59, 0.8); /* Slate color transparent */
    border-radius: 8px;
    padding: 5px;
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(255,255,255,0.1);
}

input {
    background: transparent;
    border: none;
    color: white;
    padding: 10px;
    flex-grow: 1;
    outline: none;
    font-size: 1rem;
}

button {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    padding: 0 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.weather-info {
    position: absolute;
    right: 20px;
    font-size: 0.9rem;
    color: #cbd5e1;
    display: none; /* Hidden on small mobile */
}

@media (min-width: 768px) {
    .weather-info { display: block; }
}

/* --- THE ROBOT & BLACK HOLE --- */
.robot-wrapper {
    position: relative; /* This is the anchor */
    width: 100%;
    max-width: 100vh; /* Limits width so it doesn't get too huge on ultrawide */
    margin: 0 auto;   /* Centers the robot */
    margin-top: 60px; /* Space for search bar */
}

.robot-img {
    width: 100%;
    height: auto;
    display: block;
}

/* THE "INSIDE THE HOLE" LOGIC */
/* ... inside style.css ... */

.black-hole-content {
    position: absolute;
    
    /* POSITIONING (Adjusted to sit perfectly in the hole) */
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* THE CONTAINMENT FORCE FIELD */
    /* This restricts the width to roughly 35 characters */
    max-width: 30ch; 
    
    /* Ensures words break nicely if they are huge */
    word-wrap: break-word; 
    
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 10px #000;
    font-weight: 300;
    
    /* FLUID FONT (Shrinks on mobile, grows on desktop) */
    font-size: clamp(14px, 2vw, 22px); 
    
    /* Optional: Adds a slight line height for readability */
    line-height: 1.4;
    /* Add this font setting for that "Hacker" feel */
    font-family: 'Courier New', Courier, monospace;
}
