
    body {
      margin: 0;
      padding: 0;
      font-family: 'Orbitron', Arial, sans-serif;
      background: #568dc4;
      color: white;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    header, footer {
      background: linear-gradient(to right, #001f3f, #004d99);
      padding: 1rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      z-index: 20;
      position: sticky;
    }

    header {
      background: linear-gradient(270deg, #ff1177, #001f3f, #004d99, #0b9479, #ff1177);
      animation: gradientBG 15s ease infinite;
      background-size: 600% 600%;
      box-shadow: 0 0 20px #0ff;
      top: 0;
    }
    @keyframes gradientBG {
      0% { background-position: 0% 50%;}
      50% { background-position: 100% 50%;}
      100% { background-position: 0% 50%;}
    }

    header .logo {
      width: 60px;
      height: 60px;
    }

   .site-title {
      font-size: 1.5rem;
      font-weight: 700;
      margin-left: 1rem;
      white-space: nowrap;
    }

    main {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 2rem;
      text-align: center;
    }

    footer {
      background: linear-gradient(to right,#004d99,#063768,#004d99);
      color: white;
      text-align: center;
      padding: 10px 15px;
      font-size: 14px;
      line-height: 1.4;
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

  footer p {
  margin: 4px 0;
}

    footer .contact a {
      color: inherit;
      text-decoration: none;
      font-size: 12px;
    }

    footer .contact a:hover {
      text-decoration: underline;
      color: #97bce0;
    }

    .footer-wrapper {
      position: relative;
    }

    .penguin-container {
      position: absolute;
      bottom: 100%;
      right: 20px;
      width: 40px;
      height: 25px;
      z-index: 15;
      user-select: none;
      pointer-events: none;
      filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.5));
      animation: penguinJump 2s ease-in-out infinite;
    }

    .penguin-body {
      fill: #000;
      stroke: #333;
      stroke-width: 2;
    }

    .penguin-belly {
      fill: #fff;
    }

    .penguin-eye {
      fill: #fff;
      stroke: #333;
      stroke-width: 1;
    }

    .penguin-pupil {
      fill: #000;
      transform-origin: center center;
      animation: blink 2s infinite;
    }

    .penguin-beak {
      fill: #ff9900;
      stroke: #cc7a00;
      stroke-width: 1;
    }

    .penguin-hat {
      fill: #664422;
      stroke: #442200;
      stroke-width: 1;
    }

    @keyframes blink {
      0%, 95%, 100% {
        transform: scaleY(1);
      }
      97% {
        transform: scaleY(0.1);
      }
    }

    @keyframes penguinJump {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-15px);
      }
    }

    @media only screen and (max-width: 600px) {
      .logo {
        position: absolute; /*SaveMe*/
        top: 2px;
        left: 10px;
        width: 25px;
        height: 25px;
        z-index: 100;
      }
      header {
        padding-left: 70px;
        flex-direction: column;
        text-align: center;
      }
      .site-title {
        margin-left: 0;
      }
      footer {
        flex-direction: column;
      }
      .game-button { /*button*/
        height: 240px;
      }
    }

    .welcome-banner {
      font-size: 11px;
      font-weight: bold;
      text-align: center;
      z-index: 1;
      text-shadow:
    0 0 5px #0ff,
    0 0 10px #0ff,
    0 0 20px #0ff,
    0 0 40px #0ff;
  animation: neonPulse 0.7s ease-in-out infinite alternate;
    }
  @keyframes neonPulse {
  from {
    text-shadow:
      0 0 5px #0ff,
      0 0 10px #0ff,
      0 0 20px #0ff,
      0 0 40px #0ff;
  }
  to {
    text-shadow:
      0 0 10px #0ff,
      0 0 20px #0ff,
      0 0 30px #0ff,
      0 0 50px #0ff;
  }
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* black with 50% opacity */
  z-index: 0;
}

body > *:not(.overlay):not(.snow-container) {
  position: relative;
  z-index: 1;
}

/* Snowfall Background */
    .snow-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
      z-index: 0;
      pointer-events: none;
    }

    .snowflake {
      position: absolute;
      top: -10px;
      width: 8px;
      height: 8px;
      background: white;
      border-radius: 50%;
      opacity: 1;
      filter: blur(1px);
      animation-name: fall;
      animation-timing-function: linear;
    }

    @keyframes fall {
      to {
        transform: translateY(110vh);
        opacity: 0.1;
      }
    }

     /* SVG robot container */
    .robot-icon {
      width: 50px;
      height: 50px;
      margin-right: 15px;
      cursor: pointer;
      transition: transform 0.3s ease;
    }
    .robot-icon:hover {
      transform: rotate(360deg);
    }

    .ghost-body {
      fill: #00ccff;
      filter: drop-shadow(0 0 4px #00ccff);
      animation: ghostGlow 1s ease-in-out infinite;
    }

    .ghost-eye {
      fill: white;
      filter: drop-shadow(0 0 2px white);
    }

    .ghost-pupil {
      fill: #0b1224;
      animation: pupilMove 4s ease-in-out infinite;
    }

    @keyframes ghostGlow {
      0%, 100% { filter: drop-shadow(0 0 4px #00ccff); }
      50% { filter: drop-shadow(0 0 10px #00ccff); }
    }

    @keyframes pupilMove {
      0%, 100% { transform: translateX(0); }
      50% { transform: translateX(4px); }
    }

@media only screen and (max-width: 320px) {
  header {
    padding: 0.1rem 0.3rem;
    flex-direction: row;
  }

  header .logo {
    width: 30px;
    height: 55px;
    position: static;
  }

   .site-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 1rem;
    white-space: nowrap;
  }

  .welcome-banner {
    font-size: 9px;
    margin-top: 0.5rem;
  }

  main {
    padding: 0.5rem 1rem;
  }

  footer {
    padding: 0.4rem 1rem;
    font-size: 12px;
    line-height: 1.2;
    flex-direction: column;
    align-items: center;
  }

  footer .contact a {
    font-size: 11px;
  }
}

.game-menu {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 20px;
      max-width: 1000px;
      width: 100%;
    }
.game-button {
      height: 260px;
      background-color: #0f1a30;
      border: none;
      padding: 16px;
      border-radius: 8px;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      text-align: center;
      /* Remove mobile tap highlight and prevent selection
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    outline: none;*/
    }
    @media (hover: hover) and (pointer: fine) {
      .game-button:hover {
        transform: scale(1.03);
        box-shadow: 0 0 30px rgba(0, 204, 255, 0.3) !important;
      }
    }
    .hover-effect {
      transform: scale(1.03);
      box-shadow: 0 0 30px rgba(0, 204, 255, 0.7) !important;
    }
    .button-heading {
      margin: 0 0 8px 0;
      color: #00ccff;
      font-size: 1.25rem;
      font-weight: 600;
      text-align: center;
      user-select: none;
      text-shadow: 0 0 6px rgba(0, 204, 255, 0.8);
    }
    .nucleus.proton { fill: red; }
    .nucleus.neutron { fill: #ffcc33; }
    .electron {
      fill: #00ccff;
      filter: drop-shadow(0 0 3px #00ccff);
    }
