/**
 * bet365 tanzania - Main Stylesheet
 * Version: 1.0.0
 * All CSS classes use s796- prefix for namespace isolation
 * Color palette: #1A1A1A (dark bg), #EEE8AA (pale gold), #FFAA00 (bright orange), #BDB76B (khaki), #F4A460 (sandy)
 */

/* ===== CSS Variables ===== */
:root {
  --s796-primary: #1A1A1A;
  --s796-secondary: #FFAA00;
  --s796-accent: #EEE8AA;
  --s796-tertiary: #BDB76B;
  --s796-highlight: #F4A460;
  --s796-text: #EEE8AA;
  --s796-text-dark: #1A1A1A;
  --s796-bg-dark: #0D0D0D;
  --s796-border: #BDB76B;
  --s796-shadow: rgba(255, 170, 0, 0.15);
  --s796-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Global Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--s796-text);
  background: linear-gradient(135deg, var(--s796-bg-dark) 0%, var(--s796-primary) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--s796-secondary);
  text-decoration: none;
  transition: var(--s796-transition);
}

a:hover {
  color: var(--s796-highlight);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Container & Layout ===== */
.s796-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.6rem;
}

.s796-wrapper {
  width: 100%;
  padding: 2rem 0;
}

.s796-section {
  margin-bottom: 3rem;
  padding: 2rem 1.6rem;
  background: rgba(26, 26, 26, 0.6);
  border-radius: 1.2rem;
  border: 1px solid var(--s796-border);
}

/* ===== Header ===== */
.s796-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(13, 13, 13, 0.98), rgba(26, 26, 26, 0.95));
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--s796-secondary);
  box-shadow: 0 4px 20px var(--s796-shadow);
}

.s796-header-content {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.6rem;
  gap: 1rem;
}

.s796-logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.s796-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--s796-secondary);
}

.s796-site-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--s796-secondary);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.s796-header-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.s796-btn-register,
.s796-btn-login {
  padding: 0.8rem 1.6rem;
  border-radius: 2rem;
  font-size: 1.4rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--s796-transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.s796-btn-register {
  background: linear-gradient(135deg, var(--s796-secondary) 0%, var(--s796-highlight) 100%);
  color: var(--s796-text-dark);
  box-shadow: 0 4px 12px rgba(255, 170, 0, 0.3);
}

.s796-btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 170, 0, 0.4);
}

.s796-btn-login {
  background: transparent;
  color: var(--s796-accent);
  border: 2px solid var(--s796-tertiary);
}

.s796-btn-login:hover {
  background: var(--s796-tertiary);
  color: var(--s796-text-dark);
}

.s796-menu-toggle {
  background: transparent;
  border: none;
  color: var(--s796-secondary);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* ===== Mobile Menu ===== */
.s796-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--s796-transition);
}

.s796-overlay-active {
  opacity: 1;
  visibility: visible;
}

.s796-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, var(--s796-primary) 0%, var(--s796-bg-dark) 100%);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  border-left: 3px solid var(--s796-secondary);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
}

.s796-menu-active {
  right: 0;
}

.s796-menu-header {
  padding: 2rem;
  background: rgba(255, 170, 0, 0.1);
  border-bottom: 2px solid var(--s796-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.s796-menu-close {
  background: transparent;
  border: none;
  color: var(--s796-secondary);
  font-size: 2.8rem;
  cursor: pointer;
  line-height: 1;
}

.s796-menu-links {
  padding: 2rem 0;
}

.s796-nav-link {
  display: block;
  padding: 1.6rem 2rem;
  color: var(--s796-accent);
  font-size: 1.6rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(189, 183, 107, 0.2);
  transition: var(--s796-transition);
}

.s796-nav-link:hover,
.s796-nav-active {
  background: rgba(255, 170, 0, 0.15);
  color: var(--s796-secondary);
  border-left: 4px solid var(--s796-secondary);
  text-decoration: none;
}

/* ===== Bottom Navigation ===== */
.s796-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.98), rgba(26, 26, 26, 0.95));
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--s796-secondary);
  box-shadow: 0 -4px 20px var(--s796-shadow);
  height: 64px;
}

.s796-bottom-nav-content {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  padding: 0 0.8rem;
}

.s796-bottom-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--s796-tertiary);
  font-size: 1.1rem;
  font-weight: 500;
  min-width: 60px;
  padding: 0.8rem;
  border-radius: 1rem;
  transition: var(--s796-transition);
  cursor: pointer;
}

.s796-bottom-nav-link:hover,
.s796-bottom-nav-active {
  color: var(--s796-secondary);
  background: rgba(255, 170, 0, 0.1);
  text-decoration: none;
  transform: translateY(-2px);
}

.s796-bottom-nav-icon {
  font-size: 2.4rem;
}

