/* main.css — centralshedsandfencing.co.uk — Non Gamstop Casinos UK */

/* ===== CSS VARIABLES ===== */
:root {
  --accent: #16A34A;
  --accent-dark: #15803d;
  --text: #111827;
  --bg: #FFFFFF;
  --gold: #D97706;
  --gold-light: #fef3c7;
  --border: #e5e7eb;
  --surface: #f9fafb;
  --hero-bg: #0f172a;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--bg); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== BASE RULE — must be outside media query ===== */
.mobile-nav { display: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.875rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.35rem; }

/* ===== LAYOUT ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3.5rem 0; }
.section:nth-child(even) { background: var(--surface); }

/* ===== HEADER ===== */
.site-header { background: #0f172a; padding: 0.875rem 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.site-logo { color: #fff; font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }
.site-logo:hover { text-decoration: none; color: var(--accent); }
.site-nav { display: flex; gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.site-nav a { color: #cbd5e1; font-size: 0.9rem; transition: color 0.2s; }
.site-nav a:hover { color: #fff; text-decoration: none; }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important; color: #fff; padding: 4rem 0 3rem; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(22,163,74,0.2); border: 1px solid var(--accent); color: #86efac; border-radius: 2rem; padding: 0.3rem 0.875rem; font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem; }
.hero h1 { color: #e2e8f0; margin-bottom: 1rem; }
.hero-lead { color: #cbd5e1; font-size: 1.1rem; margin-bottom: 1.5rem; max-width: 680px; }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-bottom: 2rem; }
.btn-primary { background: var(--accent); color: #fff !important; padding: 0.75rem 1.75rem; border-radius: var(--radius); font-weight: 700; font-size: 1rem; border: none; cursor: pointer; transition: background 0.2s, transform 0.1s; display: inline-flex; align-items: center; gap: 0.4rem; }
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: #e2e8f0 !important; padding: 0.75rem 1.75rem; border-radius: var(--radius); font-weight: 600; font-size: 1rem; border: 2px solid #475569; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.btn-secondary:hover { border-color: #94a3b8; text-decoration: none; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; }
.hero-stat { text-align: center; }
.hero-stat .stat-num { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.hero-stat .stat-label { font-size: 0.8rem; color: #94a3b8; }

/* ===== HERO AUTHOR BLOCK ===== */
.hero-author-block { display: flex; align-items: center; gap: 0.875rem; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 0.875rem 1.125rem; margin-top: 1.5rem; }
.hero-author-avatar { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--accent); object-fit: cover; }
.hero-author-info, .hero-author-details { flex: 1; }
.hero-author-name { color: #f1f5f9; font-weight: 600; font-size: 0.95rem; }
.hero-author-title { color: #94a3b8; font-size: 0.8rem; }
.hero-author-date { color: #64748b; font-size: 0.75rem; margin-top: 0.15rem; }

/* ===== H2 BANNERS ===== */
.h2-banner-wrap { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; }
.h2-banner-img { width: 100%; height: auto; aspect-ratio: 3/1; object-fit: cover; border-radius: var(--radius); }
.h2-banner-wrap figcaption { font-size: 0.75rem; color: #6b7280; padding: 0.4rem 0.5rem; }

/* ===== VITRINA / CASINO CARDS ===== */
.vitrina { padding: 3rem 0; }
.vitrina-grid { display: grid; gap: 1.25rem; }
.casino-card { background: #fff; border: 2px solid var(--border); border-radius: 12px; padding: 1.5rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem; transition: box-shadow 0.2s, border-color 0.2s; }
.casino-card:hover { box-shadow: var(--shadow-lg); border-color: var(--accent); }
.casino-card.featured { border-color: var(--gold); background: linear-gradient(135deg, #fffbeb 0%, #fff 60%); }
.casino-rank { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; color: var(--text); flex-shrink: 0; }
.casino-rank.gold { background: var(--gold); color: #fff; }
.casino-info { flex: 1; min-width: 0; }
.casino-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.casino-bonus { color: var(--accent); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; }
.casino-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tag { background: var(--surface); border: 1px solid var(--border); border-radius: 1rem; padding: 0.15rem 0.6rem; font-size: 0.75rem; color: #6b7280; }
.casino-badge { background: var(--gold); color: #fff; border-radius: 1rem; padding: 0.2rem 0.7rem; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.featured-badge { background: var(--gold); color: #fff; border-radius: 1rem; padding: 0.25rem 0.75rem; font-size: 0.8rem; font-weight: 700; margin-bottom: 0.5rem; display: inline-block; }
.casino-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; flex-shrink: 0; }
.casino-rating { color: var(--gold); font-weight: 700; font-size: 1rem; }
.vitrina-more { text-align: center; margin-top: 1.5rem; }
.btn-show-more { background: var(--surface); border: 2px solid var(--border); color: var(--text); padding: 0.75rem 2rem; border-radius: var(--radius); font-weight: 600; cursor: pointer; transition: all 0.2s; font-size: 1rem; }
.btn-show-more:hover { border-color: var(--accent); color: var(--accent); }
.casino-card.hidden { display: none; }

/* ===== FEATURED SNIPPETS ===== */
.fs-paragraph { background: #f0fdf4; border-left: 4px solid var(--accent); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 1.5rem; font-size: 1rem; line-height: 1.7; }
.fs-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.fs-list ol, .fs-list ul { margin: 0; }
.table-wrap { overflow-x: auto; margin-bottom: 1.75rem; border-radius: var(--radius); border: 1px solid var(--border); }
.fs-table { width: 100%; border-collapse: collapse; min-width: 540px; }
.fs-table th { background: #0f172a; color: #fff; padding: 0.75rem 1rem; text-align: left; font-size: 0.9rem; }
.fs-table td { padding: 0.6rem 1rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.fs-table tr:last-child td { border-bottom: none; }
.fs-table tr:nth-child(even) td { background: var(--surface); }

/* ===== INFO BOXES ===== */
.info-box { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: var(--radius); padding: 1.125rem 1.25rem; margin-bottom: 1.25rem; }
.info-box.warning { background: #fff7ed; border-color: #fed7aa; }
.info-box.danger { background: #fef2f2; border-color: #fecaca; }
.info-box-title { font-weight: 700; margin-bottom: 0.5rem; }

/* ===== FAQ ===== */
.faq-list { list-style: none; padding: 0; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.75rem; overflow: hidden; }
.faq-question { padding: 1rem 1.25rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: #fff; }
.faq-question:hover { background: var(--surface); }
.faq-question .faq-icon { font-size: 1.2rem; transition: transform 0.25s; }
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 1.25rem 1rem; }
.faq-item.open .faq-answer { display: block; }

/* ===== REVIEWED BY SECTION ===== */
.reviewed-by-section { background: #f0fdf4; border-top: 3px solid var(--accent); padding: 2.5rem 0; }
.reviewed-by-title { font-size: 1.1rem; font-weight: 700; text-align: center; margin-bottom: 1.5rem; color: var(--text); }
.reviewers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.reviewer-card { background: #f0fdf4; border: 2px solid var(--accent); border-radius: 12px; padding: 1.25rem; text-align: center; }
.reviewer-avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 0.75rem; object-fit: cover; border: 2px solid var(--accent); }
.reviewer-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.2rem; }
.reviewer-role { font-size: 0.8rem; color: #6b7280; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 0.75rem 0; }
.breadcrumb-list { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0; margin: 0; font-size: 0.85rem; color: #6b7280; }
.breadcrumb-list li + li::before { content: '›'; margin-right: 0.35rem; }
.breadcrumb-list a { color: #6b7280; }
.breadcrumb-list a:hover { color: var(--accent); }

/* ===== FOOTER ===== */
.site-footer { background: #0f172a; color: #94a3b8; padding: 2.5rem 0 1.5rem; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 1.5rem; }
.footer-logo { color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.footer-desc { font-size: 0.85rem; line-height: 1.6; }
.footer-links-title { color: #e2e8f0; font-weight: 600; margin-bottom: 0.75rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: #94a3b8; font-size: 0.85rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; font-size: 0.8rem; color: #64748b; text-align: center; }
.footer-disclaimer { margin-top: 0.5rem; font-size: 0.75rem; color: #4b5563; }

/* ===== ANIMATIONS / KEYFRAMES ===== */
@keyframes pulse-green { 0%,100% { box-shadow: 0 0 0 0 rgba(22,163,74,.4); } 50% { box-shadow: 0 0 0 10px rgba(22,163,74,0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.btn-primary { animation: pulse-green 2.5s infinite; }
.hero { animation: fadeIn 0.6s ease-out; }
.casino-card { animation: fadeInUp 0.4s ease-out; }

/* ===== STICKY CTA ===== */
.sticky-cta-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #0f172a; color: #fff; padding: 0.75rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; z-index: 200; box-shadow: 0 -4px 16px rgba(0,0,0,0.3); transform: translateY(100%); transition: transform 0.3s ease; }
.sticky-cta-bar.visible { transform: translateY(0); }
.sticky-cta-bar .sticky-text { font-size: 0.9rem; color: #cbd5e1; }
.sticky-cta-bar .sticky-text strong { color: #86efac; }

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .mobile-nav { display: flex; flex-direction: column; }
  .site-nav { display: none; }
  .casino-card { grid-template-columns: auto 1fr; }
  .casino-cta { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .reviewers-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .hero-stat .stat-num { font-size: 1.25rem; }
}
@media (min-width: 768px) {
  .vitrina-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
}
