/*
 * arion games - Core Stylesheet
 * Mobile-first gaming website design (max-width 430px)
 * All custom classes use the g066- prefix
 * Palette: #0C0C0C (bg) | #999999 (muted text) | #4A4A4A (secondary)
 * Root font 62.5% -> 1rem = 10px
 */

:root {
  --g066-bg: #0C0C0C;
  --g066-bg-alt: #141414;
  --g066-bg-card: #1c1c1c;
  --g066-text: #ffffff;
  --g066-muted: #999999;
  --g066-secondary: #4A4A4A;
  --g066-accent: #e8b339;
  --g066-accent-alt: #d4af37;
  --g066-danger: #e0413b;
  --g066-success: #2ecc71;
  --g066-border: #2a2a2a;
  --g066-radius: 10px;
  --g066-radius-sm: 6px;
  --g066-shadow: 0 4px 18px rgba(0,0,0,0.45);
  --g066-header-h: 56px;
  --g066-bottom-h: 60px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--g066-bg);
  color: var(--g066-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--g066-accent); text-decoration: none; }
a:hover { color: var(--g066-accent-alt); text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ===== Layout containers ===== */
.g066-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.g066-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.g066-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--g066-border);
}

.g066-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g066-text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.g066-section-title i,
.g066-section-title .material-icons-outlined {
  color: var(--g066-accent);
  font-size: 2rem;
}

.g066-lead {
  color: var(--g066-muted);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

/* ===== Header ===== */
.g066-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--g066-header-h);
  background: var(--g066-bg);
  border-bottom: 1px solid var(--g066-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.g066-header-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.g066-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--g066-text);
  font-weight: 800;
  font-size: 1.6rem;
  text-decoration: none;
}

.g066-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.g066-brand:hover { text-decoration: none; color: var(--g066-text); }

.g066-brand .g066-brand-accent {
  color: var(--g066-accent);
}

.g066-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.g066-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0 1.2rem;
  border: none;
  border-radius: var(--g066-radius-sm);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.g066-btn:active { transform: scale(0.96); }

.g066-btn-primary {
  background: linear-gradient(135deg, var(--g066-accent), var(--g066-accent-alt));
  color: #1a1300;
}

.g066-btn-primary:hover {
  background: linear-gradient(135deg, var(--g066-accent-alt), var(--g066-accent));
  color: #1a1300;
  text-decoration: none;
}

.g066-btn-secondary {
  background: transparent;
  color: var(--g066-text);
  border: 1px solid var(--g066-secondary);
}

.g066-btn-secondary:hover {
  background: var(--g066-bg-card);
  color: var(--g066-text);
  text-decoration: none;
  border-color: var(--g066-accent);
}

.g066-btn-block {
  width: 100%;
  min-height: 44px;
  font-size: 1.5rem;
}

.g066-btn-lg {
  min-height: 48px;
  font-size: 1.6rem;
  padding: 0 1.8rem;
}

/* Menu toggle button */
.g066-menu-toggle {
  background: transparent;
  border: none;
  color: var(--g066-text);
  font-size: 2rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 6px;
}

.g066-menu-toggle:hover { background: var(--g066-bg-card); }
.g066-menu-toggle.g066-active { color: var(--g066-accent); }

/* ===== Mobile slide-down menu ===== */
.g066-mobile-menu {
  position: fixed;
  top: var(--g066-header-h);
  left: 0; right: 0;
  background: var(--g066-bg-alt);
  border-bottom: 1px solid var(--g066-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 9999;
}

.g066-mobile-menu.g066-menu-open {
  max-height: 480px;
  box-shadow: var(--g066-shadow);
}

.g066-mobile-menu-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 1rem 1.2rem;
}

.g066-mobile-menu a {
  display: block;
  padding: 1rem 0.6rem;
  color: var(--g066-text);
  border-bottom: 1px solid var(--g066-border);
  font-size: 1.4rem;
}

.g066-mobile-menu a:hover {
  color: var(--g066-accent);
  text-decoration: none;
}

.g066-mobile-menu a:last-child { border-bottom: none; }

