/* =========== إعدادات عامة =========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: "Tajawal", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #171726 0, #050509 45%);
  color: #f5f5f5;
  direction: rtl;
  text-align: right;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =========== الهيدر / الشعار =========== */
header {
  background: rgba(5, 5, 9, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(249, 200, 70, 0.18);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-logo {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  background: rgba(249, 200, 70, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* حتى القص يكون أنيق */
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* يحافظ على نسبة الصورة */
}


.brand-text {
  font-weight: 700;
  font-size: 18px;
}

.brand-sub {
  font-size: 11px;
  opacity: 0.7;
}

.nav-links {
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.nav-links a {
  padding: 6px 10px;
  border-radius: 999px;
  transition: 0.2s;
  opacity: 0.8;
}

.nav-links a:hover {
  background: rgba(249, 200, 70, 0.12);
  opacity: 1;
}

/* =========== البودي الرئيسي =========== */
main {
  padding: 32px 0 40px;
}

/* =========== زر ذهبي عام =========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(135deg, #f9c846, #e0a824);
  color: #201908;
  box-shadow: 0 0 18px rgba(249, 200, 70, 0.35);
  transition: 0.2s;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(249, 200, 70, 0.5);
}

/* =========== زر شفاف (ثانوي) =========== */
.btn-ghost {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(249, 200, 70, 0.35);
  background: transparent;
  color: #f9c846;
  cursor: pointer;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: 0.2s;
  white-space: nowrap;
}

.btn-ghost:hover {
  background: rgba(249, 200, 70, 0.09);
}

/* =========== قسم الهيرو =========== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.hero-title span {
  color: #f9c846;
}

.hero-subtitle {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 18px;
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(249, 200, 70, 0.4);
  font-size: 11px;
  opacity: 0.9;
  background: rgba(5, 5, 9, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 11px;
  opacity: 0.7;
}

/* =========== كرت الهيرو (الجانب) =========== */
.hero-card {
  background: radial-gradient(circle at top left, rgba(249, 200, 70, 0.12), rgba(10, 10, 18, 0.95));
  border-radius: 18px;
  padding: 18px 16px;
  border: 1px solid rgba(249, 200, 70, 0.18);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: 0.08;
  background: radial-gradient(circle at top, #f9c846, transparent 60%);
}

.hero-card-title {
  font-size: 16px;
  font-weight: 600;
}

.hero-card-sub {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.7;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8, 8, 15, 0.85);
  border: 1px solid rgba(249, 200, 70, 0.35);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hero-rabbit {
  font-size: 40px;
  margin-top: 10px;
  align-self: center;
  filter: drop-shadow(0 0 15px rgba(249, 200, 70, 0.5));
}

/* =========== الأقسام العامة =========== */
.section {
  margin-bottom: 40px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
  max-width: 640px;
  line-height: 1.7;
}

/* =========== كروت المميزات / الشبكة =========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  background: rgba(10, 10, 18, 0.95);
  border-radius: 14px;
  padding: 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  transition: 0.2s;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-card:hover {
  border-color: rgba(249, 200, 70, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
}

.feature-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.feature-title {
  font-size: 15px;
  font-weight: 600;
}

.feature-text {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.7;
}

/* =========== كرت معلومات / نظام المكافآت =========== */
.info-card {
  background: rgba(10, 10, 18, 0.98);
  border-radius: 14px;
  padding: 16px 14px;
  border: 1px solid rgba(249, 200, 70, 0.22);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
}

.bullet-list {
  font-size: 13px;
  line-height: 1.9;
}

.bullet-list li + li {
  margin-top: 4px;
}

/* =========== الفوتر =========== */
footer {
  border-top: 1px solid rgba(249, 200, 70, 0.16);
  background: #050509;
  padding: 18px 0 24px;
  font-size: 12px;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-links a {
  opacity: 0.8;
  transition: 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

/* =========== استجابة الشاشات الصغيرة =========== */
@media (max-width: 768px) {
  .nav-bar {
    gap: 12px;
  }

  .nav-links {
    font-size: 13px;
    gap: 8px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-card {
    order: -1; /* الكرت يطلع فوق بالنقال */
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .nav-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
  }
}


/* =========== صفحات ثابتة (عن / الخصوصية / الدعم) =========== */

.page-header {
  margin: 24px 0 20px;
}

.page-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.page-subtitle {
  font-size: 14px;
  opacity: 0.8;
  max-width: 640px;
  line-height: 1.7;
}

/* الكرت النصي للصفحات الثابتة */
.policy-text {
  background: rgba(10, 10, 18, 0.96);
  border-radius: 14px;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
  font-size: 14px;
  line-height: 1.9;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-text h2 {
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 4px;
}

.policy-text ul {
  padding-right: 18px;
  list-style: disc;
}

.policy-text li {
  margin-bottom: 4px;
}

/* كرت خاص بالدعم (بس يحدد عرض أصغر بالنص) */
.support-card {
  max-width: 560px;
  margin: 0 auto;
}

/* فورم الدعم */
.support-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #f9c846;
}

.support-form input,
.support-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #555;
  background: #0e0e12;
  color: #fff;
  font-size: 14px;
  margin-bottom: 15px;
  outline: none;
  transition: 0.2s;
}

.support-form input:focus,
.support-form textarea:focus {
  border-color: #f9c846;
}

.support-form textarea {
  height: 130px;
  resize: none;
}

/* زر الإرسال في الدعم */
.btn-send {
  background: linear-gradient(135deg, #f9c846, #e2ad2e);
  color: #000;
  border: none;
  width: 100%;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.25s;
  box-shadow: 0 0 18px rgba(249, 200, 70, 0.35);
}

.btn-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(249, 200, 70, 0.55);
}










.hero-slider-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 10px auto;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}

.slider {
  position: relative;
  width: 100%;
  height: 180px;
}

.slider .slide {
  display: none;
  width: 100%;
  height: 100%;
}

.slider .slide.active {
  display: block;
}

.slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
}

.dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #666;
  cursor: pointer;
}

.dots .dot.active {
  background: #ffd700;
  width: 16px;
}

.caption-text {
  text-align: center;
  font-size: 14px;
  color: #ddd;
  margin-top: 6px;
  min-height: 22px;
}




/* ==== تحسين الهيرو / الواجهة الرئيسية ==== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr);
  gap: 32px;
  align-items: center;
  padding: 40px 0 32px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-title {
  font-size: 30px;
  line-height: 1.4;
  margin: 0;
}

.hero-title span {
  font-size: 22px;
  opacity: 0.9;
}

.hero-subtitle {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.95;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.hero-meta-item {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* أزرار التحميل */
.btn-primary-large {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 150px;
}

.btn-primary-line1 {
  font-size: 11px;
  opacity: 0.9;
}

.btn-primary-line2 {
  font-size: 15px;
  font-weight: 700;
}

/* كارت السلايدر */
.hero-slider-card {
  position: relative;
  overflow: hidden;
}

.slider-container {
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  background: #05070c;
}

.slider {
  position: relative;
  width: 100%;
  min-height: 220px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.slide {
  display: none;
  width: 100%;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 0 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.2s ease;
}

.dot.active {
  width: 18px;
  background: #ffd166;
}

.caption-text {
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.9;
}

/* ==== شريط الثقة تحت الهيرو ==== */
.trust-strip {
  margin: 8px 0 24px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
}

.trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

/* ==== قسم الإحصائيات ==== */
.stats-section {
  padding-top: 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  padding: 14px 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top right, rgba(255, 209, 102, 0.12), transparent 55%), rgba(5, 7, 12, 0.85);
}

.stat-label {
  font-size: 12px;
  opacity: 0.75;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 13px;
  opacity: 0.9;
}

/* ==== لماذا تختار Hoppy ==== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  padding: 16px 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 7, 12, 0.9);
}

.why-icon {
  font-size: 20px;
  margin-bottom: 6px;
}

.why-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.why-text {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.7;
}

/* ==== قيمنا ==== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  padding: 16px 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top left, rgba(127, 219, 255, 0.12), transparent 55%), rgba(5, 7, 12, 0.9);
}

.value-icon {
  font-size: 22px;
  margin-bottom: 6px;
}

.value-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.value-text {
  font-size: 13px;
  opacity: 0.9;
}

/* ==== قسم الدعوة لتحميل (CTA) ==== */
.cta-section {
  padding-top: 8px;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.12), rgba(53, 197, 244, 0.08));
}

@media (max-width: 768px) {
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.cta-title {
  margin: 0 0 4px;
  font-size: 18px;
}

.cta-sub {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.cta-secondary-link {
  font-size: 13px;
  text-decoration: none;
  opacity: 0.9;
}


/* ==== قسم التقييم وآراء اللاعبين ==== */

.rating-section {
  padding-top: 8px;
}

.rating-header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.rating-summary {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-score {
  font-size: 32px;
  font-weight: 700;
}

.stars-row {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 16px;
}

.star-icon {
  display: inline-block;
  transform: translateY(1px);
}

.star-muted {
  opacity: 0.4;
}

.rating-subtext {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 2px;
}

.rating-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rating-pill {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 12, 0.85);
}

/* كروت آراء اللاعبين */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  padding: 16px 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top right, rgba(255, 209, 102, 0.12), transparent 55%), rgba(5, 7, 12, 0.9);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.testimonial-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(0, 0, 0, 0.4);
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
}

.testimonial-tag {
  font-size: 12px;
  opacity: 0.7;
}

.testimonial-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.92;
}

/* ==== انيميشن Scroll خفيف ==== */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}




