* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background: #0f0f0f;
  color: #fff;
}

.container {
  max-width: 720px;
  margin: auto;
  padding: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 8px;
}

.intro {
  text-align: center;
  opacity: 0.8;
  margin-bottom: 20px;
}

input {
  width: 100%;
  padding: 14px;
  font-size: 18px;
  border-radius: 10px;
  border: none;
  outline: none;
  margin-bottom: 14px;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.controls button {
  padding: 6px 14px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

#output {
  display: grid;
  gap: 14px;
}

.card {
  background: #1b1b1b;
  border-radius: 12px;
  padding: 14px;
}

.text {
  word-break: break-word;
  margin-bottom: 10px;
}

.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copy {
  padding: 6px 14px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.heart {
  cursor: pointer;
  font-size: 20px;
  opacity: 0.5;
}

.heart.active {
  color: red;
  opacity: 1;
}

#loadMore {
  display: none;
  margin: 24px auto 0;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}
/* HOME BUTTON */
.home-btn {
  position: fixed;
  top: 14px;
  left: 14px;
  padding: 10px 16px;
  background: linear-gradient(135deg,#ff6a00,#ff0077);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(255,106,0,0.35);
  z-index: 1000;
}

/* FOOTER */
.site-footer {
  margin-top: 40px;
  padding: 20px 10px;
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 6px;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* MOBILE FIX */
@media (max-width: 480px) {
  .home-btn {
    font-size: 13px;
    padding: 8px 14px;
  }
}
/* CONTENT AREA */
.content-area {
  max-width: 900px;
  margin: 40px auto;
  padding: 24px;
  background: #151515;
  border-radius: 14px;
  line-height: 1.7;
  color: #eaeaea;
}

/* HEADINGS */
.content-area h2 {
  margin-top: 34px;
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  position: relative;
}

/* subtle accent line */
.content-area h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 6px;
  background: linear-gradient(135deg,#ff6a00,#ff0077);
  border-radius: 999px;
}

/* PARAGRAPHS */
.content-area p {
  margin-bottom: 14px;
  font-size: 16px;
  opacity: 0.95;
}

/* LISTS */
.content-area ul,
.content-area ol {
  margin: 12px 0 18px 20px;
}

.content-area li {
  margin-bottom: 8px;
  font-size: 16px;
}

/* ORDERED LIST */
.content-area ol {
  list-style: decimal;
}

/* UNORDERED LIST */
.content-area ul {
  list-style: disc;
}

/* STRONG TEXT */
.content-area strong {
  color: #ffffff;
}

/* INLINE CODE / EXAMPLES */
.content-area code {
  background: #222;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 14px;
}

/* LINKS */
.content-area a {
  color: #ff7a18;
  text-decoration: none;
  font-weight: 500;
}

.content-area a:hover {
  text-decoration: underline;
}

/* FEATURE LIST HIGHLIGHT */
.content-area ul:last-of-type li {
  position: relative;
  padding-left: 20px;
}

.content-area ul:last-of-type li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00ffb3;
  font-weight: 700;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 600px) {
  .content-area {
    padding: 18px;
    margin: 24px 12px;
  }

  .content-area h2 {
    font-size: 20px;
  }

  .content-area p,
  .content-area li {
    font-size: 15px;
  }
}
