/**
 * Hann Casino Resort - Core Stylesheet
 * Prefix: s70a-
 * Palette: #3A3A3A #36454F #696969 #D3D3D3
 */

/* ===== CSS Variables ===== */
:root {
  --s70a-bg: #3A3A3A;
  --s70a-primary: #36454F;
  --s70a-accent: #696969;
  --s70a-text: #D3D3D3;
  --s70a-text-dim: #9a9a9a;
  --s70a-white: #f0f0f0;
  --s70a-gold: #c4a35a;
  --s70a-gold-dim: #a08040;
  --s70a-dark: #2a2a2a;
  --s70a-darker: #1e1e1e;
  --s70a-radius: 8px;
  --s70a-radius-lg: 12px;
  --s70a-shadow: 0 4px 16px rgba(0,0,0,0.35);
  --s70a-shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --s70a-transition: all 0.3s ease;
  --s70a-max-width: 430px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  background: var(--s70a-bg);
  color: var(--s70a-text);
  line-height: 1.65;
  max-width: var(--s70a-max-width);
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--s70a-gold); text-decoration: none; transition: var(--s70a-transition); }
a:hover { color: var(--s70a-white); }
img { max-width: 100%; height: auto; display: block; }

/* ===== Header ===== */
.s70a-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--s70a-max-width);
  background: var(--s70a-darker);
  z-index: 1000; padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--s70a-accent);
  transition: var(--s70a-transition);
}
.s70a-header-scrolled { box-shadow: var(--s70a-shadow); }
.s70a-header-logo { display: flex; align-items: center; gap: 8px; }
.s70a-header-logo img { width: 34px; height: 34px; border-radius: 50%; }
.s70a-header-logo span { font-size: 15px; font-weight: 700; color: var(--s70a-white); letter-spacing: 0.3px; }
.s70a-header-actions { display: flex; align-items: center; gap: 8px; }
.s70a-btn-register {
  background: var(--s70a-gold); color: var(--s70a-darker); border: none;
  padding: 7px 16px; border-radius: var(--s70a-radius); font-size: 13px;
  font-weight: 700; cursor: pointer; transition: var(--s70a-transition);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.s70a-btn-register:hover { background: var(--s70a-white); transform: scale(1.04); }
.s70a-btn-login {
  background: transparent; color: var(--s70a-text); border: 1.5px solid var(--s70a-accent);
  padding: 6px 14px; border-radius: var(--s70a-radius); font-size: 13px;
  font-weight: 600; cursor: pointer; transition: var(--s70a-transition);
}
.s70a-btn-login:hover { border-color: var(--s70a-gold); color: var(--s70a-gold); }
.s70a-menu-toggle {
  background: none; border: none; color: var(--s70a-text); font-size: 22px;
  cursor: pointer; padding: 4px; transition: var(--s70a-transition);
}
.s70a-menu-toggle:hover { color: var(--s70a-gold); }

/* ===== Mobile Menu ===== */
.s70a-menu-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 9998;
  opacity: 0; visibility: hidden; transition: var(--s70a-transition);
}
.s70a-overlay-active { opacity: 1; visibility: visible; }
.s70a-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: var(--s70a-darker); z-index: 9999;
  transition: right 0.35s ease; overflow-y: auto;
  padding: 24px 20px; border-left: 1px solid var(--s70a-accent);
}
.s70a-menu-active { right: 0; }
.s70a-menu-close {
  background: none; border: none; color: var(--s70a-text); font-size: 26px;
  cursor: pointer; position: absolute; top: 14px; right: 14px;
}
.s70a-menu-title { font-size: 16px; font-weight: 700; color: var(--s70a-gold); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--s70a-accent); }
.s70a-menu-list { list-style: none; }
.s70a-menu-list li { border-bottom: 1px solid rgba(105,105,105,0.25); }
.s70a-menu-list a {
  display: block; padding: 13px 0; color: var(--s70a-text); font-size: 14px;
  font-weight: 500; transition: var(--s70a-transition);
}
.s70a-menu-list a:hover { color: var(--s70a-gold); padding-left: 8px; }

