/*
Theme Name: PlayWin567 Login
Theme URI: https://playwin567login.com
Author: in-g5
Author URI: https://playwin567login.com
Description: Cricket betting and casino landing page for PlayWin567 India. Gold and cream theme, mobile-first, SEO-optimized.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: playwin567-login
Tags: betting, cricket, india, seo, responsive, mobile-first, custom-color
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
*/

:root {
  --bg: #f3ede5;
  --bg-alt: #f1e8d8;
  --bg-card: #ffffff;
  --bg-dark: #1a1410;
  --gold: #c38532;
  --gold-hover: #d19e4c;
  --gold-light: #e8c97a;
  --gold-dark: #3b2c09;
  --text: #222;
  --text-2: #666;
  --text-3: #999;
  --cta-red: #ff5f6d;
  --cta-red-hover: #e54b59;
  --green: #00a858;
  --green-dim: #007a3e;
  --border: #ddd;
  --border-gold: rgba(195,133,50,0.3);
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-gold: 0 2px 12px rgba(195,133,50,0.25);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --h1: 36px;
  --h2: 28px;
  --h3: 22px;
  --transition: all 0.2s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-hover); }

.section { padding: 48px 0; }
.section.bg-alt { background: var(--bg-alt); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

h1 { font-size: var(--h1); font-weight: 800; line-height: 1.2; }
h2 { font-size: var(--h2); font-weight: 700; line-height: 1.3; }
h3 { font-size: var(--h3); font-weight: 600; line-height: 1.4; }
h2, h3 { margin-bottom: 12px; }
p { margin-bottom: 12px; color: var(--text-2); }

/* Header */
.site-header { background: var(--gold); position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 60px; display: flex; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.nav-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; width: 100%; }
.site-logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; color: #fff; text-decoration: none; }
.site-logo:hover { color: #fff; opacity: 0.9; }
.nav-links { display: flex; list-style: none; gap: 24px; }
.nav-links a { color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { border-bottom-color: #fff; color: #fff; }
.nav-cta { display: flex; gap: 8px; }
.nav-cta .btn { padding: 6px 16px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* Buttons */
.btn { display: inline-block; padding: 12px 28px; font-size: 16px; font-weight: 700; border-radius: var(--radius); text-decoration: none; cursor: pointer; border: none; transition: var(--transition); text-align: center; }
.btn-red { background: var(--cta-red); color: #fff; }
.btn-red:hover { background: var(--cta-red-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,95,109,0.3); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dim); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--gold); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 18px; }
.btn-block { display: block; width: 100%; }

/* Section heading */
.section-heading { text-align: center; margin-bottom: 32px; }
.section-heading h2 { color: var(--text); }
.section-heading p { color: var(--text-2); font-size: 17px; margin-top: 8px; }
.section-divider { width: 48px; height: 3px; background: var(--gold); margin: 12px auto 0; border-radius: 2px; }
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-dark) 100%); color: #fff; padding: 100px 20px 60px; text-align: center; }
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero p { color: rgba(255,255,255,0.9); font-size: 18px; max-width: 640px; margin: 0 auto 24px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 32px; font-weight: 800; color: var(--gold-light); }
.hero-stat .label { font-size: 14px; color: rgba(255,255,255,0.8); }

/* Cards */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: var(--transition); }
.feature-card:hover { border-color: var(--border-gold); box-shadow: var(--shadow); }
.feature-card .icon { font-size: 32px; margin-bottom: 10px; }
.feature-card h3 { font-size: 17px; margin-bottom: 6px; color: var(--text); }
.feature-card p { font-size: 14px; line-height: 1.5; }

/* Game nav cards (6 colored tiles like playwin-567.com) */
.game-nav-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.game-nav-card { border-radius: var(--radius); padding: 24px 16px; text-align: center; color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; transition: var(--transition); cursor: pointer; }
.game-nav-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); color: #fff; }
.gn-exchange { background: linear-gradient(135deg, #667eea, #764ba2); }
.gn-sportsbook { background: linear-gradient(135deg, #f093fb, #f5576c); }
.gn-casino { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.gn-slots { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.gn-tournament { background: linear-gradient(135deg, #fa709a, #fee140); }
.gn-promotions { background: linear-gradient(135deg, #c38532, #d19e4c); }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; position: relative; }
.step-num { width: 36px; height: 36px; background: var(--gold); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; margin: 0 auto 12px; }

/* Spec table */
.spec-table-wrap { overflow-x: auto; max-width: 700px; margin: 0 auto; }
.spec-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; }
.spec-table td { border: 1px solid var(--border); padding: 10px 14px; font-size: 15px; }
.spec-table tr td:first-child { background: var(--gold); color: #fff; font-weight: 700; width: 35%; }
.spec-table tr td:last-child { background: var(--bg-card); color: var(--text); }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; }
.faq-question { width: 100%; background: none; border: none; padding: 16px 20px; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--text); }
.faq-question .icon { color: var(--gold); font-size: 24px; transition: transform 0.2s; flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 20px 16px; color: var(--text-2); font-size: 15px; line-height: 1.6; }

/* CTA banner */
.cta-banner { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%); border-radius: var(--radius-lg); padding: 40px; text-align: center; color: #fff; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 17px; }

/* Trust badges */
.trust-badge { background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: var(--radius); padding: 12px 20px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.trust-badge .score { font-size: 28px; font-weight: 800; color: var(--gold); }
.trust-badge .max { font-size: 14px; color: var(--text-3); }
.trust-badge .label { font-size: 13px; color: var(--text-2); }

/* Expert card */
.expert-card { display: flex; gap: 16px; align-items: center; background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: var(--radius); padding: 20px; }
.expert-card .avatar { width: 56px; height: 56px; background: var(--gold); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; flex-shrink: 0; }
.expert-card h3 { margin-bottom: 2px; }
.expert-card .role { color: var(--gold); font-size: 14px; margin-bottom: 4px; }
.expert-card p { font-size: 14px; margin: 0; }

/* Review card */
.review-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.review-card .stars { color: var(--gold); font-size: 18px; margin-bottom: 8px; }
.review-card h3 { font-size: 16px; margin-bottom: 8px; }
.review-card p { font-size: 14px; line-height: 1.5; }
.review-card .reviewer { margin-top: 12px; font-size: 13px; color: var(--text-3); }

/* Notice box */
.notice-box { background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 14px 18px; }

/* Footer */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 40px 20px 20px; }
.footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 6px; }
.footer-grid a { color: rgba(255,255,255,0.6); font-size: 14px; text-decoration: none; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom { max-width: 1100px; margin: 24px auto 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 13px; color: rgba(255,255,255,0.4); }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--gold); flex-direction: column; padding: 16px 20px; gap: 12px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 16px; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 24px; }
  h1 { font-size: 26px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .game-nav-grid { grid-template-columns: 1fr 1fr 1fr; }
  .section { padding: 32px 0; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .game-nav-grid { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 16px; }
}