/**
 * Playtime Casino Kelowna - Core Stylesheet
 * Class prefix: v38e-
 * Color palette: #2C2C2C | #2C3E50 | #696969 | #95A5A6 | #495057
 */

/* CSS Variables */
:root {
  --v38e-primary: #2C3E50;
  --v38e-bg: #2C2C2C;
  --v38e-bg-light: #353535;
  --v38e-bg-card: #3a3a3a;
  --v38e-text: #95A5A6;
  --v38e-text-light: #e0e0e0;
  --v38e-accent: #495057;
  --v38e-highlight: #5a9fd4;
  --v38e-gold: #d4a843;
  --v38e-green: #4CAF50;
  --v38e-red: #e74c3c;
  --v38e-radius: 8px;
  --v38e-radius-lg: 12px;
  --v38e-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --v38e-transition: all 0.3s ease;
  font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--v38e-bg);
  color: var(--v38e-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--v38e-highlight); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.v38e-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--v38e-primary);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  max-width: 430px; margin: 0 auto;
}
.v38e-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1rem; min-height: 48px;
}
.v38e-logo-area {
  display: flex; align-items: center; gap: 0.6rem;
  cursor: pointer;
}
.v38e-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.v38e-logo-text { color: var(--v38e-text-light); font-size: 1.3rem; font-weight: 700; white-space: nowrap; }
.v38e-header-btns { display: flex; gap: 0.5rem; align-items: center; }
.v38e-btn-register {
  background: var(--v38e-green); color: #fff; border: none;
  padding: 0.5rem 1.2rem; border-radius: var(--v38e-radius);
  font-size: 1.2rem; font-weight: 700; cursor: pointer;
  transition: var(--v38e-transition);
}
.v38e-btn-register:hover { background: #45a049; transform: scale(1.05); }
.v38e-btn-login {
  background: transparent; color: var(--v38e-gold); border: 1px solid var(--v38e-gold);
  padding: 0.5rem 1rem; border-radius: var(--v38e-radius);
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  transition: var(--v38e-transition);
}
.v38e-btn-login:hover { background: rgba(212,168,67,0.15); }
.v38e-menu-toggle {
  background: none; border: none; color: var(--v38e-text-light);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center;
}

/* Mobile Menu */
.v38e-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
  opacity: 0; visibility: hidden; transition: var(--v38e-transition);
}
.v38e-overlay-active { opacity: 1; visibility: visible; }
.v38e-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px;
  height: 100vh; background: var(--v38e-primary); z-index: 9999;
  transition: right 0.3s ease; overflow-y: auto;
  padding: 2rem 1.5rem;
}
.v38e-menu-active { right: 0; }
.v38e-menu-close {
  background: none; border: none; color: var(--v38e-text-light);
  font-size: 2.4rem; cursor: pointer; position: absolute;
  top: 1rem; right: 1rem;
}
.v38e-menu-title {
  color: var(--v38e-gold); font-size: 1.6rem; font-weight: 700;
  margin-bottom: 2rem; padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.v38e-menu-list { list-style: none; }
.v38e-menu-list li { margin-bottom: 0.3rem; }
.v38e-menu-list a {
  display: block; padding: 1rem 0.8rem; color: var(--v38e-text-light);
  font-size: 1.3rem; border-radius: var(--v38e-radius);
  transition: var(--v38e-transition);
}
.v38e-menu-list a:hover { background: rgba(255,255,255,0.08); text-decoration: none; }

/* Main Content */
.v38e-main {
  padding-top: 60px;
  max-width: 430px; margin: 0 auto;
}

/* Carousel */
.v38e-carousel { position: relative; overflow: hidden; border-radius: 0 0 var(--v38e-radius) var(--v38e-radius); }
.v38e-slide {
  display: none; cursor: pointer; position: relative;
}
.v38e-slide-active { display: block; }
.v38e-slide img { width: 100%; height: auto; min-height: 160px; object-fit: cover; }

/* Section */
.v38e-section {
  padding: 1.5rem 1rem;
}
.v38e-section-title {
  color: var(--v38e-text-light); font-size: 1.6rem; font-weight: 700;
  margin-bottom: 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--v38e-highlight);
  display: inline-block;
}
.v38e-section-title i { margin-right: 0.5rem; }

