/* Million88 - Main Stylesheet */
/* Prefix: w7c33- */

:root {
  --w7c33-primary: #40E0D0;
  --w7c33-secondary: #0000CD;
  --w7c33-dark: #0F0F23;
  --w7c33-text-light: #FFFFFF;
  --w7c33-text-dark: #1a1a2e;
  --w7c33-accent: #FF6B35;
  --w7c33-success: #00D084;
  --w7c33-warning: #FFA500;
  --w7c33-border: #2a2a3e;
  --w7c33-shadow: rgba(0, 0, 0, 0.3);
  font-size: 62.5%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--w7c33-dark);
  color: var(--w7c33-text-light);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Container and Layout */
.w7c33-container {
  max-width: 430px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}

.w7c33-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.w7c33-main {
  flex: 1;
  width: 100%;
  padding: 0;
  margin-top: 6rem;
  margin-bottom: 8rem;
}

/* Header Styles */
.w7c33-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--w7c33-dark) 0%, rgba(15, 15, 35, 0.95) 100%);
  border-bottom: 2px solid var(--w7c33-primary);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  height: 6rem;
  width: 100%;
  max-width: 100vw;
}

.w7c33-logo-section {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
}

.w7c33-logo-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--w7c33-primary), var(--w7c33-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--w7c33-dark);
  font-weight: bold;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.w7c33-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--w7c33-primary), var(--w7c33-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

/* Navigation Buttons */
.w7c33-nav-buttons {
  display: none;
  gap: 0.5rem;
  align-items: center;
}

.w7c33-register-btn,
.w7c33-login-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 0.4rem;
  border: none;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.w7c33-register-btn {
  background: var(--w7c33-primary);
  color: var(--w7c33-dark);
}

.w7c33-register-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(64, 224, 208, 0.3);
}

.w7c33-login-btn {
  background: var(--w7c33-secondary);
  color: var(--w7c33-text-light);
}

.w7c33-login-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 205, 0.3);
}

/* Menu Toggle */
.w7c33-menu-toggle {
  background: none;
  border: none;
  color: var(--w7c33-primary);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.4rem;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.w7c33-menu-toggle:hover {
  transform: scale(1.1);
  color: var(--w7c33-secondary);
}

.w7c33-menu-toggle.w7c33-active {
  color: var(--w7c33-secondary);
}

/* Mobile Menu */
.w7c33-mobile-menu {
  position: fixed;
  top: 6rem;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--w7c33-dark) 0%, rgba(15, 15, 35, 0.95) 100%);
  border-bottom: 2px solid var(--w7c33-primary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 999;
  width: 100%;
  max-width: 100vw;
}

.w7c33-mobile-menu.w7c33-open {
  max-height: 500px;
  overflow-y: auto;
}

.w7c33-mobile-menu a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--w7c33-text-light);
  text-decoration: none;
  border-bottom: 1px solid var(--w7c33-border);
  transition: all 0.3s ease;
  font-size: 1.4rem;
}

.w7c33-mobile-menu a:hover {
  background-color: rgba(64, 224, 208, 0.1);
  padding-left: 2rem;
  color: var(--w7c33-primary);
}

/* Desktop Navigation */
@media (min-width: 769px) {
  .w7c33-menu-toggle {
    display: none;
  }

  .w7c33-mobile-menu {
    position: static;
    max-height: none;
    border: none;
    background: none;
    display: flex;
    gap: 2rem;
    margin: 0 auto;
    flex: 1;
  }

  .w7c33-mobile-menu a {
    border: none;
    padding: 0;
    font-size: 1.2rem;
  }

  .w7c33-mobile-menu a:hover {
    background: none;
    padding: 0;
  }

  .w7c33-nav-buttons {
    display: flex;
  }
}

/* Bottom Navigation */
.w7c33-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(15, 15, 35, 0.95) 0%, var(--w7c33-dark) 100%);
  border-top: 2px solid var(--w7c33-primary);
  height: 7rem;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  width: 100%;
  max-width: 100vw;
}

.w7c33-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--w7c33-text-light);
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0.4rem 0;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-height: 6rem;
  gap: 0.3rem;
  position: relative;
}

.w7c33-nav-item:hover {
  background: rgba(64, 224, 208, 0.1);
  transform: scale(1.05);
}

.w7c33-nav-item.w7c33-active {
  color: var(--w7c33-primary);
}

.w7c33-nav-item.w7c33-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--w7c33-primary);
}

