/* PHL999 Theme - Main Stylesheet */
/* All classes use w9c24- prefix for namespace isolation */

/* CSS Variables - Color Palette */
:root {
  --w9c24-primary: #FFB3FF;
  --w9c24-secondary: #FFDFBA;
  --w9c24-dark: #141414;
  --w9c24-gray: #3C3C3C;
  --w9c24-bluegray: #36454F;
  --w9c24-light: #F5F5F5;
  --w9c24-white: #FFFFFF;
  --w9c24-gradient: linear-gradient(135deg, var(--w9c24-primary) 0%, var(--w9c24-secondary) 100%);
  --w9c24-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Reset & 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(--w9c24-light);
  background-color: var(--w9c24-dark);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
}

/* Container */
.w9c24-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.w9c24-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--w9c24-dark);
  box-shadow: var(--w9c24-shadow);
  z-index: 1000;
}

.w9c24-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  padding: 0 1rem;
  max-width: 430px;
  margin: 0 auto;
}

.w9c24-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--w9c24-primary);
}

.w9c24-logo img {
  width: 32px;
  height: 32px;
}

.w9c24-header-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.w9c24-btn {
  padding: 0.5rem 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.w9c24-btn-primary {
  background: var(--w9c24-gradient);
  color: var(--w9c24-dark);
}

.w9c24-btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 179, 255, 0.4);
}

.w9c24-btn-secondary {
  background-color: transparent;
  color: var(--w9c24-primary);
  border: 1px solid var(--w9c24-primary);
}

.w9c24-btn-secondary:hover {
  background-color: var(--w9c24-primary);
  color: var(--w9c24-dark);
}

.w9c24-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
  cursor: pointer;
}

.w9c24-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--w9c24-primary);
  transition: all 0.3s ease;
}

/* Mobile Menu */
.w9c24-mobile-menu {
  position: fixed;
  top: 56px;
  left: -100%;
  width: 100%;
  max-width: 430px;
  background-color: var(--w9c24-dark);
  box-shadow: var(--w9c24-shadow);
  transition: left 0.3s ease;
  z-index: 9999;
  padding: 1rem 0;
}

.w9c24-mobile-menu.w9c24-active {
  left: 0;
}

.w9c24-menu-item {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--w9c24-light);
  border-bottom: 1px solid rgba(255, 179, 255, 0.1);
}

.w9c24-menu-item:hover {
  background-color: rgba(255, 179, 255, 0.1);
  color: var(--w9c24-primary);
}

/* Main Content */
.w9c24-main {
  margin-top: 56px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.w9c24-section {
  padding: 2rem 0;
}

.w9c24-section-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--w9c24-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Carousel */
.w9c24-carousel {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.w9c24-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cards */
.w9c24-card {
  background-color: rgba(255, 179, 255, 0.05);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--w9c24-shadow);
}

.w9c24-card-content {
  color: var(--w9c24-light);
}

/* Game Grid */
.w9c24-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.w9c24-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.w9c24-game-item:hover {
  transform: scale(1.05);
}

.w9c24-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.w9c24-game-name {
  font-size: 1.1rem;
  color: var(--w9c24-light);
  text-align: center;
  word-break: break-word;
  line-height: 1.3;
}

/* Feature List */
.w9c24-feature-list {
  list-style: none;
}

.w9c24-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: rgba(255, 179, 255, 0.03);
  border-radius: 6px;
}

.w9c24-feature-icon {
  font-size: 1.8rem;
  color: var(--w9c24-primary);
  flex-shrink: 0;
}

/* Footer */
.w9c24-footer {
  background-color: rgba(20, 20, 20, 0.95);
  padding: 2rem 0;
  margin-top: 2rem;
}

.w9c24-footer-content {
  text-align: center;
}

.w9c24-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.w9c24-footer-link {
  color: var(--w9c24-primary);
  font-size: 1.4rem;
}

.w9c24-footer-link:hover {
  color: var(--w9c24-secondary);
}

.w9c24-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.w9c24-partner-logo {
  width: 60px;
  height: 30px;
  object-fit: contain;
}

.w9c24-copyright {
  font-size: 1.2rem;
  color: var(--w9c24-gray);
  padding: 1rem 0;
}

/* Mobile Bottom Navigation */
.w9c24-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  background: linear-gradient(to right, var(--w9c24-dark), rgba(20, 20, 20, 0.98));
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.w9c24-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  color: var(--w9c24-light);
  transition: all 0.3s ease;
}

.w9c24-nav-btn:hover {
  color: var(--w9c24-primary);
}

.w9c24-nav-btn.w9c24-active {
  color: var(--w9c24-primary);
}

.w9c24-nav-icon {
  font-size: 24px;
  margin-bottom: 2px;
}

.w9c24-nav-text {
  font-size: 10px;
}

/* Utility Classes */
.w9c24-text-center {
  text-align: center;
}

.w9c24-mt-2 {
  margin-top: 1.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .w9c24-menu-toggle {
    display: flex;
  }

  .w9c24-main {
    padding-bottom: 80px;
  }
}

@media (min-width: 769px) {
  .w9c24-bottom-nav {
    display: none;
  }

  .w9c24-main {
    padding-bottom: 2rem;
  }
}
