/**
 * ll777 - Main Stylesheet
 * Mobile-first responsive design with pink and blue color scheme
 * Color Palette: #FFC0CB (Pink) | #000080 (Navy) | #ADD8E6 (Light Blue) | #1B263B (Dark Blue) | #FFB3BA (Light Pink)
 */

/* ===== CSS Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --v121-primary: #FFC0CB;
  --v121-primary-dark: #FFB3BA;
  --v121-navy: #000080;
  --v121-light-blue: #ADD8E6;
  --v121-dark-blue: #1B263B;
  --v121-bg-dark: #0D1117;
  --v121-bg-darker: #080a0c;
  --v121-text-light: #E8E8E8;
  --v121-text-white: #FFFFFF;
  --v121-border: #2D3748;
  --v121-shadow: rgba(255, 192, 203, 0.3);
}

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(--v121-text-light);
  background-color: var(--v121-bg-dark);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ===== Header Styles ===== */
.v121-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--v121-dark-blue) 0%, var(--v121-bg-dark) 100%);
  border-bottom: 2px solid var(--v121-primary);
  z-index: 1000;
  box-shadow: 0 2px 10px var(--v121-shadow);
}

.v121-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  max-width: 430px;
  margin: 0 auto;
}

.v121-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v121-primary);
}

.v121-logo-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.v121-header-buttons {
  display: flex;
  gap: 10px;
}

.v121-btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
}

.v121-btn-register {
  background: linear-gradient(135deg, var(--v121-light-blue) 0%, var(--v121-primary) 100%);
  color: var(--v121-dark-blue);
  box-shadow: 0 2px 8px rgba(255, 192, 203, 0.4);
}

.v121-btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 192, 203, 0.6);
}

.v121-btn-login {
  background: transparent;
  color: var(--v121-primary);
  border: 2px solid var(--v121-primary);
}

.v121-btn-login:hover {
  background: var(--v121-primary);
  color: var(--v121-dark-blue);
}

.v121-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--v121-navy);
  border: 1px solid var(--v121-primary);
  border-radius: 6px;
  cursor: pointer;
  color: var(--v121-primary);
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.v121-menu-toggle:hover {
  background: var(--v121-primary);
  color: var(--v121-dark-blue);
}

/* ===== Mobile Menu ===== */
.v121-mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--v121-dark-blue);
  border-bottom: 2px solid var(--v121-primary);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
}

.v121-mobile-menu.v121-menu-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.v121-menu-list {
  list-style: none;
  padding: 10px 0;
}

.v121-menu-item {
  border-bottom: 1px solid var(--v121-border);
}

.v121-menu-link {
  display: block;
  padding: 14px 20px;
  color: var(--v121-text-light);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.v121-menu-link:hover {
  background: var(--v121-bg-dark);
  color: var(--v121-primary);
  padding-left: 28px;
}

/* ===== Main Content ===== */
.v121-main {
  padding-top: 70px;
  padding-bottom: 80px;
  max-width: 430px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .v121-main {
    padding-bottom: 40px;
  }
}

.v121-section {
  padding: 20px 16px;
  border-bottom: 1px solid var(--v121-border);
}

.v121-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v121-primary);
  margin-bottom: 16px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.v121-hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--v121-primary);
  text-align: center;
  margin: 20px 0;
  line-height: 1.3;
}

/* ===== Carousel ===== */
.v121-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px var(--v121-shadow);
}

.v121-carousel-slides {
  display: flex;
  transition: transform 0.5s ease;
}

.v121-carousel-slide {
  min-width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
}

/* ===== Game Grid ===== */
.v121-games-section {
  padding: 24px 16px;
  background: linear-gradient(180deg, var(--v121-bg-dark) 0%, var(--v121-dark-blue) 100%);
}

.v121-category-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v121-light-blue);
  margin: 20px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--v121-primary);
}

.v121-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.v121-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.v121-game-item:hover {
  transform: scale(1.05);
}

.v121-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: var(--v121-bg-darker);
  border: 2px solid var(--v121-border);
  transition: all 0.3s ease;
}

.v121-game-item:hover .v121-game-icon {
  border-color: var(--v121-primary);
  box-shadow: 0 0 10px var(--v121-shadow);
}

.v121-game-name {
  font-size: 1rem;
  color: var(--v121-text-light);
  text-align: center;
  margin-top: 6px;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== Info Cards ===== */
.v121-info-card {
  background: linear-gradient(135deg, var(--v121-dark-blue) 0%, var(--v121-bg-dark) 100%);
  border: 1px solid var(--v121-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.v121-info-card h3 {
  color: var(--v121-light-blue);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.v121-info-card p {
  color: var(--v121-text-light);
  line-height: 1.6;
  margin-bottom: 10px;
}

.v121-promo-link {
  color: var(--v121-primary);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.v121-promo-link:hover {
  color: var(--v121-light-blue);
}

/* ===== Button Styles ===== */
.v121-cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--v121-primary) 0%, var(--v121-light-blue) 100%);
  color: var(--v121-navy);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--v121-shadow);
  text-align: center;
}

.v121-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 192, 203, 0.5);
}

/* ===== Footer ===== */
.v121-footer {
  background: linear-gradient(180deg, var(--v121-dark-blue) 0%, var(--v121-bg-dark) 100%);
  border-top: 2px solid var(--v121-primary);
  padding: 30px 16px 100px;
  max-width: 430px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .v121-footer {
    padding-bottom: 30px;
  }
}

.v121-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.v121-footer-link {
  color: var(--v121-text-light);
  font-size: 1.3rem;
  padding: 6px 12px;
  border: 1px solid var(--v121-border);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.v121-footer-link:hover {
  background: var(--v121-primary);
  color: var(--v121-navy);
  border-color: var(--v121-primary);
}

.v121-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.v121-partner-logo {
  width: 50px;
  height: 30px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.v121-partner-logo:hover {
  opacity: 1;
}

.v121-copyright {
  text-align: center;
  color: var(--v121-text-light);
  font-size: 1.2rem;
  padding-top: 20px;
  border-top: 1px solid var(--v121-border);
}

/* ===== Mobile Bottom Navigation ===== */
.v121-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--v121-navy) 0%, var(--v121-dark-blue) 100%);
  border-top: 3px solid var(--v121-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 62px;
  z-index: 1000;
  box-shadow: 0 -2px 15px rgba(255, 192, 203, 0.4);
}

@media (min-width: 769px) {
  .v121-bottom-nav {
    display: none;
  }
}

.v121-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.v121-nav-item:active {
  transform: scale(0.92);
}

.v121-nav-icon {
  font-size: 24px;
  margin-bottom: 4px;
  transition: all 0.3s ease;
}

.v121-nav-item:hover .v121-nav-icon {
  transform: scale(1.15);
  color: var(--v121-primary);
}

.v121-nav-text {
  font-size: 11px;
  color: var(--v121-text-light);
  font-weight: 500;
  text-transform: uppercase;
}

.v121-nav-item:hover .v121-nav-text {
  color: var(--v121-primary);
}

.v121-nav-item.active .v121-nav-icon {
  color: var(--v121-primary);
  text-shadow: 0 0 10px var(--v121-primary);
}

.v121-nav-item.active .v121-nav-text {
  color: var(--v121-primary);
  font-weight: 700;
}

/* ===== Utility Classes ===== */
.v121-text-center {
  text-align: center;
}

.v121-mt-20 {
  margin-top: 20px;
}

.v121-mb-20 {
  margin-bottom: 20px;
}

.v121-highlight {
  color: var(--v121-primary);
  font-weight: 700;
}
