/*!
 * sz777 link - design.css
 * Mobile-first casino portal styles. All custom classes use the "s607-" prefix.
 * Color palette: #40E0D0 | #DC143C | #34495E | #00B8D4 | #FF6347
 * Dark tones for backgrounds, light tones for text.
 * Root font-size 62.5% so 1rem = 10px.
 */
:root {
  --s607-primary: #40E0D0;
  --s607-accent: #DC143C;
  --s607-deep: #34495E;
  --s607-cyan: #00B8D4;
  --s607-warm: #FF6347;
  --s607-bg: #0f1a24;
  --s607-bg-2: #15283a;
  --s607-bg-3: #1c3349;
  --s607-text: #f3f7fa;
  --s607-text-muted: #aebfd0;
  --s607-border: rgba(64, 224, 208, 0.25);
  --s607-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --s607-radius: 14px;
}

/* ---- Reset ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: linear-gradient(160deg, var(--s607-bg) 0%, var(--s607-bg-2) 60%, #0a121b 100%);
  color: var(--s607-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
}
body.s607-no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--s607-primary); text-decoration: none; }
a:hover, a:focus { color: var(--s607-cyan); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---- Layout helpers ---- */
.s607-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.s607-wrapper { display: flex; flex-direction: column; gap: 1.2rem; }
.s607-grid { display: grid; gap: 1rem; }
.s607-section { padding: 2rem 0; }
.s607-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--s607-text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.s607-section-title::before {
  content: "";
  width: 5px;
  height: 22px;
  background: linear-gradient(180deg, var(--s607-primary), var(--s607-cyan));
  border-radius: 3px;
}
.s607-section-title small {
  font-size: 1.2rem;
  color: var(--s607-text-muted);
  font-weight: 500;
}

/* ---- Buttons ---- */
.s607-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.4rem;
  min-height: 44px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.s607-btn:active { transform: scale(0.96); }
.s607-btn-primary {
  background: linear-gradient(135deg, var(--s607-accent), var(--s607-warm));
  color: #fff;
  box-shadow: 0 6px 18px rgba(220, 20, 60, 0.4);
}
.s607-btn-secondary {
  background: linear-gradient(135deg, var(--s607-primary), var(--s607-cyan));
  color: #062430;
  box-shadow: 0 6px 18px rgba(64, 224, 208, 0.35);
}
.s607-btn-ghost {
  background: rgba(64, 224, 208, 0.12);
  color: var(--s607-primary);
  border: 1px solid var(--s607-border);
}

/* ---- Header ---- */
.s607-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 26, 36, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--s607-border);
}
.s607-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  gap: 0.6rem;
}
.s607-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--s607-text);
  flex-shrink: 0;
}
.s607-logo img { width: 28px; height: 28px; border-radius: 6px; }
.s607-logo span { color: var(--s607-primary); }
.s607-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.s607-header-actions .s607-btn { padding: 0.6rem 1.1rem; font-size: 1.3rem; min-height: 38px; }
.s607-nav-trigger {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(64, 224, 208, 0.1);
  color: var(--s607-primary);
  font-size: 1.8rem;
}
.s607-nav-trigger-active { background: var(--s607-primary); color: #062430; }

/* Nav menu */
.s607-nav-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--s607-bg-2);
  border-left: 1px solid var(--s607-border);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  padding: 6rem 1.5rem 2rem;
  z-index: 9999;
  transition: right 0.28s ease;
  overflow-y: auto;
}
.s607-nav-menu.s607-nav-open { right: 0; }
.s607-nav-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(220, 20, 60, 0.15);
  color: var(--s607-accent);
  font-size: 1.8rem;
}
.s607-nav-title { font-size: 1.4rem; color: var(--s607-text-muted); margin: 1.5rem 0 0.6rem; text-transform: uppercase; letter-spacing: 1px; }
.s607-nav-menu ul li { margin-bottom: 0.5rem; }
.s607-nav-menu ul li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: rgba(64, 224, 208, 0.06);
  color: var(--s607-text);
  font-size: 1.4rem;
}
.s607-nav-menu ul li a:hover { background: rgba(64, 224, 208, 0.18); color: var(--s607-primary); }
.s607-nav-menu ul li a i { width: 24px; text-align: center; }

