/* JL168 Login - Professional CSS Design System */
/* All classes use wc75c- prefix for namespace isolation */

:root {
  --wc75c-primary: #FF6347;
  --wc75c-secondary: #FFC0CB;
  --wc75c-dark-bg: #333333;
  --wc75c-dark-text: #34495E;
  --wc75c-light-text: #FFFFFF;
  --wc75c-border: #E0E0E0;
  --wc75c-success: #27AE60;
  --wc75c-warning: #F39C12;
  --wc75c-danger: #E74C3C;
  --wc75c-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  --wc75c-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--wc75c-light-text);
  background-color: var(--wc75c-dark-bg);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--wc75c-light-text);
}

h1 {
  font-size: 2.8rem;
  color: var(--wc75c-secondary);
}

h2 {
  font-size: 2.2rem;
  color: var(--wc75c-primary);
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1rem;
  color: var(--wc75c-light-text);
  line-height: 1.6;
}

a {
  color: var(--wc75c-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--wc75c-primary);
}

/* Container and Layout */
.wc75c-container {
  max-width: 430px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.wc75c-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--wc75c-dark-bg);
}

.wc75c-main-content {
  flex: 1;
  padding-top: 6rem;
  padding-bottom: 8rem;
  margin: 0 auto;
  width: 100%;
}

/* Header Navigation */
.wc75c-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #FF6347 0%, #FFC0CB 100%);
  box-shadow: var(--wc75c-shadow);
  z-index: 1000;
  padding: 1rem;
}

.wc75c-header-content {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wc75c-logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.wc75c-logo-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--wc75c-light-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--wc75c-primary);
  font-size: 1.8rem;
}

.wc75c-logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--wc75c-light-text);
}

.wc75c-nav-buttons {
  display: flex;
  gap: 0.8rem;
}

.wc75c-btn-nav {
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  background-color: var(--wc75c-light-text);
  color: var(--wc75c-primary);
}

.wc75c-btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.wc75c-hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 0.4rem;
  background: none;
  border: none;
  padding: 0.5rem;
}

.wc75c-hamburger span {
  width: 2.2rem;
  height: 0.25rem;
  background-color: var(--wc75c-light-text);
  border-radius: 0.2rem;
  transition: all 0.3s ease;
}

.wc75c-hamburger-active span:nth-child(1) {
  transform: rotate(45deg) translate(0.8rem, 0.8rem);
}

.wc75c-hamburger-active span:nth-child(2) {
  opacity: 0;
}

.wc75c-hamburger-active span:nth-child(3) {
  transform: rotate(-45deg) translate(0.6rem, -0.6rem);
}

/* Mobile Menu */
.wc75c-mobile-menu {
  position: fixed;
  top: 5.5rem;
  left: 0;
  right: 0;
  background-color: var(--wc75c-dark-bg);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 999;
  box-shadow: var(--wc75c-shadow-sm);
}

.wc75c-menu-active {
  max-height: 500px;
  overflow-y: auto;
}

.wc75c-mobile-menu a {
  display: block;
  padding: 1.2rem 1.5rem;
  color: var(--wc75c-light-text);
  border-bottom: 1px solid var(--wc75c-border);
  transition: all 0.3s ease;
  font-size: 1.3rem;
  font-weight: 500;
}

.wc75c-mobile-menu a:hover {
  background-color: rgba(255, 99, 71, 0.1);
  color: var(--wc75c-secondary);
  padding-left: 2rem;
}

.wc75c-mobile-menu a.wc75c-nav-active {
  background-color: rgba(255, 99, 71, 0.2);
  color: var(--wc75c-secondary);
  border-left: 4px solid var(--wc75c-primary);
}

/* Desktop Navigation */
.wc75c-desktop-nav {
  display: none;
  gap: 1.5rem;
  flex: 1;
  margin-left: 2rem;
}

.wc75c-nav-link {
  color: var(--wc75c-light-text);
  font-size: 1.2rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.wc75c-nav-link:hover,
.wc75c-nav-link.wc75c-nav-active {
  color: var(--wc75c-secondary);
  border-bottom-color: var(--wc75c-secondary);
}

/* Carousel */
.wc75c-carousel {
  width: 100%;
  overflow: hidden;
  border-radius: 0.8rem;
  margin-bottom: 2rem;
  box-shadow: var(--wc75c-shadow);
}

.wc75c-carousel-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.wc75c-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  cursor: pointer;
}

.wc75c-carousel-active {
  opacity: 1;
}

.wc75c-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wc75c-carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.wc75c-indicator-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.wc75c-indicator-active {
  background-color: var(--wc75c-primary);
  width: 1.6rem;
  border-radius: 0.4rem;
}

/* Game Grid */
.wc75c-games-section {
  margin-bottom: 3rem;
}

.wc75c-section-title {
  font-size: 2rem;
  color: var(--wc75c-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 2px solid var(--wc75c-secondary);
  padding-bottom: 1rem;
}

.wc75c-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.wc75c-game-item {
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.8rem;
  border-radius: 0.6rem;
  border: 1px solid transparent;
}

.wc75c-game-item:hover {
  transform: translateY(-8px);
  border-color: var(--wc75c-secondary);
  background: rgba(255, 99, 71, 0.1);
  box-shadow: var(--wc75c-shadow-sm);
}

.wc75c-game-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 0.5rem;
  border-radius: 0.4rem;
  overflow: hidden;
  object-fit: cover;
  background-color: rgba(0, 0, 0, 0.3);
}

