/* 1) Optional: Load a C64-like font. Adjust path if needed. */
@font-face {
    font-family: 'C64ProMono';
    src: url('fonts/C64_Pro_Mono.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }
  
  body {
    margin: 0;
    padding: 0;
    background-color: #7C70DA; /* typical C64 border color */
  }
  
  .c64-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
  
  .c64-border {
    background-color: #7C70DA;
    padding: 1rem;
    border-radius: 15px;
  }
  
  /* Position relative so we can place an overlay inside */
  .c64-content {
    position: relative;
    background-color: #403294;
    color: #ffffff;
    font-family: 'C64ProMono', monospace;
    font-size: 1.3rem;
    width: 560px;
    height: 400px;
    padding: 1rem;
    box-sizing: border-box;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .c64-content p {
    margin: 0.5rem 0;
  }
  
  /* Blinking block cursor */
  .c64-cursor {
    display: inline-block;
    margin-left: 0;
  }
  
  .hidden {
    visibility: hidden;
  }
  
  /* 2) The overlay that covers 100% of .c64-content */
  .loading-lines-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }
  
  /* 
     Using a flexible "height: calc(100% / 40)" ensures 
     exactly 40 stripes fill the container's height.
  */
  .loading-line {
    width: 100%;
    height: calc(100% / 40); /* 40 stripes of equal size */
    background-color: #ffffff; /* overwritten by random color in JS */
  }
  