/* jilihost.click Core CSS - Class Prefix: w5269- */
/* Mobile-first responsive design, max-width: 430px */

:root {
  --w5269-primary: #8FBC8F;
  --w5269-secondary: #00FA9A;
  --w5269-accent: #9AFF9A;
  --w5269-dark: #0E1621;
  --w5269-dark-alt: #A0522D;
  --w5269-light: #CED4DA;
  font-size: 62.5%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--w5269-light);
  background-color: var(--w5269-dark);
  max-width: 430px;
  margin: 0 auto;
}

.w5269-container {
  width: 100%;
  padding: 0 1.5rem;
  margin: 0 auto;
}

.w5269-wrapper {
  padding-top: 6rem;
  padding-bottom: 7rem;
  min-height: 100vh;
}

/* Header Styles */
.w5269-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--w5269-dark) 0%, var(--w5269-dark-alt) 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  padding: 1rem 1.5rem;
}

.w5269-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.w5269-logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.w5269-logo {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.6rem;
}

.w5269-logo-text {
  font-size: 2rem;
  font-weight: 700;
  color: var(--w5269-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.w5269-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.w5269-btn-header {
  padding: 0.8rem 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  border: none;
  border-radius: 0.6rem;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 44px;
  min-height: 44px;
}

.w5269-btn-register {
  background: var(--w5269-primary);
  color: var(--w5269-dark);
}

.w5269-btn-login {
  background: var(--w5269-secondary);
  color: var(--w5269-dark);
}

.w5269-hamburger {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.8rem;
  min-width: 44px;
  min-height: 44px;
}

.w5269-hamburger span {
  width: 2.4rem;
  height: 0.3rem;
  background: var(--w5269-accent);
  border-radius: 0.2rem;
  transition: all 0.3s;
}

.w5269-hamburger.w5269-active span:nth-child(1) {
  transform: rotate(45deg) translate(0.7rem, 0.7rem);
}

.w5269-hamburger.w5269-active span:nth-child(2) {
  opacity: 0;
}

.w5269-hamburger.w5269-active span:nth-child(3) {
  transform: rotate(-45deg) translate(0.7rem, -0.7rem);
}

/* Mobile Menu */
.w5269-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  max-width: 430px;
  margin: 0 auto;
}

.w5269-menu-overlay.w5269-active {
  opacity: 1;
  visibility: visible;
}

.w5269-mobile-menu {
  position: fixed;
  top: 6rem;
  right: -100%;
  width: 75%;
  max-width: 30rem;
  height: calc(100vh - 6rem);
  background: var(--w5269-dark);
  z-index: 999;
  transition: right 0.3s;
  overflow-y: auto;
  box-shadow: -2px 0 8px rgba(0,0,0,0.3);
}

.w5269-mobile-menu.w5269-active {
  right: 0;
}

.w5269-menu-list {
  list-style: none;
  padding: 2rem 0;
}

.w5269-menu-item {
  border-bottom: 1px solid rgba(206, 212, 218, 0.1);
}

.w5269-menu-link {
  display: block;
  padding: 1.5rem 2rem;
  color: var(--w5269-light);
  text-decoration: none;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.w5269-menu-link:hover {
  background: rgba(143, 188, 143, 0.1);
  color: var(--w5269-secondary);
  padding-left: 2.5rem;
}

/* Carousel */
.w5269-carousel {
  margin: 2rem 0;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.w5269-carousel-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.w5269-carousel-slide {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.w5269-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.w5269-btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 0.8rem;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 44px;
  min-height: 44px;
}

.w5269-btn-primary {
  background: linear-gradient(135deg, var(--w5269-primary) 0%, var(--w5269-secondary) 100%);
  color: var(--w5269-dark);
  box-shadow: 0 4px 12px rgba(0, 250, 154, 0.3);
}

.w5269-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 250, 154, 0.4);
}

.w5269-btn-block {
  display: block;
  width: 100%;
}

.w5269-mt-2 {
  margin-top: 2rem;
}

/* Section Styles */
.w5269-section {
  margin: 3rem 0;
}

.w5269-section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--w5269-secondary);
  margin-bottom: 2rem;
  line-height: 1.3;
}

.w5269-content-box {
  background: rgba(206, 212, 218, 0.05);
  border: 1px solid rgba(143, 188, 143, 0.2);
  border-radius: 1.2rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.w5269-content-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--w5269-primary);
  margin-bottom: 1.5rem;
}

.w5269-content-text {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--w5269-light);
  margin-bottom: 1.5rem;
}

.w5269-list {
  list-style: none;
  padding-left: 0;
}

.w5269-list-item {
  padding: 1rem 0 1rem 2.5rem;
  position: relative;
  font-size: 1.4rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(206, 212, 218, 0.1);
}

.w5269-list-item:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--w5269-secondary);
  font-weight: bold;
}

.w5269-text-center {
  text-align: center;
}

/* Game Grid */
.w5269-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.w5269-game-item {
  background: rgba(206, 212, 218, 0.05);
  border: 1px solid rgba(143, 188, 143, 0.15);
  border-radius: 0.8rem;
  padding: 0.8rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  min-height: 44px;
}

.w5269-game-item:hover {
  transform: translateY(-3px);
  border-color: var(--w5269-secondary);
  box-shadow: 0 4px 12px rgba(0, 250, 154, 0.2);
}

.w5269-game-icon {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 0.5rem;
  border-radius: 0.6rem;
  overflow: hidden;
}

.w5269-game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w5269-game-name {
  font-size: 1.1rem;
  color: var(--w5269-light);
  font-weight: 500;
  line-height: 1.3;
  word-break: break-word;
}

/* Footer */
.w5269-footer {
  background: linear-gradient(135deg, var(--w5269-dark-alt) 0%, var(--w5269-dark) 100%);
  padding: 3rem 0 8rem;
  margin-top: 4rem;
}

.w5269-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.w5269-footer-link {
  color: var(--w5269-light);
  text-decoration: none;
  font-size: 1.3rem;
  transition: color 0.3s;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.w5269-footer-link:hover {
  color: var(--w5269-secondary);
}

.w5269-partners {
  margin: 3rem 0;
}

.w5269-partners-title {
  text-align: center;
  font-size: 1.6rem;
  color: var(--w5269-primary);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.w5269-partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  max-width: 35rem;
  margin: 0 auto;
}

.w5269-partner-logo {
  width: 100%;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.3s;
  filter: grayscale(0.3);
}

.w5269-partner-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

.w5269-copyright {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(206, 212, 218, 0.6);
  margin-top: 2rem;
}

/* Bottom Navigation */
.w5269-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--w5269-dark) 0%, var(--w5269-dark-alt) 100%);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  height: 6rem;
}

.w5269-bottom-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  padding: 0 0.5rem;
}

.w5269-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--w5269-light);
  transition: all 0.3s;
  min-width: 44px;
  min-height: 44px;
  flex: 1;
  cursor: pointer;
}

.w5269-bottom-nav-item:hover,
.w5269-bottom-nav-item.w5269-active {
  color: var(--w5269-secondary);
}

.w5269-bottom-nav-icon {
  font-size: 2.4rem;
  margin-bottom: 0.3rem;
}

.w5269-bottom-nav-text {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 380px) {
  .w5269-game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .w5269-game-name {
    font-size: 1rem;
  }
  
  .w5269-bottom-nav-icon {
    font-size: 2rem;
  }
  
  .w5269-bottom-nav-text {
    font-size: 1rem;
  }
}
