/* ===== Site Factory test-uk-003 — close-clone of bestbonus-clone pattern ===== */
/* Same proven structure family: light theme, blue primary + green CTA, ranked table */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #374151;
  background: #ffffff;
}

a {
  color: #2563eb;
  text-decoration: none;
  transition: opacity 0.15s;
}
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: #111827;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2rem; margin-top: 1.5rem; }
h2 { font-size: 1.5rem; margin-top: 2.25rem; }
h3 { font-size: 1.25rem; margin-top: 2rem; }
h4 { font-size: 1.05rem; margin-top: 1.5rem; font-weight: 600; }

p { margin-bottom: 1rem; }
ul { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

/* ===== Layout ===== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ===== Header ===== */
.site-header {
  background: #ffffff;
  padding: 0.85rem 0;
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #111827;
}

.site-logo svg {
  width: 44px;
  height: 44px;
}

.site-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: #2563eb;
}

.header-sep {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1.25rem;
}

/* ===== Main ===== */
.main-content {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.post-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.post-date {
  color: #2563eb;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.post-author {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.post-author strong { color: #111827; }

.post-intro {
  color: #374151;
  margin-bottom: 1.5rem;
}

/* ===== Casino ranked table ===== */
.cf-casino-table {
  margin: 1.5rem 0 2rem;
}

.cf-rank-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.cf-rank-row {
  display: flex;
  flex-flow: row;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 1rem 1.1rem;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.cf-rank-row:last-child { border-bottom: none; }

.cf-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  flex-shrink: 0;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 6px;
}

.cf-logo {
  width: 130px;
  min-width: 130px;
  height: 80px;
  flex-shrink: 0;
  padding: 0 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.cf-logo-signature { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.cf-logo-galaxy { background: linear-gradient(135deg, #581c87, #a855f7); }
.cf-logo-titan { background: linear-gradient(135deg, #7c2d12, #f97316); }
.cf-logo-silver { background: linear-gradient(135deg, #475569, #94a3b8); }
.cf-logo-ember { background: linear-gradient(135deg, #991b1b, #ef4444); }
.cf-logo-ace { background: linear-gradient(135deg, #064e3b, #10b981); }
.cf-logo-jade { background: linear-gradient(135deg, #134e4a, #14b8a6); }
.cf-logo-oak { background: linear-gradient(135deg, #422006, #ca8a04); }

.cf-sep {
  width: 1px;
  height: 3rem;
  background: #d1d5db;
  flex-shrink: 0;
}

.cf-bonus-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 0;
  flex: 1 1 180px;
  max-width: 320px;
  text-align: center;
}

.cf-bonus-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
}

.cf-bonus-line {
  font-size: 1.02rem;
  font-weight: 600;
  color: #374151;
  line-height: 1.35;
}

.cf-rating-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

.cf-stars {
  position: relative;
  display: inline-block;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

.cf-stars-outer { color: #d1d5db; }

.cf-stars-inner {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  color: #eab308;
  white-space: nowrap;
}

.cf-rating-num {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.cf-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  flex: 1 0 140px;
}

.cf-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  width: 100%;
  max-width: 160px;
  padding: 0.7rem 1.5rem;
  background: #16a34a;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.cf-cta:hover {
  background: #15803d;
  text-decoration: none;
  color: #fff;
  transform: translateY(-1px);
}

.cf-cta--pulse {
  animation: cf-pulse 2.4s ease-in-out infinite;
}

@keyframes cf-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
}

/* ===== Pros / Cons ===== */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.25rem 0;
}

.pros, .cons {
  padding: 1rem 1.25rem;
  border-radius: 8px;
}

.pros { background: #ecfdf5; }
.cons { background: #fef2f2; }

.pros strong { color: #047857; font-size: 1rem; }
.cons strong { color: #b91c1c; font-size: 1rem; }

.pros ul, .cons ul { margin: 0.5rem 0 0; }
.pros li, .cons li { font-size: 0.92rem; }

/* ===== Info table ===== */
.info-table {
  width: 100%;
  margin: 1rem 0 1.5rem;
  border-collapse: collapse;
  font-size: 0.92rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.info-table td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.info-table tr:last-child td { border-bottom: none; }

.info-table td:first-child {
  font-weight: 600;
  color: #374151;
  width: 38%;
  background: #f9fafb;
}

/* ===== Footer ===== */
.site-footer {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding: 2rem 0 1.25rem;
  margin-top: 3rem;
}

.footer-inner {
  text-align: center;
  font-size: 0.9rem;
  color: #6b7280;
}

.rg-line {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.3rem 0.75rem;
  background: #fef3c7;
  color: #92400e;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
}

/* ===== Scroll-to-top ===== */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
}

.scroll-top:hover { background: #1d4ed8; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .pros-cons { grid-template-columns: 1fr; }
  .cf-rank-row {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .cf-logo {
    width: 100px;
    height: 60px;
  }
  .cf-bonus-block {
    flex: 1 1 100%;
  }
  .container { padding: 0 1.25rem; }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.35rem; }
}
