/**
 * Orion Game - Core Stylesheet
 * Prefix: pg7a-
 * Color Palette: #141414 | #34495E | #808080 | #9400D3 | #8B008B | #F8F8FF
 */

/* Root variables */
:root {
  --pg7a-bg: #141414;
  --pg7a-bg-secondary: #34495E;
  --pg7a-muted: #808080;
  --pg7a-primary: #9400D3;
  --pg7a-primary-dark: #8B008B;
  --pg7a-text: #F8F8FF;
  --pg7a-text-dim: #a0a0b0;
  --pg7a-radius: 10px;
  --pg7a-radius-sm: 6px;
  --pg7a-shadow: 0 4px 20px rgba(0,0,0,0.5);
  --pg7a-transition: all 0.3s ease;
  font-size: 62.5%;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--pg7a-bg);
  color: var(--pg7a-text);
  line-height: 1.5rem;
  font-size: 1.6rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--pg7a-primary); text-decoration: none; transition: var(--pg7a-transition); }
a:hover { color: var(--pg7a-text); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ==================== HEADER ==================== */
.pg7a-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #141414 0%, #1a1a2e 100%);
  border-bottom: 1px solid rgba(148,0,211,0.3);
  padding: 0 1.2rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 430px;
  margin: 0 auto;
}
.pg7a-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.pg7a-header-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--pg7a-primary);
}
.pg7a-header-brand {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pg7a-primary), #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
.pg7a-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pg7a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: var(--pg7a-radius-sm);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--pg7a-transition);
  min-height: 36px;
  min-width: 44px;
  position: relative;
  overflow: hidden;
}
.pg7a-btn-register {
  background: linear-gradient(135deg, var(--pg7a-primary), var(--pg7a-primary-dark));
  color: var(--pg7a-text);
}
.pg7a-btn-register:hover {
  background: linear-gradient(135deg, var(--pg7a-primary-dark), var(--pg7a-primary));
  transform: scale(1.05);
}
.pg7a-btn-login {
  background: transparent;
  color: var(--pg7a-text);
  border: 1px solid var(--pg7a-primary);
}
.pg7a-btn-login:hover {
  background: rgba(148,0,211,0.15);
}
.pg7a-menu-toggle {
  background: none;
  border: none;
  color: var(--pg7a-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==================== MOBILE MENU ==================== */
.pg7a-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--pg7a-transition);
}
.pg7a-overlay-active {
  opacity: 1;
  visibility: visible;
}
.pg7a-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, #1a1a2e, #141414);
  z-index: 9999;
  transition: right 0.35s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.pg7a-menu-active {
  right: 0;
}
.pg7a-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148,0,211,0.2);
}
.pg7a-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pg7a-primary);
}
.pg7a-menu-close {
  background: none;
  border: none;
  color: var(--pg7a-text);
  font-size: 2.4rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.pg7a-menu-links a {
  display: block;
  padding: 1.2rem 1rem;
  color: var(--pg7a-text);
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--pg7a-transition);
}
.pg7a-menu-links a:hover {
  background: rgba(148,0,211,0.15);
  padding-left: 1.5rem;
  color: var(--pg7a-primary);
}

/* ==================== MAIN CONTENT ==================== */
.pg7a-main {
  padding-top: 56px;
  padding-bottom: 1rem;
}
@media (max-width: 768px) {
  .pg7a-main { padding-bottom: 80px; }
}

/* ==================== CAROUSEL ==================== */
.pg7a-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--pg7a-radius) var(--pg7a-radius);
}
.pg7a-carousel-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.pg7a-slide-active {
  display: block;
}
.pg7a-carousel-slide img {
  width: 100%;
  height: auto;
  min-height: 180px;
  object-fit: cover;
}
.pg7a-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.pg7a-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--pg7a-transition);
  border: none;
}
.pg7a-dot-active {
  background: var(--pg7a-primary);
  width: 24px;
  border-radius: 4px;
}

