body {
    background: black;
    font-family: 'Courier New', Courier, monospace;
    font-size: medium;
    font-weight: normal;
    color: rgb(66, 144, 66);
    background-image: 
        linear-gradient(to right, rgb(66, 144, 66) 1px, transparent 1px), 
        linear-gradient(to right, #0a0a0a 70px, transparent 70px);
    background-position: 70px 0, 0 0;
    background-repeat: repeat-y;
}

body::before {
    content: "000010\a 000020\a 000030\a 000040\a 000050\a 000060\a 000070\a 000080\a 000090\a 000100\a 000110\a 000120\a 000130\a 000140\a 000150\a 000160\a 000170\a 000180";
    position: absolute;
    left: 10px;
    top: 20px;
    white-space: pre;
    color: rgba(66, 144, 66, 0.4); 
    font-size: 14px;
    font-family: 'Courier New', monospace;
    pointer-events: none;
    text-align: right;
    width: 50px;
    z-index: 0;
}



body.theme-cyberpunk {
  background: #0f0a14;
  color: #f0a0ff;
  font-family: monospace;

   background-image:
    linear-gradient(
      to right,
      currentColor 1px,
      transparent 1px
    ),
    linear-gradient(
      to right,
      #0f0a14 70px,
      transparent 70px
    );
}

body.theme-cyberpunk::before {
  color: rgba(240, 160, 255, 0.28);
}


body.theme-cyberpunk h1,
body.theme-cyberpunk .cursor {
  text-shadow:
    0 0 4px rgba(240, 160, 255, 0.55),
    0 0 8px rgba(170, 90, 255, 0.35);
}


body.theme-cyberpunk p,
body.theme-cyberpunk span {
  text-shadow: none;
}



body.theme-reader {
  background: #18120a;
  color: #e2b06a;
  font-family: "Courier New", monospace;

   background-image:
    linear-gradient(
      to right,
      currentColor 1px,
      transparent 1px
    ),
    linear-gradient(
      rgba(226, 176, 106, 0.035) 1px,
      transparent 1px
    );

  background-size:
    auto,
    100% 3px;
}



body.theme-reader::before {
  color: rgba(226, 176, 106, 0.25);
}

body.theme-reader h1,
body.theme-reader p,
body.theme-reader span {
  text-shadow: none;
  letter-spacing: 0.02em;
}



footer {
    display: block;
    width: 100%;
    margin-top: 40px;
    padding-bottom: 30px;
    clear: both; 
}

h5 {
    font-size: 8px;
    color: inherit;
    margin-left: 90px; 
    font-family: 'Courier New', Courier, monospace;
    font-weight: normal;
    text-align: left;
}

@media screen and (max-width: 600px) {
    h5 {
        margin-left: 50px;
        font-size: 10px;
        padding-right: 10px;
    }
}

#click-to-start {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; 
    cursor: pointer;
}

#click-to-start p {
    font-family: 'Courier New', Courier, monospace;
    color: inherit;
    font-size: 1.2rem;
    text-align: center;
}

#click-to-start {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cursor {
  display: block;
}



#face {
    white-space: pre;
    font-family: "Courier Prime", monospace;
    font-size: 4px;       
    line-height: 4px;
    max-width: 100%;
    background-color: transparent; 
    overflow: hidden;
    margin-left: 90px; 
    position: relative;
    z-index: 1;
}


header h1, #game-container, #status, #startBtn, #terminal {
    margin-left: 90px;
}

.cursor {
    font-weight: bold;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

#startBtn, #easterInput, #submitEgg {
    background-color: black;
    color: inherit;
    border: 2px gray solid;
    padding: 10px 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 8px currentColor;
}

.game-btn {
    background-color: black;
    color: inherit;
    border: 1px solid gray;
    padding: 10px 18px;
    margin: 8px;
    font-family: "Courier New", monospace;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
    animation: fadeIn 0.4s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.game-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 8px currentColor;
    transform: translateY(-2px);
}

.game-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

@media screen and (max-width: 600px) {
    body {
        background-image: 
            linear-gradient(to right, rgb(66, 144, 66) 1px, transparent 1px), 
            linear-gradient(to right, #0a0a0a 40px, transparent 40px);
        background-position: 40px 0, 0 0;
    }


    body::before {
        content: "0010\a\a 0020\a\a 0030\a\a 0040\a\a 0050\a\a 0060\a\a 0070\a\a 0080\a\a 0090\a\a 0100";
        left: 0;
        width: 35px;
        font-size: 7px;     
        line-height: 8px;  
        text-align: right;
        padding-right: 3px;
        display: block;
        white-space: pre;
    }

    #face {
        margin-left: 45px; 
        font-size: 4px;     
        line-height: 4px;   
        max-width: calc(100% - 50px);
        display: block;
        letter-spacing: 0;  
    }

    header h1, #game-container, #status, #startBtn, #terminal {
        margin-left: 50px;
        font-size: 14px;
    }

    #ascii-logo {
        font-size: 5px;
        margin-left: 45px;
    }
}

#click-to-start .hint {
  font-size: 18px;
  opacity: 0.4;
  max-width: 480px;
  line-height: 1.3;
  font-family: "Courier New", monospace;
  text-align: center;
  color: slategrey;
}

#egg-container {
  color: inherit;
}

body:not(.theme-cyberpunk):not(.theme-reader) #egg-container {
  color: rgb(66, 144, 66);
}

body.theme-cyberpunk #egg-container {
  color: #f0a0ff;
}

body.theme-reader #egg-container {
  color: #e2b06a;
}


#egg-container,
#egg-container p,
#egg-container strong,
#egg-container i {
  color: currentColor;
}


@media screen and (max-width: 600px) {
    


     header h1 {
        font-size: 2rem;  
        line-height: 2.2rem;         
    }

       .game-btn:hover {
        transform: translateY(-1px); 
        box-shadow: 0 0 6px currentColor;
    }
    
    #game-container,
    #status,
    #terminal {
        font-size: 1.2rem ; 
        line-height: 1.5em;
    }

     
    .game-btn {
        font-size: 1.2rem ;
        padding: 12px 18px;
    }

     

      }

   