/* updated */
/* Seed Phrase Checker - Main Stylesheet */
/* Built on IntercomSwap - Trac Network */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0a0a0a;
  color: #fff;
  font-family: 'Courier New', monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

/* Header */
.logo {
  font-size: 13px;
  color: #ff6b00;
  letter-spacing: 4px;
  margin-bottom: 10px;
}

h1 {
  font-size: 24px;
  color: #ff6b00;
  margin-bottom: 5px;
  text-align: center;
}

.subtitle {
  font-size: 11px;
  color: #555;
  margin-bottom: 30px;
  letter-spacing: 2px;
  text-align: center;
}

/* Main Box */
.box {
  background: #111;
  border: 2px solid #ff6b00;
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 0 40px rgba(255, 107, 0, 0.15);
}

/* Warning Banner */
.warning {
  background: #1a1000;
  border: 1px solid #ff6b00;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 11px;
  color: #ff6b00;
  margin-bottom: 25px;
  letter-spacing: 1px;
  text-align: center;
}

/* Input */
label {
  font-size: 12px;
  color: #888;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 10px;
}

textarea {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 10px;
  color: #fff;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  padding: 15px;
  resize: none;
  height: 100px;
  outline: none;
  transition: border 0.3s;
}

textarea:focus {
  border-color: #ff6b00;
}

/* Buttons */
.btn {
  margin-top: 20px;
  width: 100%;
  padding: 14px;
  background: #ff6b00;
  color: #000;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  letter-spacing: 3px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: #ff8c00;
}

.clear-btn {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  background: #1a1a1a;
  color: #777;
  border: 1px solid #333;
  border-radius: 10px;
  font-size: 12px;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
  cursor: pointer;
}

.clear-btn:hover {
  background: #222;
}

/* Results */
.results {
  margin-top: 30px;
  display: none;
}

/* Score Box */
.score-box {
  text-align: center;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.score-box.weak {
  background: #1a0000;
  border: 2px solid #ff3333;
}

.score-box.medium {
  background: #1a1000;
  border: 2px solid #ffaa00;
}

.score-box.strong {
  background: #001a00;
  border: 2px solid #00ff88;
}

/* Score Label */
.score-label {
  font-size: 11px;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.score-label.weak { color: #ff3333; }
.score-label.medium { color: #ffaa00; }
.score-label.strong { color: #00ff88; }

/* Score Number */
.score-number {
  font-size: 60px;
  font-weight: bold;
}

.score-number.weak { color: #ff3333; }
.score-number.medium { color: #ffaa00; }
.score-number.strong { color: #00ff88; }

.score-text {
  font-size: 11px;
  color: #777;
  margin-top: 5px;
}

/* Check Items */
.checks {
  list-style: none;
}

.checks li {
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 1px;
}

.checks li.pass {
  background: #001a00;
  color: #00ff88;
  border: 1px solid #00ff8833;
}

.checks li.fail {
  background: #1a0000;
  color: #ff3333;
  border: 1px solid #ff333333;
}

.checks li.warn {
  background: #1a1000;
  color: #ffaa00;
  border: 1px solid #ffaa0033;
}

/* Trac Address Section */
.trac-section {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #222;
  text-align: center;
}

.trac-label {
  font-size: 10px;
  color: #555;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.trac-address-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.trac-address {
  background: #0a0a0a;
  border: 1px solid #ff6b00;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 10px;
  color: #ff6b00;
  word-break: break-all;
}

.copy-btn {
  padding: 8px 14px;
  background: #ff6b00;
  color: #000;
  border: none;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 1px;
  white-space: nowrap;
}

.copy-btn:hover {
  background: #ff8c00;
}

/* Footer */
.footer {
  margin-top: 30px;
  font-size: 10px;
  color: #333;
  letter-spacing: 2px;
  text-align: center;
}

.footer a {
  color: #ff6b00;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 480px) {
  .box { padding: 20px; }
  h1 { font-size: 18px; }
  .score-number { font-size: 40px; }
  .trac-address { font-size: 9px; }
}
