* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    font-family: 'Space Mono', monospace;
    overflow: hidden; /* Keeps the clean dashboard look */
    color: #000;
}

/* Header Fix for Mobile */
#top-bar {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    height: 70px;
    background: #fff;
    border-bottom: 4px solid #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1000;
}

.logo {
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 2px;
}

.weather-info {
    text-align: right;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 120px 10% 0 10%;
    text-align: center;
}

.icon-box {
    text-decoration: none;
    color: #000;
    transition: 0.3s;
}

.psych-icon {
    font-size: 60px;
    margin-bottom: 10px;
    font-weight: normal;
}

/* Ticker Footer (30% Slower) */
#bottom-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 50px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.ticker-text {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 25s linear infinite; /* Increased time = slower speed */
    font-size: 14px;
    font-weight: bold;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Animation Trigger Classes */
.show-bars #top-bar { transform: translateY(100px); }
.show-bars #bottom-bar { transform: translateY(-100px); }

/* Mobile Adjustments */
@media (max-width: 480px) {
    .logo { font-size: 18px; }
    .weather-info { font-size: 9px; }
    .psych-icon { font-size: 50px; }
}
