/*
Theme Name: IW7 Game
Theme URI: https://example.com/
Author: IW7 Game
Description: A responsive WordPress theme for an online gaming information website featuring Slots, Casino, Spin, Skill Games, Cricket Fantasy and Football.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: iw7-game
*/

:root {
  --iw7-red: #e50914;
  --iw7-dark: #10131a;
  --iw7-card: #181d27;
  --iw7-muted: #9da5b4;
  --iw7-light: #f4f6f8;
  --iw7-border: #2b3240;
  --iw7-radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--iw7-light);
  background: var(--iw7-dark);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(16, 19, 26, .96);
  border-bottom: 1px solid var(--iw7-border);
  backdrop-filter: blur(10px);
}
.header-inner {
  max-width: 1180px;
  margin: auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
}
.brand img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-weight: 700;
  color: #fff;
}
.main-nav a:hover,
.current-menu-item > a { color: #ff4b55; }

.menu-toggle {
  display: none;
  border: 1px solid var(--iw7-border);
  background: var(--iw7-card);
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.hero {
  padding: 86px 0 70px;
  background:
    radial-gradient(circle at 80% 20%, rgba(229,9,20,.22), transparent 35%),
    linear-gradient(135deg, #151a24, #0d1016);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(229,9,20,.13);
  color: #ff5961;
  font-weight: 800;
  font-size: 13px;
}
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: clamp(38px, 6vw, 64px); margin: 16px 0; }
h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 0; }
h3 { font-size: 21px; }
.hero p { color: #c8ced8; font-size: 18px; }
.hero-logo {
  width: min(320px, 80%);
  display: block;
  margin: auto;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.btn {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: 800;
  margin: 8px 8px 0 0;
  transition: transform .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-2px); opacity: .92; }
.btn-primary { background: var(--iw7-red); color: #fff; }
.btn-secondary { background: #252c38; color: #fff; }

.section { padding: 72px 0; }
.section.alt { background: #141923; }
.section-intro { max-width: 760px; color: var(--iw7-muted); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.card {
  background: var(--iw7-card);
  border: 1px solid var(--iw7-border);
  border-radius: var(--iw7-radius);
  padding: 24px;
}
.card p { color: var(--iw7-muted); }
.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(229,9,20,.12);
  color: #ff4b55;
  font-weight: 900;
  margin-bottom: 12px;
}
.steps { counter-reset: step; }
.step { position: relative; padding-left: 60px; margin: 22px 0; }
.step:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--iw7-red);
  font-weight: 900;
}
.notice {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--iw7-red);
  background: #1b202b;
  color: #cdd3dc;
}
.faq details {
  background: var(--iw7-card);
  border: 1px solid var(--iw7-border);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 12px 0;
}
.faq summary { cursor: pointer; font-weight: 800; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--iw7-card); border-radius: var(--iw7-radius); padding: 22px; border: 1px solid var(--iw7-border); }
.stars { color: #ffd166; letter-spacing: 2px; }

.site-footer {
  background: #0b0d12;
  border-top: 1px solid var(--iw7-border);
  padding: 48px 0 20px;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
.site-footer p, .site-footer li { color: var(--iw7-muted); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin: 8px 0; }
.copyright {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--iw7-border);
  color: #7e8795;
  font-size: 14px;
}

.entry-content {
  max-width: 820px;
  margin: 0 auto;
}
.entry-content a { color: #ff5961; text-decoration: underline; }
.entry-content h2, .entry-content h3 { margin-top: 34px; }
.post-card { margin-bottom: 24px; }

@media (max-width: 850px) {
  .hero-grid, .footer-grid { grid-template-columns: 1fr; }
  .cards, .review-grid { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.is-open { display: block; }
  .header-inner { flex-wrap: wrap; }
  .main-nav ul { flex-direction: column; align-items: flex-start; padding: 10px 0; }
}
@media (max-width: 560px) {
  .cards, .review-grid { grid-template-columns: 1fr; }
  .container { width: min(100% - 28px, 1180px); }
  .hero { padding: 56px 0; }
  .section { padding: 52px 0; }
}
