/* =========================================================
 * hawkgaming core stylesheet (mobile-first, max 430px)
 * All custom classes use the s751- prefix.
 * Palette: #8B7355 | #FAFAFA | #A0522D | #FFEFD5 | #2C2C2C
 * ========================================================= */

:root {
  --s751-bg: #2C2C2C;
  --s751-bg-2: #1f1a15;
  --s751-bg-3: #3a3128;
  --s751-bg-card: #2a2118;
  --s751-primary: #A0522D;
  --s751-primary-dark: #7e3f22;
  --s751-secondary: #8B7355;
  --s751-text: #FAFAFA;
  --s751-cream: #FFEFD5;
  --s751-gold: #d9a441;
  --s751-muted: #b9a98f;
  --s751-border: rgba(255, 239, 213, 0.12);
  --s751-radius: 14px;
  --s751-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --s751-header-h: 60px;
  --s751-nav-h: 62px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--s751-bg);
  color: var(--s751-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--s751-cream); text-decoration: none; }
ul { list-style: none; }

.s751-container { width: 100%; padding: 0 1.2rem; }
.s751-wrapper { padding: 1.6rem 1.2rem; }
.s751-no-scroll { overflow: hidden; }

/* ===== Header ===== */
.s751-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: var(--s751-header-h);
  background: linear-gradient(180deg, #2a221c 0%, #1f1a15 100%);
  border-bottom: 1px solid var(--s751-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.s751-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--s751-cream);
  font-weight: 700;
  font-size: 1.7rem;
}

.s751-logo img { width: 30px; height: 30px; border-radius: 6px; }
.s751-logo .s751-logo-accent { color: var(--s751-gold); }

.s751-header-btns { display: flex; align-items: center; gap: 0.6rem; }

.s751-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
  min-height: 36px;
  line-height: 1;
}

.s751-btn:active { transform: scale(0.94); }
.s751-btn i, .s751-btn .material-icons { font-size: 1.4rem; }

.s751-btn-register {
  background: linear-gradient(135deg, var(--s751-gold), var(--s751-primary));
  color: #1f1a15;
  box-shadow: 0 3px 10px rgba(217, 164, 65, 0.35);
}

.s751-btn-login {
  background: transparent;
  color: var(--s751-cream);
  border: 1.5px solid var(--s751-secondary);
}

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

.s751-menu-toggle-active { background: rgba(255, 239, 213, 0.08); }

/* ===== Mobile menu ===== */
.s751-mobile-menu {
  position: fixed;
  top: var(--s751-header-h);
  left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: #20180f;
  border-bottom: 1px solid var(--s751-border);
  padding: 1rem 1.2rem 1.4rem;
  transform: translateY(-130%);
  transition: transform 0.28s ease;
  z-index: 9999;
  max-height: calc(100vh - var(--s751-header-h));
  overflow-y: auto;
  box-shadow: var(--s751-shadow);
}

.s751-mobile-menu.s751-menu-open { transform: translateY(0); }

.s751-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 0.8rem;
  color: var(--s751-cream);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255, 239, 213, 0.06);
}

.s751-mobile-menu a:active { background: rgba(160, 82, 45, 0.15); }
.s751-mobile-menu a i, .s751-mobile-menu a .material-icons { color: var(--s751-gold); width: 22px; text-align: center; font-size: 1.7rem; }

/* ===== Main padding ===== */
.s751-main { padding-top: var(--s751-header-h); padding-bottom: calc(var(--s751-nav-h) + 24px); }

/* ===== Carousel ===== */
.s751-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--s751-radius);
  overflow: hidden;
  margin: 1.6rem 0 0;
  aspect-ratio: 16 / 9;
  box-shadow: var(--s751-shadow);
  background: #1a140e;
}

.s751-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.s751-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.s751-carousel-slide.s751-carousel-active { opacity: 1; }

.s751-carousel-overlay {
  position: absolute;
  left: 1.2rem; right: 1.2rem; bottom: 1.6rem;
  z-index: 2;
  pointer-events: none;
}