/* ===== Main Content ===== */
.s70a-main { padding-top: 58px; }
@media (max-width: 768px) {
  .s70a-main { padding-bottom: 80px; }
}

/* ===== Carousel ===== */
.s70a-carousel { position: relative; overflow: hidden; border-radius: 0 0 var(--s70a-radius-lg) var(--s70a-radius-lg); }
.s70a-carousel-slide {
  display: none; width: 100%; position: relative;
}
.s70a-slide-active { display: block; }
.s70a-carousel-slide img { width: 100%; height: auto; min-height: 180px; object-fit: cover; }
.s70a-carousel-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(30,30,30,0.92));
  padding: 28px 16px 14px; color: var(--s70a-white); font-size: 13px; font-weight: 600;
}
.s70a-carousel-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 5;
}
.s70a-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(211,211,211,0.45); cursor: pointer; border: none;
  transition: var(--s70a-transition);
}
.s70a-dot-active { background: var(--s70a-gold); width: 22px; border-radius: 4px; }

/* ===== Section ===== */
.s70a-section { padding: 22px 14px; }
.s70a-section-title {
  font-size: 18px; font-weight: 700; color: var(--s70a-white);
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px; border-bottom: 2px solid var(--s70a-gold);
}
.s70a-section-title i { color: var(--s70a-gold); font-size: 20px; }

