/* Arion Play - theme.css
   All custom classes use v674- prefix.
   Palette: #696969 | #1A1A1A | #87CEFA | #48D1CC | #00BFFF
   Dark colors for backgrounds, light colors for text. */

:root {
  --v674-primary: #00BFFF;
  --v674-secondary: #48D1CC;
  --v674-accent: #87CEFA;
  --v674-bg: #1A1A1A;
  --v674-bg-alt: #232323;
  --v674-bg-card: #2a2a2a;
  --v674-text: #f5f7fa;
  --v674-text-muted: #c9d3dc;
  --v674-grey: #696969;
  --v674-radius: 14px;
  --v674-shadow: 0 6px 22px rgba(0,0,0,0.45);
  --v674-header-h: 60px;
  --v674-nav-h: 62px;
  font-size: 62.5%;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--v674-bg);
  color: var(--v674-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.v674-container { width: 100%; padding: 0 14px; }
.v674-wrapper { max-width: 430px; margin: 0 auto; }

/* ===== Header ===== */
.v674-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--v674-header-h);
  background: linear-gradient(90deg, #1A1A1A, #202a30);
  border-bottom: 1px solid rgba(0,191,255,0.25);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
  transition: background .3s ease;
}
.v674-header-scrolled { background: linear-gradient(90deg, #111, #16202a); box-shadow: var(--v674-shadow); }

.v674-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 1.7rem; }
.v674-logo img { width: 30px; height: 30px; border-radius: 6px; }
.v674-logo span { background: linear-gradient(90deg, var(--v674-primary), var(--v674-secondary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.v674-header-actions { display: flex; align-items: center; gap: 8px; }

.v674-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 14px; border-radius: 20px; font-weight: 700; font-size: 1.3rem;
  border: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
  min-height: 36px;
}
.v674-btn:active { transform: scale(0.96); }
.v674-btn-register { background: linear-gradient(90deg, var(--v674-primary), var(--v674-secondary)); color: #fff; box-shadow: 0 3px 10px rgba(0,191,255,0.35); }
.v674-btn-login { background: transparent; color: #fff; border: 1px solid var(--v674-primary); }

.v674-menu-btn {
  background: transparent; border: none; color: #fff; font-size: 2.0rem; cursor: pointer;
  padding: 4px 8px; border-radius: 8px;
}

/* ===== Mobile Menu ===== */
.v674-mobile-menu {
  position: fixed; top: var(--v674-header-h); left: 0; right: 0; z-index: 9999;
  background: #161616; max-height: 0; overflow: hidden;
  transition: max-height .3s ease; border-bottom: 1px solid rgba(0,191,255,0.2);
}
.v674-menu-open { max-height: 520px; box-shadow: var(--v674-shadow); }
.v674-mobile-menu ul { list-style: none; padding: 8px 14px 14px; }
.v674-mobile-menu li a {
  display: block; padding: 11px 10px; color: var(--v674-text); border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 1.4rem;
}
.v674-mobile-menu li a:active { background: rgba(0,191,255,0.08); }

/* ===== Main / Hero ===== */
main { padding-top: calc(var(--v674-header-h) + 10px); }

.v674-hero { margin: 0 0 14px; }
.v674-carousel { position: relative; border-radius: var(--v674-radius); overflow: hidden; }
.v674-slide { display: none; position: relative; }
.v674-slide-active { display: block; }
.v674-slide img { width: 100%; height: 180px; object-fit: cover; }
.v674-slide-cap {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.55); padding: 10px 12px; border-radius: 10px;
}
.v674-slide-cap h2 { font-size: 1.5rem; color: #fff; margin-bottom: 4px; }
.v674-slide-cap p { font-size: 1.2rem; color: var(--v674-text-muted); }
.v674-dots { display: flex; justify-content: center; gap: 6px; padding: 8px 0; }
.v674-dot { width: 8px; height: 8px; border-radius: 50%; background: #444; cursor: pointer; }
.v674-dot-active { background: var(--v674-primary); }

/* ===== Sections ===== */
.v674-section { padding: 18px 14px; }
.v674-section-title {
  font-size: 1.7rem; font-weight: 800; margin-bottom: 12px; color: #fff;
  display: flex; align-items: center; gap: 8px;
  border-left: 4px solid var(--v674-primary); padding-left: 10px;
}
.v674-section-title .v674-hl { color: var(--v674-primary); }

/* ===== Game Grid ===== */
.v674-game-block { margin-bottom: 18px; }
.v674-game-cat-title {
  font-size: 1.5rem; font-weight: 700; color: var(--v674-secondary);
  margin: 12px 0 10px; display: flex; align-items: center; gap: 8px;
}
.v674-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.v674-game-card {
  background: var(--v674-bg-card); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(0,191,255,0.12); transition: transform .15s ease;
}
.v674-game-card:active { transform: scale(0.97); }
.v674-game-card img { width: 100%; height: 88px; object-fit: cover; }
.v674-game-card .v674-game-name {
  font-size: 1.1rem; color: var(--v674-text); padding: 6px; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Cards / generic ===== */
.v674-card {
  background: var(--v674-bg-card); border-radius: var(--v674-radius); padding: 14px;
  margin-bottom: 12px; border: 1px solid rgba(72,209,204,0.15);
}
.v674-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.v674-card p { color: var(--v674-text-muted); font-size: 1.3rem; }
.v674-card .v674-link { color: var(--v674-primary); font-weight: 700; }

/* ===== Features list ===== */
.v674-features { display: grid; grid-template-columns: 1fr; gap: 10px; }
.v674-feature-item {
  display: flex; gap: 10px; align-items: flex-start; background: var(--v674-bg-card);
  padding: 12px; border-radius: 12px; border-left: 3px solid var(--v674-secondary);
}
.v674-feature-item .v674-ic { color: var(--v674-primary); font-size: 2.2rem; }
.v674-feature-item h4 { color: #fff; font-size: 1.4rem; margin-bottom: 3px; }
.v674-feature-item p { color: var(--v674-text-muted); font-size: 1.25rem; }

/* ===== Testimonials ===== */
.v674-testi { background: var(--v674-bg-card); border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.v674-testi .v674-stars { color: #FFD700; font-size: 1.3rem; margin-bottom: 4px; }
.v674-testi p { color: var(--v674-text-muted); font-size: 1.25rem; }
.v674-testi .v674-author { color: var(--v674-secondary); font-size: 1.2rem; margin-top: 6px; font-weight: 700; }

/* ===== Winners ticker ===== */
.v674-winners { overflow: hidden; background: var(--v674-bg-alt); border-radius: 10px; padding: 8px 12px; }
.v674-winners ul { list-style: none; }
.v674-winners li { padding: 5px 0; font-size: 1.2rem; color: var(--v674-text-muted); display: flex; justify-content: space-between; }
.v674-winners li b { color: var(--v674-primary); }

/* ===== Payment ===== */
.v674-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.v674-pay span { background: var(--v674-bg-card); border: 1px solid rgba(0,191,255,0.2); border-radius: 8px; padding: 8px 12px; font-size: 1.2rem; color: var(--v674-text); }

/* ===== CTA ===== */
.v674-cta {
  background: linear-gradient(135deg, #00bfff22, #48d1cc22);
  border: 1px solid var(--v674-primary); border-radius: var(--v674-radius);
  padding: 18px 14px; text-align: center; margin: 14px 0;
}
.v674-cta h3 { color: #fff; font-size: 1.6rem; margin-bottom: 8px; }
.v674-cta p { color: var(--v674-text-muted); font-size: 1.25rem; margin-bottom: 12px; }

/* ===== Footer ===== */
.v674-footer { background: #111; padding: 18px 14px 80px; border-top: 1px solid rgba(0,191,255,0.2); }
.v674-footer h4 { color: #fff; font-size: 1.4rem; margin: 12px 0 8px; }
.v674-footer p { color: var(--v674-text-muted); font-size: 1.2rem; margin-bottom: 8px; }
.v674-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0; }
.v674-footer-links a { color: var(--v674-accent); font-size: 1.2rem; padding: 4px 0; }
.v674-footer-promos { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.v674-footer-promos button {
  background: linear-gradient(90deg, var(--v674-primary), var(--v674-secondary));
  color: #fff; border: none; border-radius: 18px; padding: 8px 12px; font-size: 1.2rem; font-weight: 700; cursor: pointer;
}
.v674-footer-copy { color: #777; font-size: 1.1rem; margin-top: 12px; text-align: center; }

/* ===== Bottom Nav ===== */
.v674-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--v674-nav-h);
  background: #111; border-top: 1px solid rgba(0,191,255,0.3);
  display: flex; justify-content: space-around; align-items: stretch;
}
.v674-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--v674-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  cursor: pointer; transition: color .15s ease, transform .15s ease;
}
.v674-nav-btn .v674-nav-ic { font-size: 2.4rem; line-height: 1; }
.v674-nav-btn .v674-nav-lb { font-size: 1.0rem; }
.v674-nav-btn:active { transform: scale(0.92); color: var(--v674-primary); }
.v674-nav-active { color: var(--v674-primary); }
.v674-nav-active .v674-nav-ic { text-shadow: 0 0 8px rgba(0,191,255,0.6); }

/* ===== Desktop: hide bottom nav, show desktop nav ===== */
.v674-desktop-nav { display: none; }
@media (min-width: 769px) {
  body { max-width: 960px; }
  .v674-bottom-nav { display: none; }
  .v674-menu-btn { display: none; }
  .v674-desktop-nav { display: flex; gap: 18px; align-items: center; }
  .v674-desktop-nav a { color: var(--v674-text-muted); font-size: 1.3rem; }
  .v674-grid { grid-template-columns: repeat(6, 1fr); }
  .v674-features { grid-template-columns: 1fr 1fr; }
  main { padding-bottom: 0; }
}

@media (max-width: 768px) {
  main { padding-bottom: calc(var(--v674-nav-h) + 14px); }
}

/* Smooth focus for accessibility */
.v674-btn:focus-visible, .v674-nav-btn:focus-visible, .v674-game-card:focus-visible {
  outline: 2px solid var(--v674-primary); outline-offset: 2px;
}