/* Game Grid */
.v38e-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem;
}
.v38e-game-item {
  text-align: center; cursor: pointer;
  transition: var(--v38e-transition);
  border-radius: var(--v38e-radius); padding: 0.5rem;
}
.v38e-game-item:hover { transform: translateY(-3px); background: var(--v38e-bg-card); }
.v38e-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: var(--v38e-radius);
  object-fit: cover; margin-bottom: 0.4rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.v38e-game-name {
  font-size: 1.1rem; color: var(--v38e-text); line-height: 1.3rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.v38e-cat-label {
  color: var(--v38e-highlight); font-size: 1.3rem; font-weight: 600;
  margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem;
}

/* Content Cards */
.v38e-card {
  background: var(--v38e-bg-card); border-radius: var(--v38e-radius-lg);
  padding: 1.5rem; margin-bottom: 1.2rem; box-shadow: var(--v38e-shadow);
}
.v38e-card h2 { color: var(--v38e-text-light); font-size: 1.5rem; margin-bottom: 1rem; }
.v38e-card h3 { color: var(--v38e-gold); font-size: 1.3rem; margin: 1rem 0 0.5rem; }
.v38e-card p { color: var(--v38e-text); margin-bottom: 0.8rem; line-height: 1.6rem; }

/* Promo Button */
.v38e-promo-btn {
  display: inline-block; background: linear-gradient(135deg, var(--v38e-green), #2e7d32);
  color: #fff; padding: 1rem 2rem; border-radius: var(--v38e-radius-lg);
  font-size: 1.4rem; font-weight: 700; cursor: pointer;
  transition: var(--v38e-transition); border: none;
  text-align: center; width: 100%; margin: 1rem 0;
}
.v38e-promo-btn:hover { transform: scale(1.03); box-shadow: 0 4px 16px rgba(76,175,80,0.4); }
.v38e-promo-link {
  color: var(--v38e-highlight); font-weight: 700; cursor: pointer;
  border-bottom: 1px dashed var(--v38e-highlight);
}
.v38e-promo-link:hover { color: var(--v38e-gold); border-color: var(--v38e-gold); }

/* Footer */
.v38e-footer {
  background: var(--v38e-primary); padding: 2rem 1rem 1rem;
  margin-top: 2rem; border-top: 2px solid var(--v38e-highlight);
}
.v38e-footer-brand { color: var(--v38e-text); font-size: 1.2rem; line-height: 1.6rem; margin-bottom: 1.5rem; }
.v38e-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; justify-content: center;
}
.v38e-footer-link {
  background: var(--v38e-bg-card); color: var(--v38e-text-light);
  padding: 0.5rem 1rem; border-radius: var(--v38e-radius);
  font-size: 1.1rem; transition: var(--v38e-transition);
}
.v38e-footer-link:hover { background: var(--v38e-highlight); text-decoration: none; color: #fff; }
.v38e-site-links { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-bottom: 1rem; }
.v38e-site-links a { color: var(--v38e-text); font-size: 1.1rem; }
.v38e-site-links a:hover { color: var(--v38e-highlight); }
.v38e-copyright {
  text-align: center; color: var(--v38e-accent); font-size: 1.1rem;
  padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08);
}

/* Bottom Navigation */
.v38e-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000; background: var(--v38e-primary);
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: 430px; margin: 0 auto;
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; padding: 0 0.3rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.v38e-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 60px;
  background: none; border: none; cursor: pointer;
  color: var(--v38e-text); transition: var(--v38e-transition);
  padding: 0.4rem 0;
}
.v38e-bottom-nav-btn:hover, .v38e-bottom-active {
  color: var(--v38e-highlight); transform: scale(1.1);
}
.v38e-bottom-nav-btn i, .v38e-bottom-nav-btn span.material-symbols-outlined {
  font-size: 22px; margin-bottom: 2px;
}
.v38e-bottom-nav-btn ion-icon { font-size: 24px; margin-bottom: 2px; }
.v38e-bottom-nav-label { font-size: 1rem; line-height: 1.2rem; }

/* Utility */
.v38e-text-center { text-align: center; }
.v38e-mt-1 { margin-top: 1rem; }
.v38e-mb-1 { margin-bottom: 1rem; }
.v38e-highlight-text { color: var(--v38e-highlight); font-weight: 600; }
.v38e-gold-text { color: var(--v38e-gold); font-weight: 600; }
.v38e-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 1.5rem 0; }

/* Responsive */
@media (max-width: 768px) {
  .v38e-main { padding-bottom: 80px; }
}
@media (min-width: 769px) {
  .v38e-bottom-nav { display: none; }
  .v38e-menu-toggle { display: none; }
  .v38e-main { max-width: 430px; }
}
