/* Pari Pulse - Professional sports betting site CSS */
:root {
  --red: #e10b1f;
  --red-dark: #b8081a;
  --red-light: #ff2d40;
  --black: #0a0a0a;
  --black-2: #141414;
  --black-3: #1c1c1c;
  --white: #ffffff;
  --gray: #b3b3b3;
  --gray-2: #2a2a2a;
  --gray-3: #404040;
  --shadow: 0 8px 32px rgba(225, 11, 31, 0.25);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --container: 1200px;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 180ms var(--ease-out); }
a:hover { color: var(--red); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-weight: 900; line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius-sm); font-weight: 800; font-size: 16px; text-align: center; border: 2px solid transparent; cursor: pointer; transition: all 180ms var(--ease-out); white-space: nowrap; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--red); color: white; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--red-dark); color: white; transform: translateY(-2px); }
.btn-outline { background: transparent; color: white; border-color: white; }
.btn-outline:hover { background: white; color: var(--black); }
.btn-lg { padding: 18px 36px; font-size: 17px; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); background: rgba(10, 10, 10, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.08); z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; color: white; }
.logo img { width: 40px; height: 40px; }
.logo-text { line-height: 1.1; }
.logo-text small { display: block; font-size: 11px; font-weight: 600; color: var(--red); letter-spacing: 1px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 14px; font-weight: 700; font-size: 15px; border-radius: var(--radius-sm); }
.nav a:hover, .nav a.active { background: rgba(225,11,31,0.12); color: var(--red); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: none; color: white; font-size: 24px; cursor: pointer; padding: 8px; }
@media (max-width: 1024px) {
  .nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--black-2); flex-direction: column; padding: 16px; gap: 4px; border-top: 1px solid rgba(255,255,255,0.08); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { width: 100%; text-align: right; }
  .menu-btn { display: block; }
  .header-cta .btn { padding: 10px 18px; font-size: 14px; }
}
main { padding-top: var(--header-h); }

/* Hero */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; padding: 60px 0; overflow: hidden; background: var(--black); }
.hero::before { content: ''; position: absolute; inset: 0; background: url('../images/hero.jpg') center/cover no-repeat; opacity: 0.25; z-index: 0; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at left, rgba(225,11,31,0.4) 0%, transparent 60%), linear-gradient(to right, rgba(10,10,10,0.5), rgba(10,10,10,0.95)); z-index: 1; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(225,11,31,0.18); border: 1px solid rgba(225,11,31,0.4); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--red-light); margin-bottom: 24px; }
.hero-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.4); } }
.hero h1 { margin-bottom: 16px; }
.hero h1 .red { color: var(--red); display: block; font-size: 1.1em; }
.hero-sub { font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: white; font-weight: 700; margin-bottom: 16px; }
.hero-desc { color: var(--gray); font-size: 1.05rem; margin-bottom: 32px; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-img { position: relative; }
.hero-img img { max-width: 100%; filter: drop-shadow(0 20px 60px rgba(225,11,31,0.4)); }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero-img { max-width: 320px; margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
}

/* Promo card */
.promo-card { background: linear-gradient(135deg, rgba(225,11,31,0.12), rgba(20,20,20,0.8)); border: 1px solid rgba(225,11,31,0.35); border-radius: var(--radius); padding: 24px; max-width: 560px; }
.promo-title { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-bottom: 8px; }
.promo-title-icon { width: 36px; height: 36px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.promo-desc { color: var(--gray); margin-bottom: 16px; font-size: 14px; }
.promo-desc strong { color: var(--red-light); }
.promo-code-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.promo-code-box { flex: 1; min-width: 200px; background: var(--black); border: 2px dashed var(--red); border-radius: var(--radius-sm); padding: 14px 20px; text-align: center; }
.promo-code-box small { display: block; font-size: 11px; color: var(--gray); margin-bottom: 4px; }
.promo-code-box .code { font-size: 28px; font-weight: 900; letter-spacing: 6px; color: white; }
.copy-btn { background: var(--red); color: white; border: none; padding: 14px 22px; border-radius: var(--radius-sm); font-weight: 800; cursor: pointer; transition: all 180ms var(--ease-out); }
.copy-btn:hover { background: var(--red-dark); }
.copy-btn:active { transform: scale(0.97); }

/* Section */
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-eyebrow { display: inline-block; font-size: 14px; font-weight: 800; color: var(--red); margin-bottom: 8px; letter-spacing: 1px; text-transform: uppercase; }
.section-desc { color: var(--gray); font-size: 1.05rem; margin-top: 12px; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-card { background: var(--black-2); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: 28px; transition: all 220ms var(--ease-out); }
.feature-card:hover { border-color: rgba(225,11,31,0.5); transform: translateY(-4px); }
.feature-icon { width: 56px; height: 56px; background: rgba(225,11,31,0.12); border: 1px solid rgba(225,11,31,0.3); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; color: var(--red); }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--gray); font-size: 15px; }

/* Sports grid */
.sports-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.sport-card { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.sport-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.sport-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.4) 50%, transparent 100%); }
.sport-card:hover img { transform: scale(1.08); }
.sport-card-info { position: absolute; bottom: 0; right: 0; left: 0; padding: 20px; z-index: 2; }
.sport-card-info h3 { color: white; margin-bottom: 4px; }
.sport-card-info p { color: var(--gray); font-size: 13px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; counter-reset: step; }
.step { background: var(--black-2); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: 32px 24px; position: relative; counter-increment: step; }
.step::before { content: counter(step); position: absolute; top: -24px; right: 24px; width: 48px; height: 48px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; color: white; box-shadow: var(--shadow); }
.step h3 { margin: 12px 0 8px; }
.step p { color: var(--gray); font-size: 15px; }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); padding: 64px 0; text-align: center; }
.cta-banner h2 { color: white; }
.cta-banner p { color: rgba(255,255,255,0.95); margin: 12px auto 24px; max-width: 600px; font-size: 1.1rem; }
.cta-banner .btn-primary { background: white; color: var(--red); }
.cta-banner .btn-primary:hover { background: var(--black); color: white; }

