/* 777c.homes - Basefiles Stylesheet (class prefix: s9c1-) */
/* Palette: #00CED1 | #FFCCCB | #00FFFF | #8B0000 | #2C2C2C */

:root {
  --s9c1-primary: #00CED1;
  --s9c1-accent: #00FFFF;
  --s9c1-soft: #FFCCCB;
  --s9c1-deep: #8B0000;
  --s9c1-bg: #2C2C2C;
  --s9c1-bg2: #1c1c1c;
  --s9c1-card: #3a3a3a;
  --s9c1-text: #f5f5f5;
  --s9c1-muted: #c9c9c9;
  --s9c1-radius: 12px;
}

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

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

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: var(--s9c1-bg);
  color: var(--s9c1-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  overflow-x: hidden;
}

/* Container: mobile-first max-width 430px */
.s9c1-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px;
  position: relative;
}

.s9c1-wrapper { width: 100%; }

a { color: var(--s9c1-accent); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===================== Header ===================== */
.s9c1-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--s9c1-deep) 0%, var(--s9c1-bg2) 100%);
  border-bottom: 2px solid var(--s9c1-primary);
  padding: 8px 0;
}
.s9c1-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.s9c1-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--s9c1-text);
  font-weight: 700;
  font-size: 1.6rem;
}
.s9c1-logo img { width: 28px; height: 28px; border-radius: 6px; }
.s9c1-logo .s9c1-logo-txt {
  color: var(--s9c1-primary);
  text-shadow: 0 0 8px rgba(0, 206, 209, 0.5);
}
.s9c1-header-actions { display: flex; align-items: center; gap: 6px; }
.s9c1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  min-height: 36px;
}
.s9c1-btn:active { transform: scale(0.94); }
.s9c1-btn-login {
  background: transparent;
  color: var(--s9c1-text);
  border: 1.5px solid var(--s9c1-primary);
}
.s9c1-btn-register {
  background: linear-gradient(135deg, var(--s9c1-primary), var(--s9c1-accent));
  color: #0b2c2d;
  box-shadow: 0 2px 10px rgba(0, 255, 255, 0.35);
}
.s9c1-menu-btn {
  background: transparent;
  border: none;
  color: var(--s9c1-text);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* ===================== Mobile expandable menu ===================== */
.s9c1-mobile-menu {
  display: none;
  background: var(--s9c1-bg2);
  border-bottom: 1px solid var(--s9c1-card);
  padding: 10px 12px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 9999;
  max-height: 70vh;
  overflow-y: auto;
}
.s9c1-mobile-menu.s9c1-menu-open { display: block; }
.s9c1-mobile-menu a {
  display: block;
  padding: 10px 12px;
  border-bottom: 1px dashed var(--s9c1-card);
  color: var(--s9c1-text);
  font-size: 1.4rem;
}
.s9c1-mobile-menu a:last-child { border-bottom: none; }
.s9c1-mobile-menu a:hover { color: var(--s9c1-primary); }
.s9c1-menu-group-title {
  color: var(--s9c1-soft);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 8px 12px 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===================== Carousel ===================== */
.s9c1-carousel {
  position: relative;
  border-radius: var(--s9c1-radius);
  overflow: hidden;
  margin: 12px 0;
  aspect-ratio: 16 / 9;
  background: #111;
}
.s9c1-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  cursor: pointer;
}
.s9c1-slide img { width: 100%; height: 100%; object-fit: cover; }
.s9c1-slide.s9c1-slide-active { opacity: 1; }

/* ===================== Headings & Sections ===================== */
.s9c1-main { padding-bottom: 90px; }
.s9c1-h1 {
  font-size: 2rem;
  line-height: 1.3;
  color: var(--s9c1-text);
  margin: 14px 0 8px;
}
.s9c1-h1 span { color: var(--s9c1-primary); }
.s9c1-section { margin: 18px 0; }
.s9c1-section-title {
  font-size: 1.7rem;
  color: var(--s9c1-soft);
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 4px solid var(--s9c1-primary);
}
.s9c1-section-title em { color: var(--s9c1-accent); font-style: normal; }
.s9c1-lead { color: var(--s9c1-muted); margin-bottom: 10px; }

/* ===================== Game grid ===================== */
.s9c1-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.s9c1-card {
  background: var(--s9c1-card);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  border: 1px solid #4a4a4a;
}
.s9c1-card:active {
  transform: scale(0.96);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.45);
}
.s9c1-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #222;
}
.s9c1-card-name {
  font-size: 1.15rem;
  color: var(--s9c1-text);
  padding: 5px 6px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===================== Promo blocks ===================== */
.s9c1-promo-banner {
  background: linear-gradient(135deg, var(--s9c1-deep), #5a0000);
  border-radius: var(--s9c1-radius);
  padding: 14px;
  margin: 14px 0;
  text-align: center;
  border: 1px solid var(--s9c1-primary);
}
.s9c1-promo-banner h3 { color: var(--s9c1-soft); font-size: 1.5rem; margin-bottom: 6px; }
.s9c1-promo-banner p { color: var(--s9c1-muted); font-size: 1.25rem; margin-bottom: 10px; }
.s9c1-promo-banner a {
  display: inline-block;
  padding: 8px 18px;
  background: var(--s9c1-primary);
  color: #062a2b;
  border-radius: 20px;
  font-weight: 700;
}
.s9c1-cta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.s9c1-cta-row a {
  flex: 1 1 45%;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  background: var(--s9c1-card);
  color: var(--s9c1-text);
  font-size: 1.3rem;
  border: 1px solid #4a4a4a;
}
.s9c1-cta-row a:hover { color: var(--s9c1-primary); }

/* ===================== Info / feature list ===================== */
.s9c1-info-card {
  background: var(--s9c1-card);
  border-radius: var(--s9c1-radius);
  padding: 12px;
  margin: 10px 0;
  border-left: 3px solid var(--s9c1-accent);
}
.s9c1-info-card h4 { color: var(--s9c1-soft); font-size: 1.4rem; margin-bottom: 6px; }
.s9c1-info-card p { color: var(--s9c1-muted); font-size: 1.3rem; }
.s9c1-info-card a { color: var(--s9c1-primary); font-weight: 600; }

.s9c1-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 10px 0;
}
.s9c1-feature {
  background: var(--s9c1-card);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  border: 1px solid #4a4a4a;
}
.s9c1-feature i { font-size: 2rem; color: var(--s9c1-primary); }
.s9c1-feature h4 { color: var(--s9c1-soft); font-size: 1.3rem; margin: 6px 0 4px; }
.s9c1-feature p { color: var(--s9c1-muted); font-size: 1.15rem; }

/* ===================== Testimonial ===================== */
.s9c1-testimonial {
  background: var(--s9c1-card);
  border-radius: var(--s9c1-radius);
  padding: 12px;
  margin: 8px 0;
  border-left: 3px solid var(--s9c1-soft);
}
.s9c1-testimonial .s9c1-stars { color: #ffd700; font-size: 1.2rem; margin-bottom: 4px; }
.s9c1-testimonial p { color: var(--s9c1-text); font-size: 1.3rem; font-style: italic; }
.s9c1-testimonial .s9c1-author { color: var(--s9c1-primary); font-size: 1.2rem; margin-top: 6px; }

/* ===================== Payment chips ===================== */
.s9c1-pay-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.s9c1-pay-chip {
  background: var(--s9c1-card);
  border: 1px solid var(--s9c1-primary);
  color: var(--s9c1-text);
  padding: 6px 10px;
  border-radius: 16px;
  font-size: 1.15rem;
}

/* ===================== Footer ===================== */
.s9c1-footer {
  background: var(--s9c1-bg2);
  border-top: 2px solid var(--s9c1-deep);
  padding: 18px 12px 20px;
  margin-top: 18px;
  font-size: 1.25rem;
  color: var(--s9c1-muted);
}
.s9c1-footer h4 { color: var(--s9c1-soft); font-size: 1.4rem; margin-bottom: 8px; }
.s9c1-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin: 10px 0;
}
.s9c1-footer-links a {
  color: var(--s9c1-text);
  padding: 4px 0;
  font-size: 1.2rem;
}
.s9c1-footer-links a:hover { color: var(--s9c1-primary); }
.s9c1-footer-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.s9c1-footer-btns a {
  flex: 1 1 30%;
  text-align: center;
  padding: 10px 8px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--s9c1-deep), #5a0000);
  color: var(--s9c1-text);
  font-weight: 600;
  font-size: 1.2rem;
  border: 1px solid var(--s9c1-primary);
}
.s9c1-footer-copy { text-align: center; padding-top: 10px; border-top: 1px dashed #555; font-size: 1.1rem; }

/* ===================== Bottom nav (mobile only) ===================== */
.s9c1-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: linear-gradient(180deg, var(--s9c1-bg2), #000);
  border-top: 2px solid var(--s9c1-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.s9c1-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  color: var(--s9c1-muted);
  font-size: 1.05rem;
  gap: 2px;
  transition: color 0.15s, transform 0.15s;
}
.s9c1-bottom-nav a i,
.s9c1-bottom-nav a .material-icons-outlined {
  font-size: 22px;
}
.s9c1-bottom-nav a:active { transform: scale(0.9); }
.s9c1-bottom-nav a.s9c1-nav-active { color: var(--s9c1-accent); }
.s9c1-bottom-nav a:hover { color: var(--s9c1-primary); }
.s9c1-bottom-nav .s9c1-nav-promo {
  color: var(--s9c1-soft);
  position: relative;
}
.s9c1-bottom-nav .s9c1-nav-promo::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 18px;
  width: 7px;
  height: 7px;
  background: var(--s9c1-deep);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--s9c1-soft);
}

/* ===================== Responsive ===================== */
@media (min-width: 769px) {
  .s9c1-bottom-nav { display: none; }
  .s9c1-menu-btn { display: none; }
}
@media (max-width: 768px) {
  .s9c1-main { padding-bottom: 80px; }
}
@media (max-width: 360px) {
  .s9c1-grid { grid-template-columns: repeat(2, 1fr); }
  .s9c1-feature-grid { grid-template-columns: 1fr; }
}
