/**
 * Aceph Gaming Platform - Main Stylesheet
 * Mobile-first responsive design for casino gaming website
 * Color scheme: Orange (#FF8000), Dark Navy (#0E1621), Light Gray (#D3D3D3)
 */

/* ==================== CSS Variables ==================== */
:root {
  --w1c07-primary: #FF8000;
  --w1c07-primary-hover: #E67E00;
  --w1c07-primary-dark: #CC6B00;
  --w1c07-bg: #0E1621;
  --w1c07-bg-light: #1A1F2E;
  --w1c07-bg-lighter: #2A3139;
  --w1c07-text: #D3D3D3;
  --w1c07-text-dark: #A0A0A0;
  --w1c07-text-light: #FFFFFF;
  --w1c07-border: #3A4149;
  --w1c07-success: #4CAF50;
  --w1c07-warning: #FF9800;
  --w1c07-error: #F44336;
  --w1c07-info: #2196F3;
  --w1c07-font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --w1c07-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== Reset & Base Styles ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--w1c07-font-main);
  background-color: var(--w1c07-bg);
  color: var(--w1c07-text);
  line-height: 1.6;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==================== Typography ==================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--w1c07-text-light);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

a {
  color: var(--w1c07-primary);
  text-decoration: none;
  transition: var(--w1c07-transition);
}

a:hover {
  color: var(--w1c07-primary-hover);
  text-decoration: underline;
}

/* ==================== Header Navigation ==================== */
.w1c07-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--w1c07-bg-light);
  border-bottom: 2px solid var(--w1c07-primary);
  z-index: 1000;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.w1c07-header-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w1c07-text-light);
}

.w1c07-header-logo img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
}

.w1c07-header-nav {
  display: none;
  gap: 1rem;
}

.w1c07-header-buttons {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.w1c07-menu-toggle {
  background: none;
  border: none;
  color: var(--w1c07-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
}

.w1c07-menu-toggle:hover {
  color: var(--w1c07-primary-hover);
}

/* ==================== Header Buttons ==================== */
.w1c07-btn {
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  transition: var(--w1c07-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  gap: 0.5rem;
}

.w1c07-btn-primary {
  background-color: var(--w1c07-primary);
  color: var(--w1c07-bg);
  font-weight: 700;
}

.w1c07-btn-primary:hover {
  background-color: var(--w1c07-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 128, 0, 0.3);
}

.w1c07-btn-secondary {
  background-color: transparent;
  color: var(--w1c07-primary);
  border: 2px solid var(--w1c07-primary);
}

.w1c07-btn-secondary:hover {
  background-color: var(--w1c07-primary);
  color: var(--w1c07-bg);
}

/* ==================== Mobile Menu ==================== */
.w1c07-mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background-color: var(--w1c07-bg-light);
  flex-direction: column;
  border-bottom: 2px solid var(--w1c07-primary);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.w1c07-mobile-menu-item {
  padding: 1.2rem;
  border-bottom: 1px solid var(--w1c07-border);
  color: var(--w1c07-text);
  cursor: pointer;
  transition: var(--w1c07-transition);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 50px;
}

.w1c07-mobile-menu-item:hover {
  background-color: var(--w1c07-bg-lighter);
  color: var(--w1c07-primary);
}

.w1c07-mobile-menu-item i,
.w1c07-mobile-menu-item svg {
  font-size: 1.6rem;
  color: var(--w1c07-primary);
}

/* ==================== Main Container ==================== */
main {
  margin-top: 70px;
  padding: 2rem 1rem;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

.w1c07-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

.w1c07-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ==================== Carousel Section ==================== */
.w1c07-carousel {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(255, 128, 0, 0.2);
}

.w1c07-carousel-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.w1c07-carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  cursor: pointer;
}

.w1c07-carousel-slide.w1c07-active {
  opacity: 1;
}

.w1c07-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.w1c07-carousel-indicator {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.w1c07-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--w1c07-transition);
}

.w1c07-dot.w1c07-active {
  background-color: var(--w1c07-primary);
  width: 28px;
  border-radius: 5px;
}

/* ==================== Game List Styles ==================== */
.w1c07-game-section {
  margin-bottom: 2.5rem;
}

.w1c07-game-category-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w1c07-primary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--w1c07-primary);
}

.w1c07-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
}

.w1c07-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: var(--w1c07-transition);
  text-align: center;
}

.w1c07-game-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: var(--w1c07-transition);
}

.w1c07-game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.w1c07-game-item:hover .w1c07-game-icon {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(255, 128, 0, 0.3);
}

