/* =============================================
   ReelHunter.pro — Main Stylesheet
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #0d6efd;
  --primary-dark: #0a58ca;
  --accent:    #00c9a7;
  --dark:      #0b1120;
  --dark2:     #111827;
  --card-bg:   #162033;
  --text:      #e2e8f0;
  --muted:     #94a3b8;
  --border:    #1e3a5f;
  --gold:      #f5c518;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(0,0,0,.45);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }

/* --- Container --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(11,17,32,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.4rem; font-weight: 800; color: #fff;
  letter-spacing: -.5px;
}
.logo img { width: 38px; height: 38px; border-radius: 8px; }
.logo span { color: var(--accent); }

.nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none;
}
.nav-links a {
  color: var(--muted); font-weight: 500; font-size: .95rem;
  padding: 8px 14px; border-radius: 8px; transition: all .2s;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff; background: rgba(255,255,255,.07);
}

.nav-cta {
  background: var(--primary); color: #fff !important;
  border-radius: 8px; padding: 8px 18px !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; color: #fff !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all .3s;
}

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; gap: 4px;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--dark2); padding: 16px 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; width: 100%; }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative; overflow: hidden;
  min-height: 560px; display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('images/hero-banner.jpg');
  background-size: cover; background-position: center;
  filter: brightness(.45);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,110,253,.35) 0%, rgba(0,0,0,.1) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 680px; padding: 80px 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,201,167,.15); border: 1px solid rgba(0,201,167,.4);
  color: var(--accent); font-size: .82rem; font-weight: 600;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 20px;
  letter-spacing: .5px; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff; margin-bottom: 18px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.1rem; color: rgba(255,255,255,.8);
  margin-bottom: 32px; max-width: 540px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px;
  font-weight: 600; font-size: 1rem; cursor: pointer;
  border: none; transition: all .25s; text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,110,253,.4); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-accent { background: var(--accent); color: #0b1120; }
.btn-accent:hover { background: #00b396; color: #0b1120; transform: translateY(-2px); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* =============================================
   SECTIONS
   ============================================= */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; margin-bottom: 12px; }
