/* agrigentoarte.it — theme: deep teal + coral duo, Poppins/Inter */

:root {
  --dark: #0e2c2f;
  --dark-2: #123a3d;
  --primary: #176b70;
  --primary-light: #e6f1f1;
  --accent: #ff6b4a;
  --accent-dark: #e0532f;
  --bg: #f7f5f0;
  --card: #ffffff;
  --border: #e6e2d8;
  --text: #182524;
  --muted: #5c6e6f;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(14, 44, 47, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  line-height: 1.25;
  margin: 0 0 0.6em;
  color: var(--dark);
  font-weight: 700;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); color: #fff; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 20px;
  gap: 16px;
  flex-wrap: nowrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; opacity: 0.9; }
.brand img { width: 38px; height: 38px; flex-shrink: 0; }
.main-nav {
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.main-nav a {
  color: #d9e6e6;
  font-size: 0.95rem;
  font-weight: 500;
}
.main-nav a:hover { color: #fff; }

@media (max-width: 700px) {
  .header-inner { padding: 10px 16px; gap: 10px; }
  .header-inner .brand { font-size: 0; gap: 0; }
  .header-inner .brand img { width: 34px; height: 34px; }
  .main-nav ul { gap: 16px; }
  .main-nav a { font-size: 0.88rem; }
}

/* Hero */
.hero {
  background: linear-gradient(155deg, var(--dark) 0%, var(--dark-2) 65%, #0a2224 100%);
  padding: 40px 0 34px;
}
.hero .container { max-width: 900px; }
.eyebrow {
  display: inline-block;
  background: rgba(255, 107, 74, 0.15);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.hero p.lead {
  color: #cfe0e0;
  font-size: 1.05rem;
  max-width: 640px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; transform: translateY(-1px); }
.btn.secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn.secondary:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.btn.small { padding: 9px 16px; font-size: 0.88rem; }

/* Toplist section — kept near the very top, first section visible on mobile */
.toplist-section {
  background: var(--primary-light);
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--border);
}
.toplist-section h2 { margin-bottom: 6px; }
.toplist-section .lede { color: var(--muted); max-width: 680px; margin-bottom: 18px; }
.toplist-wrap {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 6px;
}
.legal-note {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 14px;
}

/* Trust / author bar */
.trust-bar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  margin: 30px 0;
  box-shadow: var(--shadow);
}
.trust-bar img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.trust-bar .who { font-weight: 700; color: var(--dark); font-family: 'Poppins', sans-serif; }
.trust-bar .role { color: var(--muted); font-size: 0.9rem; }
.trust-bar a.about-link { font-size: 0.88rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) {
  .trust-bar { flex-wrap: wrap; }
  .trust-bar > div { flex-basis: 100%; }
  .trust-bar a.about-link { flex-basis: 100%; margin-left: 78px; }
}

/* Content sections */
main { display: block; }
section.content { padding: 34px 0; }
section.content:not(:last-of-type) { border-bottom: 1px solid var(--border); }
.section-card {
  background: var(--card);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
  margin-bottom: 22px;
}

/* Featured casino teaser (inline, compact) */
.casino-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 18px 0 26px;
}
.casino-teaser .info strong { color: var(--dark); font-family: 'Poppins', sans-serif; }
.casino-teaser .bonus { color: var(--primary); font-weight: 600; font-size: 0.92rem; }
.casino-teaser .rating { color: var(--accent-dark); font-weight: 700; font-size: 0.85rem; margin-left: 8px; }

/* Full review blocks */
.review-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
  margin-bottom: 24px;
}
.review-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.review-head h3 { margin: 0; }
.review-head .stars { color: var(--accent-dark); font-weight: 700; white-space: nowrap; }
.review-bonus {
  display: inline-block;
  background: rgba(23, 107, 112, 0.09);
  color: var(--primary);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.review-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 14px 0; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.pros-cons .pros, .pros-cons .cons {
  border-radius: 8px;
  padding: 12px 14px;
}
.pros-cons .pros { background: rgba(27, 138, 90, 0.08); }
.pros-cons .cons { background: rgba(255, 107, 74, 0.08); }
.pros-cons p.label { font-weight: 700; margin-bottom: 6px; font-size: 0.88rem; }
.pros-cons ul { margin: 0; padding-left: 1.1em; font-size: 0.92rem; }
@media (max-width: 640px) {
  .review-cols, .pros-cons { grid-template-columns: 1fr; }
}

/* Tables — desktop */
.table-scroll { overflow-x: auto; margin: 16px 0; }
table.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
table.data-table caption { text-align: left; font-weight: 600; padding: 10px 14px; color: var(--dark); }
table.data-table th, table.data-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}
table.data-table thead th {
  background: var(--dark);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
table.data-table tbody tr:last-child td { border-bottom: none; }
table.data-table tbody tr:nth-child(even) { background: #fafaf7; }

/* Mobile stacked tables — true card-stack, not just horizontal scroll */
@media (max-width: 700px) {
  table.data-table thead { display: none; }
  table.data-table, table.data-table tbody, table.data-table tr, table.data-table td {
    display: block;
    width: 100%;
  }
  table.data-table tr {
    border-bottom: 1px solid var(--border);
    padding: 10px 4px;
  }
  table.data-table td {
    border: none;
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.9rem;
  }
  table.data-table td[data-label]::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--dark);
    flex-shrink: 0;
    padding-right: 10px;
  }
  table.data-table caption { padding: 10px 10px 0; }
}

/* FAQ */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 12px;
}
.faq-item dt { font-weight: 700; color: var(--dark); font-family: 'Poppins', sans-serif; margin-bottom: 6px; }
.faq-item dd { margin: 0; color: var(--text); }

/* Footer */
footer.site-footer {
  background: var(--dark);
  color: #b9cccb;
  padding: 34px 0 24px;
  margin-top: 20px;
  font-size: 0.9rem;
}
footer.site-footer a { color: #d9e6e6; }
footer.site-footer .foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
footer.site-footer nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; }
footer.site-footer .responsible {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  font-size: 0.82rem;
  color: #8fa6a5;
}
.badge-18 {
  display: inline-block;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: 5px;
  margin-right: 6px;
}

/* Simple page hero (for sub pages) */
.page-hero {
  background: linear-gradient(155deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 36px 0;
}
.page-hero p.lead { color: #cfe0e0; max-width: 680px; }

.breadcrumb {
  font-size: 0.85rem;
  color: #b9cccb;
  margin-bottom: 10px;
}
.breadcrumb a { color: #b9cccb; }
.breadcrumb a:hover { color: #fff; }
