/* ============================================================
 * felbet.cyou - core base styles
 * All custom classes use the "s741-" prefix.
 * Palette: #C9C9FF | #FF8A80 | #262626 | #FAFAFA | #800080 | #DA70D6
 * ============================================================ */

:root {
  --s741-primary: #800080;
  --s741-primary-2: #DA70D6;
  --s741-lavender: #C9C9FF;
  --s741-coral: #FF8A80;
  --s741-bg: #262626;
  --s741-bg-2: #1c1c1c;
  --s741-bg-3: #333033;
  --s741-text: #FAFAFA;
  --s741-text-dim: #c8c4c8;
  --s741-border: rgba(201, 201, 255, 0.18);
  --s741-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  --s741-radius: 14px;
}

* { box-sizing: border-box; }

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--s741-bg);
  color: var(--s741-text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--s741-lavender); text-decoration: none; }
a:hover { color: var(--s741-coral); }

/* ---- Layout containers ---- */
.s741-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

.s741-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}

main { display: block; }

@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

/* ---- Header ---- */
.s741-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(120deg, #1c1c1c 0%, #2a0f2a 55%, #3a1442 100%);
  border-bottom: 1px solid var(--s741-border);
  box-shadow: var(--s741-shadow);
}

.s741-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
}

.s741-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.s741-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.s741-brand-name {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  background: linear-gradient(90deg, var(--s741-lavender), var(--s741-primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.s741-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.s741-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 36px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  font-family: inherit;
}

.s741-btn-primary {
  background: linear-gradient(90deg, var(--s741-primary), var(--s741-primary-2));
  color: #fff;
  box-shadow: 0 4px 14px rgba(218, 112, 214, 0.35);
}

.s741-btn-ghost {
  background: transparent;
  color: var(--s741-text);
  border: 1px solid var(--s741-border);
}

.s741-btn-coral {
  background: linear-gradient(90deg, var(--s741-coral), #ff5252);
  color: #fff;
}

.s741-btn:hover { transform: translateY(-1px); opacity: 0.95; }
.s741-btn:active { transform: scale(0.97); }

.s741-menu-btn {
  background: transparent;
  border: 1px solid var(--s741-border);
  color: var(--s741-text);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---- Mobile expandable menu ---- */
.s741-mobile-menu {
  display: none;
  background: var(--s741-bg-2);
  border-bottom: 1px solid var(--s741-border);
  padding: 10px 14px 14px;
}

.s741-mobile-menu.s741-menu-open { display: block; }

.s741-mobile-menu a {
  display: block;
  padding: 10px 8px;
  border-bottom: 1px dashed rgba(201, 201, 255, 0.12);
  color: var(--s741-text);
  font-size: 1.4rem;
}

.s741-mobile-menu a:last-child { border-bottom: 0; }

.s741-mobile-menu a:hover { color: var(--s741-primary-2); }

.s741-menu-group-label {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--s741-lavender);
  margin: 10px 0 4px;
  font-weight: 700;
}

/* ---- Hero / carousel ---- */
.s741-hero {
  position: relative;
  margin: 12px 0 4px;
  border-radius: var(--s741-radius);
  overflow: hidden;
  box-shadow: var(--s741-shadow);
}

.s741-slide {
  display: none;
  position: relative;
  cursor: pointer;
}

.s741-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.s741-slide.s741-slide-active { display: block; }

.s741-slide-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  background: linear-gradient(90deg, rgba(128, 0, 128, 0.85), rgba(218, 112, 214, 0.55));
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 1.35rem;
  font-weight: 700;
}

.s741-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
}

.s741-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201, 201, 255, 0.35);
  cursor: pointer;
  border: 0;
  padding: 0;
}

/* ---- Sections ---- */
.s741-section {
  padding: 14px 0 6px;
}

.s741-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.s741-section-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.s741-section-title i { color: var(--s741-primary-2); }

.s741-section-link {
  font-size: 1.2rem;
  color: var(--s741-lavender);
  font-weight: 600;
}

