/* ============================================================
   styles.css — FairPlay Landing Page
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --orange:        #ff6b00;
  --orange-light:  #ff8c33;
  --orange-dark:   #cc5500;
  --dark-bg:       #0e0e0e;
  --card-bg:       #161616;
  --card-border:   #2a2a2a;
  --alt-bg:        #1a1a1a;
  --text-primary:  #f0f0f0;
  --text-muted:    #888;
  --green:         #22c55e;
  --header-bg:     #0a0a0a;
  --footer-bg:     #080808;
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 60px 0;
}

.section--alt {
  background: var(--alt-bg);
}

/* ===== TYPOGRAPHY ===== */
.section-head {
  text-align: left;
  margin-bottom: 36px;
}

.section-head--center {
  text-align: center;
}

.section-head--center .divider {
  margin: 10px auto 28px;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-title__accent {
  color: var(--orange);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--orange);
  margin: 10px 0 28px;
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  line-height: 1;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 4px 18px rgba(255, 107, 0, 0.35);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 107, 0, 0.5);
}

.btn--outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}

.btn--outline:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ===== STAR RATING ===== */
.stars {
  color: var(--orange);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.rating-score {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--orange);
}

.rating-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== BADGES ===== */
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge--green {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
}

.badge--orange {
  background: rgba(255, 107, 0, 0.12);
  color: var(--orange);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  background: var(--header-bg);
  border-bottom: 2px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 0 16px;
}

.header__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo {
  height: 40px;
}

.header__tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: none;
}

.header__cta {
  display: flex;
  gap: 10px;
}

@media (min-width: 640px) {
  .header__tagline { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(180deg, #0a0a0a 0%, #111 60%, #0e0e0e 100%);
  border-bottom: 1px solid #222;
  padding: 50px 16px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(255, 107, 0, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.hero__title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero__title span {
  color: var(--orange);
}

.hero__desc {
  color: #aaa;
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 480px;
}

.hero__rating {
  margin-bottom: 28px;
}

.hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__img-wrap {
  position: relative;
}

.hero__img-wrap img {
  border-radius: 12px;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.6);
  width: 100%;
}

.hero__img-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--orange);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.5);
}

@media (max-width: 768px) {
  .hero__inner        { grid-template-columns: 1fr; }
  .hero__img-wrap     { order: -1; }
  .hero__img-badge    { top: 8px; right: 8px; }
}

/* ============================================================
   FEATURES STRIP
   ============================================================ */
.features-strip {
  background: #111;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  padding: 20px 16px;
}

.features-strip__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  transition: border-color 0.2s;
}

.feat-item:hover {
  border-color: var(--orange);
}

.feat-item__icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.feat-item__title {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 700;
  text-transform: uppercase;
}

.feat-item__sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 640px) {
  .features-strip__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: linear-gradient(90deg, #111 0%, #1a1a1a 50%, #111 100%);
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  padding: 32px 16px;
}

.stats-strip__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 16px;
}

.stat-item__num {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--orange);
}

.stat-item__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

@media (max-width: 640px) {
  .stats-strip__inner { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about__img {
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.about__body p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__list {
  margin: 16px 0 28px;
}

.about__list li {
  padding: 8px 0;
  border-bottom: 1px solid #222;
  color: #ccc;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about__list li::before {
  content: '▶';
  color: var(--orange);
  font-size: 0.65rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .about__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   APP SCREENSHOTS
   ============================================================ */
.screenshots__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.screenshot-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
  cursor: pointer;
}

.screenshot-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.screenshot-card__label {
  padding: 10px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--orange);
  letter-spacing: 1px;
  text-align: center;
}

@media (max-width: 900px) { .screenshots__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .screenshots__grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   GAMES
   ============================================================ */
.games__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.game-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  transition: transform 0.25s, border-color 0.25s;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
}

.game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.game-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, transparent 100%);
  padding: 20px 16px 16px;
}

.game-card__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
}

.game-card__sub {
  font-size: 0.75rem;
  color: var(--orange);
}

.game-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}

.games__cta {
  text-align: center;
  margin-top: 28px;
}

@media (max-width: 640px) {
  .games__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BONUSES
   ============================================================ */
.bonuses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.bonuses__row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bonus-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.bonus-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
}

.bonus-card--horizontal {
  display: flex;
}

.bonus-card--horizontal .bonus-card__thumb {
  width: 40%;
  flex-shrink: 0;
  object-fit: cover;
  height: auto;
}

.bonus-card--horizontal .bonus-card__vip-icon {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #111;
  min-width: 120px;
  flex-shrink: 0;
}

