
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&family=Tajawal:wght@400;500;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Tajawal', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #FBF7F0;
  color: #1A1A1A;
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
a { color: #0B5846; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Nav ===== */
.site-nav {
  background: #FFFFFF;
  border-bottom: 1px solid #E5E0D5;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; gap: 20px; }
.nav-logo img { height: 64px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-weight: 600; color: #1A1A1A; font-size: 15px; }
.nav-links a:hover { color: #0B5846; }
.nav-cta { background: #D4A017; color: #1A1A1A !important; padding: 9px 18px; border-radius: 6px; font-weight: 700; }
.nav-toggle { display: none; background: none; border: none; font-size: 28px; cursor: pointer; color: #0B5846; }

/* ===== Hero ===== */
.hero { background: linear-gradient(135deg, #0B5846 0%, #073D31 100%); color: #fff; padding: 60px 0 70px; }
.hero h1 { font-family: 'Cairo', sans-serif; font-size: 42px; font-weight: 900; margin-bottom: 20px; line-height: 1.3; }
.hero-byline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  padding: 8px 18px 8px 8px;
  background: #ffffff;
  border-radius: 999px;
  color: #1A1A1A !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transition: transform 0.15s, box-shadow 0.15s;
}
.hero-byline:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.25); text-decoration: none !important; }
.hero-byline-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #D4A017;
  flex-shrink: 0;
}
.hero-byline-text { display: flex; flex-direction: column; gap: 3px; line-height: 1.3; }
.hero-byline-name-row { display: flex; align-items: center; gap: 7px; }
.hero-byline-name { color: #1A1A1A; font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 16px; }
.hero-byline-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #0B5846;
  color: #ffffff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.hero-byline-meta { font-size: 12.5px; color: #6B6B6B; display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.hero-byline-sep { color: #E5E0D5; }
.hero .lede { font-size: 20px; opacity: 0.95; margin-bottom: 24px; max-width: 760px; line-height: 1.6; }
.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.2); }
.hero-stat { font-size: 14px; }
.hero-stat strong { display: block; font-size: 24px; font-weight: 900; font-family: 'Cairo', sans-serif; }

/* ===== Sections ===== */
section { padding: 50px 0; }
section h2 {
  font-family: 'Cairo', sans-serif;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #073D31;
  line-height: 1.35;
  border-bottom: 3px solid #D4A017;
  padding-bottom: 12px;
  display: inline-block;
}
section h3 { font-family: 'Cairo', sans-serif; font-size: 22px; font-weight: 700; margin: 28px 0 12px; color: #1A1A1A; }
section p { margin-bottom: 16px; }
section ul, section ol { margin: 0 24px 18px 0; padding-right: 22px; }
section li { margin-bottom: 10px; }

/* ===== Read-more (in-text expander) ===== */
.read-more { margin: 4px 0 22px; }
.read-more > summary {
  display: inline-block;
  cursor: pointer;
  list-style: none;
  color: #0B5846;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px dotted #0B5846;
  transition: color 0.15s, border-color 0.15s;
}
.read-more > summary::-webkit-details-marker { display: none; }
.read-more > summary::after {
  content: ' ↓';
  display: inline-block;
  margin-right: 4px;
  transition: transform 0.2s;
}
.read-more[open] > summary::after { content: ' ↑'; }
.read-more > summary:hover { color: #D4A017; border-color: #D4A017; }
.read-more[open] > summary { margin-bottom: 10px; }
.read-more > p { margin-bottom: 14px; }

/* ===== Toplist ===== */
.toplist { display: flex; flex-direction: column; gap: 18px; margin: 30px 0; }
.casino-card {
  background: #FFFFFF;
  border: 1px solid #E5E0D5;
  border-radius: 12px;
  padding: 22px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.15s, box-shadow 0.15s;
}
.casino-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.cc-rank { font-family: 'Cairo', sans-serif; font-size: 44px; font-weight: 900; color: #D4A017; text-align: center; line-height: 1; }
.cc-mid { display: flex; flex-direction: column; gap: 8px; }
.cc-logo { display: flex; align-items: center; gap: 14px; }
.cc-logo img { width: 130px; height: auto; max-height: 50px; object-fit: contain; }
.cc-name { font-family: 'Cairo', sans-serif; font-size: 22px; font-weight: 800; color: #073D31; }
.cc-rating { color: #D4A017; font-weight: 700; }
.cc-tag { font-size: 14px; color: #6B6B6B; line-height: 1.5; }
.cc-bonus { background: #FBF7F0; padding: 8px 14px; border-radius: 6px; margin-top: 6px; font-weight: 600; font-size: 14px; }
.cc-right { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 170px; }
.cc-cta {
  background: #D4A017;
  color: #1A1A1A !important;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  box-shadow: 0 3px 8px rgba(212, 160, 23, 0.3);
  transition: all 0.15s;
}
.cc-cta:hover { background: #8E6B1E; color: #fff !important; text-decoration: none; transform: translateY(-1px); }
.cc-meta { font-size: 13px; color: #6B6B6B; text-align: center; }

/* ===== Review tiles (detail) ===== */
.review-tile { background: #FFFFFF; border: 1px solid #E5E0D5; border-radius: 10px; padding: 26px; margin-bottom: 24px; }
.review-tile h3 { display: flex; align-items: center; gap: 12px; margin-top: 0; font-size: 22px; }
.review-tile .rt-rank { color: #D4A017; font-weight: 900; font-family: 'Cairo', sans-serif; }
.review-tile .rt-rating { background: #0B5846; color: #fff; padding: 4px 12px; border-radius: 5px; font-size: 14px; font-weight: 700; margin-right: auto; }
.review-tile .rt-tag { color: #6B6B6B; font-style: italic; margin-bottom: 14px; }
.review-tile .rt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 16px 0; }
.rt-pros, .rt-cons { padding: 14px; border-radius: 6px; }
.rt-pros { background: rgba(11, 88, 70, 0.06); border-right: 4px solid #0B5846; }
.rt-cons { background: rgba(201, 82, 47, 0.06); border-right: 4px solid #C9522F; }
.rt-pros strong, .rt-cons strong { font-family: 'Cairo', sans-serif; color: #073D31; }
.rt-meta { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid #E5E0D5; font-size: 14px; color: #6B6B6B; }
.rt-meta span strong { color: #1A1A1A; }
.rt-cta-row { margin-top: 18px; }
.rt-cta-row a { display: inline-block; background: #D4A017; color: #1A1A1A !important; padding: 12px 30px; border-radius: 8px; font-weight: 800; font-family: 'Cairo', sans-serif; }
.rt-cta-row a:hover { background: #8E6B1E; color: #fff !important; text-decoration: none; }

/* ===== Comparison table ===== */
.comp-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; background: #FFFFFF; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.comp-table th { background: #0B5846; color: #fff; padding: 14px; text-align: right; font-family: 'Cairo', sans-serif; font-weight: 700; font-size: 15px; }
.comp-table td { padding: 12px 14px; border-bottom: 1px solid #E5E0D5; }
.comp-table tr:nth-child(even) td { background: #FBF7F0; }
.comp-table tr:last-child td { border-bottom: none; }
.comp-table .ct-name { font-family: 'Cairo', sans-serif; font-weight: 700; color: #073D31; }
.comp-table .ct-cta a { background: #D4A017; color: #1A1A1A !important; padding: 6px 14px; border-radius: 5px; font-weight: 700; font-size: 14px; }

/* ===== FAQ ===== */
.faq { margin-top: 20px; }
.faq details { background: #FFFFFF; border: 1px solid #E5E0D5; border-radius: 8px; margin-bottom: 12px; padding: 0; overflow: hidden; }
.faq summary { padding: 18px 22px; font-family: 'Cairo', sans-serif; font-weight: 700; cursor: pointer; font-size: 17px; color: #073D31; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; left: 22px; top: 18px; font-size: 22px; color: #D4A017; font-weight: 900; }
.faq details[open] summary::after { content: '−'; }
.faq details[open] summary { border-bottom: 1px solid #E5E0D5; }
.faq .faq-a { padding: 16px 22px 20px; font-size: 16px; line-height: 1.7; }

/* ===== Author block ===== */
.author-block { background: #FFFFFF; border: 1px solid #E5E0D5; border-radius: 12px; padding: 28px; margin: 30px 0; display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: start; }
.author-block img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 3px solid #D4A017; }
.author-block h3 { margin-top: 0; font-size: 22px; color: #073D31; }
.author-block .ab-title { color: #6B6B6B; font-size: 14px; margin-bottom: 12px; }
.author-block .ab-bio { font-size: 15px; line-height: 1.7; }

/* ===== Disclaimer / Compliance ===== */
.compliance { background: rgba(201, 82, 47, 0.06); border: 1px solid rgba(201, 82, 47, 0.3); border-radius: 8px; padding: 18px 22px; margin: 30px 0; font-size: 14px; }
.compliance strong { color: #C9522F; font-family: 'Cairo', sans-serif; }

/* ===== Footer ===== */
.site-footer { background: #073D31; color: #fff; padding: 50px 0 30px; margin-top: 60px; }
.site-footer a { color: #fff; opacity: 0.85; }
.site-footer a:hover { opacity: 1; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 30px; }
.footer-col h4 { font-family: 'Cairo', sans-serif; font-size: 17px; margin-bottom: 14px; color: #D4A017; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; font-size: 14px; }
.footer-brand img { height: 50px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.7; opacity: 0.9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 22px; font-size: 13px; opacity: 0.8; text-align: center; line-height: 1.7; }
.footer-badges { display: flex; gap: 18px; align-items: center; justify-content: center; margin: 18px 0; flex-wrap: wrap; }
.footer-badges span { background: rgba(255,255,255,0.1); padding: 6px 14px; border-radius: 5px; font-size: 13px; font-weight: 700; }

/* ===== Breadcrumbs ===== */
.crumbs { font-size: 13px; color: #6B6B6B; padding: 12px 0; }
.crumbs a { color: #6B6B6B; }
.crumbs span { margin: 0 6px; }

/* ===== 404 page ===== */
.error-page {
  max-width: 720px;
  margin: 60px auto 80px;
  text-align: center;
  padding: 0 20px;
}
.error-code {
  font-family: 'Cairo', sans-serif;
  font-size: 140px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #0B5846, #D4A017);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.error-page h1 {
  font-family: 'Cairo', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #073D31;
  margin-bottom: 14px;
}
.error-lede { font-size: 17px; color: #6B6B6B; line-height: 1.7; margin-bottom: 32px; }
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.error-btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 800;
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  text-decoration: none !important;
  transition: transform 0.15s, box-shadow 0.15s;
}
.error-btn-primary { background: #D4A017; color: #1A1A1A !important; box-shadow: 0 3px 10px rgba(212, 160, 23, 0.3); }
.error-btn-primary:hover { background: #8E6B1E; color: #fff !important; transform: translateY(-1px); }
.error-btn-secondary { background: transparent; color: #0B5846 !important; border: 2px solid #0B5846; }
.error-btn-secondary:hover { background: #0B5846; color: #fff !important; }
.error-suggest { background: #FFFFFF; border: 1px solid #E5E0D5; border-radius: 12px; padding: 28px 32px; text-align: right; }
.error-suggest h2 { font-family: 'Cairo', sans-serif; font-size: 19px; color: #073D31; margin-bottom: 14px; border: none; padding: 0; display: block; }
.error-suggest ul { list-style: none; padding: 0; margin: 0; }
.error-suggest li { border-bottom: 1px solid #E5E0D5; padding: 12px 0; }
.error-suggest li:last-child { border-bottom: none; }
.error-suggest a { color: #0B5846; font-weight: 600; }

@media (max-width: 768px) {
  .error-page { margin: 30px auto 50px; }
  .error-code { font-size: 96px; }
  .error-page h1 { font-size: 24px; }
  .error-lede { font-size: 15px; }
  .error-actions { flex-direction: column; }
  .error-btn { width: 100%; }
  .error-suggest { padding: 20px; }
}

/* ===== Article (EEAT pages) ===== */
.article { max-width: 820px; margin: 30px auto; background: #FFFFFF; border: 1px solid #E5E0D5; border-radius: 12px; padding: 40px; }
.article h1 { font-family: 'Cairo', sans-serif; font-size: 36px; font-weight: 900; color: #073D31; margin-bottom: 16px; line-height: 1.3; }
.article .meta { color: #6B6B6B; font-size: 14px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #E5E0D5; }
.article h2 { border: none; display: block; padding-bottom: 0; margin-top: 32px; }

/* ===== Mobile (≤768px) ===== */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .container { padding: 0 14px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 60px; right: 0; background: #FFFFFF; flex-direction: column; width: 100%; padding: 18px; gap: 14px; border-bottom: 1px solid #E5E0D5; }
  .site-nav .nav-inner { padding: 6px 0; }
  .nav-logo img { height: 46px; }

  /* Mobile — give H1 breathing room, keep editorial visible */
  .hero { padding: 28px 0 28px; }
  .hero h1 { font-size: 22px; line-height: 1.35; margin: 0 0 14px; }
  .hero .lede { font-size: 13px; line-height: 1.55; margin-bottom: 0; }
  .hero-stats { display: none; }
  .crumbs { display: none; }
  .hero-byline { gap: 10px; margin: 0 0 16px; padding: 8px 12px 8px 14px; }
  .hero-byline-img { width: 44px; height: 44px; border-width: 2px; }
  .hero-byline-name { font-size: 14px; }
  .hero-byline-verified { width: 16px; height: 16px; font-size: 10px; }
  .hero-byline-meta { font-size: 11.5px; }

  section { padding: 18px 0; }
  section h2 { font-size: 19px; margin-bottom: 12px; padding-bottom: 6px; line-height: 1.35; }
  section h3 { font-size: 17px; margin: 16px 0 8px; }
  section p { font-size: 14px; line-height: 1.55; margin-bottom: 10px; }
  .read-more > summary { font-size: 13px; padding: 4px 0; }
  .read-more { margin: 0 0 12px; }

  .toplist { gap: 14px; margin: 8px 0 16px; }
  .casino-card { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .casino-card .cc-rank { position: absolute; top: 12px; left: 14px; font-size: 22px; }
  .casino-card { position: relative; }
  .casino-card .cc-mid { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
  .casino-card .cc-logo { flex-direction: column; gap: 6px; align-items: center; }
  .cc-logo img { width: 100%; max-width: 240px; max-height: 80px; height: auto; }
  .cc-name { font-size: 20px; }
  .cc-rating { font-size: 14px; }
  .cc-tag { font-size: 13px; line-height: 1.45; text-align: center; }
  .cc-bonus { font-size: 14px; padding: 8px 14px; text-align: center; }
  .casino-card .cc-right { min-width: 0; }
  .cc-cta { padding: 13px 18px; font-size: 15px; }
  .cc-meta { font-size: 12px; }
  .review-tile { padding: 18px; }
  .review-tile .rt-grid { grid-template-columns: 1fr; }
  .author-block { grid-template-columns: 1fr; text-align: center; }
  .author-block img { margin: 0 auto; width: 110px; height: 110px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .comp-table { font-size: 13px; }
  .comp-table th, .comp-table td { padding: 8px 6px; }
  .article { padding: 22px; }
  .article h1 { font-size: 26px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