.wc75c-game-name {
  font-size: 1rem;
  color: var(--wc75c-light-text);
  font-weight: 500;
  line-height: 1.3;
  word-break: break-word;
}

/* Feature Section */
.wc75c-feature-section {
  background: linear-gradient(135deg, rgba(255, 99, 71, 0.1) 0%, rgba(255, 192, 203, 0.1) 100%);
  padding: 2rem;
  border-radius: 0.8rem;
  margin-bottom: 2rem;
  border: 1px solid var(--wc75c-secondary);
}

.wc75c-feature-title {
  color: var(--wc75c-primary);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.wc75c-feature-list {
  list-style: none;
}

.wc75c-feature-item {
  padding: 0.8rem 0;
  color: var(--wc75c-light-text);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.wc75c-feature-icon {
  color: var(--wc75c-secondary);
  font-weight: 700;
  min-width: 1.5rem;
}

/* Button Styles */
.wc75c-btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 0.6rem;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
}

.wc75c-btn-primary {
  background-color: var(--wc75c-primary);
  color: var(--wc75c-light-text);
}

.wc75c-btn-primary:hover {
  background-color: #FF5533;
  transform: translateY(-2px);
  box-shadow: var(--wc75c-shadow);
}

.wc75c-btn-secondary {
  background-color: var(--wc75c-secondary);
  color: var(--wc75c-dark-bg);
}

.wc75c-btn-secondary:hover {
  background-color: #FFB0D3;
  transform: translateY(-2px);
}

.wc75c-btn-outline {
  border: 2px solid var(--wc75c-secondary);
  color: var(--wc75c-secondary);
  background-color: transparent;
}

.wc75c-btn-outline:hover {
  background-color: rgba(255, 192, 203, 0.1);
}

.wc75c-btn-block {
  width: 100%;
  margin-bottom: 1rem;
}

/* Footer */
.wc75c-footer {
  background-color: #1a1a1a;
  padding: 2rem 1rem;
  margin-top: 4rem;
  border-top: 2px solid var(--wc75c-primary);
  font-size: 1.2rem;
}

.wc75c-footer-content {
  max-width: 430px;
  margin: 0 auto;
}

.wc75c-footer-section {
  margin-bottom: 2rem;
}

.wc75c-footer-title {
  color: var(--wc75c-secondary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.wc75c-footer-links {
  list-style: none;
}

.wc75c-footer-links li {
  margin-bottom: 0.6rem;
}

.wc75c-footer-links a {
  color: var(--wc75c-light-text);
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.wc75c-footer-links a:hover {
  color: var(--wc75c-secondary);
}

.wc75c-footer-partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.wc75c-partner-logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.wc75c-partner-logo:hover {
  opacity: 1;
}

.wc75c-footer-copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--wc75c-border);
  color: var(--wc75c-light-text);
  font-size: 1rem;
}

/* Mobile Bottom Navigation */
.wc75c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, #1a1a1a, #2a2a2a);
  border-top: 2px solid var(--wc75c-primary);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  height: 7.5rem;
  padding-bottom: max(env(safe-area-inset-bottom), 0.5rem);
}

.wc75c-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 6rem;
  min-height: 6rem;
  color: var(--wc75c-light-text);
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.3s ease;
  padding: 0.5rem;
  text-align: center;
  flex: 1;
}

.wc75c-nav-item:hover {
  color: var(--wc75c-secondary);
  transform: scale(1.1);
}

.wc75c-nav-item.wc75c-nav-active {
  color: var(--wc75c-primary);
  background-color: rgba(255, 99, 71, 0.1);
  border-top: 3px solid var(--wc75c-primary);
}

.wc75c-nav-icon {
  font-size: 2.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc75c-nav-label {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
}

/* Content Section Styles */
.wc75c-content-section {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.8rem;
  border-left: 4px solid var(--wc75c-primary);
}

.wc75c-content-title {
  color: var(--wc75c-secondary);
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.wc75c-promo-link {
  display: inline-block;
  color: var(--wc75c-secondary);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.3s ease;
}

.wc75c-promo-link:hover {
  color: var(--wc75c-primary);
}

/* Responsive Design */
@media (min-width: 768px) {
  .wc75c-main-content {
    padding-bottom: 3rem;
  }

  .wc75c-hamburger {
    display: none;
  }

  .wc75c-mobile-menu {
    display: none;
  }

  .wc75c-desktop-nav {
    display: flex;
  }

  .wc75c-bottom-nav {
    display: none;
  }

  .wc75c-container {
    max-width: 100%;
  }

  .wc75c-games-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 430px) {
  html {
    font-size: 60%;
  }

  .wc75c-hamburger {
    display: flex;
  }

  .wc75c-desktop-nav {
    display: none;
  }

  .wc75c-main-content {
    padding-top: 5rem;
  }

  .wc75c-logo-text {
    font-size: 1.2rem;
  }

  .wc75c-nav-buttons {
    gap: 0.4rem;
  }

  .wc75c-btn-nav {
    padding: 0.5rem 0.8rem;
    font-size: 1rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}

/* Utility Classes */
.wc75c-text-center {
  text-align: center;
}

.wc75c-text-primary {
  color: var(--wc75c-primary);
}

.wc75c-text-secondary {
  color: var(--wc75c-secondary);
}

.wc75c-mt-1 { margin-top: 1rem; }
.wc75c-mt-2 { margin-top: 2rem; }
.wc75c-mb-1 { margin-bottom: 1rem; }
.wc75c-mb-2 { margin-bottom: 2rem; }

.wc75c-hidden {
  display: none;
}

.wc75c-visible {
  display: block;
}