.s741-h1 {
  font-size: 2rem;
  font-weight: 800;
  margin: 14px 0 8px;
  line-height: 1.25;
  background: linear-gradient(90deg, #fff, var(--s741-primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.s741-lead {
  color: var(--s741-text-dim);
  font-size: 1.4rem;
  margin: 0 0 12px;
}

/* ---- Game grid ---- */
.s741-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.s741-game-card {
  background: var(--s741-bg-3);
  border: 1px solid var(--s741-border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: block;
  text-align: center;
}

.s741-game-card:hover { transform: translateY(-2px); box-shadow: var(--s741-shadow); }
.s741-game-card:active { transform: scale(0.97); }

.s741-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #141414;
}

.s741-game-name {
  font-size: 1.15rem;
  color: var(--s741-text);
  padding: 6px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Cards / panels ---- */
.s741-card {
  background: var(--s741-bg-3);
  border: 1px solid var(--s741-border);
  border-radius: var(--s741-radius);
  padding: 14px;
  margin-bottom: 12px;
}

.s741-card h2 {
  margin: 0 0 6px;
  font-size: 1.6rem;
  color: var(--s741-text);
}

.s741-card h3 {
  margin: 12px 0 4px;
  font-size: 1.35rem;
  color: var(--s741-primary-2);
}

.s741-card p {
  color: var(--s741-text-dim);
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.s741-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.s741-features li {
  background: var(--s741-bg-2);
  border-left: 3px solid var(--s741-primary-2);
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 1.3rem;
  color: var(--s741-text);
}

.s741-features li i { color: var(--s741-coral); margin-right: 6px; }

/* ---- Stats / RTP strip ---- */
.s741-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.s741-stat {
  background: var(--s741-bg-2);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  border: 1px solid var(--s741-border);
}

.s741-stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--s741-lavender);
}

.s741-stat-label {
  font-size: 1.15rem;
  color: var(--s741-text-dim);
}

/* ---- Testimonials ---- */
.s741-testi {
  background: var(--s741-bg-2);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
  border-left: 3px solid var(--s741-lavender);
}

.s741-testi-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.s741-testi-name { font-weight: 700; font-size: 1.3rem; }
.s741-stars { color: #ffd166; font-size: 1.1rem; }
.s741-testi p { margin: 0; font-size: 1.3rem; color: var(--s741-text-dim); }

/* ---- Promo CTA banner ---- */
.s741-cta {
  background: linear-gradient(120deg, var(--s741-primary), var(--s741-primary-2));
  border-radius: var(--s741-radius);
  padding: 16px;
  text-align: center;
  margin: 14px 0;
  box-shadow: var(--s741-shadow);
}

.s741-cta h3 {
  margin: 0 0 6px;
  font-size: 1.7rem;
  color: #fff;
}

.s741-cta p { margin: 0 0 12px; color: #f3e6ff; font-size: 1.3rem; }

.s741-text-link {
  color: var(--s741-coral);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* ---- Payment row ---- */
.s741-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.s741-pay-chip {
  background: var(--s741-bg-2);
  border: 1px solid var(--s741-border);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1.2rem;
  color: var(--s741-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---- Winners ticker ---- */
.s741-winners {
  background: var(--s741-bg-2);
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid var(--s741-border);
}

.s741-winner {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(201, 201, 255, 0.12);
  font-size: 1.25rem;
}

.s741-winner:last-child { border-bottom: 0; }
.s741-winner-amount { color: var(--s741-coral); font-weight: 700; }

/* ---- Footer ---- */
.s741-footer {
  background: var(--s741-bg-2);
  border-top: 1px solid var(--s741-border);
  padding: 18px 14px 90px;
  margin-top: 18px;
}

.s741-footer-brand {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--s741-primary-2);
  margin-bottom: 6px;
}

.s741-footer p {
  color: var(--s741-text-dim);
  font-size: 1.3rem;
  margin: 0 0 12px;
}

.s741-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
  margin: 12px 0;
}

.s741-footer-links a {
  color: var(--s741-text);
  font-size: 1.25rem;
}

.s741-footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.s741-copyright {
  color: var(--s741-text-dim);
  font-size: 1.15rem;
  margin-top: 10px;
}

/* ---- Mobile bottom nav ---- */
.s741-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: linear-gradient(180deg, #1c1c1c, #0f0f0f);
  border-top: 1px solid var(--s741-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}

.s741-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: 0;
  color: var(--s741-text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: transform 0.15s ease, color 0.15s ease;
}

.s741-nav-btn i,
.s741-nav-btn .material-icons,
.s741-nav-btn ion-icon {
  font-size: 22px;
}

.s741-nav-btn ion-icon { font-size: 24px; }

.s741-nav-btn:hover { color: var(--s741-lavender); transform: translateY(-1px); }
.s741-nav-btn:active { transform: scale(0.92); }

.s741-nav-btn.s741-nav-active {
  color: var(--s741-primary-2);
}

.s741-nav-btn.s741-nav-active::after {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  background: var(--s741-primary-2);
  border-radius: 3px;
  margin-top: 2px;
}

@media (min-width: 769px) {
  .s741-bottom-nav { display: none; }
  .s741-footer { padding-bottom: 28px; }
}

/* ---- Help page extras ---- */
.s741-step {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(201, 201, 255, 0.12);
}

.s741-step:last-child { border-bottom: 0; }

.s741-step-num {
  flex: 0 0 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--s741-primary), var(--s741-primary-2));
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s741-step h3 { margin: 0 0 4px; font-size: 1.4rem; color: var(--s741-lavender); }
.s741-step p { margin: 0; font-size: 1.3rem; color: var(--s741-text-dim); }

.s741-faq-item {
  border-left: 3px solid var(--s741-coral);
  background: var(--s741-bg-2);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.s741-faq-item h3 { margin: 0 0 4px; font-size: 1.35rem; color: var(--s741-text); }
.s741-faq-item p { margin: 0; font-size: 1.3rem; color: var(--s741-text-dim); }

.s741-rule-grid { display: grid; gap: 8px; }

.s741-rule {
  background: var(--s741-bg-2);
  border: 1px solid var(--s741-border);
  border-radius: 10px;
  padding: 10px 12px;
}

.s741-rule h3 {
  margin: 0 0 4px;
  font-size: 1.35rem;
  color: var(--s741-primary-2);
  display: flex;
  gap: 6px;
  align-items: center;
}

.s741-rule p { margin: 0; font-size: 1.3rem; color: var(--s741-text-dim); }

.s741-tip-box {
  background: linear-gradient(120deg, rgba(128, 0, 128, 0.25), rgba(255, 138, 128, 0.12));
  border: 1px solid var(--s741-border);
  border-radius: 10px;
  padding: 12px;
  margin: 10px 0;
  font-size: 1.3rem;
  color: var(--s741-text);
}

/* ---- Utility ---- */
.s741-text-center { text-align: center; }
.s741-mt-12 { margin-top: 12px; }
.s741-hidden { display: none !important; }
