 html, body {
      margin: 0;
      padding: 0;
      height: 100%;
      font-family: "Segoe UI", Arial, sans-serif;
      background: #d9d8d8;
      color: #333;
    }

    main {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 80vh;
      text-align: center;
      background:#0A0F1C;
    }

    #logo-container img {
      max-width: 60%;
      height: auto;
      margin-bottom: 1rem;
    }

    #overlayRoot {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.9);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      backdrop-filter: blur(6px);
      cursor: pointer;
    }

    .overlay-content {
      text-align: center;
      max-width: 90%;
      padding: 1rem;
      color: #fff;
    }

    .overlay-logo {
      width: 160px;
      height: auto;
      margin-bottom: 1rem;
      opacity: 0.95;
    }

    .spinner {
      width: 64px;
      height: 64px;
      border: 6px solid rgba(255,255,255,0.2);
      border-top-color: #66b2ff;
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin: 0 auto 1rem;
    }

    @keyframes spin { to { transform: rotate(360deg); } }

    .overlay-warning {
      margin-top: 1rem;
      font-size: 0.95rem;
      font-weight: 600;
      color: #ffcc00;
      background: rgba(255,255,255,0.1);
      padding: 0.5rem;
      border-radius: 4px;
    }

    .overlay-actions {
      margin-top: 1.5rem;
      display: flex;
      justify-content: center;
    }

    #resetAppButton {
      background-color: #66b2ff;
      color: #111;
      border: none;
      border-radius: 4px;
      padding: 0.75rem 1.5rem;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
    }

    #resetAppButton:hover,
    #resetAppButton:focus {
      background-color: #3399ff;
      transform: translateY(-2px);
      outline: none;
    }

    #resetAppButton:active {
      background-color: #1a75d1;
      transform: translateY(0);
    }

    @media (max-width: 480px) {
      h2, p, small, .overlay-warning {
        font-size: 0.85rem;
      }
      .spinner {
        width: 48px;
        height: 48px;
        border-width: 4px;
      }
      #logo-container img {
        max-width: 95%;
      }
    }