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

:root {
  --primary: #2d5a3d;
  --primary-light: #e8f1eb;
  --accent: #e9a83a;
  --accent-hover: #d18f28;
  --text: #2c3e32;
  --text-light: #6b7a70;
  --bg: #ffffff;
  --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  --border-radius: 16px;
  --transition: 0.25s ease;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  border-bottom: 1px solid #eef2ef;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  color: var(--primary);
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.logo-sub {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.3px;
  margin-top: -4px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

nav a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #1e1e1e;
  box-shadow: 0 4px 12px rgba(233, 168, 58, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
}

.mobile-actions {
  display: none;
  gap: 16px;
  align-items: center;
}

.icon-btn {
  background: none;
  border: 1px solid #d0d9d2;
  border-radius: 40px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text);
  transition: all var(--transition);
}

.icon-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px;
  background: white;
  border-bottom: 1px solid #eef2ef;
}

.mobile-menu a {
  padding: 12px 0;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid #f5f7f5;
}

.mobile-menu.open {
  display: flex;
}

.hero {
  padding: 40px 0 10px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: stretch;
}

.map-area {
  background: #e4ebe5;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background-image: url('https://images.unsplash.com/photo-1526772662000-3f88f10405ff?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  min-height: 520px;
}

.map-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: white;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.map-card {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  max-width: 200px;
  cursor: pointer;
  transition: transform var(--transition);
}

.map-card:hover {
  transform: translateY(-4px);
}

.map-card-1 {
  bottom: 80px;
  left: 30px;
}

.map-card-2 {
  top: 80px;
  right: 40px;
}

.map-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.map-card p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.price-tag {
  font-weight: 700;
  font-size: 1.1rem;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-block {
  background: var(--primary-light);
  border-radius: var(--border-radius);
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.info-block h2 {
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--primary);
}

.info-block p {
  color: var(--text-light);
  margin-bottom: 20px;
  flex: 1;
}

.cctv-section {
  padding: 40px 0 20px;
}

.cctv-banner {
  background: linear-gradient(135deg, #1f3d2b 0%, #2d5a3d 100%);
  border-radius: var(--border-radius);
  padding: 40px 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  color: white;
}

.cctv-text h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.cctv-text p {
  opacity: 0.85;
  font-size: 1rem;
  max-width: 500px;
}

.cctv-features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.cctv-feature {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
}

.btn-white-cctv {
  background: white;
  color: var(--primary);
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 40px;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition);
}

.btn-white-cctv:hover {
  background: #f0f5f1;
  transform: translateY(-2px);
}

.board-section {
  padding: 20px 0 60px;
}

.board-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.board-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.board-item {
  background: white;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: var(--card-shadow);
  border-left: 4px solid var(--primary);
}

.board-item.accent {
  border-left-color: var(--accent);
}

.board-item.alert {
  border-left-color: #c05b4d;
}

.board-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.board-tag.paid {
  color: var(--accent);
}

.board-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.board-text {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.board-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  gap: 16px;
  align-items: center;
}

.side-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gate-card {
  background: var(--primary);
  color: white;
  border-radius: var(--border-radius);
  padding: 28px 24px;
  box-shadow: 0 12px 28px rgba(45, 90, 61, 0.2);
}

.gate-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.gate-card p {
  opacity: 0.85;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.btn-white {
  background: white;
  color: var(--primary);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  width: 100%;
}

.btn-white:hover {
  background: #f0f5f1;
}

.exchange-card {
  background: #fdf6e8;
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.exchange-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.exchange-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.exchange-mini-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.exchange-mini-item {
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
}

.exchange-mini-item span:last-child {
  font-weight: 600;
  white-space: nowrap;
}

.support-card {
  background: white;
  border: 1px solid #eef2ef;
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: left;
  box-shadow: var(--card-shadow);
}

.support-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.carousel-section {
  padding: 50px 0;
}

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.cat-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.cat-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.cat-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cat-body h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.cat-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 16px;
  flex: 1;
}

.cat-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

footer {
  border-top: 1px solid #eef2ef;
  padding: 32px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.donate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-light);
  border: 1px solid var(--primary);
  border-radius: 40px;
  padding: 10px 18px;
  cursor: pointer;
  color: var(--primary);
  font-weight: 500;
  transition: all var(--transition);
  width: 100%;
}

.donate-btn:hover {
  background: #dbe9df;
}

.to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary);
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.to-top.visible {
  opacity: 1;
  visibility: visible;
}

.to-top:hover {
  background: #dbe9df;
}

.is-disabled {
  opacity: 0.35;
  filter: grayscale(0.9);
  pointer-events: none;
  user-select: none;
}

@media (max-width: 900px) {
  .hero-grid,
  .board-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .map-area {
    min-height: 360px;
  }

  .map-card-1 {
    bottom: 20px;
    left: 16px;
  }

  .map-card-2 {
    top: 20px;
    right: 16px;
  }

  .cctv-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-actions {
    display: flex;
  }
}

@media (max-width: 600px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
  }

  .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

.board-empty {
  background: white;
  border-radius: 12px;
  padding: 24px;
  color: var(--text-light);
  text-align: center;
  box-shadow: var(--card-shadow);
  border: 1px dashed #d0d9d2;
}

.isomorph-brand {
  margin-right: 60px;
}

.board-text h1,
.board-text h2,
.board-text h3,
.board-text h4 {
  margin: 0 0 8px;
  font-weight: 600;
  color: var(--text);
}

.board-text p {
  margin: 0 0 8px;
}

.board-text ul,
.board-text ol {
  margin: 0 0 8px 18px;
  padding: 0;
}

.board-text ul {
  padding-bottom: 20px;
}

.board-text li {
  margin: 0;
  padding: 0;
}

.board-text a {
  color: var(--primary);
  text-decoration: underline;
}