/* slot8 Main CSS Styles */
/* All classes use pg10- prefix to avoid conflicts */

/* CSS Variables */
:root {
  --pg10-primary: #EE82EE;
  --pg10-secondary: #FF9500;
  --pg10-accent: #D8BFD8;
  --pg10-light: #DDA0DD;
  --pg10-dark: #262626;
  --pg10-gray: #CCCCCC;
  --pg10-bg: #1a1a1a;
  --pg10-text: #ffffff;
  --pg10-border: rgba(238, 130, 238, 0.2);
  --pg10-shadow: rgba(238, 130, 238, 0.3);
  font-size: 62.5%; /* 1rem = 10px */
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--pg10-bg) 0%, #2a2a2a 100%);
  color: var(--pg10-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
}

/* Layout Components */
.pg10-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.pg10-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

.pg10-main {
  flex: 1;
  padding-bottom: 7rem; /* Space for bottom nav */
}

/* Header Styles */
.pg10-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pg10-border);
  z-index: 1000;
  padding: 1rem 0;
}

.pg10-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.4rem;
}

.pg10-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--pg10-primary);
  font-weight: bold;
  font-size: 1.8rem;
}

.pg10-logo img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.6rem;
}

.pg10-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.pg10-menu-toggle {
  background: none;
  border: none;
  color: var(--pg10-primary);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.4rem;
  transition: background-color 0.2s ease;
}

.pg10-menu-toggle:hover {
  background: rgba(238, 130, 238, 0.1);
}

/* Button Styles */
.pg10-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  background: linear-gradient(135deg, var(--pg10-primary) 0%, var(--pg10-secondary) 100%);
  color: white;
  text-decoration: none;
  border-radius: 2.2rem;
  font-weight: 600;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 4.4rem;
  justify-content: center;
}

.pg10-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--pg10-shadow);
}

.pg10-btn-small {
  padding: 0.6rem 1.2rem;
  font-size: 1.1rem;
  min-height: 3.6rem;
}

.pg10-btn-secondary {
  background: linear-gradient(135deg, var(--pg10-accent) 0%, var(--pg10-light) 100%);
  color: var(--pg10-dark);
}

/* Mobile Menu */
.pg10-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.pg10-menu-overlay.pg10-active {
  opacity: 1;
  visibility: visible;
}

.pg10-mobile-menu {
  position: fixed;
  top: 7.4rem;
  left: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--pg10-border);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 1002;
}

.pg10-mobile-menu.pg10-active {
  transform: translateY(0);
}

.pg10-menu-links {
  list-style: none;
  padding: 2rem 0;
}

.pg10-menu-links li {
  border-bottom: 1px solid rgba(238, 130, 238, 0.1);
}

.pg10-menu-links a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  color: var(--pg10-text);
  text-decoration: none;
  transition: all 0.2s ease;
}

.pg10-menu-links a:hover {
  background: rgba(238, 130, 238, 0.1);
  color: var(--pg10-primary);
}

.pg10-menu-links i {
  width: 2rem;
  font-size: 1.6rem;
  color: var(--pg10-primary);
}

/* Main Content */
.pg10-main {
  margin-top: 7.4rem;
  padding: 2rem 0;
}

/* Section Styles */
.pg10-section {
  margin-bottom: 3rem;
}

.pg10-section-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--pg10-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.pg10-section-title i {
  color: var(--pg10-secondary);
}

/* Carousel Styles */
.pg10-carousel {
  position: relative;
  width: 100%;
  height: 20rem;
  border-radius: 1.2rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

.pg10-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.pg10-slide.pg10-active {
  opacity: 1;
}

.pg10-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.2rem;
}

.pg10-carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
}

.pg10-indicator {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s ease;
}

.pg10-indicator.pg10-active {
  background: var(--pg10-primary);
}

/* Card Styles */
.pg10-card {
  background: rgba(238, 130, 238, 0.05);
  border: 1px solid var(--pg10-border);
  border-radius: 1.2rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.pg10-card-content h3 {
  color: var(--pg10-primary);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.pg10-card-content p {
  margin-bottom: 1rem;
  color: var(--pg10-gray);
  line-height: 1.6;
}

/* Game Grid */
.pg10-game-category {
  margin-bottom: 3rem;
}

.pg10-category-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--pg10-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.pg10-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.pg10-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(238, 130, 238, 0.05);
  border: 1px solid var(--pg10-border);
  border-radius: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pg10-game-item:hover {
  transform: translateY(-2px);
  background: rgba(238, 130, 238, 0.1);
  border-color: var(--pg10-primary);
}

.pg10-game-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.8rem;
  object-fit: cover;
}

.pg10-game-name {
  font-size: 1rem;
  color: var(--pg10-gray);
  text-align: center;
  line-height: 1.2;
}

/* Bottom Navigation */
.pg10-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--pg10-border);
  z-index: 1000;
  padding: 0.8rem 0;
}

.pg10-bottom-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

.pg10-bottom-nav a,
.pg10-bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--pg10-gray);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.6rem;
  transition: all 0.2s ease;
  min-width: 4.4rem;
  min-height: 4.4rem;
  justify-content: center;
}

.pg10-bottom-nav a:hover,
.pg10-bottom-nav button:hover,
.pg10-bottom-nav a.pg10-active,
.pg10-bottom-nav button.pg10-active {
  color: var(--pg10-primary);
  background: rgba(238, 130, 238, 0.1);
}

.pg10-bottom-nav i {
  font-size: 2rem;
}

.pg10-bottom-nav span {
  font-size: 1rem;
  font-weight: 500;
}

/* Footer */
.pg10-footer {
  background: rgba(26, 26, 26, 0.8);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.pg10-footer-content {
  text-align: center;
}

.pg10-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.pg10-footer-links a {
  color: var(--pg10-gray);
  text-decoration: none;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border-radius: 0.4rem;
  transition: color 0.2s ease;
}

.pg10-footer-links a:hover {
  color: var(--pg10-primary);
}

.pg10-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.pg10-partners img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.4rem;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.pg10-partners img:hover {
  opacity: 1;
}

.pg10-copyright {
  color: var(--pg10-gray);
  font-size: 1.1rem;
  margin-top: 2rem;
}

/* Utility Classes */
.pg10-text-center {
  text-align: center;
}

.pg10-text-primary {
  color: var(--pg10-primary);
}

.pg10-text-secondary {
  color: var(--pg10-secondary);
}

.pg10-mb-1 { margin-bottom: 1rem; }
.pg10-mb-2 { margin-bottom: 2rem; }
.pg10-mb-3 { margin-bottom: 3rem; }

.pg10-mt-1 { margin-top: 1rem; }
.pg10-mt-2 { margin-top: 2rem; }
.pg10-mt-3 { margin-top: 3rem; }

/* Responsive Design */
@media (max-width: 480px) {
  .pg10-container {
    padding: 0 0.8rem;
  }
  
  .pg10-game-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }
  
  .pg10-game-icon {
    width: 3.5rem;
    height: 3.5rem;
  }
  
  .pg10-card {
    padding: 1.5rem;
  }
}

/* Loading and Animation Classes */
.pg10-fade-in {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.pg10-lazy {
  filter: blur(5px);
  transition: filter 0.3s ease;
}

.pg10-loaded {
  filter: blur(0);
}