/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: #f3f4f6;
  color: #111827;
  line-height: 1.7;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* GLOBAL TYPOGRAPHY */
p {
  font-size: 15px;
  color: #374151;
  margin-bottom: 10px;
}

h1,
h2,
h3 {
  color: #111827;
}

h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

/* HEADER */
.site-header {
  background: #111827;
  color: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  gap: 8px;
  align-items: center;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #10b981, #3b82f6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.logo-text {
  font-weight: bold;
  font-size: 18px;
}

/* MENU */
.main-nav {
  display: flex;
  gap: 14px;
  font-size: 14px;
}

.main-nav a {
  color: #e5e7eb;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}

.main-nav a:hover {
  background: #1f2937;
  color: #ffffff;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #0f172a, #111827);
  color: #fff;
  padding: 32px 0 26px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero h1 {
  font-size: 30px;
  margin-bottom: 6px;
  color: #ffffff;
}

.hero-subtitle {
  max-width: 720px;
  font-size: 15px;
  color: #e5e7eb;
}

.hero-meta {
  font-size: 13px;
  color: #9ca3af;
}

/* TOP LIST */
.top-list {
  padding: 24px 0 10px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.top-list h2 {
  font-size: 22px;
  margin-bottom: 14px;
}

/* OFFER: 4 columns */
.offer {
  background: #fff;
  border-radius: 12px;
  padding: 18px 18px;
  display: grid;
  grid-template-columns: 160px 1fr 220px 180px;
  gap: 18px;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

/* COLUMN 1 */
.col-logo {
  text-align: center;
}

.offer-logo {
  max-width: 120px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.stars {
  font-size: 15px;
  color: #f59e0b;
}

.stars span {
  margin-left: 4px;
  font-weight: 600;
  color: #374151;
}

/* COLUMN 2 */
.col-info h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.col-info ul {
  list-style: none;
}

.col-info ul li {
  font-size: 14px;
  margin-bottom: 3px;
  color: #4b5563;
}

/* COLUMN 3 */
.col-bonus {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bonus-frame {
  padding: 14px 20px;
  border-radius: 12px;
  background: #ecfdf3;
  border: 2px solid #22c55e;
  color: #15803d;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  width: 100%;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

/* COLUMN 4 */
.col-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}

.btn-visit {
  padding: 9px 18px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.1s, box-shadow 0.1s, opacity 0.1s;
}

.btn-visit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.45);
  opacity: 0.96;
}

.cta-note {
  font-size: 12px;
  color: #6b7280;
  text-align: right;
}

/* ARTICLE SECTION */
.article-section {
  padding: 26px 0 30px;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.article-section .container {
  max-width: 900px;
}

.article-section h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.article-section h3 {
  margin-top: 16px;
  margin-bottom: 6px;
}

.article-section p {
  margin-bottom: 10px;
}

/* FAQ */
.faq-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  border: 1px solid #e5e7eb;
}

.faq-item h3 {
  margin-bottom: 4px;
}

.faq-item p {
  margin-bottom: 0;
}

/* MAIN CONTENT / TABLE */
.content {
  padding: 26px 0 40px;
}

/* centered ranking title */
.ranking-title {
  text-align: center;
  font-size: 22px;
  margin-bottom: 14px;
  color: #111827;
}

.table-wrapper {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow-x: auto;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ranking-table thead {
  background: #f9fafb;
}

.ranking-table th,
.ranking-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.ranking-table th {
  font-weight: 600;
  color: #111827;
}

/* FOOTER */
.site-footer {
  background: #f9fafb;
  color: #6b7280;
  padding: 16px 0 18px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.footer-inner p {
  font-size: 13px;
}

.footer-disclaimer {
  margin-top: 4px;
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .offer {
    grid-template-columns: 1fr;
  }

  .col-logo {
    text-align: center;
  }

  .col-bonus {
    margin-top: 6px;
  }

  .col-cta {
    align-items: center;
    text-align: center;
    margin-top: 8px;
  }

  .cta-note {
    text-align: center;
  }

  .article-section .container {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 8px;
  }

  .hero h1 {
    font-size: 24px;
  }
}
