/* JLace Layout CSS - Version 6053 */
/* All classes use w6053- prefix */

:root {
  --w6053-primary: #ADD8E6;
  --w6053-secondary: #1B263B;
  --w6053-accent: #00FF00;
  --w6053-muted: #ADB5BD;
  --w6053-dark: #191970;
  --w6053-light: #ADFF2F;
  --w6053-bg-dark: #0a0e1a;
  --w6053-text-light: #f8f9fa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--w6053-text-light);
  background-color: var(--w6053-secondary);
  min-height: 100vh;
}

/* Header Styles */
.w6053-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--w6053-dark) 0%, var(--w6053-secondary) 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.w6053-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.6rem;
  max-width: 430px;
  margin: 0 auto;
}

.w6053-menu-btn {
  background: none;
  border: none;
  color: var(--w6053-primary);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.5rem;
}

.w6053-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--w6053-text-light);
  font-size: 1.8rem;
  font-weight: 700;
}

.w6053-logo-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.6rem;
}

.w6053-header-actions {
  display: flex;
  gap: 1rem;
}

.w6053-btn-header {
  padding: 0.6rem 1.6rem;
  border: none;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.w6053-btn-register {
  background: var(--w6053-accent);
  color: var(--w6053-secondary);
}

.w6053-btn-login {
  background: transparent;
  color: var(--w6053-primary);
  border: 0.15rem solid var(--w6053-primary);
}

/* Mobile Menu */
.w6053-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.w6053-overlay-open {
  opacity: 1;
  visibility: visible;
}

.w6053-mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, var(--w6053-dark) 0%, var(--w6053-secondary) 100%);
  z-index: 9999;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.w6053-menu-open {
  left: 0;
}

.w6053-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem;
  border-bottom: 0.1rem solid rgba(173, 216, 230, 0.2);
}

.w6053-menu-close {
  background: none;
  border: none;
  color: var(--w6053-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
}

.w6053-menu-nav {
  padding: 1rem 0;
}

.w6053-menu-item {
  display: block;
  padding: 1.2rem 1.6rem;
  color: var(--w6053-text-light);
  text-decoration: none;
  transition: background 0.2s ease;
  font-size: 1.5rem;
}

.w6053-menu-item:hover {
  background: rgba(173, 216, 230, 0.1);
}

/* Container */
.w6053-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 7rem 1.6rem 8rem;
}

.w6053-section {
  margin-bottom: 3rem;
}

.w6053-section-title {
  font-size: 2.2rem;
  color: var(--w6053-primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.w6053-content-box {
  background: rgba(27, 38, 59, 0.6);
  border-radius: 1.2rem;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 0.1rem solid rgba(173, 216, 230, 0.2);
}

.w6053-content-box h3 {
  color: var(--w6053-light);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.w6053-content-box p {
  color: var(--w6053-text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.w6053-text-center {
  text-align: center;
}

.w6053-btn-promo {
  background: linear-gradient(135deg, var(--w6053-accent) 0%, var(--w6053-light) 100%);
  color: var(--w6053-secondary);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 2.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
}

.w6053-btn-promo:active {
  transform: scale(0.95);
}

.w6053-link {
  color: var(--w6053-primary);
  text-decoration: none;
  font-weight: 600;
}

.w6053-link:hover {
  text-decoration: underline;
}

/* Game Grid */
.w6053-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.w6053-game-card {
  background: rgba(27, 38, 59, 0.8);
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
  border: 0.1rem solid rgba(173, 216, 230, 0.15);
}

.w6053-game-card:active {
  transform: scale(0.95);
}

.w6053-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.w6053-game-name {
  padding: 0.8rem 0.5rem;
  font-size: 1.1rem;
  color: var(--w6053-text-light);
  text-align: center;
  font-weight: 500;
  line-height: 1.3;
}

/* Carousel */
.w6053-carousel {
  position: relative;
  margin-bottom: 3rem;
  border-radius: 1.2rem;
  overflow: hidden;
}

.w6053-carousel-slide {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Footer */
.w6053-footer {
  background: linear-gradient(180deg, var(--w6053-dark) 0%, var(--w6053-secondary) 100%);
  padding: 3rem 1.6rem 8rem;
}

.w6053-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.w6053-footer-link {
  color: var(--w6053-primary);
  text-decoration: none;
  font-size: 1.3rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background 0.2s ease;
}

.w6053-footer-link:hover {
  background: rgba(173, 216, 230, 0.1);
}

.w6053-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.w6053-partner-logo {
  width: 5rem;
  height: 3rem;
  object-fit: contain;
  filter: grayscale(50%);
  opacity: 0.7;
}

.w6053-copyright {
  text-align: center;
  color: var(--w6053-muted);
  font-size: 1.2rem;
}

/* Bottom Nav */
.w6053-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--w6053-dark);
  display: flex;
  justify-content: space-around;
  padding: 0.8rem 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.w6053-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  color: var(--w6053-muted);
  cursor: pointer;
  padding: 0.5rem;
  min-width: 60px;
  transition: all 0.2s ease;
}

.w6053-nav-item.w6053-active {
  color: var(--w6053-accent);
}

.w6053-nav-icon {
  font-size: 2rem;
}

.w6053-nav-text {
  font-size: 1rem;
  font-weight: 500;
}

@media (min-width: 769px) {
  .w6053-bottom-nav {
    display: none;
  }

  .w6053-container {
    padding-bottom: 2rem;
  }

  .w6053-footer {
    padding-bottom: 2rem;
  }
}