.section-header p { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.section-tag {
  display: inline-block; background: rgba(13,110,253,.15);
  color: var(--primary); font-size: .78rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 50px; margin-bottom: 10px;
}

/* =============================================
   GAME CARDS
   ============================================= */
.games-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.game-card {
  background: var(--card-bg); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.game-card-img { position: relative; overflow: hidden; height: 210px; }
.game-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.game-card:hover .game-card-img img { transform: scale(1.05); }
.game-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: #fff;
  font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 6px;
}
.game-card-body { padding: 22px; }
.game-card-body h3 { font-size: 1.2rem; color: #fff; margin-bottom: 8px; }
.game-card-body p { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.game-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.game-meta span { font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.game-meta span strong { color: var(--text); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: .9rem; }
.btn-sm { padding: 9px 18px; font-size: .88rem; border-radius: 8px; }

/* =============================================
   FEATURED GAME (full review)
   ============================================= */
.featured-game {
  background: var(--card-bg); border-radius: 16px;
  border: 1px solid var(--border); overflow: hidden;
}
.featured-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.featured-img { position: relative; min-height: 400px; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-body { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 { font-size: 1.9rem; color: #fff; margin-bottom: 12px; }
.featured-body .stars { font-size: 1.1rem; margin-bottom: 16px; }
.featured-body p { color: var(--muted); margin-bottom: 18px; }
.feature-list { list-style: none; margin-bottom: 28px; }
.feature-list li {
  color: var(--text); font-size: .95rem; padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: center; gap: 10px;
}
.feature-list li::before { content: '✦'; color: var(--accent); font-size: .7rem; }

@media (max-width: 900px) {
  .featured-inner { grid-template-columns: 1fr; }
  .featured-img { min-height: 260px; }
  .featured-body { padding: 32px 24px; }
}

/* =============================================
   SPIN WHEEL SECTION
   ============================================= */
.wheel-section {
  background: linear-gradient(135deg, #0b1120 0%, #0d1f3c 100%);
  position: relative; overflow: hidden;
}
.wheel-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('images/wheel-bg.jpg');
  background-size: cover; background-position: center;
  opacity: .08;
}
.wheel-wrapper {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 60px; flex-wrap: wrap;
}
.wheel-info { flex: 1; min-width: 280px; }
.wheel-info h2 { font-size: 2rem; color: #fff; margin-bottom: 14px; }
.wheel-info p { color: var(--muted); margin-bottom: 24px; }
.wheel-steps { list-style: none; margin-bottom: 28px; }
.wheel-steps li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 10px 0; color: var(--text); font-size: .95rem;
}
.step-num {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; flex-shrink: 0;
}
.wheel-game-area { flex: 0 0 420px; display: flex; flex-direction: column; align-items: center; gap: 24px; }

/* Canvas wheel */
#wheelCanvas { border-radius: 50%; box-shadow: 0 0 60px rgba(13,110,253,.5); cursor: pointer; }

.spin-btn {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: 1.1rem; font-weight: 700;
  padding: 16px 48px; border-radius: 50px; border: none;
  cursor: pointer; transition: all .25s;
  box-shadow: 0 4px 20px rgba(13,110,253,.4);
  letter-spacing: .5px;
}
.spin-btn:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(13,110,253,.6); }
.spin-btn:disabled { opacity: .6; cursor: not-allowed; }

.wheel-result {
  min-height: 60px; text-align: center;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 24px; width: 100%;
}
.wheel-result h3 { color: var(--gold); font-size: 1.1rem; margin-bottom: 4px; }
.wheel-result p { color: var(--text); font-size: .95rem; }

@media (max-width: 900px) {
  .wheel-wrapper { flex-direction: column; align-items: center; }
  .wheel-game-area { flex: none; width: 100%; max-width: 380px; }
  #wheelCanvas { width: 320px !important; height: 320px !important; }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--card-bg); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 40px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
}
.stat-item h3 { font-size: 2.2rem; color: var(--accent); font-weight: 800; }
.stat-item p { color: var(--muted); font-size: .88rem; margin-top: 4px; }
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* =============================================
   NEWSLETTER / CTA
   ============================================= */
.newsletter-section {
  background: linear-gradient(135deg, #0d1f3c 0%, #0b2a1a 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.newsletter-inner {
  display: flex; align-items: center; gap: 60px; flex-wrap: wrap;
}
.newsletter-text { flex: 1; min-width: 280px; }
.newsletter-text h2 { font-size: 1.8rem; color: #fff; margin-bottom: 10px; }
.newsletter-text p { color: var(--muted); }
.newsletter-form { flex: 1; min-width: 280px; }
.form-row { display: flex; gap: 12px; }
.form-row input {
  flex: 1; background: rgba(255,255,255,.07); border: 1px solid var(--border);
  color: var(--text); padding: 14px 18px; border-radius: 10px;
  font-size: .95rem; outline: none; transition: border-color .2s;
}
.form-row input:focus { border-color: var(--primary); }
.form-row input::placeholder { color: var(--muted); }
.form-success {
  display: none; background: rgba(0,201,167,.15); border: 1px solid var(--accent);
  color: var(--accent); padding: 12px 18px; border-radius: 10px;
  margin-top: 12px; font-size: .92rem;
}
@media (max-width: 560px) { .form-row { flex-direction: column; } }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  padding: 80px 0 60px;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid img { border-radius: 16px; box-shadow: var(--shadow); }
.about-text h2 { font-size: 2rem; color: #fff; margin-bottom: 16px; }
.about-text p { color: var(--muted); margin-bottom: 14px; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.team-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 20px; text-align: center;
}
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 14px;
}
.team-card h4 { color: #fff; margin-bottom: 4px; }
.team-card p { color: var(--muted); font-size: .88rem; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 1.8rem; color: #fff; margin-bottom: 14px; }
.contact-info p { color: var(--muted); margin-bottom: 28px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.contact-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(13,110,253,.15); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-item h4 { color: #fff; font-size: .95rem; margin-bottom: 3px; }
.contact-item p { color: var(--muted); font-size: .88rem; margin: 0; }

.contact-form-box {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px;
}
.contact-form-box h3 { color: #fff; font-size: 1.3rem; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; color: var(--muted); font-size: .88rem; margin-bottom: 7px; font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: rgba(255,255,255,.06); border: 1px solid var(--border);
  color: var(--text); padding: 13px 16px; border-radius: 10px;
  font-size: .95rem; outline: none; transition: border-color .2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); background: rgba(13,110,253,.06); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--dark2); }
.form-submit-msg {
  display: none; background: rgba(0,201,167,.12); border: 1px solid var(--accent);
  color: var(--accent); padding: 14px 18px; border-radius: 10px;
  margin-top: 14px; text-align: center;
}

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

/* =============================================
   REVIEWS PAGE
   ============================================= */
.reviews-filter {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px;
}
.filter-btn {
  background: var(--card-bg); border: 1px solid var(--border);
  color: var(--muted); padding: 8px 18px; border-radius: 50px;
  font-size: .88rem; cursor: pointer; transition: all .2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary); border-color: var(--primary); color: #fff;
}

.review-full {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; margin-bottom: 32px;
}
.review-full-inner { display: grid; grid-template-columns: 380px 1fr; }
.review-full-img img { width: 100%; height: 100%; object-fit: cover; }
.review-full-body { padding: 36px; }
.review-full-body h2 { font-size: 1.6rem; color: #fff; margin-bottom: 10px; }
.review-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tag {
  background: rgba(13,110,253,.15); color: var(--primary);
  font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 50px;
}
.review-score {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.score-circle {
  width: 60px; height: 60px; border-radius: 50%;
  background: conic-gradient(var(--accent) 0% 88%, var(--border) 88%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: #fff;
  position: relative;
}
.score-circle::before {
  content: ''; position: absolute; inset: 6px;
  background: var(--card-bg); border-radius: 50%;
}
.score-circle span { position: relative; z-index: 1; }
.score-label { color: var(--muted); font-size: .88rem; }
.score-label strong { color: #fff; display: block; font-size: 1rem; }
.review-full-body p { color: var(--muted); margin-bottom: 14px; line-height: 1.8; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.pros, .cons {
  background: rgba(255,255,255,.04); border-radius: 10px; padding: 16px;
}
.pros h4 { color: #4ade80; margin-bottom: 10px; font-size: .9rem; }
.cons h4 { color: #f87171; margin-bottom: 10px; font-size: .9rem; }
.pros ul, .cons ul { list-style: none; }
.pros li, .cons li { color: var(--muted); font-size: .88rem; padding: 4px 0; padding-left: 16px; position: relative; }
.pros li::before { content: '+'; color: #4ade80; position: absolute; left: 0; }
.cons li::before { content: '−'; color: #f87171; position: absolute; left: 0; }

@media (max-width: 900px) {
  .review-full-inner { grid-template-columns: 1fr; }
  .review-full-img { height: 240px; }
  .pros-cons { grid-template-columns: 1fr; }
}

/* =============================================
   POLICY PAGES
   ============================================= */
.policy-content {
  max-width: 820px; margin: 0 auto; padding: 60px 20px 80px;
}
.policy-content h1 { font-size: 2rem; color: #fff; margin-bottom: 8px; }
.policy-content .last-updated { color: var(--muted); font-size: .88rem; margin-bottom: 40px; }
.policy-content h2 { font-size: 1.25rem; color: #fff; margin: 36px 0 12px; }
.policy-content p, .policy-content li { color: var(--muted); line-height: 1.8; margin-bottom: 12px; }
.policy-content ul, .policy-content ol { padding-left: 22px; margin-bottom: 14px; }
.policy-content a { color: var(--accent); }

/* =============================================
   COOKIE BANNER
   ============================================= */
#cookieBanner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--dark2); border-top: 1px solid var(--border);
  padding: 18px 24px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,.5);
  transform: translateY(100%); transition: transform .4s ease;
}
#cookieBanner.show { transform: translateY(0); }
#cookieBanner p { color: var(--muted); font-size: .88rem; flex: 1; min-width: 220px; }
#cookieBanner a { color: var(--accent); }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-cookie-accept {
  background: var(--primary); color: #fff; border: none;
  padding: 10px 22px; border-radius: 8px; font-weight: 600;
  cursor: pointer; font-size: .9rem; transition: background .2s;
}
.btn-cookie-accept:hover { background: var(--primary-dark); }
.btn-cookie-decline {
  background: transparent; color: var(--muted); border: 1px solid var(--border);
  padding: 10px 22px; border-radius: 8px; font-size: .9rem;
  cursor: pointer; transition: all .2s;
}
.btn-cookie-decline:hover { color: #fff; border-color: #fff; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--dark2); border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid var(--border);
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: .9rem; max-width: 280px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--muted); font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--muted); font-size: .85rem; }
.footer-bottom a { color: var(--muted); margin-left: 16px; font-size: .85rem; }
.footer-bottom a:hover { color: var(--accent); }
.age-badge {
  background: rgba(248,113,113,.15); border: 1px solid rgba(248,113,113,.4);
  color: #f87171; font-size: .8rem; font-weight: 700;
  padding: 4px 12px; border-radius: 6px;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  padding: 60px 0 50px; border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; margin-bottom: 10px; }
.page-hero p { color: var(--muted); max-width: 560px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); font-size: .85rem; }
.breadcrumb span { color: var(--muted); font-size: .85rem; }
.breadcrumb .current { color: var(--accent); font-size: .85rem; }

/* =============================================
   UTILITY
   ============================================= */
.bg-dark2 { background: var(--dark2); }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mb-0 { margin-bottom: 0; }
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* Scroll to top */
#scrollTop {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none;
  cursor: pointer; font-size: 1.1rem; display: none;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(13,110,253,.5); transition: all .25s;
}
#scrollTop:hover { background: var(--primary-dark); transform: translateY(-3px); }
#scrollTop.visible { display: flex; }
