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

:root {
  --tron-bg: #f4f7ff;
  --tron-surface: #ffffff;
  --tron-border: #e2e9fb;
  --tron-text: #1f2a44;
  --tron-muted: #6b7894;
  --tron-primary: #1a56e8;
  --tron-primary-hover: #1749c7;
  --tron-soft: #edf3ff;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--tron-bg);
  color: var(--tron-text);
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  background: linear-gradient(-159deg, #1d81d3, #0838c7);
  border-bottom: 1px solid var(--tron-border);
}

.topbar-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: block;
  width: 154px;
  height: 30px;
  overflow: hidden;
  background-image: url("https://www.tronlink.org/home/images/logo1.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 100%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  margin-left: 12px;
}

.nav-link {
  font-size: 17px;
  color:#fff;
  font-weight: 600;
}

.nav-link.active {
  color: #fff;
  border-bottom: 2px solid #fff;
  padding-bottom: 3px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  height: 35px;
  border: 1px solid var(--tron-border);
  border-radius: 18px;
  background: var(--tron-soft);
  color: #2a4b9c;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
}

.lang-flag {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 19'%3E%3Crect fill='%23bf0a30' width='19' height='19'%2F%3E%3Crect fill='%23fff' y='1.46' width='19' height='1.46'%2F%3E%3Crect fill='%23fff' y='4.38' width='19' height='1.46'%2F%3E%3Crect fill='%23fff' y='7.31' width='19' height='1.46'%2F%3E%3Crect fill='%23fff' y='10.23' width='19' height='1.46'%2F%3E%3Crect fill='%23fff' y='13.15' width='19' height='1.46'%2F%3E%3Crect fill='%23fff' y='16.08' width='19' height='1.46'%2F%3E%3Crect fill='%233c3b6e' width='7.6' height='10.23'%2F%3E%3C/svg%3E"); background-size: cover;
}

.chev {
  font-size: 10px;
  color: #7e7e7e;
}

.refund-btn {
  height: 40px;
  border: 0;
  border-radius: 20px;
  padding: 0 20px;
  background: #fff;
  color:  var(--tron-primary);
  font-weight: 700;
  font-size: 16px;
}

.refund-btn:hover {
  background: var(--tron-primary-hover);
}

.page {
  width: min(1240px, 100%);
  margin: 36px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card {
  background: var(--tron-surface);
  border: 1px solid var(--tron-border);
  border-radius: 12px;
  padding: 28px;
  min-height: 520px;
}

.card h1,
.card h2 {
  font-size: 39px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.subtext {
  font-size: 19px;
  color: var(--tron-muted);
  line-height: 1.45;
  margin-bottom: 24px;
}

.field-label {
  display: block;
  font-size: 14px;
  color: #7d89a3;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 10px;
}

.field-input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--tron-border);
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  color: #33405f;
}

.check-btn {
  margin-top: 16px;
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--tron-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.check-btn:hover {
  background: var(--tron-primary-hover);
}

.hint {
  margin-top: 20px;
  color: #a1adc8;
  font-size: 11px;
}

.result-box {
  border: 1px solid var(--tron-border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.result-box p {
  font-size: 12px;
  color: #8290ad;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.skeleton-bar {
  height: 14px;
  border-radius: 3px;
  background: #ebf2ff;
}

.skeleton-bar.loading {
  background: linear-gradient(90deg, #e7eefc 20%, #d7e5ff 50%, #e7eefc 80%);
  background-size: 240% 100%;
  animation: shimmer 1s linear infinite;
}

.result-number {
  display: none;
  margin-top: 2px;
  font-size: 22px;
  font-weight: 700;
  color: #1f3e8d;
}

.result-box.ready .skeleton-bar {
  display: none;
}

.result-box.ready .result-number {
  display: block;
}

.note-box {
  margin-top: 8px;
  border-radius: 8px;
  background: #fff1f1;
  color: #6f5e5e;
  font-size: 14px;
  padding: 12px 14px;
}

.refund-disabled {
  margin-top: 14px;
  width: 100%;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #d6deee;
  color: #f7f9ff;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.refund-disabled.enabled {
  background: var(--tron-primary);
  color: #fff;
  cursor: pointer;
}

.float-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--tron-primary);
  color: #fff;
  font-size: 20px;
}

@keyframes shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .page {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .card h1,
  .card h2 {
    font-size: 30px;
  }
}
