@font-face {
  font-family: 'NotoSansThai';
  src: url('font/static/NotoSansThai-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'NotoSansThai';
  src: url('font/static/NotoSansThai-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'NotoSansThai';
  src: url('font/static/NotoSansThai-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'NotoSansThai';
  src: url('font/static/NotoSansThai-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

:root {
  --surface-bg: #FAFCF8;
  --surface-1: #FFFFFF;
  --surface-2: #F4F7F0;
  --surface-3: #EBF0E5;
  --border: #D8E3CC;

  --forest-600: #4A7C59;
  --forest-700: #3A6447;
  --forest-100: #E8F4EC;

  --text-primary: #1A2921;
  --text-secondary: #4A5D52;
  --text-tertiary: #7A8C82;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: 'NotoSansThai', -apple-system, sans-serif;
  background: var(--surface-bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Navigation */
.nav {
  background: var(--surface-1);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-primary);
}

.logo-icon {
  width: 24px;
  height: 24px;
  color: var(--forest-600);
}

.nav-links {
  display: flex;
  gap: 8px;
  flex: 1;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s;
}

.nav-link:hover {
  background: var(--surface-2);
  color: var(--text-primary);
}

.nav-link.active {
  background: var(--forest-100);
  color: var(--forest-700);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-primary {
  background: var(--forest-600);
  color: white;
}

.btn-primary:hover {
  background: var(--forest-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--surface-3);
}

.btn-discord {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: #5865F2;
  color: white;
  border: none;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-discord:hover {
  background: #4752C4;
  transform: translateY(-1px);
}

.icon {
  width: 20px;
  height: 20px;
}

/* Hero */
.hero {
  padding: 80px 0;
  text-align: center;
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(18px, 3vw, 24px);
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-tertiary);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats */
.stats {
  padding: 48px 0;
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 24px;
}

.stat-icon {
  width: 40px;
  height: 40px;
  color: var(--forest-600);
  margin-bottom: 12px;
  stroke-width: 1.5;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Guide */
.guide {
  padding: 64px 0;
}

.section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--forest-600);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-content code {
  background: var(--surface-2);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: var(--forest-700);
}

/* Currency */
.currency {
  padding: 64px 0;
  background: var(--surface-1);
  border-top: 1px solid var(--border);
}

.currency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.currency-card {
  background: var(--surface-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.2s;
}

.currency-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.currency-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  stroke-width: 1.5;
}

.currency-icon.time {
  color: #6366F1;
}

.currency-icon.point {
  color: #F59E0B;
}

.currency-icon.gems {
  color: #10B981;
}

.currency-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.currency-earn {
  font-size: 14px;
  font-weight: 600;
  color: var(--forest-600);
  margin-bottom: 12px;
}

.currency-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Footer */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
}

.footer-text {
  color: var(--text-tertiary);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 48px 0;
  }

  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

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

  .currency-grid {
    grid-template-columns: 1fr;
  }
}
