/*!
 * maxgaming free 60 - Shared design stylesheet
 * Prefix: s75f-
 * Palette: #6C757D (slate) | #AD1457 (wine) | #0D1117 (ink) | #778899 (grey)
 * Mobile-first layout, 430px viewport cap.
 */

:root {
  --s75f-primary: #AD1457;
  --s75f-primary-dark: #7a0d3c;
  --s75f-bg: #0D1117;
  --s75f-bg-alt: #161b22;
  --s75f-bg-soft: #1f2630;
  --s75f-text: #f4f6fb;
  --s75f-text-soft: #c9d1d9;
  --s75f-muted: #778899;
  --s75f-slate: #6C757D;
  --s75f-border: rgba(255, 255, 255, 0.08);
  --s75f-gold: #f5c45e;
  --s75f-success: #34d399;
  --s75f-radius: 12px;
  --s75f-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

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

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

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

a {
  color: var(--s75f-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #ffe9a8;
}

h1, h2, h3, h4 {
  margin: 0 0 0.8rem;
  line-height: 1.3;
  color: #fff;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1rem; line-height: 2.4rem; }

.s75f-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.s75f-container {
  width: 100%;
}

/* ============ Header ============ */
.s75f-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0b0f14 0%, #1a0f17 100%);
  border-bottom: 1px solid var(--s75f-border);
}

.s75f-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  max-width: 430px;
  margin: 0 auto;
}

.s75f-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 700;
}

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

.s75f-brand-name {
  font-size: 1.4rem;
  letter-spacing: 0.3px;
}

.s75f-brand-name span {
  color: var(--s75f-primary);
}

