:root {
  --bg: #050505;
  --card: rgba(15, 15, 15, 0.92);
  --text: #f5f5f5;
  --muted: #aaa;

  --gold: #d4af37;
  --gold-light: #f6df8b;
  --gold-dark: #9c7c18;

  --border: rgba(212, 175, 55, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 30px 15px;
  min-height: 100vh;

  font-family: "Roboto", sans-serif;
  color: var(--text);

  background:
    linear-gradient(
      rgba(0, 0, 0, 0.78),
      rgba(0, 0, 0, 0.92)
    ),
    url("https://i.pinimg.com/736x/06/07/8e/06078e7ecc6b22f9c01201df780679ea.jpg");

  background-position: center;
  background-size: cover;
  background-attachment: fixed;

  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 100%;
  max-width: 650px;
  padding: 34px 28px;

  background:
    linear-gradient(
      145deg,
      rgba(30, 30, 30, 0.96),
      rgba(5, 5, 5, 0.96)
    );

  border: 1px solid var(--border);
  border-radius: 18px;

  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  box-shadow:
    0 0 15px rgba(212, 175, 55, 0.15),
    0 0 40px rgba(212, 175, 55, 0.07);
}

h1 {
  text-align: center;
  color: var(--gold-light);

  font-size: 27px;
  letter-spacing: 1px;

  text-shadow:
    0 0 8px rgba(212, 175, 55, 0.5),
    0 0 20px rgba(212, 175, 55, 0.15);

  margin: 0 0 25px;
}

textarea {
  width: 100%;
  height: 155px;

  padding: 15px;

  color: #fff;
  background: rgba(0, 0, 0, 0.75);

  border: 1px solid var(--border);
  border-radius: 10px;

  font-size: 14px;
  font-family: "Roboto", sans-serif;

  resize: vertical;
  outline: none;

  transition: 0.3s;
}

textarea:focus {
  border-color: var(--gold);

  box-shadow:
    0 0 10px rgba(212, 175, 55, 0.2);
}

.main-btn {
  width: 100%;
  margin-top: 18px;
  padding: 14px;

  border: none;
  border-radius: 9px;

  font-size: 15px;
  font-weight: 700;

  color: #080808;

  background:
    linear-gradient(
      135deg,
      #9c7c18,
      #d4af37,
      #f6df8b,
      #d4af37,
      #9c7c18
    );

  background-size: 250% 250%;

  cursor: pointer;

  transition: 0.35s;
}

.main-btn:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;

  box-shadow:
    0 6px 25px rgba(212, 175, 55, 0.35);
}

.note {
  margin-top: 28px;

  color: var(--muted);
  text-align: center;

  font-size: 14px;
  line-height: 1.6;
}

.note h3 {
  color: var(--gold-light);
  font-size: 16px;
}

.popup-img {
  display: block;

  width: 100%;
  max-width: 100%;

  margin: 15px auto;

  border-radius: 10px;
  border: 1px solid var(--border);
}

input[type="text"] {
  width: 100%;

  padding: 12px;

  color: var(--gold-light);
  background: #080808;

  border: 1px solid var(--border);
  border-radius: 8px;

  outline: none;
}

.copy-btn {
  width: 100%;

  margin-top: 10px;
  padding: 12px;

  color: var(--gold-light);
  background: #171717;

  border: 1px solid var(--border);
  border-radius: 8px;

  cursor: pointer;

  transition: 0.3s;
}

.copy-btn:hover {
  background: #242424;
  border-color: var(--gold);
}

.info-box,
.extension-box {
  margin-top: 25px;
  padding: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(20, 20, 20, 0.95),
      rgba(5, 5, 5, 0.95)
    );

  border: 1px solid var(--border);
  border-radius: 12px;

  box-shadow:
    0 0 15px rgba(212, 175, 55, 0.06);
}

.info-box {
  text-align: left;
}

.info-box strong,
.extension-box strong {
  color: var(--gold-light);
}

.extension-box {
  text-align: center;
  color: #ddd;
}

.extension-button {
  display: inline-block;

  width: auto;
  margin-top: 15px;

  padding: 11px 18px;

  color: #080808;

  background:
    linear-gradient(
      135deg,
      #a67c00,
      #d4af37,
      #f6df8b
    );

  border: none;
  border-radius: 7px;

  font-weight: 700;

  cursor: pointer;
}

footer {
  margin-top: 40px;

  text-align: center;
  font-size: 13px;
  color: #999;
}

footer hr {
  border: none;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  margin: 25px 0;
}

footer h3 {
  color: var(--gold-light);
  font-size: 15px;
}

.theme-toggle {
  position: fixed;

  right: 20px;
  bottom: 20px;

  width: 45px;
  height: 45px;

  border-radius: 50%;
  border: 1px solid var(--border);

  color: #080808;

  background:
    linear-gradient(
      135deg,
      #9c7c18,
      #d4af37,
      #f6df8b
    );

  cursor: pointer;

  box-shadow:
    0 0 15px rgba(212, 175, 55, 0.25);

  z-index: 999;
}

@media (max-width: 700px) {
  body {
    padding: 15px 10px;
    background-attachment: scroll;
  }

  .container {
    padding: 28px 18px;
  }

  h1 {
    font-size: 21px;
  }

  textarea {
    height: 135px;
  }
}