/* jili333login.click - Main Stylesheet */
/* Mobile-first responsive design with rem units */
/* All classes prefixed with s07e- to avoid conflicts */

/* CSS Variables */
:root {
  --s07e-primary: #FFB6C1;
  --s07e-secondary: #FFEBCD;
  --s07e-accent: #FF5722;
  --s07e-dark: #262626;
  --s07e-light: #E5E5E5;
  --s07e-bg-dark: #1a1a1a;
  --s07e-bg-light: #f5f5f5;
  --s07e-text-light: #ffffff;
  --s07e-text-dark: #333333;
  --s07e-border: rgba(255, 255, 255, 0.1);
  --s07e-shadow: rgba(0, 0, 0, 0.3);
  --s07e-header-height: 60px;
  --s07e-bottom-nav-height: 60px;
  --s07e-transition: all 0.3s ease;
}

/* Base Reset */
* {
  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, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--s07e-text-light);
  background: var(--s07e-dark);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--s07e-transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--s07e-transition);
}

/* Container */
.s07e-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.s07e-wrapper {
  padding-top: var(--s07e-header-height);
  padding-bottom: var(--s07e-bottom-nav-height);
  min-height: 100vh;
}

/* Header */
.s07e-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--s07e-header-height);
  background: linear-gradient(135deg, var(--s07e-dark) 0%, #1f1f1f 100%);
  border-bottom: 1px solid var(--s07e-border);
  z-index: 1000;
  transition: var(--s07e-transition);
}

.s07e-header.s07e-scrolled {
  box-shadow: 0 2px 10px var(--s07e-shadow);
}

.s07e-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem;
  max-width: 430px;
  margin: 0 auto;
}

.s07e-logo-section {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.s07e-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.s07e-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s07e-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.s07e-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.s07e-btn-header {
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.s07e-btn-register {
  background: linear-gradient(135deg, var(--s07e-accent) 0%, #ff6b45 100%);
  color: var(--s07e-text-light);
}

.s07e-btn-login {
  background: transparent;
  color: var(--s07e-primary);
  border: 1px solid var(--s07e-primary);
}

.s07e-hamburger {
  width: 24px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  cursor: pointer;
}

.s07e-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--s07e-primary);
  transition: var(--s07e-transition);
}

.s07e-hamburger.s07e-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.s07e-hamburger.s07e-active span:nth-child(2) {
  opacity: 0;
}

.s07e-hamburger.s07e-active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.s07e-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: var(--s07e-transition);
  z-index: 999;
}

.s07e-menu-overlay.s07e-active {
  opacity: 1;
  visibility: visible;
}

.s07e-mobile-menu {
  position: fixed;
  top: var(--s07e-header-height);
  right: -280px;
  width: 280px;
  height: calc(100vh - var(--s07e-header-height));
  background: var(--s07e-bg-dark);
  overflow-y: auto;
  transition: var(--s07e-transition);
  z-index: 1001;
  border-left: 1px solid var(--s07e-border);
}

.s07e-mobile-menu.s07e-active {
  right: 0;
}

.s07e-menu-list {
  list-style: none;
  padding: 2rem 0;
}

.s07e-menu-item {
  border-bottom: 1px solid var(--s07e-border);
}

.s07e-menu-link {
  display: block;
  padding: 1.5rem 2rem;
  font-size: 1.4rem;
  color: var(--s07e-light);
  transition: var(--s07e-transition);
}

.s07e-menu-link:hover,
.s07e-menu-link:active {
  background: rgba(255, 182, 193, 0.1);
  color: var(--s07e-primary);
  padding-left: 2.5rem;
}

/* Carousel */
.s07e-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  margin: 2rem 0;
}

.s07e-carousel-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.s07e-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.s07e-carousel-slide.s07e-active {
  opacity: 1;
}

.s07e-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s07e-carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.s07e-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: var(--s07e-transition);
}

.s07e-carousel-dot.s07e-active {
  background: var(--s07e-primary);
  width: 24px;
  border-radius: 4px;
}

/* Section */
.s07e-section {
  padding: 3rem 0;
}

.s07e-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--s07e-primary);
  margin-bottom: 2rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.s07e-section-subtitle {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--s07e-secondary);
  margin-bottom: 1.5rem;
}

/* Game Grid */
.s07e-game-category {
  margin-bottom: 3rem;
}

.s07e-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.s07e-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--s07e-transition);
}

.s07e-game-item:active {
  transform: scale(0.95);
}

.s07e-game-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 8px var(--s07e-shadow);
  border: 1px solid var(--s07e-border);
}

