/**
 * aajl - Main CSS styles
 * Mobile-first casino gaming website
 */

/* ======== ROOT VARIABLES & RESET ======== */
:root {
  --ge3f-primary: #4B0082; /* Primary purple */
  --ge3f-secondary: #FF9800; /* Accent orange */
  --ge3f-dark: #262626; /* Dark background */
  --ge3f-light: #FFFACD; /* Light text */
  --ge3f-gray: #E5E5E5; /* Gray text/borders */
  --ge3f-gradient: linear-gradient(135deg, var(--ge3f-primary), #8A2BE2);
  --ge3f-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --ge3f-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.3);
  --ge3f-shadow-lg: 0 6px 16px rgba(0, 0, 0, 0.4);
  --ge3f-radius-sm: 4px;
  --ge3f-radius-md: 8px;
  --ge3f-radius-lg: 12px;
  --ge3f-spacing-xs: 0.4rem;
  --ge3f-spacing-sm: 0.8rem;
  --ge3f-spacing-md: 1.6rem;
  --ge3f-spacing-lg: 2.4rem;
  --ge3f-spacing-xl: 3.2rem;
  font-size: 62.5%; /* Base 10px for easier rem calculations */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  background-color: var(--ge3f-dark);
  color: var(--ge3f-light);
  padding-bottom: 6.4rem; /* Space for mobile bottom nav */
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--ge3f-secondary);
  transition: all 0.2s ease;
}

a:hover {
  color: #FFB74D;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ======== TYPOGRAPHY ======== */
h1, .ge3f-h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
  color: var(--ge3f-light);
}

h2, .ge3f-h2 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--ge3f-secondary);
}

h3, .ge3f-h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--ge3f-light);
}

h4, .ge3f-h4 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--ge3f-secondary);
}

p, .ge3f-text {
  font-size: 1.6rem;
  line-height: 1.5;
  margin-bottom: 1.6rem;
}

.ge3f-text-sm {
  font-size: 1.4rem;
}

.ge3f-text-xs {
  font-size: 1.2rem;
}

.ge3f-text-lg {
  font-size: 1.8rem;
}

.ge3f-text-center {
  text-align: center;
}

.ge3f-text-right {
  text-align: right;
}

.ge3f-text-primary {
  color: var(--ge3f-primary);
}

.ge3f-text-secondary {
  color: var(--ge3f-secondary);
}

.ge3f-text-light {
  color: var(--ge3f-light);
}

.ge3f-text-gray {
  color: var(--ge3f-gray);
}

.ge3f-fw-bold {
  font-weight: 700;
}

.ge3f-fw-semi {
  font-weight: 600;
}

/* ======== LAYOUT ======== */
.ge3f-container {
  width: 100%;
  max-width: 430px;
  padding: 0 1.6rem;
  margin: 0 auto;
}

.ge3f-section {
  margin: 3.2rem 0;
}

.ge3f-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.8rem;
}

.ge3f-col {
  flex: 1;
  padding: 0 0.8rem;
}

.ge3f-col-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 0.8rem;
}

.ge3f-col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 0.8rem;
}

.ge3f-col-3 {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 0.8rem;
}

.ge3f-flex {
  display: flex;
}

.ge3f-flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ge3f-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ge3f-flex-column {
  display: flex;
  flex-direction: column;
}

.ge3f-my-1 {
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}

.ge3f-my-2 {
  margin-top: 1.6rem;
  margin-bottom: 1.6rem;
}

.ge3f-my-3 {
  margin-top: 2.4rem;
  margin-bottom: 2.4rem;
}

.ge3f-mb-1 {
  margin-bottom: 0.8rem;
}

.ge3f-mb-2 {
  margin-bottom: 1.6rem;
}

.ge3f-mb-3 {
  margin-bottom: 2.4rem;
}

.ge3f-mt-1 {
  margin-top: 0.8rem;
}

.ge3f-mt-2 {
  margin-top: 1.6rem;
}

.ge3f-mt-3 {
  margin-top: 2.4rem;
}

