   :root{
      --c1:#000000;
      --c2:#000000;
      --c3:#000000;
      --c4:#ffffff;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--c4);
  color: var(--c1);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
}
.main-content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px; /* Tighter padding for mobile */
  width: 100%;
  box-sizing: border-box;
}
.card{
      width:100%;
      max-width:720px;
      background: #ffffff;
      border: 1px solid #000000;
      border-radius:14px;
      padding:20px;
      display:flex;
      flex-direction:column;
      gap:16px;
      align-items:center;
}


/* 4. Header (Mobile First) */
h1.thumbnail-link2 {
  display: inline-flex;
  flex-direction: column; /* Stack icon/text on small screens */
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  background-color: #ffffff;
  border: 1px solid #000;
  box-shadow: 4px 4px 0 #000000, 8px 8px 0 #FF10F0;
  padding: 12px 20px;
  font-size: 1.5rem; /* Base mobile size */
  font-weight: 800;
  text-align: center;
}

h1.thumbnail-link2 img {
  height: 1.5em;
  width: auto;
}
.actions {
  display: flex;
  flex-wrap: nowrap;      /* keep buttons on the same line */
  gap: 10px;              /* space between buttons */
  justify-content: center;
  align-items: center;
}

#btnGet, #btnReset {
  font-size: 1rem;
  border: 2px solid #000000;
  border-radius: 8px;
  padding: 12px 18px;
  cursor: pointer;
  transition: 0.3s;
}

/* Button colors */
#btnGet, #btnReset {
  background-color: #000000;
  color: #ffffff;
}

/* Hover effects */
#btnGet:hover, #btnReset:hover {
  background-color: #ffffff;
  color: #000000;
}

.input-wrap{
      width:100%;
      max-width:500px;
      display:flex;
      flex-direction:column;
      gap:10px;
      align-items:center;
 }

    input[type="text"]{
      width: 90%;
      max-width: 400px;
      padding: 12px;
      font-size: 1rem;
      border-radius: 8px;
      border: 2px solid #000000;
      outline: none;
      color: #000;
      margin-bottom: 10px;
      background-color: #ffffff;
 }

    input[type="text"]::placeholder{ color:#666666; }

    .actions{
      width:100%;
      display:flex;
      gap:10px;
      align-items:center;
      justify-content:center;
      flex-wrap:wrap;
}

.btn{
      -webkit-tap-highlight-color: transparent;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:8px;
      padding:12px 16px;
      border-radius:10px;
      border: 1px solid #000000;
      color:#ffffff;
      font-weight:700;
      cursor:pointer;
      transition: all .2s ease;
}

.btn:active{ transform:translateY(1px); }
    /* Primary buttons black bg, white text */
    .btn-primary{ background: #000000; color: #ffffff; }
    /* Secondary buttons white bg, black text, black border */
    .btn-secondary{ background: #ffffff; color: #000000; 
}
#outputBox{
      display:none;
      width:100%;
      border-radius:10px;
      padding:12px;
      background: #ffffff;
      border:1px solid #000000;
      color:#000000;
      text-align:center;
      word-break:break-word;
      min-height:64px;
      font-size:15px;
}

    .note {
      font-size: 0.95rem;
      margin: 15px 20px 20px;
      color: #000000;
      max-width: 600px;
      line-height: 1.5;
      background: #ffffff;
      padding: 12px 15px;
      border-radius: 12px;
      border: 1px solid #000000;
}
.thumbnail-link2 img {
      width: 80px;  /* adjust as needed */
      height: 80px;
      margin-right: 8px; /* space between image and text */
      vertical-align: middle;
}
.thumbnail-link2 {
      display: inline-flex;
      align-items: center;
      color: #000000;
}
/* TABLET (Small screens and up) */
@media (min-width: 640px) {
  .main-content { padding: 40px; }
  .card { padding: 2rem; }
  
  h1.thumbnail-link2 {
    flex-direction: row; /* Icon and text side-by-side */
    font-size: 2rem;
    padding: 15px 30px;
  }

  .actions {
    flex-direction: row; /* Buttons side-by-side */
    justify-content: center;
  }

  .btn {
    width: auto; /* Buttons only as wide as content */
    min-width: 160px;
  }


