/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* === VARIABLES === */
:root {
  --green: #19723c;
  --green-dark: #125c30;
  --green-light: #2ea52e;
  --orange: #FF8C00;
  --orange-dark: #e07b00;
  --orange-light: #FFA033;
  --dark-bg: #1a2a1a;
  --dark-footer: #0d1a0d;
  --white: #FFFFFF;
  --off-white: #FFF5EB;
  --text: #1a1a1a;
  --text-light: #555555;
  --text-on-dark: #e0e0e0;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
  --max-width: 1200px;
}

/* === TYPOGRAPHY === */
body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.2;
  color: var(--green-dark);
}

h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--orange); text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--orange);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* === HEADER / NAV === */
.site-header {
  background: var(--green-dark);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}
.logo:hover { text-decoration: none; color: var(--white); }
.logo span { color: var(--orange); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  color: #d0e8d0;
  font-weight: 500;
  text-decoration: none;
  padding: 0.6rem 0.5rem;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--orange);
  text-decoration: none;
  border-bottom-color: var(--orange);
}
.nav-links a[aria-current="page"] {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--white);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
}

/* === CTA BUTTON === */
.cta-btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  font-family: 'Montserrat', sans-serif;
}
.cta-btn:hover {
  background: var(--orange-dark);
  text-decoration: none;
  color: var(--white);
  transform: translateY(-1px);
}
.cta-btn--green {
  background: var(--green);
}
.cta-btn--green:hover {
  background: var(--green-dark);
}

/* === SECTIONS === */
.section {
  padding: 4rem 1.5rem;
}
.section .container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section--dark {
  background: var(--dark-bg);
  color: var(--text-on-dark);
}
.section--dark h2, .section--dark h3 {
  color: var(--white);
}
.section--off-white {
  background: var(--off-white);
}
.section-title {
  text-align: center;
  margin-bottom: 2rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-top: -0.5rem;
  margin-bottom: 2rem;
}
.section--dark .section-subtitle {
  color: #aaa;
}

/* === HERO (Game Grid) === */
.hero {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #0f1f0f 100%);
  padding: 3rem 1.5rem;
}
.hero .container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.hero-heading {
  color: var(--white);
  text-align: center;
  margin-bottom: 0.5rem;
}
.hero-sub {
  color: #ccc;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.hero-cta {
  text-align: center;
  margin-top: 2rem;
}

/* === GAME CARD GRID === */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.game-card {
  background: linear-gradient(145deg, #1a2a1a, #243824);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: box-shadow 0.3s, transform 0.2s;
  border: 1px solid #2a4a2a;
}
.game-card:hover {
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
  transform: translateY(-3px);
}

.game-card__thumb {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, #2a4a2a, #1a3a1a);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--orange);
}

.game-card__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.game-card__provider {
  color: #999;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.game-card__badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}
.badge--rtp {
  background: var(--orange);
  color: var(--white);
}
.badge--vol-high {
  background: #c0392b;
  color: var(--white);
}
.badge--vol-med {
  background: #e67e22;
  color: var(--white);
}
.badge--vol-low {
  background: var(--green);
  color: var(--white);
}
.badge--provider {
  background: #2a4a2a;
  color: #aaa;
  border: 1px solid #3a5a3a;
}

.game-card__stars {
  color: var(--orange);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.game-card__link {
  display: inline-block;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.85rem;
}
.game-card__link:hover {
  text-decoration: underline;
}

/* === PROVIDER TABS === */
.provider-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 2px solid #2a4a2a;
  overflow-x: auto;
}
.provider-tab {
  padding: 0.75rem 1.5rem;
  color: #999;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.provider-tab:hover, .provider-tab--active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.section--dark .provider-tabs {
  border-bottom-color: #3a5a3a;
}

/* === FEATURE CARDS === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--orange);
}
.section--dark .feature-card {
  background: #243824;
  border-top-color: var(--orange);
}
.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.feature-card h3 {
  margin-bottom: 0.5rem;
}
.section--dark .feature-card h3 {
  color: var(--white);
}
.section--dark .feature-card p {
  color: var(--text-on-dark);
}

/* === INFO CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.section--dark .card {
  background: #243824;
  color: var(--text-on-dark);
}
.section--dark .card h3 {
  color: var(--orange);
}
.card h3 {
  color: var(--green-dark);
}
.card a {
  color: var(--orange);
  font-weight: 600;
}

/* === REVIEW CONTENT === */
.review-content {
  max-width: 800px;
  margin: 0 auto;
}
.review-content h2 {
  margin-top: 2rem;
}
.rating-box {
  background: var(--off-white);
  border-left: 4px solid var(--orange);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.rating-box__score {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
}
.rating-box__label {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* === TABLE === */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.data-table th {
  background: var(--green-dark);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
}
.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) { background: #f9f9f9; }

.section--dark .data-table {
  background: #243824;
}
.section--dark .data-table td {
  color: var(--text-on-dark);
  border-bottom-color: #2a4a2a;
}
.section--dark .data-table tr:nth-child(even) { background: #1e321e; }

/* === STEPS === */
.steps {
  counter-reset: step;
  max-width: 700px;
  margin: 0 auto;
}
.step {
  counter-increment: step;
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  margin-bottom: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.5rem;
  width: 2rem;
  height: 2rem;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
}
.step h3 { color: var(--green-dark); }

/* === FAQ === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-question {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 3rem 1.25rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  text-align: left;
  cursor: pointer;
  color: var(--green-dark);
  position: relative;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--orange);
  font-weight: 700;
  transition: transform 0.2s;
}
.faq-item.active .faq-question::after {
  content: '−';
}
.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-light);
}
.faq-item.active .faq-answer { display: block; }

/* === BONUS CARDS === */
.bonus-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
  margin-bottom: 1.5rem;
}
.bonus-card--highlight {
  border-left-color: var(--orange);
  background: var(--off-white);
}
.bonus-card h3 { color: var(--green-dark); }
.bonus-card__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
}

/* === BREADCRUMBS === */
.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
}
.breadcrumb a { color: var(--green); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin: 0 0.4rem; color: #999; }

/* === FOOTER === */
.site-footer {
  background: var(--dark-footer);
  color: #aaa;
  padding: 3rem 1.5rem 1.5rem;
}
.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col h4 {
  color: var(--orange);
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
}
.footer-col ul {
  list-style: none;
}
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: #aaa;
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #1a2a1a;
  text-align: center;
  font-size: 0.8rem;
  color: #777;
}
.footer-bottom p { margin-bottom: 0.5rem; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  .hero { padding: 2rem 1.5rem; }
  .nav-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--forest); padding: 1rem 1.5rem; z-index: 99; border-top: 1px solid rgba(255,255,255,0.1); }
  .nav-links.active { display: flex; }
  .nav-btns a { padding: 0.3rem 0.6rem; font-size: 0.72rem; }
  .nav-btns { gap: 0.3rem; }
  .nav-container { padding: 0 0.75rem; gap: 0.4rem; }
  .logo img { height: 26px; }
}
@media (max-width: 600px) {
  .game-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .provider-tabs { flex-wrap: wrap; }
}