/* ===== Main content ===== */
.g066-main {
  padding-top: calc(var(--g066-header-h) + 1rem);
  padding-bottom: 1rem;
}

/* ===== Hero / Carousel ===== */
.g066-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--g066-radius);
  overflow: hidden;
  background: var(--g066-bg-card);
  box-shadow: var(--g066-shadow);
  margin-bottom: 1.5rem;
}

.g066-slide {
  display: none;
  position: relative;
  cursor: pointer;
}

.g066-slide.g066-active { display: block; }

.g066-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.g066-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: var(--g066-text);
}

.g066-slide-caption h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.g066-slide-caption p {
  font-size: 1.2rem;
  color: var(--g066-muted);
}

.g066-carousel-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.g066-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
}

.g066-dot.g066-active { background: var(--g066-accent); }

/* ===== H1 heading ===== */
.g066-h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--g066-text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.g066-h1 .g066-h1-accent { color: var(--g066-accent); }

.g066-subtitle {
  color: var(--g066-muted);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

/* ===== Game grid ===== */
.g066-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.g066-game-card {
  background: var(--g066-bg-card);
  border: 1px solid var(--g066-border);
  border-radius: var(--g066-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  text-align: center;
}

.g066-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--g066-accent);
}

.g066-game-card:active { transform: scale(0.97); }

.g066-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}

.g066-game-card .g066-game-name {
  display: block;
  padding: 0.4rem 0.3rem;
  font-size: 1.1rem;
  color: var(--g066-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.g066-game-card:hover .g066-game-name {
  color: var(--g066-accent);
}

.g066-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.5rem 0 0.8rem;
}

.g066-category-head h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g066-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.g066-category-head .g066-cat-icon {
  color: var(--g066-accent);
  font-size: 1.8rem;
}

.g066-category-head .g066-cat-count {
  font-size: 1.1rem;
  color: var(--g066-muted);
}

/* ===== Info cards ===== */
.g066-card {
  background: var(--g066-bg-card);
  border: 1px solid var(--g066-border);
  border-radius: var(--g066-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.g066-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--g066-text);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.g066-card h3 i,
.g066-card h3 .material-icons-outlined {
  color: var(--g066-accent);
  font-size: 1.8rem;
}

.g066-card p {
  color: var(--g066-muted);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.g066-card ul {
  list-style: none;
  padding: 0;
}

.g066-card ul li {
  padding: 0.4rem 0;
  color: var(--g066-muted);
  font-size: 1.3rem;
  border-bottom: 1px dashed var(--g066-border);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.g066-card ul li:last-child { border-bottom: none; }
.g066-card ul li i { color: var(--g066-accent); margin-top: 0.3rem; }

/* Promo text link */
.g066-promo-link {
  color: var(--g066-accent);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.g066-promo-link:hover { color: var(--g066-accent-alt); }

/* ===== FAQ ===== */
.g066-faq-item {
  border-bottom: 1px solid var(--g066-border);
  padding: 0.8rem 0;
}

.g066-faq-item h4 {
  font-size: 1.4rem;
  color: var(--g066-text);
  margin-bottom: 0.3rem;
}

.g066-faq-item p {
  color: var(--g066-muted);
  font-size: 1.3rem;
}

/* ===== Testimonials ===== */
.g066-testimonial {
  background: var(--g066-bg-card);
  border-left: 3px solid var(--g066-accent);
  padding: 1rem;
  border-radius: var(--g066-radius-sm);
  margin-bottom: 0.8rem;
}

.g066-testimonial p {
  color: var(--g066-text);
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 0.4rem;
}

.g066-testimonial .g066-testimonial-author {
  color: var(--g066-muted);
  font-size: 1.2rem;
}

/* ===== Winners showcase ===== */
.g066-winner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--g066-border);
}

.g066-winner:last-child { border-bottom: none; }

.g066-winner-name { color: var(--g066-text); font-size: 1.3rem; font-weight: 600; }
.g066-winner-game { color: var(--g066-muted); font-size: 1.1rem; }
.g066-winner-amount { color: var(--g066-success); font-weight: 700; font-size: 1.3rem; }

/* ===== Payment methods ===== */
.g066-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.g066-pay-item {
  background: var(--g066-bg-card);
  border: 1px solid var(--g066-border);
  border-radius: var(--g066-radius-sm);
  padding: 0.6rem 0.2rem;
  text-align: center;
  font-size: 1rem;
  color: var(--g066-muted);
}

.g066-pay-item i { font-size: 1.8rem; color: var(--g066-accent); display: block; margin-bottom: 0.2rem; }

/* ===== Stats / RTP compact ===== */
.g066-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--g066-border);
  font-size: 1.3rem;
}

.g066-stat-row:last-child { border-bottom: none; }
.g066-stat-label { color: var(--g066-muted); }
.g066-stat-value { color: var(--g066-accent); font-weight: 700; }

/* ===== App download CTA ===== */
.g066-app-cta {
  background: linear-gradient(135deg, #1a1a1a, #2a2118);
  border: 1px solid var(--g066-accent);
  border-radius: var(--g066-radius);
  padding: 1.4rem;
  text-align: center;
  margin-bottom: 1rem;
}

.g066-app-cta h3 {
  color: var(--g066-accent);
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.g066-app-cta p {
  color: var(--g066-muted);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.g066-app-buttons {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.g066-footer {
  background: var(--g066-bg-alt);
  border-top: 1px solid var(--g066-border);
  padding: 2rem 0 1rem;
  margin-top: 1rem;
}

.g066-footer-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.g066-footer-about {
  color: var(--g066-muted);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.g066-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.g066-footer-promos .g066-btn {
  flex: 1 1 auto;
  min-height: 40px;
}

.g066-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.g066-footer-links a {
  color: var(--g066-muted);
  font-size: 1.2rem;
}

.g066-footer-links a:hover { color: var(--g066-accent); }

.g066-copyright {
  text-align: center;
  color: var(--g066-secondary);
  font-size: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--g066-border);
}

/* ===== Mobile bottom navigation ===== */
.g066-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--g066-bottom-h);
  background: var(--g066-bg);
  border-top: 1px solid var(--g066-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.5);
}

.g066-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--g066-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.15s ease, transform 0.15s ease;
}

.g066-nav-btn i,
.g066-nav-btn .material-icons-outlined,
.g066-nav-btn .material-icons {
  font-size: 22px;
}

.g066-nav-btn:active { transform: scale(0.92); }

.g066-nav-btn:hover {
  color: var(--g066-accent);
  text-decoration: none;
}

.g066-nav-btn.g066-current {
  color: var(--g066-accent);
}

.g066-nav-btn.g066-current::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--g066-accent);
  border-radius: 2px;
  margin-top: 2px;
}

