/* 66Win CSS Stylesheet - Mobile First Design */
:root {
  --ui1e-primary: #A0522D;
  --ui1e-secondary: #8B4513;
  --ui1e-dark: #262626;
  --ui1e-accent: #87CEEB;
  --ui1e-light: #FFEFD5;
  --ui1e-white: #FFFFFF;
  --ui1e-black: #000000;
  --ui1e-gray: #808080;
  --ui1e-success: #28a745;
  --ui1e-danger: #dc3545;
  --ui1e-warning: #ffc107;
}

* {
  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.6rem;
  line-height: 1.5;
  color: var(--ui1e-light);
  background-color: var(--ui1e-dark);
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--ui1e-light);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 2.0rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.6rem; }
h6 { font-size: 1.4rem; }

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--ui1e-accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--ui1e-primary);
  text-decoration: underline;
}

/* Header Styles */
.ui1e-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--ui1e-primary) 0%, var(--ui1e-secondary) 100%);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ui1e-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
}

.ui1e-logo {
  display: flex;
  align-items: center;
  font-size: 2.0rem;
  font-weight: bold;
  color: var(--ui1e-white);
}

.ui1e-logo img {
  width: 4.0rem;
  height: 4.0rem;
  margin-right: 1.0rem;
  border-radius: 0.8rem;
}

.ui1e-header-buttons {
  display: flex;
  gap: 1.0rem;
}

.ui1e-btn {
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 2.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.0rem;
}

.ui1e-btn-register {
  background-color: var(--ui1e-accent);
  color: var(--ui1e-dark);
}

.ui1e-btn-register:hover {
  background-color: var(--ui1e-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(135, 206, 235, 0.4);
}

.ui1e-btn-login {
  background-color: transparent;
  color: var(--ui1e-white);
  border: 2px solid var(--ui1e-white);
}

.ui1e-btn-login:hover {
  background-color: var(--ui1e-white);
  color: var(--ui1e-primary);
  transform: translateY(-2px);
}

/* Mobile Menu */
.ui1e-mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--ui1e-white);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.5rem;
}

.ui1e-mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: linear-gradient(180deg, var(--ui1e-secondary) 0%, var(--ui1e-dark) 100%);
  z-index: 9999;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.ui1e-mobile-menu.active {
  left: 0;
}

.ui1e-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ui1e-menu-close {
  background: none;
  border: none;
  color: var(--ui1e-white);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.5rem;
}

.ui1e-menu-nav {
  padding: 1.5rem 0;
}

.ui1e-menu-nav a {
  display: block;
  padding: 1.2rem 1.5rem;
  color: var(--ui1e-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.ui1e-menu-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--ui1e-accent);
  text-decoration: none;
}

.ui1e-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  display: none;
}

.ui1e-menu-overlay.active {
  display: block;
}

/* Main Content */
.ui1e-main {
  margin-top: 8.0rem;
  padding: 2.0rem 1.5rem;
  min-height: calc(100vh - 8rem);
}

@media (max-width: 768px) {
  .ui1e-main {
    padding-bottom: 8.0rem;
  }
}