.bonus-card--horizontal .bonus-card__vip-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.bonus-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.bonus-card__body {
  padding: 16px;
}

.bonus-card__tag {
  display: inline-block;
  background: rgba(255, 107, 0, 0.15);
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
}

.bonus-card__amount {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  color: var(--orange);
  font-weight: 700;
  margin: 8px 0 4px;
}

.bonus-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.bonus-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

@media (max-width: 900px) { .bonuses__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) {
  .bonuses__grid  { grid-template-columns: 1fr; }
  .bonuses__row-2 { grid-template-columns: 1fr; }
  .bonus-card--horizontal { flex-direction: column; }
  .bonus-card--horizontal .bonus-card__thumb { width: 100%; height: 160px; }
}

/* ============================================================
   STEPS (HOW TO REGISTER / LOGIN)
   ============================================================ */
.steps__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.steps__img {
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.steps__list {
  counter-reset: steps;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #222;
}

.step-item:last-child {
  border-bottom: none;
}

.step-item__num {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
}

.step-item__text h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 3px;
}

.step-item__text p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.steps__cta {
  margin-top: 24px;
}

@media (max-width: 768px) {
  .steps__wrap { grid-template-columns: 1fr; }
}

/* ============================================================
   BANKING
   ============================================================ */
.banking__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.banking__img {
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.banking__features {
  list-style: none;
}

.banking__features li {
  padding: 12px 0;
  border-bottom: 1px solid #222;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #bbb;
}

.banking__features li:last-child {
  border-bottom: none;
}

.banking__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: rgba(255, 107, 0, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.banking__features strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
  font-size: 0.92rem;
}

.banking__cta {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .banking__wrap { grid-template-columns: 1fr; }
}

/* ============================================================
   SAFETY
   ============================================================ */
.safety__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.safety__img {
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.safety__intro {
  color: #aaa;
  font-size: 0.93rem;
  margin-bottom: 20px;
}

.safety__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.safety-point {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 16px;
  border-left: 3px solid var(--orange);
}

.safety-point__title {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.safety-point__desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .safety__wrap   { grid-template-columns: 1fr; }
  .safety__points { grid-template-columns: 1fr; }
}

/* ============================================================
   INFO TABLE
   ============================================================ */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.info-table th,
.info-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid #222;
  font-size: 0.88rem;
}

.info-table th {
  background: #1a1a1a;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.info-table td {
  color: #bbb;
}

.info-table tr:hover td {
  background: #161616;
}

.table-overflow {
  overflow-x: auto;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__list {
  max-width: 800px;
}

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--card-bg);
}

.faq-item__question {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  user-select: none;
  transition: background 0.2s;
}

.faq-item__question:hover {
  background: #1e1e1e;
}

.faq-item__arrow {
  font-size: 0.75rem;
  color: var(--orange);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item__answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  font-size: 0.88rem;
  color: #999;
  line-height: 1.7;
}

.faq-item--open .faq-item__answer {
  max-height: 300px;
  padding: 0 20px 16px;
}

.faq-item--open .faq-item__question {
  color: var(--orange);
  background: #1a1a1a;
}

.faq-item--open .faq-item__arrow {
  transform: rotate(180deg);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: linear-gradient(135deg, #111 0%, #1a1000 50%, #111 100%);
  border-top: 2px solid var(--orange);
  padding: 70px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 107, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta__title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 14px;
  position: relative;
}

.final-cta__title span {
  color: var(--orange);
}

.final-cta__desc {
  color: #aaa;
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 0.97rem;
  position: relative;
}

.final-cta__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.final-cta__rating {
  margin-top: 24px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid #1e1e1e;
  padding: 28px 16px;
  text-align: center;
}

.footer__logo {
  height: 32px;
  margin: 0 auto 12px;
}

.footer__links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 12px 0;
}

.footer__links a {
  font-size: 0.8rem;
  color: #666;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--orange);
}

.footer__divider {
  border: none;
  border-top: 1px solid #1e1e1e;
  margin: 16px 0;
}

.footer__copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 998;
  width: 44px;
  height: 44px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.scroll-top:hover {
  background: var(--orange-light);
  transform: translateY(-3px);
}

.scroll-top--visible {
  display: flex;
}

/* ============================================================
   STICKY MOBILE BAR
   ============================================================ */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 997;
  background: #0a0a0a;
  border-top: 2px solid var(--orange);
  padding: 10px 16px;
  gap: 10px;
}

.sticky-bar .btn {
  flex: 1;
  font-size: 0.85rem;
  padding: 11px 10px;
}

@media (max-width: 640px) {
  .sticky-bar { display: flex; }
  body         { padding-bottom: 64px; }
}
