/* =============================================================
   Hawk Gaming - style-9c35.css
   Mobile-first stylesheet. All custom classes use g353- prefix.
   Palette: #2C3E50 (dark bg) | #E9ECEF (light text)
            #006400 (deep green) | #32CD32 (lime accent)
   ============================================================= */

:root {
  --g353-bg: #2C3E50;
  --g353-bg-2: #1f2c3a;
  --g353-bg-3: #16202b;
  --g353-text: #E9ECEF;
  --g353-muted: #aebdc7;
  --g353-primary: #006400;
  --g353-accent: #32CD32;
  --g353-gold: #ffd24c;
  --g353-border: rgba(255, 255, 255, 0.08);
  --g353-radius: 12px;
  --g353-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --g353-maxw: 430px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--g353-bg);
  color: var(--g353-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  overflow-x: hidden;
}

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

a {
  color: var(--g353-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------- Layout container ---------- */
.g353-wrapper {
  width: 100%;
  max-width: var(--g353-maxw);
  margin: 0 auto;
  padding: 0 1.2rem;
}

.g353-container {
  padding: 2rem 1.2rem;
}

.g353-section {
  padding: 2.2rem 0;
  border-top: 1px solid var(--g353-border);
}

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

.g353-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ---------- Header ---------- */
.g353-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #16202b 0%, #1f2c3a 100%);
  border-bottom: 1px solid var(--g353-border);
  box-shadow: var(--g353-shadow);
}

.g353-header-inner {
  max-width: var(--g353-maxw);
  margin: 0 auto;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.g353-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--g353-text);
}

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

.g353-brand span {
  color: var(--g353-accent);
}

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

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

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

.g353-btn-primary {
  background: linear-gradient(135deg, #32CD32 0%, #00b341 100%);
  color: #07210c;
  box-shadow: 0 4px 12px rgba(50, 205, 50, 0.35);
}

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

.g353-btn-gold {
  background: linear-gradient(135deg, #ffd24c 0%, #f0a500 100%);
  color: #2C3E50;
}

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

/* ---------- Mobile dropdown menu ---------- */
.g353-mobile-menu {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--g353-bg-3);
  border-bottom: 1px solid var(--g353-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.g353-mobile-menu.g353-menu-open {
  max-height: 420px;
}

.g353-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
}

.g353-mobile-menu li a {
  display: block;
  padding: 1rem 1.4rem;
  color: var(--g353-text);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--g353-border);
}

.g353-mobile-menu li a:hover {
  background: rgba(50, 205, 50, 0.08);
  text-decoration: none;
}

/* ---------- Hero / Carousel ---------- */
.g353-main {
  padding-top: 62px;
}

.g353-carousel {
  position: relative;
  border-radius: var(--g353-radius);
  overflow: hidden;
  margin: 1.2rem 0;
  box-shadow: var(--g353-shadow);
}

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

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

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

.g353-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent);
  font-size: 1.4rem;
  font-weight: 700;
}

.g353-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
}

.g353-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.g353-dot.g353-active {
  background: var(--g353-accent);
}

/* ---------- Headings ---------- */
.g353-h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 1.4rem 0 0.6rem;
  color: var(--g353-text);
}

.g353-h1 em {
  color: var(--g353-accent);
  font-style: normal;
}

.g353-h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 1.6rem 0 0.6rem;
  color: var(--g353-accent);
}

.g353-h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.2rem 0 0.4rem;
  color: var(--g353-gold);
}

.g353-lead {
  color: var(--g353-muted);
  font-size: 1.4rem;
  margin: 0 0 1rem;
}

.g353-text p {
  margin: 0 0 0.9rem;
  color: var(--g353-text);
}

.g353-text strong {
  color: var(--g353-accent);
}

/* ---------- Game grid (compact) ---------- */
.g353-cat-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 1.4rem 0 0.6rem;
  color: var(--g353-text);
}