/* FAQ */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { background: var(--black-2); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; padding: 20px 24px; background: none; border: none; color: white; font-size: 17px; font-weight: 700; text-align: right; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-q .arrow { color: var(--red); font-size: 20px; transition: transform 220ms var(--ease-out); flex-shrink: 0; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 320ms var(--ease-out); padding: 0 24px; color: var(--gray); }
.faq-item.open .faq-a { padding: 0 24px 20px; max-height: 1000px; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: var(--black-2); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); overflow: hidden; transition: all 220ms var(--ease-out); display: block; }
.blog-card:hover { border-color: rgba(225,11,31,0.5); transform: translateY(-4px); color: inherit; }
.blog-card-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 20px; }
.blog-card-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--gray); margin-bottom: 10px; flex-wrap: wrap; }
.blog-card-meta .cat { background: rgba(225,11,31,0.12); color: var(--red-light); padding: 4px 10px; border-radius: 999px; font-weight: 700; }
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; line-height: 1.4; }
.blog-card-body p { color: var(--gray); font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Article */
.article { padding: 60px 0 80px; max-width: 820px; margin: 0 auto; }
.article-cover { aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { display: flex; align-items: center; gap: 14px; color: var(--gray); font-size: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.article-meta .cat { background: var(--red); color: white; padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: 12px; }
.article h1 { margin-bottom: 16px; }
.article-lead { font-size: 1.15rem; color: var(--gray); margin-bottom: 32px; }
.article-content { color: rgba(255,255,255,0.92); }
.article-content h2 { color: var(--red); margin: 36px 0 16px; font-size: 1.7rem; }
.article-content h3 { color: white; margin: 28px 0 12px; font-size: 1.3rem; }
.article-content p { margin-bottom: 16px; line-height: 1.85; }
.article-content ul, .article-content ol { margin: 16px 24px; }
.article-content li { margin-bottom: 8px; line-height: 1.85; }
.article-content strong { color: var(--red-light); font-weight: 800; }
.article-content blockquote { border-right: 4px solid var(--red); background: var(--black-2); padding: 16px 20px; margin: 24px 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: white; }
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; background: var(--black-2); border-radius: var(--radius-sm); overflow: hidden; }
.article-content th { background: var(--red); color: white; padding: 12px; text-align: right; font-weight: 800; }
.article-content td { padding: 12px; border-top: 1px solid rgba(255,255,255,0.08); }
.article-content a { color: var(--red-light); text-decoration: underline; }
.article-cta { background: linear-gradient(135deg, rgba(225,11,31,0.15), var(--black-2)); border: 1px solid rgba(225,11,31,0.3); border-radius: var(--radius); padding: 28px; margin: 40px 0; }
.article-cta h3 { margin-bottom: 8px; }
.article-cta p { color: var(--gray); margin-bottom: 16px; }

/* Footer */
.footer { background: #050505; padding: 64px 0 24px; border-top: 1px solid rgba(255,255,255,0.06); margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--gray); font-size: 14px; margin-bottom: 16px; }
.footer h4 { font-size: 16px; margin-bottom: 16px; color: white; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--gray); font-size: 14px; }
.footer ul a:hover { color: var(--red); }
.footer-keywords { padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 24px; }
.footer-keywords p { color: rgba(255,255,255,0.4); font-size: 12px; line-height: 1.8; text-align: center; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; color: var(--gray); font-size: 13px; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* Floating download */
.floating-cta { position: fixed; bottom: 20px; left: 20px; z-index: 999; }
.floating-cta a { display: flex; align-items: center; gap: 10px; padding: 14px 22px; background: var(--red); color: white; border-radius: 999px; font-weight: 800; box-shadow: 0 8px 24px rgba(225,11,31,0.5); transition: all 220ms var(--ease-out); }
.floating-cta a:hover { background: var(--red-dark); color: white; transform: translateY(-2px); }
.floating-cta a::before { content: '📲'; font-size: 20px; }
@media (max-width: 600px) { .floating-cta a span { display: none; } .floating-cta a::before { font-size: 24px; } .floating-cta a { padding: 16px; border-radius: 50%; } }

/* Page hero (lighter than home) */
.page-hero { padding: 80px 0 60px; position: relative; background: linear-gradient(180deg, rgba(225,11,31,0.08) 0%, transparent 100%); border-bottom: 1px solid rgba(255,255,255,0.06); text-align: center; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: var(--gray); max-width: 720px; margin: 0 auto; font-size: 1.1rem; }

/* Toast */
.toast { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--black-2); color: white; padding: 14px 28px; border-radius: 999px; border: 1px solid var(--red); box-shadow: var(--shadow); opacity: 0; transition: all 280ms var(--ease-out); z-index: 9999; font-weight: 700; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 24px; }
.mb-4 { margin-bottom: 24px; }
.hidden { display: none; }


/* ============ NEW PAGES (about, contact, privacy, terms, responsible) ============ */
.page-hero { background: linear-gradient(135deg, #0a0a0a 0%, #1a0508 50%, #2a0a0c 100%); padding: 80px 0 60px; border-bottom: 3px solid var(--red); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin: 16px 0 12px; color: #fff; }
.page-sub { font-size: 1.1rem; color: rgba(255,255,255,0.75); margin: 0; }
.breadcrumb { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.breadcrumb a { color: var(--red-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: rgba(255,255,255,0.85); }
.content-narrow { max-width: 860px; margin: 0 auto; }
.content-narrow h2 { margin-top: 40px; margin-bottom: 16px; color: #fff; font-size: 1.7rem; border-right: 4px solid var(--red); padding-right: 16px; }
.content-narrow h3 { margin-top: 28px; color: #fff; font-size: 1.3rem; }
.content-narrow p, .content-narrow li { line-height: 1.9; color: rgba(255,255,255,0.82); font-size: 1.02rem; }
.content-narrow ul, .content-narrow ol { padding-right: 24px; }
.content-narrow li { margin-bottom: 8px; }
.content-narrow a { color: var(--red-light); }
.content-narrow strong { color: #fff; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 32px 0; }
.contact-card { background: var(--black-2); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 28px 22px; text-align: center; transition: transform .25s ease, border-color .25s ease; }
.contact-card:hover { transform: translateY(-4px); border-color: var(--red); }
.contact-icon { font-size: 2.4rem; margin-bottom: 12px; }
.contact-card h3 { margin: 8px 0; color: #fff; }
.alert-box { background: rgba(225,11,31,0.12); border: 1px solid rgba(225,11,31,0.4); border-right: 5px solid var(--red); padding: 18px 22px; border-radius: 10px; margin: 24px 0; color: #fff; line-height: 1.85; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 32px 0; }
.stat-box { background: linear-gradient(135deg, var(--black-2) 0%, #1a0508 100%); border: 1px solid rgba(225,11,31,0.25); padding: 28px 16px; border-radius: 14px; text-align: center; }
.stat-num { font-size: 2.4rem; font-weight: 900; color: var(--red-light); margin-bottom: 6px; }
.stat-label { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.cta-block { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); border-radius: 16px; padding: 36px 28px; text-align: center; margin: 40px 0; color: #fff; }
.cta-block h3 { font-size: 1.6rem; margin: 0 0 10px; color: #fff; }
.cta-block p { margin: 0 0 20px; color: rgba(255,255,255,0.92); }

/* Cookie banner */
.cookie-banner { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 720px; margin: 0 auto; background: rgba(10,10,10,0.96); backdrop-filter: blur(10px); border: 1px solid rgba(225,11,31,0.4); border-radius: 14px; padding: 16px 20px; z-index: 9999; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; box-shadow: 0 10px 40px rgba(0,0,0,0.5); font-size: 0.92rem; color: rgba(255,255,255,0.88); }
.cookie-banner.hidden { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 280px; line-height: 1.6; }
.cookie-banner .cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner button { background: var(--red); color: #fff; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 700; cursor: pointer; font-family: inherit; font-size: 0.9rem; }
.cookie-banner button:hover { background: var(--red-light); }
.cookie-banner button.secondary { background: transparent; border: 1px solid rgba(255,255,255,0.3); }
.cookie-banner a { color: var(--red-light); text-decoration: underline; }