.w7c33-nav-icon {
  font-size: 2rem;
  height: 2.4rem;
  width: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.w7c33-nav-label {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .w7c33-bottom-nav {
    display: none;
  }

  .w7c33-main {
    margin-bottom: 2rem;
  }
}

/* Main Content */
.w7c33-main {
  width: 100%;
  padding: 1.5rem 0;
}

.w7c33-section {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--w7c33-border);
}

.w7c33-section:hover {
  border-color: var(--w7c33-primary);
  background: rgba(64, 224, 208, 0.08);
  transition: all 0.3s ease;
}

/* Carousel */
.w7c33-carousel {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 0.8rem;
  overflow: hidden;
  background: var(--w7c33-border);
  margin: 1.5rem 0;
}

.w7c33-carousel-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.w7c33-carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  background-size: cover;
  background-position: center;
}

.w7c33-carousel-item.w7c33-active {
  opacity: 1;
}

.w7c33-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.w7c33-carousel-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--w7c33-primary);
}

.w7c33-carousel-dot.w7c33-active {
  background: var(--w7c33-primary);
  transform: scale(1.2);
}

/* Games Grid */
.w7c33-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.w7c33-game-card {
  aspect-ratio: 1;
  border-radius: 0.6rem;
  background: rgba(64, 224, 208, 0.1);
  border: 1px solid var(--w7c33-primary);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.w7c33-game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px var(--w7c33-shadow);
  border-color: var(--w7c33-secondary);
  background: rgba(64, 224, 208, 0.2);
}

.w7c33-game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.w7c33-game-card:hover img {
  transform: scale(1.1);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin: 1.5rem 0 1rem 0;
  line-height: 1.3;
}

h1 {
  font-size: 2.4rem;
  color: var(--w7c33-primary);
  text-shadow: 0 2px 4px var(--w7c33-shadow);
}

h2 {
  font-size: 2rem;
  background: linear-gradient(90deg, var(--w7c33-primary), var(--w7c33-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h3 {
  font-size: 1.6rem;
  color: var(--w7c33-primary);
}

p {
  margin: 1rem 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* Buttons and Links */
.w7c33-btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 0.4rem;
  border: none;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}

.w7c33-btn-primary {
  background: linear-gradient(135deg, var(--w7c33-primary), var(--w7c33-secondary));
  color: var(--w7c33-dark);
}

.w7c33-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(64, 224, 208, 0.3);
}

.w7c33-btn-secondary {
  background: var(--w7c33-secondary);
  color: var(--w7c33-text-light);
}

.w7c33-btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 205, 0.3);
}

.w7c33-btn-outline {
  background: transparent;
  color: var(--w7c33-primary);
  border: 2px solid var(--w7c33-primary);
}

.w7c33-btn-outline:hover {
  background: var(--w7c33-primary);
  color: var(--w7c33-dark);
}

.w7c33-link {
  color: var(--w7c33-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.w7c33-link:hover {
  color: var(--w7c33-secondary);
  text-decoration: underline;
}

/* Footer */
.w7c33-footer {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, var(--w7c33-dark) 100%);
  border-top: 2px solid var(--w7c33-primary);
  padding: 2rem 1rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
}

.w7c33-footer-section {
  margin: 1.5rem 0;
}

.w7c33-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.w7c33-footer-links a {
  color: var(--w7c33-primary);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.w7c33-footer-links a:hover {
  color: var(--w7c33-secondary);
}

.w7c33-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.5rem 0;
  align-items: center;
}

.w7c33-partner-logo {
  width: 3.2rem;
  height: 3.2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--w7c33-border);
  transition: all 0.3s ease;
}

.w7c33-partner-logo:hover {
  background: rgba(64, 224, 208, 0.1);
  border-color: var(--w7c33-primary);
}

.w7c33-partner-logo img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.w7c33-copyright {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 1.5rem;
}

/* Utility Classes */
.w7c33-text-center {
  text-align: center;
}

.w7c33-text-bold {
  font-weight: 700;
}

.w7c33-text-accent {
  color: var(--w7c33-primary);
}

.w7c33-mt-1 {
  margin-top: 1rem;
}

.w7c33-mb-1 {
  margin-bottom: 1rem;
}

.w7c33-hidden {
  display: none !important;
}

/* Responsive Design */
@media (max-width: 430px) {
  .w7c33-container {
    padding: 0 0.8rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .w7c33-games-grid {
    grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
    gap: 0.8rem;
  }

  .w7c33-section {
    margin: 1.5rem 0;
    padding: 1rem;
  }
}

/* Print Styles */
@media print {
  .w7c33-header,
  .w7c33-bottom-nav,
  .w7c33-menu-toggle {
    display: none !important;
  }

  .w7c33-main {
    margin: 0;
    padding: 0;
  }
}
