/* Arion Games - design.css
   All custom classes use the gc38- prefix.
   Mobile-first: max-width 430px reference layout, scales up to desktop. */

:root {
  --gc38-bg: #0C0C0C;
  --gc38-bg-alt: #141429;
  --gc38-navy: #191970;
  --gc38-purple: #7B68EE;
  --gc38-blue: #1E90FF;
  --gc38-blue-light: #ADD8E6;
  --gc38-text: #EAF2FF;
  --gc38-text-muted: #A9B6D6;
  --gc38-accent: #FFD24A;
  --gc38-card-bg: #181830;
  --gc38-border: rgba(173, 216, 230, 0.15);
  --gc38-radius: 12px;
  --gc38-header-h: 56px;
  --gc38-bottom-nav-h: 62px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #1a1a3a 0%, var(--gc38-bg) 60%);
  color: var(--gc38-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gc38-blue-light);
  text-decoration: none;
}

.gc38-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.gc38-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Header ===== */
.gc38-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--gc38-header-h);
  background: linear-gradient(90deg, var(--gc38-navy), #0a0a1f 60%);
  border-bottom: 1px solid var(--gc38-border);
  display: flex;
  align-items: center;
}

.gc38-header-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.gc38-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  color: var(--gc38-blue-light);
  font-size: 1.7rem;
  letter-spacing: 0.4px;
}

.gc38-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.gc38-spacer {
  flex: 1;
}

.gc38-menu-btn {
  background: rgba(173, 216, 230, 0.08);
  border: 1px solid var(--gc38-border);
  color: var(--gc38-blue-light);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gc38-btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.7rem 1.3rem;
  min-height: 38px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.gc38-btn-login {
  background: transparent;
  color: var(--gc38-blue-light);
  border: 1px solid var(--gc38-blue-light);
  margin-right: 0.5rem;
}

.gc38-btn-register {
  background: linear-gradient(90deg, var(--gc38-purple), var(--gc38-blue));
  color: #fff;
  box-shadow: 0 4px 14px rgba(123, 104, 238, 0.45);
}

/* ===== Mobile drawer menu ===== */
.gc38-mobile-menu {
  position: fixed;
  top: var(--gc38-header-h);
  left: 0;
  right: 0;
  background: #0b0b22;
  border-bottom: 1px solid var(--gc38-border);
  transform: translateY(-130%);
  transition: transform 0.28s ease;
  z-index: 9999;
  padding: 0.8rem 1.2rem 1.2rem;
  max-height: 75vh;
  overflow-y: auto;
}

.gc38-mobile-menu.gc38-menu-open {
  transform: translateY(0);
}

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

.gc38-mobile-menu a:active {
  color: var(--gc38-blue-light);
}

/* ===== Main / sections ===== */
.gc38-main {
  flex: 1;
  padding-top: calc(var(--gc38-header-h) + 1rem);
  padding-bottom: calc(var(--gc38-bottom-nav-h) + 2rem);
}

.gc38-section {
  margin: 2rem 0;
}

.gc38-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0 0 1rem;
  color: var(--gc38-blue-light);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.gc38-section-title::before {
  content: "";
  width: 5px;
  height: 22px;
  background: linear-gradient(var(--gc38-purple), var(--gc38-blue));
  border-radius: 4px;
}

.gc38-lead {
  color: var(--gc38-text-muted);
  margin: 0 0 1.2rem;
  font-size: 1.4rem;
}

/* ===== Hero / carousel ===== */
.gc38-hero {
  position: relative;
  border-radius: var(--gc38-radius);
  overflow: hidden;
  margin: 1rem 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.gc38-slide {
  display: none;
  position: relative;
}

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

.gc38-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gc38-slide-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  background: rgba(12, 12, 28, 0.7);
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--gc38-border);
}

.gc38-slide-caption strong {
  color: var(--gc38-accent);
  font-size: 1.6rem;
  display: block;
}

.gc38-slide-caption span {
  color: var(--gc38-blue-light);
  font-size: 1.25rem;
}

.gc38-dots {
  position: absolute;
  bottom: 0.8rem;
  right: 1rem;
  display: flex;
  gap: 0.4rem;
}

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

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

