html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #111;
    color: #fff;
  }

  body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 24px;
    box-sizing: border-box;
  }

  #flag {
    width: 100%;
    max-width: 420px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    margin-bottom: 20px;
    transition: background 0.2s ease;
    position: relative;
    background: linear-gradient(
      to bottom,
      #e40303 0%, #e40303 16.6%,
      #ff8c00 16.6%, #ff8c00 33.2%,
      #ffed00 33.2%, #ffed00 49.8%,
      #008026 49.8%, #008026 66.4%,
      #004dff 66.4%, #004dff 83%,
      #750787 83%, #750787 100%
    );
  }

  .buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 460px;
    margin-bottom: 28px;
  }

  .buttons button {
    background: #222;
    color: #fff;
    border: 1px solid #444;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.85rem;
    cursor: pointer;
  }

  .buttons button:hover,
  .buttons button:focus {
    background: #333;
    border-color: #666;
  }

  h1 {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    margin: 0 0 12px;
  }

  p {
    max-width: 480px;
    line-height: 1.5;
    color: #ddd;
    font-size: 1.05rem;
  }

  .joke {
    margin-top: 8px;
    font-style: italic;
    color: #bbb;
  }