.w1c07-game-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--w1c07-text);
  text-decoration: none;
  word-wrap: break-word;
  transition: var(--w1c07-transition);
}

.w1c07-game-item:hover .w1c07-game-name {
  color: var(--w1c07-primary);
}

/* ==================== Content Sections ==================== */
.w1c07-content-section {
  background-color: var(--w1c07-bg-light);
  border-left: 4px solid var(--w1c07-primary);
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 2rem;
}

.w1c07-content-section h2 {
  color: var(--w1c07-primary);
  margin-bottom: 1rem;
}

.w1c07-content-section p {
  color: var(--w1c07-text);
  margin-bottom: 0.8rem;
}

/* ==================== Footer ==================== */
.w1c07-footer {
  background-color: var(--w1c07-bg-light);
  border-top: 2px solid var(--w1c07-primary);
  padding: 2rem 1rem;
  margin-top: 3rem;
  text-align: center;
}

.w1c07-footer-content {
  max-width: 430px;
  margin: 0 auto 1.5rem;
  font-size: 1.2rem;
  line-height: 1.6;
}

.w1c07-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.w1c07-footer-link {
  color: var(--w1c07-primary);
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--w1c07-transition);
}

.w1c07-footer-link:hover {
  color: var(--w1c07-primary-hover);
  text-decoration: underline;
}

.w1c07-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.w1c07-partner-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.7;
  transition: var(--w1c07-transition);
  filter: brightness(0.8);
}

.w1c07-partner-logo:hover {
  opacity: 1;
  filter: brightness(1);
}

.w1c07-footer-copyright {
  color: var(--w1c07-text-dark);
  font-size: 1.1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--w1c07-border);
}

/* ==================== Bottom Navigation (Mobile) ==================== */
.w1c07-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--w1c07-bg-light);
  border-top: 2px solid var(--w1c07-primary);
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 64px;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.3);
}

.w1c07-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  cursor: pointer;
  color: var(--w1c07-text);
  text-decoration: none;
  transition: var(--w1c07-transition);
  min-height: 64px;
  position: relative;
  font-size: 1rem;
}

.w1c07-bottom-nav-item i,
.w1c07-bottom-nav-item svg {
  font-size: 2.2rem;
  margin-bottom: 0.3rem;
  transition: var(--w1c07-transition);
}

.w1c07-bottom-nav-item:hover {
  background-color: var(--w1c07-bg-lighter);
  color: var(--w1c07-primary);
}

.w1c07-bottom-nav-item:hover i,
.w1c07-bottom-nav-item:hover svg {
  color: var(--w1c07-primary);
  transform: scale(1.1);
}

.w1c07-bottom-nav-item.w1c07-active-nav {
  color: var(--w1c07-primary);
}

.w1c07-bottom-nav-item.w1c07-active-nav i,
.w1c07-bottom-nav-item.w1c07-active-nav svg {
  color: var(--w1c07-primary);
}

.w1c07-bottom-nav-label {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
}

/* ==================== Utilities ==================== */
.w1c07-text-center {
  text-align: center;
}

.w1c07-mt-2 {
  margin-top: 2rem;
}

.w1c07-mb-2 {
  margin-bottom: 2rem;
}

.w1c07-hidden {
  display: none !important;
}

.w1c07-active {
  color: var(--w1c07-primary);
  font-weight: 700;
}

/* ==================== Responsive Design ==================== */

/* Tablets and larger devices */
@media (min-width: 769px) {
  .w1c07-bottom-nav {
    display: none !important;
  }

  .w1c07-menu-toggle {
    display: none;
  }

  .w1c07-header-nav {
    display: flex;
  }

  main {
    padding-bottom: 2rem;
  }

  .w1c07-header {
    justify-content: space-between;
    padding: 1rem 2rem;
  }

  .w1c07-container {
    padding: 0 2rem;
  }

  .w1c07-game-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  h1 {
    font-size: 2rem;
  }

  .w1c07-game-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }

  .w1c07-game-name {
    font-size: 1rem;
  }

  .w1c07-header {
    padding: 0.8rem;
  }

  .w1c07-header-logo {
    font-size: 1.4rem;
    gap: 0.5rem;
  }
}

/* ==================== Print Styles ==================== */
@media print {
  .w1c07-bottom-nav,
  .w1c07-header,
  .w1c07-menu-toggle {
    display: none !important;
  }
}

/* ==================== Animation Keyframes ==================== */
@keyframes w1c07-slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes w1c07-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.w1c07-animate-in {
  animation: w1c07-slideIn 0.6s ease-out;
}