.g353-cat-title i {
  color: var(--g353-accent);
  font-size: 1.8rem;
}

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

.g353-game {
  background: var(--g353-bg-2);
  border: 1px solid var(--g353-border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.g353-game:hover {
  transform: translateY(-2px);
  border-color: var(--g353-accent);
  text-decoration: none;
}

.g353-game img {
  width: 100%;
  height: 78px;
  object-fit: cover;
}

.g353-game-name {
  display: block;
  font-size: 1.1rem;
  color: var(--g353-text);
  padding: 0.35rem 0.2rem 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Cards ---------- */
.g353-card {
  background: var(--g353-bg-2);
  border: 1px solid var(--g353-border);
  border-radius: var(--g353-radius);
  padding: 1.2rem;
  margin: 0.6rem 0;
  box-shadow: var(--g353-shadow);
}

.g353-card-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--g353-border);
}

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

.g353-card-row i {
  font-size: 2rem;
  color: var(--g353-accent);
}

/* ---------- Steps ---------- */
.g353-steps {
  counter-reset: step;
  padding: 0;
  list-style: none;
}

.g353-steps li {
  position: relative;
  padding: 0.6rem 0 0.6rem 3.2rem;
  border-bottom: 1px solid var(--g353-border);
  font-size: 1.35rem;
}

.g353-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--g353-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Banner promo ---------- */
.g353-cta-banner {
  background: linear-gradient(135deg, #006400 0%, #32CD32 100%);
  border-radius: var(--g353-radius);
  padding: 1.4rem;
  text-align: center;
  color: #fff;
  margin: 1.2rem 0;
}

.g353-cta-banner h3 {
  color: #fff;
  margin-top: 0;
}

.g353-promo-link {
  color: var(--g353-accent);
  font-weight: 800;
}

/* ---------- Testimonials ---------- */
.g353-quote {
  background: var(--g353-bg-3);
  border-left: 3px solid var(--g353-accent);
  padding: 0.9rem 1rem;
  border-radius: 8px;
  margin: 0.5rem 0;
  font-size: 1.3rem;
}

.g353-quote b {
  color: var(--g353-gold);
  display: block;
  margin-top: 0.4rem;
}

/* ---------- Reveal animation ---------- */
.g353-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.g353-reveal.g353-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Footer ---------- */
.g353-footer {
  background: var(--g353-bg-3);
  border-top: 1px solid var(--g353-border);
  padding: 2rem 1.2rem 6rem;
  font-size: 1.3rem;
  color: var(--g353-muted);
}

.g353-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 0.8rem 0;
}

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

.g353-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0;
}

.g353-payments span {
  background: var(--g353-bg-2);
  border: 1px solid var(--g353-border);
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  font-size: 1.15rem;
}

.g353-copy {
  margin-top: 1rem;
  font-size: 1.15rem;
  color: var(--g353-muted);
}

/* ---------- Bottom navigation (mobile only) ---------- */
.g353-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, #1f2c3a 0%, #16202b 100%);
  border-top: 1px solid var(--g353-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 4px 2px;
}

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

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

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

.g353-nav-btn.g353-nav-active {
  color: var(--g353-accent);
}

/* ---------- Responsive ---------- */
@media (min-width: 769px) {
  .g353-bottom-nav {
    display: none;
  }
  .g353-wrapper,
  .g353-header-inner {
    max-width: 960px;
  }
}

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

@media (max-width: 430px) {
  html {
    font-size: 60%;
  }
  .g353-game-list,
  .g353-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
  }
  .g353-game img {
    height: 64px;
  }
  .g353-slide img {
    height: 160px;
  }
  .g353-btn {
    padding: 0.6rem 0.9rem;
    font-size: 1.2rem;
  }
  .g353-h1 {
    font-size: 1.9rem;
  }
  .g353-brand {
    font-size: 1.45rem;
  }
  .g353-brand img {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 360px) {
  .g353-game-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