/* ===== Game Grid ===== */
.s70a-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.s70a-game-item {
  text-align: center; cursor: pointer; transition: var(--s70a-transition);
  border-radius: var(--s70a-radius); overflow: hidden;
  background: var(--s70a-primary); padding: 6px;
}
.s70a-game-item:hover { transform: translateY(-3px); box-shadow: var(--s70a-shadow-sm); }
.s70a-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--s70a-radius); margin-bottom: 4px;
}
.s70a-game-item span { font-size: 10.5px; color: var(--s70a-text); display: block; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== Promo CTA ===== */
.s70a-cta-banner {
  background: linear-gradient(135deg, var(--s70a-primary) 0%, var(--s70a-accent) 100%);
  border-radius: var(--s70a-radius-lg); padding: 22px 16px;
  text-align: center; margin: 16px 14px; cursor: pointer;
  transition: var(--s70a-transition); border: 1px solid rgba(196,163,90,0.3);
}
.s70a-cta-banner:hover { border-color: var(--s70a-gold); transform: scale(1.01); }
.s70a-cta-banner h3 { font-size: 17px; color: var(--s70a-gold); margin-bottom: 6px; }
.s70a-cta-banner p { font-size: 13px; color: var(--s70a-text-dim); margin-bottom: 12px; }
.s70a-cta-btn {
  display: inline-block; background: var(--s70a-gold); color: var(--s70a-darker);
  padding: 9px 28px; border-radius: var(--s70a-radius); font-size: 13px;
  font-weight: 700; border: none; cursor: pointer; transition: var(--s70a-transition);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.s70a-cta-btn:hover { background: var(--s70a-white); }

/* ===== Feature Cards ===== */
.s70a-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.s70a-feature-card {
  background: var(--s70a-primary); border-radius: var(--s70a-radius-lg);
  padding: 16px; text-align: center; cursor: pointer;
  transition: var(--s70a-transition); border: 1px solid transparent;
}
.s70a-feature-card:hover { border-color: var(--s70a-gold); }
.s70a-feature-card i { font-size: 28px; color: var(--s70a-gold); margin-bottom: 8px; display: block; }
.s70a-feature-card h4 { font-size: 13px; color: var(--s70a-white); margin-bottom: 4px; }
.s70a-feature-card p { font-size: 11.5px; color: var(--s70a-text-dim); line-height: 1.4; }

/* ===== Article Content ===== */
.s70a-content { padding: 20px 14px; }
.s70a-content h1 { font-size: 22px; font-weight: 700; color: var(--s70a-white); margin-bottom: 14px; line-height: 1.35; }
.s70a-content h2 { font-size: 18px; font-weight: 700; color: var(--s70a-gold); margin: 22px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--s70a-accent); }
.s70a-content h3 { font-size: 15px; font-weight: 600; color: var(--s70a-white); margin: 16px 0 8px; }
.s70a-content p { font-size: 14px; color: var(--s70a-text); margin-bottom: 12px; line-height: 1.7; }
.s70a-content ul { padding-left: 20px; margin-bottom: 12px; }
.s70a-content li { font-size: 13.5px; color: var(--s70a-text); margin-bottom: 6px; line-height: 1.6; }
.s70a-promo-link { color: var(--s70a-gold); cursor: pointer; font-weight: 600; transition: var(--s70a-transition); border-bottom: 1px dashed var(--s70a-gold-dim); }
.s70a-promo-link:hover { color: var(--s70a-white); border-bottom-color: var(--s70a-white); }

/* ===== Footer ===== */
.s70a-footer { background: var(--s70a-darker); padding: 28px 14px 20px; border-top: 1px solid var(--s70a-accent); }
.s70a-footer-brand { text-align: center; margin-bottom: 20px; }
.s70a-footer-brand h3 { font-size: 16px; color: var(--s70a-gold); margin-bottom: 6px; }
.s70a-footer-brand p { font-size: 12px; color: var(--s70a-text-dim); line-height: 1.5; }
.s70a-footer-partners { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.s70a-footer-partners img { width: 42px; height: 42px; border-radius: 6px; opacity: 0.75; transition: var(--s70a-transition); }
.s70a-footer-partners img:hover { opacity: 1; }
.s70a-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-bottom: 16px; }
.s70a-footer-links a { font-size: 12px; color: var(--s70a-text-dim); }
.s70a-footer-links a:hover { color: var(--s70a-gold); }
.s70a-footer-copy { text-align: center; font-size: 11px; color: var(--s70a-text-dim); opacity: 0.7; }

/* ===== Bottom Navigation ===== */
.s70a-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--s70a-max-width);
  background: var(--s70a-darker); z-index: 1000;
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; border-top: 1px solid var(--s70a-accent);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.3);
}
.s70a-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 56px; background: none; border: none;
  color: var(--s70a-text-dim); cursor: pointer; transition: var(--s70a-transition);
  padding: 4px 2px; position: relative;
}
.s70a-bottom-nav-btn i, .s70a-bottom-nav-btn ion-icon, .s70a-bottom-nav-btn span.material-icons {
  font-size: 22px; margin-bottom: 2px; transition: var(--s70a-transition);
}
.s70a-bottom-nav-btn span:last-child { font-size: 9.5px; font-weight: 500; }
.s70a-bottom-nav-btn:hover { color: var(--s70a-gold); }
.s70a-bottom-active { color: var(--s70a-gold) !important; }
.s70a-bottom-active::after {
  content: ''; position: absolute; top: -1px; left: 20%; right: 20%;
  height: 2.5px; background: var(--s70a-gold); border-radius: 0 0 3px 3px;
}
@media (min-width: 769px) {
  .s70a-bottom-nav { display: none; }
}

/* ===== Desktop Layout ===== */
@media (min-width: 769px) {
  body { max-width: 100%; }
  .s70a-header { max-width: 100%; }
  .s70a-main { max-width: 960px; margin: 0 auto; padding-top: 58px; padding-bottom: 0; }
  .s70a-game-grid { grid-template-columns: repeat(6, 1fr); }
  .s70a-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .s70a-footer { max-width: 100%; }
}

/* ===== Utility ===== */
.s70a-text-center { text-align: center; }
.s70a-mb-10 { margin-bottom: 10px; }
.s70a-mb-16 { margin-bottom: 16px; }
.s70a-mt-10 { margin-top: 10px; }
.s70a-hidden { display: none; }
.s70a-tag {
  display: inline-block; background: var(--s70a-accent); color: var(--s70a-text);
  font-size: 10px; padding: 2px 8px; border-radius: 10px; font-weight: 600;
}
.s70a-divider { height: 1px; background: var(--s70a-accent); margin: 18px 0; opacity: 0.4; }