@media (min-width: 769px) {
  .s796-bottom-nav {
    display: none;
  }
}

/* ===== Main Content ===== */
.s796-main {
  padding-top: 7rem;
  padding-bottom: 8rem;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .s796-main {
    padding-bottom: 10rem;
  }
}

/* ===== Slider ===== */
.s796-slider {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 1.6rem;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 8px 24px var(--s796-shadow);
}

.s796-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.s796-slide-active {
  opacity: 1;
}

.s796-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s796-slider-dots {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}

.s796-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(238, 232, 170, 0.5);
  cursor: pointer;
  transition: var(--s796-transition);
  border: 2px solid transparent;
}

.s796-dot-active {
  background: var(--s796-secondary);
  transform: scale(1.3);
  border-color: var(--s796-accent);
}

/* ===== Game Grid ===== */
.s796-game-category {
  margin-bottom: 3rem;
}

.s796-category-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--s796-secondary);
  margin-bottom: 1.6rem;
  padding: 1rem 1.6rem;
  background: linear-gradient(90deg, rgba(255, 170, 0, 0.2), transparent);
  border-left: 4px solid var(--s796-secondary);
  border-radius: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.s796-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.s796-game-card {
  background: rgba(26, 26, 26, 0.8);
  border-radius: 1.2rem;
  overflow: hidden;
  transition: var(--s796-transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.s796-game-card:hover {
  transform: translateY(-4px);
  border-color: var(--s796-secondary);
  box-shadow: 0 8px 24px rgba(255, 170, 0, 0.3);
}

.s796-game-img-wrapper {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--s796-primary), var(--s796-bg-dark));
}

.s796-game-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s796-game-name {
  padding: 0.8rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  color: var(--s796-accent);
  background: rgba(13, 13, 13, 0.9);
  border-top: 1px solid var(--s796-tertiary);
  line-height: 1.3;
  min-height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Buttons ===== */
.s796-btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  border-radius: 2.4rem;
  cursor: pointer;
  transition: var(--s796-transition);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.s796-btn-primary {
  background: linear-gradient(135deg, var(--s796-secondary) 0%, var(--s796-highlight) 100%);
  color: var(--s796-text-dark);
  box-shadow: 0 4px 16px rgba(255, 170, 0, 0.3);
}

.s796-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 170, 0, 0.5);
  text-decoration: none;
}

.s796-btn-secondary {
  background: transparent;
  color: var(--s796-accent);
  border: 2px solid var(--s796-tertiary);
}

.s796-btn-secondary:hover {
  background: var(--s796-tertiary);
  color: var(--s796-text-dark);
  text-decoration: none;
}

/* ===== Footer ===== */
.s796-footer {
  background: linear-gradient(to bottom, var(--s796-primary), var(--s796-bg-dark));
  padding: 3rem 1.6rem 10rem;
  border-top: 3px solid var(--s796-secondary);
  margin-top: 4rem;
}

.s796-footer-content {
  max-width: 430px;
  margin: 0 auto;
}

.s796-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.s796-footer-link {
  padding: 1rem;
  background: rgba(255, 170, 0, 0.08);
  border-radius: 0.8rem;
  text-align: center;
  font-size: 1.4rem;
  color: var(--s796-accent);
  border: 1px solid var(--s796-tertiary);
}

.s796-footer-link:hover {
  background: rgba(255, 170, 0, 0.15);
  border-color: var(--s796-secondary);
}

.s796-partners {
  margin: 2rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--s796-border);
  border-bottom: 1px solid var(--s796-border);
}

.s796-partners-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--s796-secondary);
  margin-bottom: 1.6rem;
  text-align: center;
  text-transform: uppercase;
}

.s796-partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: center;
}

.s796-partner-logo {
  width: 100%;
  height: auto;
  opacity: 0.7;
  transition: var(--s796-transition);
  border-radius: 0.4rem;
}

.s796-partner-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

.s796-copyright {
  text-align: center;
  color: var(--s796-tertiary);
  font-size: 1.3rem;
  margin-top: 2rem;
}

/* ===== Utility Classes ===== */
.s796-text-center {
  text-align: center;
}

.s796-mt-2 {
  margin-top: 2rem;
}

.s796-mb-2 {
  margin-bottom: 2rem;
}

.s796-touch-active {
  transform: scale(0.95);
  opacity: 0.8;
}

.s796-scroll-top {
  position: fixed;
  bottom: 8rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--s796-secondary);
  color: var(--s796-text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--s796-transition);
  box-shadow: 0 4px 12px rgba(255, 170, 0, 0.3);
  z-index: 999;
}

.s796-scroll-visible {
  opacity: 1;
  visibility: visible;
}

.s796-scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(255, 170, 0, 0.5);
}
