/*
Theme Name: Carrom Pool
Theme URI: https://carrompoolapk.pro/
Author: Carrom Pool Team
Author URI: https://carrompoolapk.pro/
Description: A clean, modern, mobile-responsive theme for a Carrom Pool APK information and download landing site. Long single-page landing layout with hero, app info, game modes, features, download steps, comparison, pros and cons, and FAQs. No playable game is included.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: carrompool-theme
Tags: blog, one-column, custom-menu, featured-images, translation-ready
*/

:root {
  --bg: #fffaf0;
  --ink: #1e1a16;
  --muted: #6b6259;
  --brand: #c2410c;
  --brand-dark: #9a3412;
  --accent: #f59e0b;
  --card: #ffffff;
  --line: #eadfd2;
  --green: #15803d;
  --red: #b91c1c;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }

/* Header */
.site-header {
  background: #1e1a16;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.site-branding a { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.site-branding a span { color: var(--accent); }
.site-tagline { margin: 0; color: #d6d3d1; font-size: 0.85rem; }
.primary-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.primary-menu a { color: #fff; text-decoration: none; font-weight: 600; }
.primary-menu a:hover { color: var(--accent); }

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 48px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h1, h2, h3 { line-height: 1.25; }
h2 { font-size: 2rem; margin: 0 0 16px; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; margin: 24px 0 8px; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Hero */
.hero { background: linear-gradient(135deg, #7c2d12, #c2410c 55%, #ea580c); color: #fff; padding: 64px 0; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 0 0 12px; letter-spacing: -0.03em; }
.hero p { max-width: 720px; font-size: 1.15rem; opacity: 0.95; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #1e1a16;
  font-weight: 800;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  margin-top: 18px;
}
.btn:hover { background: #fbbf24; color: #1e1a16; }
.btn-note { display: block; margin-top: 10px; font-size: 0.9rem; opacity: 0.85; }

/* Cards / grids */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.card h3 { margin-top: 0; }
@media (max-width: 700px) {
  .grid { grid-template-columns: 1fr; }
  .section { padding: 32px 0; }
  .primary-menu { gap: 12px; }
}

/* Tables */
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
th { background: #fef3c7; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .pros-cons { grid-template-columns: 1fr; } }
.pros { border-left: 5px solid var(--green); }
.cons { border-left: 5px solid var(--red); }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 14px; }
.faq-item h3 { margin: 0 0 6px; }
.placeholder-box {
  background: #fef3c7;
  border: 1px dashed #d97706;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  color: #92400e;
}

/* Posts / pages */
.page-content, .post-content { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; margin: 32px 0; }
.post-list article { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; margin-bottom: 20px; }
.post-list h2 a { color: var(--ink); text-decoration: none; }
.post-meta { color: var(--muted); font-size: 0.9rem; }

/* Footer */
.site-footer { background: #1e1a16; color: #d6d3d1; padding: 36px 0; margin-top: 40px; }
.site-footer a { color: #fff; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
