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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #fffaf2;
  color: #1e293b;
}

.top-bar {
  width: 92%;
  margin: 20px auto;
  background: #ffffff;
  border-radius: 28px;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  position: sticky;
  top: 15px;
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f97316;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
}

.brand h1 {
  font-size: 24px;
}

.brand p {
  font-size: 13px;
  color: #64748b;
}

nav a {
  text-decoration: none;
  color: #334155;
  margin-left: 22px;
  font-weight: 600;
}

nav a:hover {
  color: #f97316;
}

.welcome-screen {
  width: 90%;
  margin: 50px auto;
  min-height: 75vh;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 35px;
  align-items: center;
}

.tag {
  color: #f97316;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.welcome-left h2 {
  font-size: 58px;
  line-height: 1.05;
  max-width: 850px;
  margin-bottom: 25px;
}

.intro {
  font-size: 19px;
  color: #475569;
  max-width: 700px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 32px;
}

.primary-link,
.secondary-link {
  text-decoration: none;
  display: inline-block;
  padding: 14px 24px;
  border-radius: 14px;
  margin-right: 12px;
  font-weight: 800;
}

.primary-link {
  background: #f97316;
  color: white;
}

.secondary-link {
  background: #ffedd5;
  color: #9a3412;
}

.welcome-card {
  background: #1e293b;
  color: white;
  padding: 35px;
  border-radius: 32px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.22);
}

.welcome-card h3 {
  margin-bottom: 25px;
  font-size: 25px;
}

.mini-row {
  display: flex;
  gap: 15px;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
  border-radius: 18px;
  margin-bottom: 15px;
}

.mini-row span {
  font-size: 28px;
}

.quick-stats {
  width: 90%;
  margin: 20px auto 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.quick-stats div {
  background: white;
  padding: 28px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.quick-stats h3 {
  font-size: 34px;
  color: #f97316;
}

.quick-stats p {
  color: #64748b;
  font-weight: 700;
}

.content-section {
  width: 90%;
  margin: 0 auto 80px;
}

.section-heading {
  text-align: center;
  margin-bottom: 30px;
}

.section-heading p {
  color: #f97316;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: 38px;
  margin-top: 8px;
}

.tool-panel {
  background: white;
  padding: 18px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 14px;
  margin-bottom: 30px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  font-size: 15px;
  outline: none;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #f97316;
}

textarea {
  height: 130px;
  resize: none;
}

button {
  border: none;
  background: #f97316;
  color: white;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
}

button:hover {
  background: #ea580c;
}

.post-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 22px;
}

.trade-card {
  background: white;
  padding: 25px;
  border-radius: 26px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  border: 1px solid #ffedd5;
}

.trade-card:hover {
  transform: translateY(-4px);
  transition: 0.25s;
}

.card-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.type-pill {
  background: #ffedd5;
  color: #9a3412;
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
}

.status-pill {
  background: #dcfce7;
  color: #166534;
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
}

.trade-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.trade-card p {
  color: #475569;
  line-height: 1.6;
  margin-bottom: 12px;
}

.owner-text {
  font-size: 14px;
  font-weight: 800;
  color: #1e293b;
}

.split-section {
  width: 90%;
  margin: 0 auto 90px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 35px;
  align-items: center;
}

.info-block {
  background: #1e293b;
  color: white;
  padding: 45px;
  border-radius: 32px;
}

.info-block h2 {
  font-size: 38px;
  margin-bottom: 18px;
}

.info-block p {
  line-height: 1.7;
  color: #e2e8f0;
}

.input-card {
  background: white;
  padding: 30px;
  border-radius: 28px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.input-card h3 {
  margin-bottom: 18px;
}

.input-card label {
  font-weight: 800;
  margin-bottom: 7px;
  display: block;
}

.input-card input,
.input-card textarea,
.input-card select {
  margin-bottom: 16px;
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.admin-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.admin-card {
  background: white;
  padding: 28px;
  border-radius: 26px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.admin-card h3 {
  margin-bottom: 12px;
}

.admin-card p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 18px;
}

.warning-btn {
  background: #eab308;
}

.danger-btn {
  background: #dc2626;
}

footer {
  background: #1e293b;
  color: white;
  text-align: center;
  padding: 28px;
}

@media (max-width: 850px) {
  .top-bar,
  .welcome-screen,
  .split-section {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .top-bar {
    display: block;
    text-align: center;
  }

  nav {
    margin-top: 18px;
  }

  nav a {
    display: inline-block;
    margin: 8px;
  }

  .welcome-left h2 {
    font-size: 38px;
  }

  .quick-stats,
  .tool-panel,
  .account-grid,
  .admin-layout {
    grid-template-columns: 1fr;
  }
}