/* ---- Banner carousel ---- */
.s607-banner {
  position: relative;
  border-radius: var(--s607-radius);
  overflow: hidden;
  margin: 1rem 0;
  box-shadow: var(--s607-shadow);
  aspect-ratio: 16 / 9;
}
.s607-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.s607-slide.s607-slide-active { opacity: 1; }
.s607-slide img { width: 100%; height: 100%; object-fit: cover; }
.s607-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}
.s607-slide-overlay h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 0.4rem; }
.s607-slide-overlay p { font-size: 1.25rem; color: var(--s607-text-muted); margin-bottom: 0.7rem; }
.s607-banner-dots {
  position: absolute;
  bottom: 0.8rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.5rem;
  z-index: 2;
}
.s607-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
}
.s607-dot.s607-dot-active { background: var(--s607-primary); width: 22px; border-radius: 4px; }

/* ---- H1 hero ---- */
.s607-hero {
  padding: 1.5rem 0 0.5rem;
}
.s607-hero h1 {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.25;
  background: linear-gradient(135deg, var(--s607-primary), var(--s607-cyan) 50%, var(--s607-warm));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.s607-hero p { font-size: 1.4rem; color: var(--s607-text-muted); margin-top: 0.6rem; }

/* ---- Game grid ---- */
.s607-game-block { margin-bottom: 1.5rem; }
.s607-game-block-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.8rem;
}
.s607-game-block-head h3 {
  font-size: 1.55rem; font-weight: 800; color: var(--s607-text);
  display: flex; align-items: center; gap: 0.5rem;
}
.s607-game-block-head h3 i { color: var(--s607-warm); }
.s607-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.s607-game-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--s607-bg-3);
  border: 1px solid var(--s607-border);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.s607-game-card:active { transform: scale(0.95); }
.s607-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.s607-game-card-name {
  font-size: 1.05rem;
  text-align: center;
  padding: 0.4rem 0.3rem 0.5rem;
  color: var(--s607-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}
.s607-game-card-tag {
  position: absolute;
  top: 4px; left: 4px;
  background: var(--s607-accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 6px;
}

/* ---- Content cards ---- */
.s607-card {
  background: var(--s607-bg-2);
  border: 1px solid var(--s607-border);
  border-radius: var(--s607-radius);
  padding: 1.3rem;
  box-shadow: var(--s607-shadow);
}
.s607-card h3 { font-size: 1.6rem; margin-bottom: 0.6rem; color: var(--s607-primary); }
.s607-card p { font-size: 1.35rem; color: var(--s607-text-muted); margin-bottom: 0.6rem; }
.s607-card a.s607-link {
  color: var(--s607-warm);
  font-weight: 700;
  text-decoration: underline;
}
.s607-card a.s607-link:hover { color: var(--s607-accent); }

.s607-feature-list { display: grid; gap: 0.8rem; }
.s607-feature-item {
  display: flex; gap: 0.8rem; align-items: flex-start;
  background: rgba(64, 224, 208, 0.06);
  padding: 1rem; border-radius: 10px;
}
.s607-feature-item .s607-feature-ico {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--s607-primary), var(--s607-cyan));
  color: #062430;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.s607-feature-item h4 { font-size: 1.4rem; margin-bottom: 0.2rem; }
.s607-feature-item p { font-size: 1.25rem; color: var(--s607-text-muted); }

/* RTP / stats */
.s607-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.s607-stat {
  background: var(--s607-bg-3);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--s607-border);
}
.s607-stat-num { font-size: 1.9rem; font-weight: 900; color: var(--s607-primary); }
.s607-stat-label { font-size: 1.15rem; color: var(--s607-text-muted); }

/* Testimonials */
.s607-testi { background: var(--s607-bg-3); border-radius: 10px; padding: 1rem; border-left: 4px solid var(--s607-warm); }
.s607-testi p { font-size: 1.25rem; color: var(--s607-text); margin-bottom: 0.5rem; font-style: italic; }
.s607-testi .s607-testi-author { font-size: 1.15rem; color: var(--s607-primary); font-weight: 700; }