.s751-carousel-overlay h2 {
  font-size: 1.9rem;
  color: var(--s751-cream);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.s751-carousel-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

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

.s751-carousel-dot-active { background: var(--s751-gold); width: 22px; border-radius: 4px; }

/* ===== Sections ===== */
.s751-section { padding: 2rem 1.2rem; }

.s751-section-title {
  font-size: 1.9rem;
  color: var(--s751-cream);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.s751-section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.8rem;
  background: linear-gradient(180deg, var(--s751-gold), var(--s751-primary));
  border-radius: 4px;
}

.s751-section-title i, .s751-section-title .material-icons { color: var(--s751-gold); font-size: 2rem; }

.s751-subtitle { font-size: 1.6rem; color: var(--s751-gold); margin: 1.4rem 0 0.8rem; font-weight: 700; }
.s751-text { color: var(--s751-muted); font-size: 1.4rem; line-height: 1.7; }
.s751-text p { margin-bottom: 1rem; }
.s751-text strong, .s751-text b { color: var(--s751-cream); }
.s751-text a { color: var(--s751-gold); text-decoration: underline; }

/* ===== Hero ===== */
.s751-hero { padding: 1.6rem 1.2rem 0.4rem; }
.s751-hero h1 {
  font-size: 2.4rem;
  color: var(--s751-cream);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.s751-hero h1 .s751-h1-accent { color: var(--s751-gold); }
.s751-hero-cta { margin: 1.4rem 0; display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ===== Game grid ===== */
.s751-game-section { margin-bottom: 0.6rem; }

.s751-filter-bar {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.4rem 0 1.2rem;
  -webkit-overflow-scrolling: touch;
}

.s751-filter-btn {
  flex: 0 0 auto;
  background: transparent;
  border: 1px solid var(--s751-secondary);
  color: var(--s751-cream);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 1.3rem;
  cursor: pointer;
  white-space: nowrap;
}

.s751-filter-btn-active {
  background: var(--s751-primary);
  border-color: var(--s751-primary);
  color: #fff;
}

.s751-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.s751-game-card {
  background: linear-gradient(160deg, #3a3128, #251f18);
  border: 1px solid var(--s751-border);
  border-radius: 12px;
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease;
  overflow: hidden;
}

.s751-game-card:active { transform: scale(0.95); border-color: var(--s751-gold); }

.s751-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #1a140e;
}

.s751-game-name {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.1rem;
  color: var(--s751-cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

/* ===== Cards ===== */
.s751-card {
  background: linear-gradient(160deg, #322a20, #221b14);
  border: 1px solid var(--s751-border);
  border-radius: var(--s751-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--s751-shadow);
}

.s751-card-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 239, 213, 0.06);
}

.s751-card-row:last-child { border-bottom: none; }

.s751-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--s751-primary), var(--s751-gold));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f1a15;
  flex: 0 0 44px;
}

.s751-card-icon i, .s751-card-icon .material-icons { font-size: 2.2rem; }

/* ===== Promo links ===== */
.s751-link { color: var(--s751-gold); font-weight: 700; text-decoration: underline; cursor: pointer; }
.s751-link-inline { color: var(--s751-gold); font-weight: 700; cursor: pointer; }
.s751-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--s751-gold), var(--s751-primary));
  color: #1f1a15;
  font-weight: 700;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.4rem;
  margin: 0.4rem 0;
  box-shadow: 0 3px 10px rgba(217, 164, 65, 0.3);
}

/* ===== Footer ===== */
.s751-footer {
  background: #1a140e;
  padding: 2.4rem 1.2rem calc(var(--s751-nav-h) + 2.4rem);
  border-top: 1px solid var(--s751-border);
  margin-top: 2rem;
}

.s751-footer-brand { color: var(--s751-cream); font-size: 1.4rem; line-height: 1.6; margin-bottom: 1.4rem; }
.s751-footer h3 { color: var(--s751-gold); font-size: 1.5rem; margin: 1.6rem 0 0.8rem; }

.s751-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin: 0.8rem 0;
}

.s751-footer-links a { font-size: 1.3rem; color: var(--s751-muted); padding: 0.3rem 0; }
.s751-footer-links a:hover { color: var(--s751-gold); }

.s751-footer-promo { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1rem 0; }

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

/* ===== Bottom nav ===== */
.s751-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: var(--s751-nav-h);
  background: linear-gradient(180deg, #2a221c, #15110b);
  border-top: 1px solid var(--s751-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
}

.s751-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--s751-muted);
  font-size: 1rem;
  font-weight: 600;
  min-height: 60px;
  cursor: pointer;
  padding: 0.4rem;
  position: relative;
  transition: color 0.15s ease;
}

.s751-nav-btn i, .s751-nav-btn .material-icons { font-size: 2.2rem; }
.s751-nav-btn:active { color: var(--s751-gold); transform: scale(0.92); }
.s751-nav-btn-active { color: var(--s751-gold); }

.s751-nav-btn-active::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 30px; height: 3px;
  background: var(--s751-gold);
  border-radius: 0 0 4px 4px;
}

/* ===== Misc helpers ===== */
.s751-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.s751-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }

.s751-badge {
  display: inline-block;
  background: var(--s751-primary);
  color: #fff;
  font-size: 1.1rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
}

.s751-stat {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 239, 213, 0.04);
  border-radius: 10px;
}

.s751-stat-num { color: var(--s751-gold); font-size: 2rem; font-weight: 700; display: block; }
.s751-stat-label { color: var(--s751-muted); font-size: 1.2rem; }

.s751-testimonial {
  background: rgba(255, 239, 213, 0.04);
  border-left: 3px solid var(--s751-gold);
  padding: 1rem 1.2rem;
  border-radius: 0 10px 10px 0;
  margin-bottom: 0.8rem;
}

.s751-testimonial p { color: var(--s751-cream); font-size: 1.3rem; font-style: italic; margin-bottom: 0.4rem; }
.s751-testimonial .s751-author { color: var(--s751-gold); font-size: 1.2rem; font-weight: 700; }

.s751-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.s751-step-num {
  flex: 0 0 32px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--s751-gold), var(--s751-primary));
  color: #1f1a15;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.s751-faq-item {
  border-bottom: 1px solid var(--s751-border);
  padding: 1rem 0;
}

.s751-faq-item h3 { color: var(--s751-cream); font-size: 1.4rem; margin-bottom: 0.5rem; }
.s751-faq-item p { color: var(--s751-muted); font-size: 1.3rem; }

/* ===== Responsive ===== */
@media (min-width: 769px) {
  body { max-width: 430px; }
  .s751-bottom-nav { display: none; }
  .s751-footer { padding-bottom: 2.4rem; }
  .s751-main { padding-bottom: 2rem; }
}

@media (max-width: 360px) {
  .s751-game-grid { grid-template-columns: repeat(3, 1fr); }
  .s751-hero h1 { font-size: 2rem; }
}