.g066-nav-btn-promo {
  color: var(--g066-accent);
  font-weight: 700;
}

/* ===== Utility ===== */
.g066-text-center { text-align: center; }
.g066-mt-1 { margin-top: 1rem; }
.g066-mt-2 { margin-top: 2rem; }
.g066-mb-1 { margin-bottom: 1rem; }
.g066-mb-2 { margin-bottom: 2rem; }
.g066-hide-mobile { display: none; }
.g066-show-desktop { display: none; }

/* ===== Responsive: desktop ===== */
@media (min-width: 769px) {
  .g066-bottom-nav { display: none; }
  .g066-show-desktop { display: flex; }
  .g066-hide-mobile { display: block; }
  .g066-container,
  .g066-header-inner,
  .g066-mobile-menu-inner,
  .g066-footer-inner { max-width: 760px; }
  .g066-slide img { height: 320px; }
  .g066-game-grid { grid-template-columns: repeat(6, 1fr); }
  .g066-pay-grid { grid-template-columns: repeat(8, 1fr); }
}

/* Mobile bottom padding so content is never hidden behind the fixed nav */
@media (max-width: 768px) {
  .g066-main { padding-bottom: calc(var(--g066-bottom-h) + 1.2rem); }
  .g066-footer { padding-bottom: calc(var(--g066-bottom-h) + 1.5rem); }
}
