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

body {
  background: #0b0b0f;
  color: white;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

.container {
  text-align: center;
  max-width: 700px;
  padding: 40px;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: #8b8b95;
}

h1 {
  font-size: 72px;
  line-height: 0.95;
  margin-bottom: 24px;
}

.gradient {
  background: linear-gradient(90deg, #7c3aed, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  font-size: 20px;
  color: #a1a1aa;
  line-height: 1.6;
  margin-bottom: 40px;
}

.button {
  display: inline-block;
  padding: 16px 28px;
  background: white;
  color: black;
  text-decoration: none;
  border-radius: 14px;
  font-weight: bold;
  transition: 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.quests {
  margin-top: 60px;
  display: grid;
  gap: 14px;
}

.quest-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 18px;
  border-radius: 16px;
  text-align: left;
  transition: 0.2s ease;
}

.quest-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
}

.reward {
  color: #22c55e;
  font-weight: bold;
  margin-bottom: 6px;
}

.quest-text {
  color: #f4f4f5;
}

@media (max-width: 768px) {

  h1 {
    font-size: 48px;
  }

  p {
    font-size: 18px;
  }

  .container {
    padding: 24px;
  }

}
.quests-page {
  display: block;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(6, 182, 212, 0.18), transparent 35%),
    #0b0b0f;
}

.quest-app {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.quest-header {
  margin-bottom: 28px;
}

.back-link {
  color: #a1a1aa;
  text-decoration: none;
  font-size: 14px;
}

.quest-header h1 {
  font-size: 52px;
  margin: 24px 0 12px;
}

.quest-header p {
  max-width: 620px;
  margin-bottom: 0;
}

.filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 0 24px;
}

.filter {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: white;
  padding: 10px 14px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
}

.filter.active {
  background: white;
  color: black;
}

.rank-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.rank-metrics div {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 16px;
  border-radius: 18px;
}

.rank-metrics strong {
  display: block;
  margin-bottom: 6px;
}

.rank-metrics span {
  color: #8b8b95;
  font-size: 13px;
}

.quest-feed {
  display: grid;
  gap: 14px;
}

.quest-list-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px;
  align-items: center;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 22px;
  padding: 18px;
  transition: 0.2s ease;
}

.quest-list-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.2);
}

.quest-list-card.top {
  border-color: rgba(34,197,94,0.45);
  box-shadow: 0 0 40px rgba(34,197,94,0.08);
}

.quest-rank {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  color: white;
  font-weight: 800;
}

.quest-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.quest-meta span {
  color: #22c55e;
  font-size: 13px;
  font-weight: 700;
}

.quest-info h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.quest-info p {
  font-size: 15px;
  margin-bottom: 12px;
  color: #a1a1aa;
}

.quest-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quest-tags span {
  font-size: 12px;
  color: #d4d4d8;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 9px;
  border-radius: 999px;
}

.claim-btn {
  background: white;
  color: black;
  border: none;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 768px) {
  .quest-header h1 {
    font-size: 40px;
  }

  .rank-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .quest-list-card {
    grid-template-columns: 1fr;
  }

  .quest-rank {
    width: auto;
  }

  .claim-btn {
    width: 100%;
  }
}
.post-page {
  display: block;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(124,58,237,0.25), transparent 35%),
    radial-gradient(circle at bottom right, rgba(34,197,94,0.15), transparent 30%),
    #0b0b0f;
}

.post-shell {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.post-card {
  margin-top: 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.post-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.post-card h1 {
  font-size: 52px;
  margin-bottom: 12px;
}

.post-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
}

.quest-form {
  display: grid;
  gap: 18px;
}

.quest-form label {
  display: grid;
  gap: 8px;
  color: #e4e4e7;
  font-size: 14px;
  font-weight: 700;
}

.quest-form input,
.quest-form textarea,
.quest-form select {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.28);
  color: white;
  border-radius: 16px;
  padding: 15px 16px;
  font-size: 15px;
  outline: none;
}

.quest-form textarea {
  min-height: 120px;
  resize: vertical;
}

.quest-form input:focus,
.quest-form textarea:focus,
.quest-form select:focus {
  border-color: rgba(34,197,94,0.55);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.post-btn {
  margin-top: 8px;
  border: none;
  background: white;
  color: black;
  border-radius: 18px;
  padding: 16px 20px;
  font-weight: 900;
  cursor: pointer;
  font-size: 16px;
}

@media (max-width: 768px) {
  .post-card {
    padding: 24px;
    border-radius: 24px;
  }

  .post-card h1 {
    font-size: 40px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
.top-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.post-quest-btn {
  background: white;
  color: black;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
}

.post-quest-btn:hover {
  transform: translateY(-2px);
}
.detail-page {
  display: block;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(124,58,237,0.25), transparent 35%),
    radial-gradient(circle at bottom left, rgba(6,182,212,0.16), transparent 35%),
    #0b0b0f;
}

.detail-shell {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 20px 90px;
}

.detail-card {
  margin-top: 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 32px;
  padding: 34px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.4);
}

.detail-topline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.quest-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #d4d4d8;
  font-size: 12px;
  font-weight: 800;
}

.quest-pill.chaos {
  background: rgba(124,58,237,0.18);
  color: #c4b5fd;
}

.detail-card h1 {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 18px;
}

.detail-description {
  font-size: 18px;
  color: #a1a1aa;
  margin-bottom: 28px;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.detail-stats div {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 16px;
}

.detail-stats strong {
  display: block;
  font-size: 22px;
}

.detail-stats span {
  color: #8b8b95;
  font-size: 13px;
}

.poster-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 18px;
  margin-bottom: 24px;
}

.poster-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  font-weight: 900;
  font-size: 20px;
}

.poster-card h3 {
  margin-bottom: 4px;
}

.poster-card p {
  margin: 0;
  font-size: 14px;
}

.detail-section {
  margin-bottom: 24px;
}

.detail-section h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.detail-section ul {
  padding-left: 20px;
  color: #d4d4d8;
  line-height: 1.8;
}

.activity-box {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.activity-item {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 14px;
  color: #e4e4e7;
}

.accept-main {
  width: 100%;
  border: none;
  background: white;
  color: black;
  border-radius: 20px;
  padding: 18px;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 768px) {
  .detail-card {
    padding: 24px;
    border-radius: 26px;
  }

  .detail-card h1 {
    font-size: 36px;
  }

  .detail-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .poster-card {
    align-items: flex-start;
  }
}
.urgency-tag {
  background: rgba(239,68,68,0.18);
  color: #f87171 !important;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.inline-details {
  display: none;
  grid-column: 1 / -1;
  margin-top: 16px;
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 20px;
}

.quest-list-card.expanded .inline-details {
  display: block;
}

.inline-details h3 {
  margin-bottom: 12px;
}

.inline-details ul {
  padding-left: 20px;
  line-height: 1.8;
  color: #d4d4d8;
  margin-bottom: 18px;
}

.activity-box.mini {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.accept-main.small {
  width: 100%;
  border: none;
  background: white;
  color: black;
  border-radius: 16px;
  padding: 14px;
  font-weight: 900;
  cursor: pointer;
}
.button {
  position: relative;
  z-index: 50;
  pointer-events: auto;
}