/* Import Digital Font */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
@font-face {
  font-family: 'AgencyFB';
  /* The browser tries the smaller WOFF first */
  src: url('../localfonts/AGENCYB.woff') format('woff'),
       url('../localfonts/AGENCYB.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.atc-container {
    font-family: 'VT323', monospace;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    background: transparent; /* Respects your existing background */
}

.atc-main-row {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on small screens */
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.atc-unit {
    position: relative;
    text-align: center;
    min-width: 75px;
}

/* The unlit '88' background segments */
.atc-ghost {
    font-size: 4rem;
    color: rgba(0, 255, 65, 0.10); /* Very dim green segments */
    letter-spacing: 2px;
    display: block;
    user-select: none;
}

/* The active glowing digits */
.atc-live {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 4rem;
    color: #00ff41; /* Atomic Green */
    text-shadow: 0 0 12px rgba(0, 255, 65, 0.6);
    letter-spacing: 2px;
}

.atc-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: -5px;
    text-transform: uppercase;
}

.atc-sep {
    font-size: 3rem;
    color: #00ff41;
    margin-bottom: 25px;
    opacity: 0.6;
}

/* High-speed units (ms, micro, nano) */
.atc-footer {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1.5rem;
    color: rgba(0, 255, 65, 0.7);
}

.atc-sub-unit small {
    font-size: 0.7rem;
    color: #555;
    margin-left: 2px;
}

.atc-header-text {
    font-family: 'AgencyFB', sans-serif;
    color: white; /* You can also use #00ff41 for that green glow */
    text-align: center;
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 2px;
    width: 100%;
    margin-bottom: 4px; /* Space between "SINCE" and the timer */
    text-transform: uppercase;
}

/* --- Responsive Scaling --- */
@media (max-width: 768px) {
    .atc-ghost, .atc-live { font-size: 3rem; }
    .atc-unit { min-width: 55px; }
    .atc-sep { font-size: 2rem; }
    .atc-header-text { font-size: 36px; }
}

@media (max-width: 480px) {
    .atc-main-row { gap: 5px; }
    .atc-ghost, .atc-live { font-size: 2.2rem; }
    .atc-unit { min-width: 45px; }
    .atc-label { font-size: 0.7rem; }
    .atc-sep { margin-bottom: 15px; }
    .atc-header-text { font-size: 28px; }
}
