/**
 * betmgm casino - Main Stylesheet
 * Mobile-first responsive design
 * All classes use w0243 prefix
 */

/* Root Variables */
:root {
  --w0243-primary: #FFA500;
  --w0243-secondary: #FF8C00;
  --w0243-accent: #D4AF37;
  --w0243-highlight: #66CDAA;
  --w0243-bg: #1A1A2E;
  --w0243-bg-light: #16213E;
  --w0243-text: #FFFFFF;
  --w0243-text-muted: #B0B0B0;
  --w0243-border: #2A2A4A;
}

/* Base Styles */
* {
  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, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--w0243-text);
  background-color: var(--w0243-bg);
  min-height: 100vh;
}

/* Container */
.w0243-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.w0243-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--w0243-bg) 0%, var(--w0243-bg-light) 100%);
  border-bottom: 2px solid var(--w0243-primary);
  box-shadow: 0 2px 10px rgba(255, 165, 0, 0.3);
}

.w0243-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  max-width: 430px;
  margin: 0 auto;
}

.w0243-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--w0243-text);
}

.w0243-logo img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 8px;
}

.w0243-logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--w0243-primary);
}

.w0243-header-buttons {
  display: flex;
  gap: 0.8rem;
}

.w0243-btn {
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  min-height: 44px;
  min-width: 88px;
}

.w0243-btn-primary {
  background: linear-gradient(135deg, var(--w0243-primary) 0%, var(--w0243-secondary) 100%);
  color: var(--w0243-bg);
  box-shadow: 0 2px 8px rgba(255, 165, 0, 0.4);
}

.w0243-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.6);
}

.w0243-btn-secondary {
  background: transparent;
  color: var(--w0243-primary);
  border: 2px solid var(--w0243-primary);
}

.w0243-btn-secondary:hover {
  background: var(--w0243-primary);
  color: var(--w0243-bg);
}

/* Menu Toggle */
.w0243-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-height: 44px;
  min-width: 44px;
}

.w0243-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--w0243-primary);
  transition: all 0.3s ease;
}

/* Mobile Menu */
.w0243-mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--w0243-bg-light);
  border-bottom: 2px solid var(--w0243-primary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  max-width: 430px;
  margin: 0 auto;
}

.w0243-mobile-menu.w0243-menu-open {
  max-height: 500px;
}

.w0243-menu-list {
  list-style: none;
  padding: 1rem 0;
}

.w0243-menu-item {
  padding: 0.8rem 1.5rem;
  border-bottom: 1px solid var(--w0243-border);
}

.w0243-menu-link {
  color: var(--w0243-text);
  text-decoration: none;
  font-size: 1.4rem;
  display: block;
  transition: color 0.3s ease;
}

.w0243-menu-link:hover {
  color: var(--w0243-primary);
}

/* Main Content */
main {
  padding-top: 60px;
  padding-bottom: 80px;
  min-height: 100vh;
}

/* Hero Carousel */
.w0243-hero {
  position: relative;
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: 12px;
}

.w0243-hero-carousel {
  display: flex;
  transition: transform 0.5s ease;
}

.w0243-hero-slide {
  min-width: 100%;
  position: relative;
}

.w0243-hero-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Section Styles */
.w0243-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--w0243-bg-light);
  border-radius: 12px;
  border: 1px solid var(--w0243-border);
}

.w0243-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--w0243-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.w0243-section-title h2 {
  font-size: 2rem;
  color: var(--w0243-primary);
}

/* Game Grid */
.w0243-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.w0243-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.w0243-game-item:hover {
  transform: scale(1.05);
}

.w0243-game-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  border: 2px solid var(--w0243-border);
  transition: border-color 0.3s ease;
}

.w0243-game-item:hover .w0243-game-icon {
  border-color: var(--w0243-primary);
}

.w0243-game-name {
  font-size: 1rem;
  color: var(--w0243-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Card Styles */
.w0243-card {
  background: var(--w0243-bg);
  border: 1px solid var(--w0243-border);
  border-radius: 8px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.w0243-card:hover {
  border-color: var(--w0243-primary);
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.2);
}

.w0243-card-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--w0243-primary);
  margin-bottom: 1rem;
}

.w0243-card-text {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--w0243-text-muted);
  margin-bottom: 1rem;
}

.w0243-card-text strong {
  color: var(--w0243-highlight);
  font-weight: 600;
}

/* Link Styles */
.w0243-link {
  color: var(--w0243-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.w0243-link:hover {
  color: var(--w0243-secondary);
  text-decoration: underline;
}

/* Bottom Navigation */
.w0243-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--w0243-bg-light) 0%, var(--w0243-bg) 100%);
  border-top: 2px solid var(--w0243-primary);
  box-shadow: 0 -2px 10px rgba(255, 165, 0, 0.3);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  max-width: 430px;
  margin: 0 auto;
}

.w0243-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  text-decoration: none;
  color: var(--w0243-text-muted);
  transition: all 0.3s ease;
  cursor: pointer;
}

.w0243-nav-item:hover,
.w0243-nav-item.active {
  color: var(--w0243-primary);
  transform: scale(1.1);
}

.w0243-nav-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.w0243-nav-text {
  font-size: 10px;
  font-weight: 500;
}

/* Footer */
.w0243-footer {
  background: var(--w0243-bg-light);
  border-top: 2px solid var(--w0243-primary);
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.w0243-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.w0243-footer-link {
  color: var(--w0243-text-muted);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.w0243-footer-link:hover {
  color: var(--w0243-primary);
}

.w0243-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.w0243-partner-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.w0243-copyright {
  text-align: center;
  color: var(--w0243-text-muted);
  font-size: 1.2rem;
}

/* Utility Classes */
.w0243-text-center {
  text-align: center;
}

.w0243-mb-1 {
  margin-bottom: 1rem;
}

.w0243-mb-2 {
  margin-bottom: 2rem;
}

.w0243-mt-1 {
  margin-top: 1rem;
}

.w0243-mt-2 {
  margin-top: 2rem;
}

/* Desktop Styles */
@media (min-width: 769px) {
  .w0243-bottom-nav {
    display: none;
  }

  main {
    padding-bottom: 2rem;
  }

  .w0243-mobile-menu {
    position: static;
    max-height: none;
    background: transparent;
    border-bottom: none;
  }

  .w0243-menu-toggle {
    display: none;
  }

  .w0243-menu-list {
    display: flex;
    padding: 0;
  }

  .w0243-menu-item {
    border-bottom: none;
    padding: 0 1rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .w0243-game-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 380px) {
  .w0243-game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
