/* ===== Shared site styles — Coin Master Free Spins and Coins ===== */
:root{
  --bg: #fafaf9;
  --text: #1c1b1a;
  --muted: #6b6660;
  --accent: #c8841d;
  --accent-dark: #9c620f;
  --border: #e7e2dc;
  --card: #ffffff;
  --gold: #f6c343;
}

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

body{
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

a{ color: var(--accent-dark); }

.container{ max-width: 800px; margin: 0 auto; padding: 0 1.25rem 3rem; }

header.top{
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card);
}
header.top .logo{
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}
header.top .logo span{ color: var(--accent); }

main{ padding-top: 2rem; }

h1{ font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 800; line-height: 1.25; margin-bottom: 1rem; }
h2{ font-size: 1.25rem; font-weight: 800; margin: 1.8rem 0 0.8rem; }
h3{ font-size: 1.05rem; font-weight: 700; margin: 1.3rem 0 0.5rem; }
p{ color: #3d3526; font-size: 0.96rem; margin-bottom: 0.9rem; }
ul.plain-list{ margin: 0 0 1rem 1.2rem; color: #3d3526; font-size: 0.96rem; }
ul.plain-list li{ margin-bottom: 0.4rem; }

.breadcrumb{
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.breadcrumb a{ color: var(--accent-dark); text-decoration: none; }

.hero-image{
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: block;
}

.byline{
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Social share row (reused from homepage) */
.share-row{ display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.share-row button{
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.share-row button:hover{ transform: translateY(-2px); opacity: 0.9; }
.share-facebook{ background: #1877f2; }
.share-twitter{ background: #1da1f2; }
.share-telegram{ background: #0088cc; }
.share-whatsapp{ background: #25d366; }
.share-linkedin{ background: #0a66c2; }
.share-pinterest{ background: #bd081c; }

.share-toast{
  position: fixed; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #2b2415; color: #fff;
  padding: 0.6rem 1.1rem; border-radius: 8px;
  font-size: 0.85rem; opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none; z-index: 999;
}
.share-toast.show{ opacity: 1; transform: translateX(-50%) translateY(0); }

/* Numbered legal lists (Terms / Privacy) */
ol.legal-list{ margin: 0 0 1rem 1.2rem; color: #3d3526; font-size: 0.94rem; }
ol.legal-list li{ margin-bottom: 0.65rem; }

/* Newsletter (same dark-gradient treatment as homepage) */
.newsletter{
  margin-top: 3rem;
  background: linear-gradient(135deg, #2b2415, #4a3f25);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  color: #f3ead8;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before{
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(246,195,67,0.25), transparent 70%);
  top: -80px; right: -60px;
}
.newsletter h2{ font-size: 1.4rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--gold); }
.newsletter p{ color: #d8cdb0; font-size: 0.92rem; max-width: 440px; margin: 0 auto 1.4rem; }
.newsletter-form{
  display: flex; gap: 0.6rem; max-width: 420px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center; position: relative; z-index: 1;
}
.newsletter-form input[type="email"]{
  flex: 1; min-width: 200px; padding: 0.75rem 1rem;
  border-radius: 8px; border: none; font-size: 0.92rem;
}
.newsletter-form button{
  background: var(--gold); color: #2b2415; font-weight: 800;
  border: none; padding: 0.75rem 1.3rem; border-radius: 8px;
  cursor: pointer; font-size: 0.92rem; transition: background 0.15s ease;
}
.newsletter-form button:hover{ background: #ffd666; }
.newsletter-note{ font-size: 0.75rem; color: #a89d80; margin-top: 0.9rem; }
.newsletter-success{ color: #9be29b; font-size: 0.88rem; margin-top: 0.8rem; display: none; }
.newsletter-success.show{ display: block; }

/* Related articles grid (used on homepage) */
.article-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.article-card{
  background: var(--card);
  border: 2px solid var(--gold);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.article-card img{ width: 100%; height: 160px; object-fit: cover; display: block; }
.article-card .article-body{ padding: 1rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.article-card h3{ font-size: 1.02rem; margin: 0 0 0.5rem; }
.article-card p{ font-size: 0.88rem; color: var(--muted); flex: 1; margin-bottom: 0.8rem; }
.article-card a.read-more{ font-weight: 700; font-size: 0.88rem; text-decoration: underline; }

/* Footer */
footer.site-footer{
  border-top: 1px solid var(--border);
  background: var(--card);
  text-align: center;
  padding: 1.75rem 1rem;
}
footer.site-footer .footer-links{
  display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 0.9rem; font-size: 0.88rem; font-weight: 600;
}
footer.site-footer .footer-links a{ text-decoration: none; }
footer.site-footer .footer-note{ color: var(--muted); font-size: 0.8rem; max-width: 560px; margin: 0 auto; }
footer.site-footer .footer-note a{ color: var(--accent-dark); }

@media (max-width: 480px){
  .article-card img{ height: 140px; }
}