:root {
  /* Color palette */
  --s742-primary: #FF69B4;
  --s742-secondary: #FFC0CB;
  --s742-accent: #7CFC00;
  --s742-bg-dark: #0E1621;
  --s742-bg-light: #00CED1;
  --s742-text: #FFFFFF;
  --s742-text-secondary: #B0B0B0;
  --s742-border: rgba(255, 255, 255, 0.1);
  --s742-shadow: rgba(0, 0, 0, 0.3);

  /* Typography */
  --s742-font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --s742-font-size-xs: 1rem; /* 10px */
  --s742-font-size-sm: 1.2rem; /* 12px */
  --s742-font-size-base: 1.4rem; /* 14px */
  --s742-font-size-lg: 1.6rem; /* 16px */
  --s742-font-size-xl: 1.8rem; /* 18px */
  --s742-font-size-2xl: 2rem; /* 20px */
  --s742-font-size-3xl: 2.4rem; /* 24px */

  /* Spacing */
  --s742-space-xs: 0.4rem;
  --s742-space-sm: 0.8rem;
  --s742-space-md: 1.6rem;
  --s742-space-lg: 2.4rem;
  --s742-space-xl: 3.2rem;

  /* Border radius */
  --s742-radius-sm: 0.4rem;
  --s742-radius-md: 0.8rem;
  --s742-radius-lg: 1.2rem;
  --s742-radius-full: 50%;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-family: var(--s742-font-primary);
  font-size: var(--s742-font-size-base);
  line-height: 1.5;
  color: var(--s742-text);
  background: linear-gradient(135deg, var(--s742-bg-dark) 0%, #1a2332 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Container and layout */
.s742-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 var(--s742-space-md);
}

.s742-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.s742-main {
  flex: 1;
  padding-bottom: 8rem; /* Space for bottom nav on mobile */
}

/* Header */
.s742-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(14, 22, 33, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--s742-border);
  transition: all 0.3s ease;
}

.s742-header.scrolled {
  background: rgba(14, 22, 33, 0.98);
  box-shadow: 0 2px 20px var(--s742-shadow);
}

.s742-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s742-space-md) var(--s742-space-md);
  max-width: 430px;
  margin: 0 auto;
}

.s742-logo {
  display: flex;
  align-items: center;
  gap: var(--s742-space-sm);
  text-decoration: none;
  color: var(--s742-text);
}

.s742-logo-icon {
  width: 24px;
  height: 24px;
  background: var(--s742-primary);
  border-radius: var(--s742-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: var(--s742-font-size-sm);
}

.s742-logo-text {
  font-size: var(--s742-font-size-lg);
  font-weight: 700;
  color: var(--s742-primary);
}

.s742-nav-actions {
  display: flex;
  align-items: center;
  gap: var(--s742-space-sm);
}

.s742-btn {
  padding: var(--s742-space-sm) var(--s742-space-md);
  border: none;
  border-radius: var(--s742-radius-md);
  font-size: var(--s742-font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px; /* Touch target size */
  white-space: nowrap;
}

.s742-btn-primary {
  background: linear-gradient(135deg, var(--s742-primary) 0%, var(--s742-secondary) 100%);
  color: white;
}

.s742-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
}

.s742-btn-secondary {
  background: transparent;
  color: var(--s742-text);
  border: 1px solid var(--s742-border);
}

.s742-btn-secondary:hover {
  background: var(--s742-border);
  color: var(--s742-primary);
}

.s742-menu-toggle {
  background: none;
  border: none;
  color: var(--s742-text);
  font-size: var(--s742-font-size-xl);
  cursor: pointer;
  padding: var(--s742-space-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

/* Mobile menu */
.s742-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--s742-bg-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  border-left: 1px solid var(--s742-border);
}

.s742-mobile-menu.active {
  right: 0;
}

.s742-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.s742-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.s742-menu-header {
  padding: var(--s742-space-lg);
  border-bottom: 1px solid var(--s742-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.s742-menu-close {
  background: none;
  border: none;
  color: var(--s742-text);
  font-size: var(--s742-font-size-xl);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s742-menu-nav {
  padding: var(--s742-space-md);
}

.s742-menu-item {
  display: block;
  padding: var(--s742-space-md);
  color: var(--s742-text);
  text-decoration: none;
  border-radius: var(--s742-radius-md);
  transition: all 0.3s ease;
  margin-bottom: var(--s742-space-xs);
}

.s742-menu-item:hover {
  background: var(--s742-border);
  color: var(--s742-primary);
}

/* Hero section */
.s742-hero {
  padding-top: 8rem; /* Space for fixed header */
  padding-bottom: var(--s742-space-xl);
  text-align: center;
}

.s742-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--s742-radius-lg);
  margin-bottom: var(--s742-space-xl);
  box-shadow: 0 8px 32px var(--s742-shadow);
}

.s742-slide {
  position: relative;
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  display: none;
  cursor: pointer;
}

.s742-slide.active {
  display: block;
}

.s742-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(14, 22, 33, 0.3) 0%, rgba(255, 105, 180, 0.1) 100%);
}

.s742-slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
}

.s742-slide-title {
  font-size: var(--s742-font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--s742-space-sm);
  text-shadow: 0 2px 4px var(--s742-shadow);
}

