/* =========================
   Global Reset
   ========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #111;
  line-height: 1.5;
}

/* =========================
   Site Header
   ========================= */
.site-header {
  text-align: center;
  padding: 60px 20px;
  background-color: #000000;
  color: #b0b0b0;
}
.site-header h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-header p {
  font-size: 1.1rem;
  color: #b0b0b0;
}

/* =========================
   Layout & Sections
   ========================= */
section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 48px 24px;
}
.info ol {
  margin-top: 12px;
  padding-left: 20px;
}
.site-footer {
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
  color: #555;
}

/* =========================
   Tabs Section
   ========================= */
.tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.tab {
  padding: 8px 18px;
  background-color: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.tab:hover {
  background-color: #e5e7eb;
  transform: translateY(-1px);
}
.tab.active {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}
@media (max-width: 480px) {
  .tabs {
    gap: 8px;
  }
  .tab {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}

/* =========================
   Deals Feed
   ========================= */
#deals-feed h3 {
  margin: 36px 0 16px;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 6px;
}
.deals-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* =========================
   Deal Card
   ========================= */
.deal-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.deal-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.deal-card h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #111;
  font-weight: 600;
}
.deal-card p {
  font-size: 0.9rem;
  margin-bottom: 14px;
  color: #444;
  font-weight: 500;
}

/* =========================
   View Deal Button
   ========================= */
.deal-card a {
  display: inline-block;
  align-self: flex-start;
  padding: 8px 16px;
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.deal-card a:hover {
  background: linear-gradient(180deg, #1d4ed8, #1e40af);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 900px) {
  .deals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .deals-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Version Watermark v1.1.2
   ========================= */
#version-watermark {
  position: fixed;
  bottom: 6px;
  right: 8px;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.55);
  background: rgba(255, 255, 255, 0.85);
  padding: 3px 6px;
  border-radius: 4px;
  z-index: 9999;
  pointer-events: none;
  user-select: none;
}
