@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

:root {
  --usdt: #26A17B;
  --usdt-dark: #1B7F5F;
  --usdt-light: #E6F5F0;
  --ink: #0F1F1A;
  --muted: #5F7A71;
  --line: #D7E8E1;
  --bg: #F3F8F6;
  --card: #FFFFFF;
  --shadow: 0 10px 30px rgba(38, 161, 123, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, var(--usdt-light) 0%, var(--bg) 320px, var(--bg) 100%);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.container {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.container::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--usdt), #50AF95, var(--usdt-dark));
}

h1 {
  font-size: 28px;
  font-weight: 900;
  margin-top: 8px;
  border-bottom: 2px solid var(--usdt-light);
  padding-bottom: 14px;
}

label {
  display: block;
  margin-top: 22px;
  font-weight: bold;
  font-size: 14px;
  color: var(--usdt-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

input[type="text"],
input[type="number"] {
  width: 100%;
  padding: 14px 16px;
  margin-top: 8px;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}

input[type="text"]:focus,
input[type="number"]:focus {
  outline: none;
  background: #fff;
  border-color: var(--usdt);
  box-shadow: 0 0 0 4px rgba(38, 161, 123, 0.18);
}

.slider-container {
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--usdt-light);
  border-radius: 16px;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: bold;
  color: var(--usdt-dark);
  margin-bottom: 8px;
}

input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 999px;
  background: #BFE3D6;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--usdt);
  border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--usdt);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  cursor: pointer;
}

.value-display {
  text-align: right;
  font-size: 15px;
  font-weight: bold;
  color: var(--usdt-dark);
  margin-top: 8px;
}

button {
  margin-top: 30px;
  padding: 15px 32px;
  background: linear-gradient(135deg, var(--usdt), var(--usdt-dark));
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(38, 161, 123, 0.35);
  transition: transform .15s, box-shadow .15s, filter .15s;
}

button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 12px 26px rgba(38, 161, 123, 0.45);
}

button:active { transform: translateY(0); }

.seo-section {
  max-width: 760px;
  margin: 60px auto;
  padding: 30px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
  color: #1E322B;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(15, 31, 26, 0.05);
}

.seo-section h1,
.seo-section h2,
.seo-section h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  color: var(--usdt-dark);
}

.seo-section h2 {
  padding-left: 14px;
  border-left: 4px solid var(--usdt);
}

.seo-section p {
  margin-bottom: 20px;
}

.logo-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  width: 100%;
  text-align: center;
}

.logo-img {
  height: 40px;
  display: block;
  margin: 0 auto;
}

.result-box {
  margin-top: 20px;
  padding: 16px 18px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 16px;
  color: var(--usdt-dark);
  background: var(--usdt-light);
  border: 1px dashed var(--usdt);
  border-radius: 14px;
  word-break: break-all;
}

.footer {
  margin-top: 80px;
  padding-bottom: 30px;
  font-size: 14px;
  text-align: center;
  color: var(--muted);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-family: Arial, Helvetica, sans-serif;
}

.info-block {
  max-width: 800px;
  margin: 40px auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--usdt);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 6px 18px rgba(15, 31, 26, 0.05);
  font-family: Arial, Helvetica, sans-serif;
}

.info-block .label {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
  margin-top: 0;
  color: var(--usdt-dark);
  text-transform: none;
  letter-spacing: 0;
}

.info-block .value p {
  margin: 6px 0;
}

.info-block a {
  color: var(--usdt-dark);
  text-decoration: none;
  font-weight: bold;
}

.info-block a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .container { margin: 16px; padding: 22px; border-radius: 20px; }
  h1 { font-size: 23px; }
  .seo-section { margin: 30px 16px; padding: 20px; }
  .info-block { margin: 24px 16px; }
}