.s742-slide-subtitle {
  font-size: var(--s742-font-size-base);
  opacity: 0.9;
  text-shadow: 0 1px 2px var(--s742-shadow);
}

.s742-carousel-dots {
  position: absolute;
  bottom: var(--s742-space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--s742-space-xs);
}

.s742-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--s742-radius-full);
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.s742-dot.active {
  background: var(--s742-primary);
  transform: scale(1.2);
}

/* Typography */
.s742-title {
  font-size: var(--s742-font-size-3xl);
  font-weight: 700;
  margin-bottom: var(--s742-space-md);
  color: var(--s742-text);
}

.s742-subtitle {
  font-size: var(--s742-font-size-xl);
  font-weight: 600;
  margin-bottom: var(--s742-space-sm);
  color: var(--s742-primary);
}

.s742-text {
  font-size: var(--s742-font-size-base);
  line-height: 1.6;
  color: var(--s742-text-secondary);
  margin-bottom: var(--s742-space-md);
}

/* Game grid */
.s742-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: var(--s742-space-sm);
  margin-bottom: var(--s742-space-xl);
}

.s742-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--s742-text);
}

.s742-game-item:hover {
  transform: translateY(-4px);
}

.s742-game-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--s742-radius-md);
  overflow: hidden;
  margin-bottom: var(--s742-space-xs);
  box-shadow: 0 4px 12px var(--s742-shadow);
  transition: all 0.3s ease;
}

.s742-game-item:hover .s742-game-icon {
  box-shadow: 0 8px 24px rgba(255, 105, 180, 0.3);
}

.s742-game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s742-game-name {
  font-size: var(--s742-font-size-xs);
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  max-width: 80px;
  word-break: break-word;
}

/* Cards and sections */
.s742-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--s742-radius-lg);
  padding: var(--s742-space-lg);
  margin-bottom: var(--s742-space-lg);
  border: 1px solid var(--s742-border);
  backdrop-filter: blur(10px);
}

.s742-section {
  margin-bottom: var(--s742-space-xl);
}

/* Footer */
.s742-footer {
  background: var(--s742-bg-dark);
  border-top: 1px solid var(--s742-border);
  padding: var(--s742-space-xl) 0;
  margin-bottom: 6rem; /* Space for bottom nav */
}

.s742-footer-content {
  text-align: center;
}

.s742-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s742-space-md);
  margin-bottom: var(--s742-space-lg);
}

.s742-footer-link {
  color: var(--s742-text-secondary);
  text-decoration: none;
  font-size: var(--s742-font-size-sm);
  transition: color 0.3s ease;
}

.s742-footer-link:hover {
  color: var(--s742-primary);
}

.s742-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s742-space-md);
  margin-bottom: var(--s742-space-lg);
}

.s742-partner {
  width: 40px;
  height: 40px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.s742-partner:hover {
  opacity: 1;
}

.s742-partner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.s742-copyright {
  font-size: var(--s742-font-size-xs);
  color: var(--s742-text-secondary);
  text-align: center;
}

/* Bottom navigation */
.s742-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--s742-bg-dark);
  border-top: 1px solid var(--s742-border);
  z-index: 1000;
  padding: var(--s742-space-xs) 0;
}

.s742-bottom-nav-container {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.s742-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  padding: var(--s742-space-xs);
  text-decoration: none;
  color: var(--s742-text-secondary);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  background: none;
}

.s742-bottom-nav-item:hover,
.s742-bottom-nav-item.active {
  color: var(--s742-primary);
  transform: scale(1.1);
}

.s742-bottom-nav-icon {
  font-size: 24px;
  margin-bottom: 2px;
  transition: all 0.3s ease;
}

.s742-bottom-nav-item:hover .s742-bottom-nav-icon {
  transform: translateY(-2px);
}

.s742-bottom-nav-text {
  font-size: var(--s742-font-size-xs);
  font-weight: 500;
  text-align: center;
  line-height: 1;
}

/* Responsive design */
@media (max-width: 768px) {
  .s742-main {
    padding-bottom: 8rem;
  }

  .s742-game-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .s742-title {
    font-size: var(--s742-font-size-2xl);
  }
}

@media (min-width: 769px) {
  .s742-bottom-nav {
    display: none;
  }

  .s742-footer {
    margin-bottom: 0;
  }
}

/* Utility classes */
.s742-text-center { text-align: center; }
.s742-text-left { text-align: left; }
.s742-text-right { text-align: right; }

.s742-mb-sm { margin-bottom: var(--s742-space-sm); }
.s742-mb-md { margin-bottom: var(--s742-space-md); }
.s742-mb-lg { margin-bottom: var(--s742-space-lg); }

.s742-mt-sm { margin-top: var(--s742-space-sm); }
.s742-mt-md { margin-top: var(--s742-space-md); }
.s742-mt-lg { margin-top: var(--s742-space-lg); }

.s742-hidden { display: none; }
.s742-block { display: block; }
.s742-flex { display: flex; }

/* Animations */
@keyframes s742-fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes s742-slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.s742-fade-in {
  animation: s742-fadeIn 0.6s ease-out;
}

.s742-slide-in-right {
  animation: s742-slideInRight 0.3s ease-out;
}