/* ===== H1 ===== */
.gc38-h1 {
  font-size: 2.4rem;
  font-weight: 900;
  margin: 1.2rem 0 0.6rem;
  background: linear-gradient(90deg, var(--gc38-blue-light), var(--gc38-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.25;
}

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

.gc38-card {
  background: var(--gc38-card-bg);
  border: 1px solid var(--gc38-border);
  border-radius: 10px;
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  display: block;
  color: var(--gc38-text);
}

.gc38-card:hover,
.gc38-card:active {
  transform: translateY(-2px);
  border-color: var(--gc38-blue);
}

.gc38-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.gc38-card-name {
  margin-top: 0.4rem;
  font-size: 1.15rem;
  color: var(--gc38-blue-light);
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gc38-card-tag {
  display: inline-block;
  font-size: 1rem;
  color: var(--gc38-text-muted);
  margin-top: 0.2rem;
}

/* ===== Feature / info cards ===== */
.gc38-info-card {
  background: linear-gradient(135deg, var(--gc38-card-bg), #0f1633);
  border: 1px solid var(--gc38-border);
  border-radius: var(--gc38-radius);
  padding: 1.2rem;
  margin: 0.8rem 0;
}

.gc38-info-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--gc38-blue-light);
}

.gc38-info-card p {
  margin: 0;
  color: var(--gc38-text-muted);
  font-size: 1.3rem;
}

.gc38-list {
  padding-left: 1.4rem;
  color: var(--gc38-text-muted);
  margin: 0.4rem 0;
}

.gc38-list li {
  margin: 0.3rem 0;
}

/* ===== CTA banner ===== */
.gc38-cta {
  background: linear-gradient(120deg, var(--gc38-navy), var(--gc38-purple));
  border-radius: var(--gc38-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 1.5rem 0;
  border: 1px solid var(--gc38-border);
}

.gc38-cta h2 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: 1.7rem;
}

.gc38-cta p {
  color: var(--gc38-blue-light);
  margin: 0 0 1rem;
  font-size: 1.3rem;
}

.gc38-cta .gc38-btn {
  background: var(--gc38-accent);
  color: #1a1a1a;
  padding: 0.9rem 2rem;
  font-size: 1.4rem;
}

/* ===== Inline promo link ===== */
.gc38-promo-link {
  color: var(--gc38-accent);
  font-weight: 800;
  cursor: pointer;
}

.gc38-promo-link:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */
.gc38-footer {
  background: #07071a;
  border-top: 1px solid var(--gc38-border);
  padding: 1.8rem 1.2rem 2.4rem;
  margin-top: 2rem;
}

.gc38-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.gc38-footer-brand {
  color: var(--gc38-text-muted);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.gc38-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 0.6rem 0 1rem;
}

.gc38-footer-links a {
  color: var(--gc38-blue-light);
  font-size: 1.2rem;
}

.gc38-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0;
}

.gc38-footer-promos .gc38-btn {
  padding: 0.5rem 1rem;
  font-size: 1.15rem;
}

.gc38-copyright {
  color: var(--gc38-text-muted);
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* ===== Mobile bottom nav ===== */
.gc38-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--gc38-bottom-nav-h);
  background: linear-gradient(90deg, #07071a, #11112e);
  border-top: 1px solid var(--gc38-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.gc38-bottom-nav-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: var(--gc38-bottom-nav-h);
  color: var(--gc38-text-muted);
  font-size: 1rem;
  gap: 2px;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.gc38-bottom-nav-link:active {
  transform: scale(0.92);
}

.gc38-bottom-nav-link .material-icons,
.gc38-bottom-nav-link i,
.gc38-bottom-nav-link ion-icon {
  font-size: 22px;
}

.gc38-bottom-nav-active {
  color: var(--gc38-accent);
}

.gc38-bottom-nav-promo {
  color: var(--gc38-blue-light);
}

/* ===== Testimonial / winner grid ===== */
.gc38-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.gc38-mini-card {
  background: var(--gc38-card-bg);
  border: 1px solid var(--gc38-border);
  border-radius: 10px;
  padding: 0.8rem;
  font-size: 1.2rem;
  color: var(--gc38-text-muted);
}

.gc38-mini-card strong {
  color: var(--gc38-blue-light);
  display: block;
  margin-bottom: 0.2rem;
}

.gc38-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.6rem 0;
}

.gc38-pill {
  background: rgba(173, 216, 230, 0.08);
  border: 1px solid var(--gc38-border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  color: var(--gc38-blue-light);
  font-size: 1.15rem;
}

/* ===== Desktop rules ===== */
@media (min-width: 769px) {
  .gc38-bottom-nav {
    display: none;
  }
  .gc38-container,
  .gc38-footer-inner,
  .gc38-header-inner {
    max-width: 960px;
  }
  .gc38-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .gc38-mini-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .gc38-main {
    padding-bottom: 2rem;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .gc38-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .gc38-mini-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