.s07e-game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s07e-game-name {
  font-size: 1.1rem;
  color: var(--s07e-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 0.2rem;
}

/* Content Box */
.s07e-content-box {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--s07e-border);
}

.s07e-content-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--s07e-primary);
  margin-bottom: 1.5rem;
}

.s07e-content-text {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--s07e-light);
  margin-bottom: 1rem;
}

.s07e-content-text:last-child {
  margin-bottom: 0;
}

/* Button */
.s07e-btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
  transition: var(--s07e-transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.s07e-btn-primary {
  background: linear-gradient(135deg, var(--s07e-accent) 0%, #ff6b45 100%);
  color: var(--s07e-text-light);
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.s07e-btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 8px rgba(255, 87, 34, 0.3);
}

.s07e-btn-secondary {
  background: transparent;
  color: var(--s07e-primary);
  border: 2px solid var(--s07e-primary);
}

.s07e-btn-block {
  display: block;
  width: 100%;
}

/* List */
.s07e-list {
  list-style: none;
  padding-left: 0;
}

.s07e-list-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--s07e-border);
  font-size: 1.4rem;
  color: var(--s07e-light);
}

.s07e-list-item:last-child {
  border-bottom: none;
}

.s07e-list-item::before {
  content: "✓";
  color: var(--s07e-accent);
  font-weight: bold;
  margin-right: 1rem;
}

/* Link */
.s07e-link {
  color: var(--s07e-primary);
  font-weight: 600;
  text-decoration: underline;
  transition: var(--s07e-transition);
}

.s07e-link:hover {
  color: var(--s07e-accent);
}

/* Footer */
.s07e-footer {
  background: var(--s07e-bg-dark);
  border-top: 1px solid var(--s07e-border);
  padding: 3rem 0 calc(var(--s07e-bottom-nav-height) + 2rem);
}

.s07e-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.s07e-footer-link {
  padding: 1rem;
  text-align: center;
  background: rgba(255, 182, 193, 0.1);
  border-radius: 8px;
  font-size: 1.3rem;
  color: var(--s07e-primary);
  transition: var(--s07e-transition);
}

.s07e-footer-link:active {
  background: rgba(255, 182, 193, 0.2);
  transform: scale(0.98);
}

.s07e-partners {
  margin-bottom: 3rem;
}

.s07e-partners-title {
  font-size: 1.6rem;
  color: var(--s07e-secondary);
  text-align: center;
  margin-bottom: 2rem;
}

.s07e-partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: center;
}

.s07e-partner-logo {
  width: 100%;
  opacity: 0.6;
  transition: var(--s07e-transition);
}

.s07e-partner-logo:hover {
  opacity: 1;
}

.s07e-copyright {
  text-align: center;
  font-size: 1.2rem;
  color: var(--s07e-light);
  opacity: 0.7;
}

/* Bottom Navigation */
.s07e-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--s07e-bottom-nav-height);
  background: linear-gradient(135deg, var(--s07e-dark) 0%, #1f1f1f 100%);
  border-top: 1px solid var(--s07e-border);
  z-index: 1000;
  box-shadow: 0 -2px 10px var(--s07e-shadow);
}

.s07e-bottom-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.s07e-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex: 1;
  height: 100%;
  color: var(--s07e-light);
  opacity: 0.6;
  transition: var(--s07e-transition);
  cursor: pointer;
}

.s07e-bottom-nav-item:active,
.s07e-bottom-nav-item.s07e-active {
  opacity: 1;
  color: var(--s07e-primary);
}

.s07e-bottom-nav-icon {
  font-size: 2.2rem;
}

.s07e-bottom-nav-text {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Animations */
@keyframes s07e-fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.s07e-animate {
  opacity: 0;
}

.s07e-animate-in {
  animation: s07e-fadeIn 0.6s ease forwards;
}

/* Utilities */
.s07e-text-center {
  text-align: center;
}

.s07e-mt-1 { margin-top: 1rem; }
.s07e-mt-2 { margin-top: 2rem; }
.s07e-mt-3 { margin-top: 3rem; }
.s07e-mb-1 { margin-bottom: 1rem; }
.s07e-mb-2 { margin-bottom: 2rem; }
.s07e-mb-3 { margin-bottom: 3rem; }
.s07e-py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.s07e-py-2 { padding-top: 2rem; padding-bottom: 2rem; }
.s07e-py-3 { padding-top: 3rem; padding-bottom: 3rem; }

/* Responsive */
@media (min-width: 375px) {
  .s07e-game-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 768px) {
  html {
    font-size: 65%;
  }
}