/* Hero Section */
.ui1e-hero {
  background: linear-gradient(135deg, var(--ui1e-primary) 0%, var(--ui1e-secondary) 100%);
  border-radius: 1.5rem;
  padding: 3.0rem 2.0rem;
  margin-bottom: 3.0rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ui1e-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(135, 206, 235, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.ui1e-hero h1 {
  color: var(--ui1e-white);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.ui1e-hero p {
  color: var(--ui1e-light);
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.ui1e-hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Game Grid */
.ui1e-game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.0rem;
}

.ui1e-game-card {
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border-radius: 1.2rem;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ui1e-game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(160, 82, 45, 0.3);
}

.ui1e-game-image {
  width: 100%;
  height: 12.0rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ui1e-game-card:hover .ui1e-game-image {
  transform: scale(1.05);
}

.ui1e-game-info {
  padding: 1.5rem;
}

.ui1e-game-name {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ui1e-white);
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui1e-game-type {
  font-size: 1.2rem;
  color: var(--ui1e-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Category Tabs */
.ui1e-category-tabs {
  display: flex;
  gap: 1.0rem;
  margin-bottom: 2.5rem;
  overflow-x: auto;
  padding-bottom: 1.0rem;
}

.ui1e-category-tabs::-webkit-scrollbar {
  height: 4px;
}

.ui1e-category-tabs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.ui1e-category-tabs::-webkit-scrollbar-thumb {
  background: var(--ui1e-primary);
  border-radius: 2px;
}

.ui1e-category-tab {
  padding: 1.0rem 2.0rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 2.5rem;
  color: var(--ui1e-white);
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.ui1e-category-tab:hover,
.ui1e-category-tab.active {
  background: var(--ui1e-primary);
  color: var(--ui1e-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(160, 82, 45, 0.4);
}

/* Features Section */
.ui1e-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.0rem;
  margin-bottom: 3.0rem;
}

.ui1e-feature-card {
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  padding: 2.0rem 1.5rem;
  border-radius: 1.2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ui1e-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(160, 82, 45, 0.3);
}

.ui1e-feature-icon {
  font-size: 3.2rem;
  color: var(--ui1e-accent);
  margin-bottom: 1.5rem;
}

.ui1e-feature-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ui1e-white);
  margin-bottom: 1.0rem;
}

.ui1e-feature-desc {
  font-size: 1.3rem;
  color: var(--ui1e-gray);
  line-height: 1.4;
}

/* Footer */
.ui1e-footer {
  background: linear-gradient(135deg, var(--ui1e-secondary) 0%, var(--ui1e-dark) 100%);
  padding: 3.0rem 1.5rem 2.0rem;
  margin-top: 4.0rem;
}

.ui1e-footer-logo {
  text-align: center;
  margin-bottom: 2.5rem;
}

.ui1e-footer-logo img {
  width: 8.0rem;
  height: 8.0rem;
  margin-bottom: 1.0rem;
}

.ui1e-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.0rem;
  margin-bottom: 3.0rem;
}

.ui1e-footer-section h3 {
  font-size: 1.6rem;
  color: var(--ui1e-white);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ui1e-footer-section ul {
  list-style: none;
}

.ui1e-footer-section li {
  margin-bottom: 1.0rem;
}

.ui1e-footer-section a {
  color: var(--ui1e-gray);
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.ui1e-footer-section a:hover {
  color: var(--ui1e-accent);
  text-decoration: none;
}

.ui1e-partners {
  margin-bottom: 3.0rem;
}

.ui1e-partners h3 {
  font-size: 1.6rem;
  color: var(--ui1e-white);
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ui1e-partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.0rem;
  flex-wrap: wrap;
}

.ui1e-partner-logo {
  width: 6.0rem;
  height: 6.0rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1.0rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--ui1e-gray);
  transition: all 0.3s ease;
}

.ui1e-partner-logo:hover {
  background: var(--ui1e-primary);
  color: var(--ui1e-white);
  transform: scale(1.1);
}

.ui1e-footer-bottom {
  text-align: center;
  padding-top: 2.0rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ui1e-footer-bottom p {
  font-size: 1.3rem;
  color: var(--ui1e-gray);
  margin-bottom: 1.0rem;
}

.ui1e-footer-bottom a {
  color: var(--ui1e-accent);
  font-size: 1.3rem;
}

/* Mobile Bottom Navigation */
.ui1e-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--ui1e-secondary) 0%, var(--ui1e-dark) 100%);
  z-index: 1000;
  box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1.0rem 0;
  max-width: 430px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .ui1e-bottom-nav {
    display: none;
  }
}

.ui1e-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6.0rem;
  min-height: 6.0rem;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 1.0rem;
  text-decoration: none;
  color: var(--ui1e-gray);
}

.ui1e-nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  color: var(--ui1e-accent);
  text-decoration: none;
}

.ui1e-nav-item.active {
  color: var(--ui1e-accent);
  background: rgba(135, 206, 235, 0.1);
}

.ui1e-nav-icon {
  font-size: 2.4rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui1e-nav-text {
  font-size: 1.0rem;
  font-weight: 500;
  text-align: center;
}

/* Promotional Banner */
.ui1e-promo-banner {
  background: linear-gradient(135deg, var(--ui1e-danger) 0%, var(--ui1e-warning) 100%);
  border-radius: 1.2rem;
  padding: 2.0rem;
  margin-bottom: 3.0rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ui1e-promo-banner::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(0.8) rotate(0deg); }
  50% { transform: scale(1.2) rotate(180deg); }
}

.ui1e-promo-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--ui1e-white);
  margin-bottom: 1.0rem;
  position: relative;
  z-index: 1;
}

.ui1e-promo-desc {
  font-size: 1.6rem;
  color: var(--ui1e-light);
  margin-bottom: 2.0rem;
  position: relative;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .ui1e-game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .ui1e-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ui1e-footer-links {
    grid-template-columns: 1fr;
    gap: 2.0rem;
  }
}

@media (min-width: 769px) {
  .ui1e-mobile-menu-toggle {
    display: none;
  }

  .ui1e-header-top {
    padding: 1.5rem 3.0rem;
  }

  .ui1e-main {
    padding: 3.0rem;
  }
}

/* Utility Classes */
.ui1e-text-center {
  text-align: center;
}

.ui1e-mt-2 {
  margin-top: 2.0rem;
}

.ui1e-mb-2 {
  margin-bottom: 2.0rem;
}

.ui1e-section-title {
  font-size: 2.2rem;
  color: var(--ui1e-white);
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.ui1e-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6.0rem;
  height: 3px;
  background: linear-gradient(90deg, var(--ui1e-primary), var(--ui1e-accent));
  border-radius: 2px;
}