.ge3f-py-1 {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.ge3f-py-2 {
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}

.ge3f-py-3 {
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
}

/* ======== COMPONENTS ======== */

/* Header */
.ge3f-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--ge3f-dark);
  padding: 1.2rem 1.6rem;
  z-index: 100;
  box-shadow: var(--ge3f-shadow-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 6.4rem;
}

.ge3f-logo {
  display: flex;
  align-items: center;
}

.ge3f-logo img {
  width: 3.2rem;
  height: auto;
  margin-right: 0.8rem;
}

.ge3f-logo-text {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ge3f-secondary);
}

.ge3f-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 2.4rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.ge3f-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--ge3f-secondary);
  transition: all 0.3s ease;
}

.ge3f-menu-toggle.ge3f-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.ge3f-menu-toggle.ge3f-active span:nth-child(2) {
  opacity: 0;
}

.ge3f-menu-toggle.ge3f-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.ge3f-mobile-nav {
  position: fixed;
  top: 6.4rem;
  left: 0;
  right: 0;
  bottom: 6.4rem;
  background-color: rgba(38, 38, 38, 0.95);
  z-index: 99;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  overflow-y: auto;
}

.ge3f-mobile-nav.ge3f-active {
  transform: translateY(0);
}

.ge3f-nav-group {
  margin-bottom: 2rem;
}

.ge3f-nav-group-title {
  color: var(--ge3f-secondary);
  margin-bottom: 1rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.ge3f-nav-link {
  display: block;
  color: var(--ge3f-light);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.6rem;
}

.ge3f-nav-link:hover,
.ge3f-nav-link.ge3f-active {
  color: var(--ge3f-secondary);
}

.ge3f-header-buttons {
  display: flex;
  gap: 1rem;
}

/* Bottom Navigation */
.ge3f-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6.4rem;
  background-color: var(--ge3f-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 90;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.ge3f-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ge3f-gray);
  width: 20%;
}

.ge3f-bottom-nav-item i,
.ge3f-bottom-nav-item span {
  display: block;
  text-align: center;
}

.ge3f-bottom-nav-item i {
  font-size: 2.4rem;
  margin-bottom: 0.4rem;
}

.ge3f-bottom-nav-item span {
  font-size: 1.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ge3f-bottom-nav-item.ge3f-active,
.ge3f-bottom-nav-item:hover {
  color: var(--ge3f-secondary);
}

/* Buttons */
.ge3f-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--ge3f-secondary);
  color: var(--ge3f-dark);
  font-weight: 600;
  border-radius: var(--ge3f-radius-md);
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: var(--ge3f-shadow-sm);
  text-transform: uppercase;
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ge3f-btn:hover {
  background-color: #FFB74D;
  transform: translateY(-2px);
  box-shadow: var(--ge3f-shadow-md);
}

.ge3f-btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 1.4rem;
  min-height: 3.6rem;
}

.ge3f-btn-lg {
  padding: 1.2rem 2.4rem;
  font-size: 1.8rem;
  min-height: 5rem;
}

.ge3f-btn-block {
  display: block;
  width: 100%;
}

.ge3f-btn-primary {
  background-color: var(--ge3f-primary);
  color: var(--ge3f-light);
}

.ge3f-btn-primary:hover {
  background-color: #6B0AAB;
  color: var(--ge3f-light);
}

.ge3f-btn-outline {
  background-color: transparent;
  border: 2px solid var(--ge3f-secondary);
  color: var(--ge3f-secondary);
}

.ge3f-btn-outline:hover {
  background-color: var(--ge3f-secondary);
  color: var(--ge3f-dark);
}

/* Cards */
.ge3f-card {
  background-color: rgba(75, 0, 130, 0.2);
  border-radius: var(--ge3f-radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--ge3f-shadow-sm);
  border: 1px solid rgba(75, 0, 130, 0.5);
}

.ge3f-card-header {
  margin-bottom: 1.6rem;
}

.ge3f-card-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--ge3f-secondary);
}

.ge3f-card-footer {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Carousel */
.ge3f-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--ge3f-radius-md);
  margin: 2rem 0;
  height: 20rem;
}

.ge3f-carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.ge3f-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ge3f-slide.ge3f-active {
  opacity: 1;
  z-index: 1;
}

.ge3f-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ge3f-slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.6rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--ge3f-light);
  z-index: 2;
}