/* ==================== SECTIONS ==================== */
.pg7a-section {
  padding: 2rem 1.2rem;
}
.pg7a-section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--pg7a-text);
  position: relative;
  padding-left: 12px;
}
.pg7a-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: linear-gradient(180deg, var(--pg7a-primary), var(--pg7a-primary-dark));
  border-radius: 2px;
}
.pg7a-section-desc {
  color: var(--pg7a-text-dim);
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ==================== GAME GRID ==================== */
.pg7a-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.pg7a-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--pg7a-transition);
  border-radius: var(--pg7a-radius-sm);
  padding: 6px;
}
.pg7a-game-item:hover {
  background: rgba(148,0,211,0.1);
  transform: translateY(-2px);
}
.pg7a-game-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--pg7a-radius-sm);
  object-fit: cover;
  border: 1px solid rgba(148,0,211,0.2);
  margin-bottom: 4px;
}
.pg7a-game-name {
  font-size: 1.1rem;
  color: var(--pg7a-text-dim);
  text-align: center;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ==================== CARDS ==================== */
.pg7a-card {
  background: var(--pg7a-bg-secondary);
  border-radius: var(--pg7a-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(148,0,211,0.15);
  box-shadow: var(--pg7a-shadow);
}
.pg7a-card-title {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--pg7a-text);
}
.pg7a-card-text {
  font-size: 1.4rem;
  color: var(--pg7a-text-dim);
  line-height: 1.6;
}

/* ==================== PROMO BUTTONS ==================== */
.pg7a-btn-promo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pg7a-primary), var(--pg7a-primary-dark));
  color: var(--pg7a-text);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 1.2rem 2.4rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--pg7a-transition);
  min-height: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(148,0,211,0.4);
}
.pg7a-btn-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(148,0,211,0.6);
}
.pg7a-btn-promo .pg7a-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: pg7a-ripple-anim 0.6s linear;
}
@keyframes pg7a-ripple-anim {
  to { transform: scale(4); opacity: 0; }
}
.pg7a-promo-text {
  color: var(--pg7a-primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(148,0,211,0.3);
  text-underline-offset: 3px;
}
.pg7a-promo-text:hover {
  color: #c084fc;
}

/* ==================== BOTTOM NAV ==================== */
.pg7a-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a1a2e, #0d0d1a);
  border-top: 1px solid rgba(148,0,211,0.3);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 4px;
}
.pg7a-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--pg7a-muted);
  cursor: pointer;
  transition: var(--pg7a-transition);
  border-radius: 12px;
  padding: 4px 8px;
  position: relative;
}
.pg7a-bottom-nav-btn i,
.pg7a-bottom-nav-btn .material-icons-outlined,
.pg7a-bottom-nav-btn ion-icon {
  font-size: 22px;
  margin-bottom: 2px;
}
.pg7a-bottom-nav-btn span {
  font-size: 1rem;
  line-height: 1.1;
}
.pg7a-bottom-nav-btn:hover,
.pg7a-nav-active {
  color: var(--pg7a-primary);
  background: rgba(148,0,211,0.1);
}
.pg7a-nav-active::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: var(--pg7a-primary);
  border-radius: 0 0 3px 3px;
}

/* ==================== FOOTER ==================== */
.pg7a-footer {
  background: linear-gradient(180deg, #1a1a2e, #0a0a15);
  padding: 2.5rem 1.2rem 1.5rem;
  border-top: 1px solid rgba(148,0,211,0.15);
}
.pg7a-footer-brand {
  font-size: 1.4rem;
  color: var(--pg7a-text-dim);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.pg7a-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}
.pg7a-footer-promo-btn {
  background: rgba(148,0,211,0.15);
  color: var(--pg7a-primary);
  border: 1px solid rgba(148,0,211,0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--pg7a-transition);
}
.pg7a-footer-promo-btn:hover {
  background: var(--pg7a-primary);
  color: var(--pg7a-text);
}
.pg7a-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 1.5rem;
}
.pg7a-footer-links a {
  font-size: 1.3rem;
  color: var(--pg7a-muted);
}
.pg7a-footer-links a:hover {
  color: var(--pg7a-primary);
}
.pg7a-footer-copy {
  font-size: 1.2rem;
  color: var(--pg7a-muted);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ==================== UTILITIES ==================== */
.pg7a-container { width: 100%; max-width: 430px; margin: 0 auto; }
.pg7a-wrapper { padding: 0 1.2rem; }
.pg7a-text-center { text-align: center; }
.pg7a-mt-1 { margin-top: 1rem; }
.pg7a-mt-2 { margin-top: 2rem; }
.pg7a-mb-1 { margin-bottom: 1rem; }
.pg7a-mb-2 { margin-bottom: 2rem; }
.pg7a-hidden { display: none; }

/* ==================== FAQ ==================== */
.pg7a-faq-item {
  border-bottom: 1px solid rgba(148,0,211,0.1);
  padding: 1.2rem 0;
}
.pg7a-faq-q {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pg7a-text);
  margin-bottom: 0.5rem;
}
.pg7a-faq-a {
  font-size: 1.4rem;
  color: var(--pg7a-text-dim);
  line-height: 1.6;
}

/* ==================== TESTIMONIALS ==================== */
.pg7a-testimonial {
  background: rgba(148,0,211,0.05);
  border-radius: var(--pg7a-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--pg7a-primary);
}
.pg7a-testimonial-text {
  font-size: 1.3rem;
  color: var(--pg7a-text-dim);
  font-style: italic;
  line-height: 1.5;
}
.pg7a-testimonial-author {
  font-size: 1.2rem;
  color: var(--pg7a-primary);
  margin-top: 0.5rem;
}

/* ==================== DESKTOP ==================== */
@media (min-width: 769px) {
  .pg7a-bottom-nav { display: none; }
  .pg7a-main { padding-bottom: 0; }
  .pg7a-header { max-width: 100%; }
  .pg7a-footer { max-width: 100%; }
}