/* Payment chips */
.s607-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.s607-chip {
  background: rgba(64, 224, 208, 0.1);
  border: 1px solid var(--s607-border);
  color: var(--s607-text);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.4rem;
}

/* Winners ticker */
.s607-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 0; border-bottom: 1px dashed rgba(64, 224, 208, 0.2);
}
.s607-winner:last-child { border-bottom: none; }
.s607-winner-name { font-weight: 700; }
.s607-winner-game { font-size: 1.15rem; color: var(--s607-text-muted); }
.s607-winner-amount { color: var(--s607-warm); font-weight: 800; }

/* App CTA */
.s607-app-cta {
  background: linear-gradient(135deg, var(--s607-deep), var(--s607-bg-3));
  border-radius: var(--s607-radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--s607-border);
}
.s607-app-cta h3 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.s607-app-cta p { font-size: 1.3rem; color: var(--s607-text-muted); margin-bottom: 1rem; }
.s607-app-cta .s607-btn-row { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }

/* SEO content blocks */
.s607-seo-text { font-size: 1.3rem; color: var(--s607-text-muted); }
.s607-seo-text h2 { color: var(--s607-text); font-size: 1.7rem; margin: 1.2rem 0 0.6rem; font-weight: 800; }
.s607-seo-text h3 { color: var(--s607-primary); font-size: 1.45rem; margin: 1rem 0 0.4rem; }
.s607-seo-text p { margin-bottom: 0.7rem; }
.s607-seo-text strong { color: var(--s607-warm); }

/* Reveal animation */
.s607-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.s607-reveal-visible { opacity: 1; transform: translateY(0); }

/* ---- Footer ---- */
.s607-footer {
  background: #0a121b;
  border-top: 1px solid var(--s607-border);
  padding: 2rem 0 7rem;
  margin-top: 2rem;
}
.s607-footer-brand { font-size: 1.6rem; font-weight: 800; color: var(--s607-primary); margin-bottom: 0.4rem; }
.s607-footer-desc { font-size: 1.25rem; color: var(--s607-text-muted); margin-bottom: 1rem; }
.s607-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin: 1rem 0; }
.s607-footer-links a {
  font-size: 1.2rem;
  color: var(--s607-text-muted);
  padding: 0.3rem 0;
}
.s607-footer-links a:hover { color: var(--s607-primary); }
.s607-footer-promo { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.s607-footer-copy { font-size: 1.1rem; color: var(--s607-text-muted); border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1rem; margin-top: 1rem; }

/* ---- Mobile bottom navigation ---- */
.s607-bottom-nav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 62px;
  background: linear-gradient(180deg, #122434, #0a121b);
  border-top: 1px solid var(--s607-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.4);
}
.s607-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--s607-text-muted);
  font-size: 1.05rem;
  font-weight: 600;
  transition: transform 0.18s ease, color 0.18s ease;
  position: relative;
}
.s607-bottom-nav-btn i,
.s607-bottom-nav-btn .material-icons {
  font-size: 22px;
}
.s607-bottom-nav-btn:active { transform: scale(0.9); }
.s607-bottom-nav-btn-active { color: var(--s607-primary); }
.s607-bottom-nav-btn-active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 28px; height: 3px;
  background: var(--s607-primary);
  border-radius: 0 0 4px 4px;
}
.s607-bottom-nav-btn-promo {
  background: linear-gradient(135deg, var(--s607-accent), var(--s607-warm));
  color: #fff;
  border-radius: 50%;
  width: 50px; height: 50px;
  margin-top: -22px;
  box-shadow: 0 4px 12px rgba(220, 20, 60, 0.5);
  flex: 0 0 auto;
}
.s607-bottom-nav-btn-promo i { font-size: 24px; }
.s607-bottom-nav-btn-promo span { display: none; }

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  body { max-width: 100%; }
  .s607-bottom-nav { display: none; }
  .s607-footer { padding-bottom: 2rem; }
  .s607-game-grid { grid-template-columns: repeat(6, 1fr); }
}

/* Mobile clearance for bottom nav */
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

/* Small screens fine tuning */
@media (max-width: 360px) {
  .s607-hero h1 { font-size: 2rem; }
  .s607-game-grid { gap: 0.5rem; }
  .s607-game-card-name { font-size: 0.95rem; }
}
