/* 365JL Casino Online - Layout Styles with v2e3- prefix */
/* Color Scheme: Plum Purple (#DDA0DD) and Dark Blue (#212F3D) */

:root {
  --v2e3-primary: #DDA0DD;
  --v2e3-dark: #212F3D;
  --v2e3-light: #F8F9FA;
  --v2e3-text: #FFFFFF;
  --v2e3-shadow: rgba(221, 160, 221, 0.2);
  --v2e3-gradient: linear-gradient(135deg, #DDA0DD 0%, #BA68C8 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--v2e3-dark);
  color: var(--v2e3-text);
  line-height: 1.6;
  min-height: 100vh;
}

.v2e3-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem 5rem;
}

/* Header Styles */
.v2e3-header {
  background: var(--v2e3-dark);
  border-bottom: 2px solid var(--v2e3-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px var(--v2e3-shadow);
}

.v2e3-nav {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.v2e3-logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.v2e3-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.v2e3-site-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--v2e3-primary);
}

.v2e3-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Button Styles */
.v2e3-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.v2e3-btn-primary {
  background: var(--v2e3-gradient);
  color: white;
}

.v2e3-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--v2e3-shadow);
}

.v2e3-btn-secondary {
  background: transparent;
  color: var(--v2e3-primary);
  border: 2px solid var(--v2e3-primary);
}

.v2e3-btn-secondary:hover {
  background: var(--v2e3-primary);
  color: var(--v2e3-dark);
}

.v2e3-menu-toggle {
  background: transparent;
  border: none;
  color: var(--v2e3-primary);
  font-size: 1.5rem;
  cursor: pointer;
  display: block;
}

/* Mobile Navigation */
.v2e3-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 200;
}

.v2e3-nav-overlay.v2e3-active {
  opacity: 1;
  visibility: visible;
}

.v2e3-mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: var(--v2e3-dark);
  border-left: 3px solid var(--v2e3-primary);
  transition: right 0.3s ease;
  z-index: 201;
  overflow-y: auto;
}

.v2e3-mobile-nav.v2e3-active {
  right: 0;
}

.v2e3-mobile-nav ul {
  list-style: none;
  padding: 2rem 0;
}

.v2e3-mobile-nav li {
  border-bottom: 1px solid rgba(221, 160, 221, 0.1);
}

.v2e3-mobile-nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: var(--v2e3-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.v2e3-mobile-nav a:hover {
  background: rgba(221, 160, 221, 0.1);
  color: var(--v2e3-primary);
  padding-left: 2rem;
}

.v2e3-mobile-nav i {
  font-size: 1.2rem;
  color: var(--v2e3-primary);
}

/* Main Content */
.v2e3-main {
  padding-top: 1rem;
}

h1 {
  font-size: 1.75rem;
  color: var(--v2e3-primary);
  margin-bottom: 1.5rem;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
  font-size: 1.5rem;
  color: var(--v2e3-primary);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  color: var(--v2e3-primary);
  margin-bottom: 0.75rem;
}

/* Card Styles */
.v2e3-card {
  background: linear-gradient(135deg, rgba(221, 160, 221, 0.05) 0%, rgba(33, 47, 61, 0.8) 100%);
  border: 1px solid rgba(221, 160, 221, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.v2e3-card-text {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

/* List Styles */
.v2e3-list {
  list-style: none;
  padding-left: 0;
}

.v2e3-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid rgba(221, 160, 221, 0.1);
}

.v2e3-list li:before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--v2e3-primary);
  font-weight: bold;
}

.v2e3-list li strong {
  color: var(--v2e3-primary);
}

/* Carousel Styles */
.v2e3-carousel {
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
}

.v2e3-carousel-container {
  position: relative;
  height: 200px;
  background: rgba(221, 160, 221, 0.05);
}

.v2e3-carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  background: var(--v2e3-gradient);
}

.v2e3-carousel-slide.v2e3-active {
  opacity: 1;
}

.v2e3-carousel-slide h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.v2e3-carousel-slide p {
  font-size: 1rem;
  color: white;
  margin-bottom: 1rem;
}

.v2e3-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.v2e3-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.v2e3-carousel-dot.v2e3-active {
  background: white;
  width: 24px;
  border-radius: 5px;
}

/* Game Grid */
.v2e3-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.v2e3-game-item {
  background: rgba(221, 160, 221, 0.05);
  border: 1px solid rgba(221, 160, 221, 0.2);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.v2e3-game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px var(--v2e3-shadow);
  border-color: var(--v2e3-primary);
  background: rgba(221, 160, 221, 0.1);
}

.v2e3-game-icon {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  object-fit: cover;
}

.v2e3-game-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--v2e3-text);
}

/* Link Button */
.v2e3-link-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--v2e3-gradient);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  margin: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.v2e3-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--v2e3-shadow);
}

/* Text Utilities */
.v2e3-text-center {
  text-align: center;
}

.v2e3-mt-2 {
  margin-top: 2rem;
}

/* Section Styles */
.v2e3-section {
  margin: 2rem 0;
}

/* Footer Styles */
.v2e3-footer {
  background: rgba(33, 47, 61, 0.95);
  border-top: 2px solid var(--v2e3-primary);
  padding: 2rem 0;
  margin-top: 3rem;
}

.v2e3-footer-section {
  margin-bottom: 2rem;
}

.v2e3-footer-title {
  color: var(--v2e3-primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.v2e3-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.v2e3-footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.v2e3-footer-link:hover {
  color: var(--v2e3-primary);
}

.v2e3-partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: center;
}

.v2e3-partner-logo {
  width: 100%;
  height: 40px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.v2e3-partner-logo:hover {
  opacity: 1;
}

.v2e3-copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(221, 160, 221, 0.2);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Bottom Navigation Bar */
.v2e3-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--v2e3-dark);
  border-top: 2px solid var(--v2e3-primary);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  z-index: 99;
}

.v2e3-bottom-nav-container {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 0;
}

.v2e3-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.5rem;
  flex: 1;
}

.v2e3-bottom-nav-item:hover {
  color: var(--v2e3-primary);
  transform: translateY(-2px);
}

.v2e3-bottom-nav-icon {
  font-size: 1.5rem;
}

.v2e3-bottom-nav-label {
  font-size: 0.75rem;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 430px) {
  .v2e3-container {
    padding: 0 0.75rem 5rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .v2e3-game-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .v2e3-game-icon {
    width: 70px;
    height: 70px;
  }

  .v2e3-partners {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Animation keyframes */
@keyframes v2e3FadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.v2e3-fade-in {
  animation: v2e3FadeIn 0.5s ease;
}