.ge3f-carousel-controls {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 3;
}

.ge3f-indicator {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ge3f-indicator.ge3f-active {
  background-color: var(--ge3f-secondary);
}

/* Game Grid */
.ge3f-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.ge3f-game-item {
  position: relative;
  cursor: pointer;
  border-radius: var(--ge3f-radius-sm);
  overflow: hidden;
  transition: transform 0.2s ease;
  aspect-ratio: 1/1;
}

.ge3f-game-item:hover {
  transform: translateY(-4px);
}

.ge3f-game-image {
  width: 100%;
  height: 100%;
}

.ge3f-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ge3f-game-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 0.8rem;
  font-size: 1.2rem;
  color: var(--ge3f-light);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ge3f-category-header {
  margin: 3rem 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ge3f-category-title {
  font-size: 2rem;
  color: var(--ge3f-secondary);
  font-weight: 600;
}

.ge3f-category-link {
  color: var(--ge3f-light);
  font-size: 1.4rem;
}

/* Feature Cards */
.ge3f-feature-card {
  display: flex;
  margin-bottom: 2rem;
  background: rgba(75, 0, 130, 0.1);
  border-radius: var(--ge3f-radius-md);
  overflow: hidden;
  box-shadow: var(--ge3f-shadow-sm);
}

.ge3f-feature-icon {
  flex: 0 0 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ge3f-primary);
}

.ge3f-feature-icon i {
  font-size: 2.4rem;
  color: var(--ge3f-light);
}

.ge3f-feature-content {
  padding: 1.6rem;
  flex: 1;
}

.ge3f-feature-title {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--ge3f-secondary);
}

/* Tables */
.ge3f-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.ge3f-table th,
.ge3f-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ge3f-table th {
  color: var(--ge3f-secondary);
  font-weight: 600;
}

.ge3f-table-striped tr:nth-child(odd) {
  background-color: rgba(75, 0, 130, 0.1);
}

/* Footer */
.ge3f-footer {
  padding: 3.2rem 0;
  background-color: var(--ge3f-dark);
  margin-top: 4rem;
}

.ge3f-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.ge3f-footer-link {
  color: var(--ge3f-gray);
  font-size: 1.4rem;
}

.ge3f-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin: 2rem 0;
  align-items: center;
}

.ge3f-partner-logo {
  width: 6rem;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.ge3f-partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

.ge3f-copyright {
  font-size: 1.2rem;
  color: var(--ge3f-gray);
  text-align: center;
  margin-top: 2rem;
}

/* Section Styles */
.ge3f-section-title {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--ge3f-secondary);
  text-align: center;
}

.ge3f-section-subtitle {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 2.4rem;
  color: var(--ge3f-gray);
}

.ge3f-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 3.2rem 0;
}

/* Animation Classes */
.ge3f-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.ge3f-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.ge3f-scale-in {
  animation: scaleIn 0.3s ease forwards;
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Utility Classes */
.ge3f-hidden {
  display: none;
}

.ge3f-relative {
  position: relative;
}

.ge3f-rounded {
  border-radius: var(--ge3f-radius-md);
}

.ge3f-shadow {
  box-shadow: var(--ge3f-shadow-md);
}

.ge3f-bg-primary {
  background-color: var(--ge3f-primary);
}

.ge3f-bg-secondary {
  background-color: var(--ge3f-secondary);
}

.ge3f-bg-dark {
  background-color: var(--ge3f-dark);
}

.ge3f-promo-badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background-color: var(--ge3f-secondary);
  color: var(--ge3f-dark);
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: var(--ge3f-radius-sm);
  text-transform: uppercase;
}

/* Media Queries */
@media (min-width: 768px) {
  .ge3f-container {
    max-width: 720px;
  }
  
  body {
    padding-bottom: 0;
  }
  
  .ge3f-bottom-nav {
    display: none;
  }
  
  .ge3f-game-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  h1, .ge3f-h1 {
    font-size: 3.6rem;
  }
  
  h2, .ge3f-h2 {
    font-size: 3rem;
  }
  
  h3, .ge3f-h3 {
    font-size: 2.4rem;
  }
  
  .ge3f-carousel {
    height: 30rem;
  }
} 