:root {
  --dark: #263c0d;
  --green: #3bc278;
  --accent: #00ff00;
  --bg: #f5f8f4;
  --card: #ffffff;
  --text: #17250d;
  --muted: #68715f;
  --line: #dfe7dc;
  --shadow: 0 10px 28px rgba(20, 42, 10, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* PROMO BANNER */
.promo-bar {
  display: block;
  width: 100%;
  background: linear-gradient(90deg, #00ff00, #7cff3a, #00ff00);
  color: #102804;
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 2px 14px rgba(0, 255, 0, .35);
}

.promo-bar:hover {
  filter: brightness(1.08);
  text-decoration: none;
}

.site-header {
  background: linear-gradient(135deg, #102804, var(--dark));
  color: white;
  padding: 18px 20px 22px;
}

.brand {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.main-logo {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 0 20px rgba(59, 194, 120, .45);
}

.logo {
  display: none;
}

h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
  font-weight: 800;
}

.brand p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  font-weight: 500;
}

.tabs {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.tab {
  border: 1px solid transparent;
  background: transparent;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  color: var(--dark);
  cursor: pointer;
}

.tab.active,
.tab:hover {
  background: #e9f8ed;
  border-color: #bdecc8;
}

.container {
  width: min(900px, calc(100% - 28px));
  margin: 24px auto;
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
}

.section-head span {
  color: var(--muted);
  font-weight: 600;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;

  text-decoration: none;
  color: var(--text);
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: none;
  transition: all .15s ease;
}

.card>div {
  flex: 1;
  min-width: 0;
}

.card:hover {
  background: #f0fbf2;
  border-color: var(--green);
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.card-meta,
.card-action {
  display: none;
}

.copy-button {
  min-width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: #4b5545;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 10px;
  flex: 0 0 auto;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 0 10px;
  transition: background .15s ease, color .15s ease;
}

.copy-button:hover {
  background: rgba(0, 0, 0, .06);
  color: var(--dark);
}

.copy-button svg {
  width: 19px;
  height: 19px;
}

.copy-button.copied {
  background: #e9f8ed;
  color: var(--dark);
  font-weight: 800;
}

.empty,
.error {
  background: white;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 18px;
  color: var(--muted);
}

.error {
  color: #8a2c18;
  background: #fff5f1;
}

footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 24px 14px 36px;
  font-weight: 500;
}

@media (max-width: 640px) {
  .promo-bar {
    font-size: 12px;
    padding: 7px 12px;
  }

  .tabs {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .tab {
    white-space: nowrap;
  }

  .main-logo {
    width: 68px;
    height: 68px;
  }

  .brand p {
    font-size: 14px;
  }

  h2 {
    font-size: 22px;
  }

  .card {
    padding: 12px 14px;
  }

  .card-title {
    font-size: 15px;
  }

  .copy-button {
    min-width: 32px;
    height: 32px;
  }
}