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

/* ── Reset & base ── */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #e0e3e8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  gap: 2rem;
}

.top_panel {
  margin-top: 65px;
  width: 100%;
  max-width: 920px;
  text-align: center;
  padding: 1.5rem;
  background: #fffffe;
  border-radius: 16px;
  box-shadow:
    0 4px 24px #1E2235,
    0 1px 4px #1E2235;
}

/* TOP BAR INFO */
.top_bar_info {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100vw;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  height: 60px;
  background: #1E2235;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top_bar_insides {
    margin-right: 0;
    margin-left: auto;
    white-space: nowrap;
}

.top_bar_info .top_bar_normal {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 500;
  color: #A0A8C8;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.top_bar_bonus {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 500;
  color: #A0A8C8;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.top_bar_info a:hover {
  color: #FFFFFF;
  background: rgba(108, 122, 224, 0.18);
}

.main_title {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #1E2235;
  margin-top: 0.5rem;
}

.top_panel .inner_text {
  color: #4B5563;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.bottom_panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 920px;
  align-items: stretch;
}

.main_content {
  background: #1E2235;
  border-radius: 16px;
  padding: 2.5rem 2.25rem;
  width: 100%;
  flex: 1;
  box-shadow:
    0 4px 24px #1E2235,
    0 1px 4px #1E2235;
  display: flex;
  flex-direction: column;
}

.main_content .button {
  margin-top: auto;
}

.inner_title {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.main_content .inner_text {
  margin-bottom: 1.75rem;
  color: #e0e3e8;
  line-height: 1.6;
}

.inner_codeblock {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(108, 122, 224, 0.18);
  border: 1px solid rgba(108, 122, 224, 0.4);
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.75rem;
  letter-spacing: 0.08em;
  text-align: center;
  word-break: break-all;
}

.inner_warn {
  font-size: 0.8rem;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  text-align: center;
}

.button {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  background: #6C7AE0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background 0.15s ease,
    transform 0.1s ease,
    box-shadow 0.15s ease;
  text-decoration: none;
  text-align: center;
}

.button:hover {
  background: #7b8afc;
  box-shadow: 0 4px 14px rgba(108, 122, 224, 0.38);
}

.button + .button {
  margin-top: 0.5rem;
}

.button:active {
  transform: translateY(1px);
  box-shadow: none;
}

@media (max-width: 640px) {
  .bottom_panel {
    flex-direction: column;
  }

  .main_content {
    padding: 2rem 1.5rem;
  }

  .main_title {
    font-size: 1.6rem;
  }
}