.s75f-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.s75f-btn {
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.3rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.2s ease;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.s75f-btn:active {
  transform: scale(0.96);
}

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

.s75f-btn-register {
  background: linear-gradient(135deg, var(--s75f-primary), var(--s75f-primary-dark));
  color: #fff;
  box-shadow: 0 3px 10px rgba(173, 20, 87, 0.45);
}

.s75f-menu-toggle {
  background: transparent;
  border: none;
  color: var(--s75f-text);
  font-size: 1.8rem;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.s75f-mobile-menu {
  display: none;
  flex-direction: column;
  background: #0b0f14;
  border-top: 1px solid var(--s75f-border);
  padding: 0.5rem 1.2rem 1rem;
}

.s75f-mobile-menu.s75f-menu-open {
  display: flex;
}

.s75f-mobile-menu a {
  color: var(--s75f-text-soft);
  padding: 0.75rem 0.5rem;
  border-bottom: 1px dashed var(--s75f-border);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.s75f-mobile-menu a::before {
  content: "\25B8";
  color: var(--s75f-primary);
  font-size: 1rem;
}

/* ============ Carousel ============ */
.s75f-carousel {
  position: relative;
  border-radius: var(--s75f-radius);
  overflow: hidden;
  margin: 1rem 0;
  box-shadow: var(--s75f-shadow);
}

.s75f-slide {
  display: none;
  position: relative;
}

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

.s75f-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.s75f-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #fff;
}

.s75f-slide-caption strong {
  color: var(--s75f-gold);
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.2rem;
}

.s75f-slide-caption span {
  font-size: 1.2rem;
  color: var(--s75f-text-soft);
}

.s75f-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 5px;
  z-index: 2;
}

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

.s75f-dot.s75f-dot-active {
  background: var(--s75f-primary);
  width: 18px;
  border-radius: 4px;
}

/* ============ Sections ============ */
.s75f-section {
  padding: 1.6rem 0;
}

.s75f-section-title {
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

.s75f-section-sub {
  color: var(--s75f-text-soft);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.s75f-card {
  background: var(--s75f-bg-alt);
  border: 1px solid var(--s75f-border);
  border-radius: var(--s75f-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.s75f-card h3 {
  color: var(--s75f-gold);
}

.s75f-promo-link {
  color: var(--s75f-primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: underline;
  cursor: pointer;
}

.s75f-promo-link:hover {
  color: #ff5a8a;
}

.s75f-promo-banner {
  background: linear-gradient(135deg, #2a0a1c 0%, #451030 60%, #AD1457 100%);
  border-radius: var(--s75f-radius);
  padding: 1.4rem;
  text-align: center;
  color: #fff;
  margin: 1rem 0;
  box-shadow: var(--s75f-shadow);
}

.s75f-promo-banner h2 {
  color: var(--s75f-gold);
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.s75f-promo-banner p {
  font-size: 1.3rem;
  color: #ffe9a8;
  margin-bottom: 1rem;
}

.s75f-btn-cta {
  background: var(--s75f-gold);
  color: #1a0f17;
  font-weight: 700;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============ Game Grid ============ */
.s75f-category-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.6rem 0 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--s75f-primary);
}

.s75f-category-heading i {
  color: var(--s75f-primary);
  font-size: 1.6rem;
}

.s75f-category-heading h2 {
  font-size: 1.55rem;
  margin: 0;
  color: #fff;
}

.s75f-category-heading span {
  margin-left: auto;
  font-size: 1.1rem;
  color: var(--s75f-muted);
}

.s75f-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.s75f-game-card {
  background: var(--s75f-bg-alt);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  border: 1px solid var(--s75f-border);
}

.s75f-game-card:active {
  transform: scale(0.96);
}

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

.s75f-game-card-name {
  font-size: 1.05rem;
  color: var(--s75f-text-soft);
  text-align: center;
  padding: 0.4rem 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s75f-game-card::after {
  content: "\25B6";
  position: absolute;
  top: 4px;
  right: 6px;
  background: rgba(173, 20, 87, 0.85);
  color: #fff;
  font-size: 0.8rem;
  padding: 2px 5px;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.2s;
}

.s75f-game-card:hover::after {
  opacity: 1;
}

/* ============ Feature list ============ */
.s75f-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.s75f-feature-list li {
  background: var(--s75f-bg-soft);
  padding: 0.8rem 1rem;
  margin-bottom: 0.6rem;
  border-radius: 8px;
  border-left: 3px solid var(--s75f-primary);
  font-size: 1.3rem;
  color: var(--s75f-text-soft);
}

.s75f-feature-list li strong {
  color: var(--s75f-gold);
}

/* ============ Testimonials ============ */
.s75f-testimonials {
  display: grid;
  gap: 0.8rem;
}

.s75f-testimonial {
  background: var(--s75f-bg-alt);
  border-radius: 10px;
  padding: 1rem;
  border-left: 3px solid var(--s75f-gold);
}

.s75f-testimonial-stars {
  color: var(--s75f-gold);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.s75f-testimonial-name {
  font-weight: 700;
  color: #fff;
  font-size: 1.3rem;
  margin-top: 0.4rem;
}

/* ============ Payment ============ */
.s75f-payment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.s75f-payment-item {
  background: var(--s75f-bg-alt);
  border-radius: 8px;
  padding: 0.7rem 0.3rem;
  text-align: center;
  font-size: 1rem;
  color: var(--s75f-text-soft);
  border: 1px solid var(--s75f-border);
}

.s75f-payment-item i {
  display: block;
  font-size: 1.6rem;
  color: var(--s75f-gold);
  margin-bottom: 0.2rem;
}

/* ============ RTP Table ============ */
.s75f-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
  background: var(--s75f-bg-alt);
  border-radius: 10px;
  overflow: hidden;
}

.s75f-rtp-table th,
.s75f-rtp-table td {
  padding: 0.6rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--s75f-border);
}

.s75f-rtp-table th {
  background: var(--s75f-primary-dark);
  color: #fff;
  font-weight: 600;
}

.s75f-rtp-table tr:last-child td {
  border-bottom: none;
}

.s75f-rtp-bar {
  display: inline-block;
  height: 6px;
  background: var(--s75f-primary);
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 6px;
}

/* ============ Footer ============ */
.s75f-footer {
  background: #06090d;
  border-top: 1px solid var(--s75f-border);
  padding: 2rem 0 8rem;
  margin-top: 1.5rem;
}

.s75f-footer-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.s75f-footer-brand {
  font-size: 1.3rem;
  color: var(--s75f-text-soft);
  margin-bottom: 1rem;
  line-height: 2rem;
}

.s75f-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.s75f-footer-promos button {
  flex: 1 1 45%;
  background: var(--s75f-primary);
  color: #fff;
  border: none;
  padding: 0.7rem 0.5rem;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

.s75f-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-bottom: 1rem;
}

.s75f-footer-links a {
  color: var(--s75f-muted);
  font-size: 1.15rem;
}

.s75f-footer-links a:hover {
  color: var(--s75f-gold);
}

.s75f-footer-copy {
  font-size: 1.1rem;
  color: var(--s75f-muted);
  border-top: 1px solid var(--s75f-border);
  padding-top: 1rem;
  text-align: center;
}

/* ============ Mobile Bottom Nav ============ */
.s75f-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, #0b0f14 0%, #000 100%);
  border-top: 1px solid var(--s75f-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.55);
}

.s75f-bottom-nav-btn {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  color: var(--s75f-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  min-width: 60px;
  min-height: 60px;
  transition: color 0.2s ease, transform 0.15s ease;
}

.s75f-bottom-nav-btn:active {
  transform: scale(0.92);
}

.s75f-bottom-nav-btn i,
.s75f-bottom-nav-btn span.material-icons-outlined,
.s75f-bottom-nav-btn ion-icon {
  font-size: 22px;
}

.s75f-bottom-nav-btn .material-icons-outlined {
  font-size: 22px;
}

.s75f-bottom-nav-btn ion-icon {
  font-size: 22px;
}

.s75f-bottom-nav-btn.s75f-active {
  color: var(--s75f-primary);
}

.s75f-bottom-nav-btn.s75f-active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 30px;
  height: 3px;
  background: var(--s75f-primary);
  border-radius: 0 0 4px 4px;
}

.s75f-bottom-nav-btn-label {
  font-size: 1rem;
  line-height: 1;
}

/* ============ Desktop & responsive ============ */
@media (min-width: 768px) {
  body {
    background: #06090d;
  }
  .s75f-wrapper,
  .s75f-header-inner,
  .s75f-footer-inner {
    max-width: 720px;
  }
  .s75f-game-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .s75f-slide img {
    height: 320px;
  }
  .s75f-bottom-nav {
    display: none;
  }
  .s75f-footer {
    padding-bottom: 2rem;
  }
  .s75f-payment-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 769px) {
  .s75f-bottom-nav {
    display: none;
  }
}

/* Always reserve space for bottom nav on mobile */
@media (max-width: 768px) {
  main {
    padding-bottom: 80px;
  }
}
