/**
 * nimo gaming - Main CSS Stylesheet
 * All classes use w1e93- prefix for namespace isolation
 * Color palette: #FF6347, #E0F2F1, #FF8C00, #1B263B, #40E0D0
 */

/* CSS Variables for easy theme management */
:root {
  --w1e93-primary: #FF6347;
  --w1e93-secondary: #FF8C00;
  --w1e93-accent: #40E0D0;
  --w1e93-bg-dark: #1B263B;
  --w1e93-bg-light: #E0F2F1;
  --w1e93-text-light: #FFFFFF;
  --w1e93-text-dark: #1B263B;
  --w1e93-gray-light: #f5f5f5;
  --w1e93-gray-medium: #999999;
  --w1e93-shadow: rgba(27, 38, 59, 0.15);
}

/* Reset and 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, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1.6;
  background-color: var(--w1e93-bg-light);
  color: var(--w1e93-text-dark);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Container */
.w1e93-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* Header */
.w1e93-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--w1e93-bg-dark) 0%, #2a3a5a 100%);
  box-shadow: 0 2px 10px var(--w1e93-shadow);
  z-index: 1000;
  padding: 0.8rem 0;
}

.w1e93-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

.w1e93-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--w1e93-text-light);
}

.w1e93-logo-icon {
  width: 32px;
  height: 32px;
  margin-right: 0.5rem;
}

.w1e93-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w1e93-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.w1e93-header-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.w1e93-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.w1e93-btn-register {
  background: linear-gradient(135deg, var(--w1e93-primary) 0%, var(--w1e93-secondary) 100%);
  color: var(--w1e93-text-light);
  box-shadow: 0 2px 8px rgba(255, 99, 71, 0.3);
}

.w1e93-btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 99, 71, 0.4);
}

.w1e93-btn-login {
  background: transparent;
  color: var(--w1e93-text-light);
  border: 2px solid var(--w1e93-accent);
}

.w1e93-btn-login:hover {
  background: var(--w1e93-accent);
  color: var(--w1e93-bg-dark);
}

.w1e93-hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10001;
}

.w1e93-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--w1e93-text-light);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.w1e93-hamburger-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.w1e93-hamburger-active span:nth-child(2) {
  opacity: 0;
}

.w1e93-hamburger-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.w1e93-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, var(--w1e93-bg-dark) 0%, #2a3a5a 100%);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 5rem 1.5rem 2rem;
  box-shadow: -2px 0 10px var(--w1e93-shadow);
}

.w1e93-menu-open {
  right: 0;
}

.w1e93-mobile-menu-link {
  display: block;
  padding: 1rem 0;
  color: var(--w1e93-text-light);
  text-decoration: none;
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.w1e93-mobile-menu-link:hover {
  color: var(--w1e93-accent);
  padding-left: 0.5rem;
}

.w1e93-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.w1e93-menu-open + .w1e93-menu-overlay {
  opacity: 1;
  visibility: visible;
}

/* Main Content */
.w1e93-main {
  margin-top: 60px;
  padding-bottom: 80px;
  min-height: 100vh;
}

/* Carousel */
.w1e93-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 12px;
  margin: 1rem 0;
  box-shadow: 0 4px 15px var(--w1e93-shadow);
}

.w1e93-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.w1e93-slide-active {
  display: block;
}

.w1e93-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w1e93-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(27, 38, 59, 0.7);
  color: var(--w1e93-text-light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.w1e93-carousel-btn:hover {
  background: var(--w1e93-primary);
}

.w1e93-carousel-prev {
  left: 10px;
}

.w1e93-carousel-next {
  right: 10px;
}

/* Section Styles */
.w1e93-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px var(--w1e93-shadow);
}

.w1e93-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w1e93-bg-dark);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.w1e93-section-title::before {
  content: '';
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--w1e93-primary) 0%, var(--w1e93-secondary) 100%);
  border-radius: 2px;
}

/* Game Grid */
.w1e93-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.w1e93-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.w1e93-game-item:hover {
  transform: scale(1.05);
}

.w1e93-game-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--w1e93-gray-light);
  margin-bottom: 0.4rem;
}

.w1e93-game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w1e93-game-name {
  font-size: 1rem;
  color: var(--w1e93-text-dark);
  text-align: center;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Content Cards */
.w1e93-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px var(--w1e93-shadow);
  border-left: 4px solid var(--w1e93-primary);
}

.w1e93-card h3 {
  font-size: 1.5rem;
  color: var(--w1e93-bg-dark);
  margin-bottom: 0.8rem;
}

.w1e93-card p {
  font-size: 1.3rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.w1e93-card ul,
.w1e93-card ol {
  margin-left: 1.5rem;
  margin-bottom: 0.8rem;
}

.w1e93-card li {
  font-size: 1.3rem;
  color: #555;
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

/* Featured Links */
.w1e93-featured-link {
  color: var(--w1e93-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.w1e93-featured-link:hover {
  color: var(--w1e93-secondary);
  text-decoration: underline;
}

/* Promotional Button */
.w1e93-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--w1e93-primary) 0%, var(--w1e93-secondary) 100%);
  color: var(--w1e93-text-light);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.4rem;
  margin: 1rem 0;
  box-shadow: 0 4px 15px rgba(255, 99, 71, 0.3);
  transition: all 0.3s ease;
  text-align: center;
}

.w1e93-promo-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 99, 71, 0.4);
}

/* Bottom Navigation */
.w1e93-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--w1e93-bg-dark) 0%, #0d1520 100%);
  box-shadow: 0 -2px 10px var(--w1e93-shadow);
  z-index: 1000;
  padding: 0.5rem 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
}

.w1e93-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--w1e93-text-light);
  min-width: 60px;
  min-height: 60px;
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 0.3rem;
}

.w1e93-nav-item:hover {
  background: rgba(64, 224, 208, 0.1);
  transform: scale(1.05);
}

.w1e93-nav-item.w1e93-active {
  color: var(--w1e93-accent);
}

.w1e93-nav-icon {
  font-size: 22px;
  margin-bottom: 2px;
}

.w1e93-nav-text {
  font-size: 10px;
  font-weight: 500;
}

/* Footer */
.w1e93-footer {
  background: var(--w1e93-bg-dark);
  color: var(--w1e93-text-light);
  padding: 2rem 0 1rem;
  margin-top: 2rem;
}

.w1e93-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.w1e93-footer-link {
  color: var(--w1e93-accent);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.w1e93-footer-link:hover {
  color: var(--w1e93-primary);
}

.w1e93-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.w1e93-partner-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.w1e93-partner-logo:hover {
  opacity: 1;
}

.w1e93-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: var(--w1e93-gray-medium);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Typography */
h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--w1e93-bg-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--w1e93-bg-dark);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Desktop Styles */
@media (min-width: 769px) {
  .w1e93-bottom-nav {
    display: none;
  }

  .w1e93-main {
    padding-bottom: 2rem;
  }
}

/* Utilities */
.w1e93-text-center {
  text-align: center;
}

.w1e93-mt-1 {
  margin-top: 1rem;
}

.w1e93-mb-1 {
  margin-bottom: 1rem;
}

.w1e93-mb-2 {
  margin-bottom: 2rem;
}
