/* =========================================================
 * arena-plus-apk.css
 * Shared stylesheet for arena-plus-apk.click (English-PH)
 * All custom class names use the v215- prefix.
 * Palette: #FFB6C1 | #FF8C00 | #CCCCCC | #2D2D2D | #F08080 | #DB7093
 * Mobile-first, max container width 430px.
 * ========================================================= */

:root {
  --v215-primary: #FF8C00;       /* vivid orange */
  --v215-accent: #FFB6C1;        /* light pink */
  --v215-hot: #F08080;           /* coral */
  --v215-magenta: #DB7093;       /* rose */
  --v215-muted: #CCCCCC;         /* neutral light */
  --v215-bg: #2D2D2D;            /* dark base */
  --v215-bg-deep: #1f1f1f;
  --v215-card: #3a3a3a;
  --v215-text: #ffffff;
  --v215-text-soft: #f4f4f4;
  --v215-line: rgba(255, 255, 255, 0.12);
  --v215-radius: 14px;
  --v215-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--v215-bg);
  color: var(--v215-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
}

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

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

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

/* ===== Header ===== */
.v215-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #2D2D2D 0%, #3a2418 60%, #2D2D2D 100%);
  border-bottom: 2px solid var(--v215-primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

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

.v215-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--v215-text);
  font-weight: 800;
  font-size: 1.5rem;
}

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

.v215-logo span { color: var(--v215-primary); }

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

.v215-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  min-height: 38px;
  line-height: 1;
}

.v215-btn-primary {
  background: linear-gradient(135deg, var(--v215-primary), #ff6a00);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

.v215-btn-secondary {
  background: transparent;
  color: var(--v215-text);
  border: 2px solid var(--v215-accent);
}

.v215-btn-magenta {
  background: linear-gradient(135deg, var(--v215-magenta), var(--v215-hot));
  color: #fff;
  box-shadow: 0 4px 12px rgba(219, 112, 147, 0.4);
}

.v215-btn:hover, .v215-btn:active { transform: scale(1.04); opacity: 0.95; }

.v215-menu-toggle {
  background: transparent;
  border: none;
  color: var(--v215-text);
  font-size: 1.8rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}

/* ===== Main content spacer for fixed header ===== */
.v215-main {
  padding-top: 6.4rem;
  padding-bottom: 9rem; /* room for bottom nav */
}

/* ===== Hero carousel ===== */
.v215-hero {
  position: relative;
  border-radius: var(--v215-radius);
  overflow: hidden;
  box-shadow: var(--v215-shadow);
  margin-top: 1rem;
}

.v215-hero-track { position: relative; }

.v215-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.v215-hero-slide.v215-slide-active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

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

.v215-hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(45, 45, 45, 0.92), transparent);
  padding: 1.2rem 1rem 1rem;
  color: #fff;
}

.v215-hero-caption h2 {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
  font-weight: 800;
}

.v215-hero-caption p {
  margin: 0;
  font-size: 1.25rem;
  color: var(--v215-muted);
}

.v215-hero-cta {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.5rem 1rem;
  background: var(--v215-primary);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.2rem;
}

.v215-hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0;
  background: var(--v215-bg-deep);
}

.v215-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--v215-muted);
  opacity: 0.5;
  border: none;
  cursor: pointer;
}

.v215-hero-dot.v215-dot-active {
  background: var(--v215-primary);
  opacity: 1;
  width: 18px;
  border-radius: 4px;
}

/* ===== Section blocks ===== */
.v215-section {
  margin: 1.6rem 0;
  padding: 0;
}

.v215-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.v215-section-title i { color: var(--v215-primary); }

.v215-section-sub {
  color: var(--v215-muted);
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.v215-h1 {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.3;
  margin: 0.4rem 0;
  background: linear-gradient(135deg, #fff, var(--v215-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.v215-card {
  background: var(--v215-card);
  border-radius: var(--v215-radius);
  overflow: hidden;
  box-shadow: var(--v215-shadow);
  border: 1px solid var(--v215-line);
  transition: transform 0.15s ease;
  cursor: pointer;
}

.v215-card:hover, .v215-card:active { transform: translateY(-3px); }

.v215-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.v215-card-title {
  padding: 0.5rem 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  color: var(--v215-text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v215-cat-badge {
  display: inline-block;
  font-size: 1.1rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 140, 0, 0.18);
  color: var(--v215-primary);
  font-weight: 700;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== Feature list ===== */
.v215-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.v215-feature {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--v215-card);
  padding: 1rem;
  border-radius: var(--v215-radius);
  border-left: 4px solid var(--v215-primary);
}

.v215-feature .v215-icon {
  font-size: 2rem;
  color: var(--v215-accent);
  flex-shrink: 0;
}

.v215-feature h3 {
  margin: 0 0 0.3rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.v215-feature p {
  margin: 0;
  font-size: 1.2rem;
  color: var(--v215-muted);
}

/* ===== Promo banner strip ===== */
.v215-promo-strip {
  background: linear-gradient(135deg, var(--v215-hot), var(--v215-magenta));
  border-radius: var(--v215-radius);
  padding: 1rem 1.2rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin: 1.2rem 0;
}

.v215-promo-strip h3 { margin: 0; font-size: 1.4rem; font-weight: 800; }
.v215-promo-strip p { margin: 0; font-size: 1.15rem; opacity: 0.92; }

/* ===== Testimonials ===== */
.v215-testimonials {
  display: grid;
  gap: 0.8rem;
}

.v215-testimonial {
  background: var(--v215-card);
  border-radius: var(--v215-radius);
  padding: 1rem;
  border: 1px solid var(--v215-line);
}

.v215-testimonial .v215-stars { color: var(--v215-primary); margin-bottom: 0.4rem; }

.v215-testimonial p { margin: 0 0 0.5rem; font-size: 1.2rem; color: var(--v215-text-soft); }

.v215-testimonial .v215-author { font-size: 1.1rem; color: var(--v215-muted); font-weight: 700; }

/* ===== Payment / winners ===== */
.v215-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.v215-chip {
  background: var(--v215-card);
  border: 1px solid var(--v215-line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 1.15rem;
  color: var(--v215-text-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ===== Steps ===== */
.v215-steps { counter-reset: v215step; display: grid; gap: 0.7rem; }

.v215-step {
  position: relative;
  background: var(--v215-card);
  padding: 0.9rem 1rem 0.9rem 3.4rem;
  border-radius: var(--v215-radius);
}

.v215-step::before {
  counter-increment: v215step;
  content: counter(v215step);
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--v215-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v215-step h4 { margin: 0 0 0.2rem; font-size: 1.3rem; }
.v215-step p { margin: 0; font-size: 1.2rem; color: var(--v215-muted); }

/* ===== Footer ===== */
.v215-footer {
  background: var(--v215-bg-deep);
  color: var(--v215-muted);
  padding: 2rem 1.2rem 5rem;
  border-top: 2px solid var(--v215-primary);
}

.v215-footer h3 { color: #fff; font-size: 1.4rem; margin: 0 0 0.6rem; }

.v215-footer p { font-size: 1.2rem; line-height: 1.6rem; }

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

.v215-footer-links a {
  background: var(--v215-card);
  color: var(--v215-text-soft);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 1.1rem;
  border: 1px solid var(--v215-line);
}

.v215-footer-links a:hover { color: var(--v215-primary); }

.v215-copyright {
  margin-top: 1.2rem;
  font-size: 1.1rem;
  text-align: center;
  opacity: 0.7;
}

/* ===== Mobile drawer ===== */
.v215-drawer {
  position: fixed;
  top: 0;
  right: -85%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--v215-bg-deep);
  z-index: 9999;
  padding: 1.4rem;
  transition: right 0.28s ease;
  overflow-y: auto;
  border-left: 2px solid var(--v215-primary);
}

.v215-drawer.v215-menu-open { right: 0; }

.v215-drawer h4 { color: #fff; margin: 1.2rem 0 0.6rem; font-size: 1.3rem; }

.v215-drawer a {
  display: block;
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid var(--v215-line);
  color: var(--v215-text-soft);
  font-size: 1.2rem;
}

.v215-drawer a:hover { color: var(--v215-primary); }

.v215-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.v215-overlay.v215-overlay-visible {
  opacity: 1;
  visibility: visible;
}

/* ===== Bottom navigation ===== */
.v215-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, #3a2418, #1f1f1f);
  border-top: 2px solid var(--v215-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
}

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

.v215-bottom-nav .v215-nav-btn i { font-size: 22px; }

.v215-bottom-nav .v215-nav-btn .material-icons,
.v215-bottom-nav .v215-nav-btn .ion { font-size: 24px; }

.v215-bottom-nav .v215-nav-btn:hover,
.v215-bottom-nav .v215-nav-btn:active {
  color: var(--v215-primary);
  transform: translateY(-2px);
}

.v215-bottom-nav .v215-nav-btn.v215-nav-active {
  color: var(--v215-primary);
}

.v215-bottom-nav .v215-nav-btn.v215-nav-promo {
  color: var(--v215-accent);
}

/* ===== Floating back-to-top ===== */
.v215-fab {
  position: fixed;
  right: 1rem;
  bottom: 7.4rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--v215-primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: var(--v215-shadow);
}

.v215-fab.v215-fab-visible { opacity: 1; visibility: visible; }
.v215-fab:hover { transform: scale(1.08); }

/* ===== Desktop rules ===== */
@media (min-width: 769px) {
  .v215-bottom-nav { display: none; }
  .v215-main { padding-bottom: 2rem; }
  .v215-footer { padding-bottom: 2rem; }
}

/* ===== Small phone tuning ===== */
@media (max-width: 430px) {
  body { font-size: 1.35rem; }
  .v215-h1 { font-size: 1.8rem; }
  .v215-section-title { font-size: 1.55rem; }
  .v215-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .v215-card img { height: 88px; }
  .v215-card-title { font-size: 1rem; }
  .v215-hero-slide img { height: 180px; }
  .v215-hero-caption h2 { font-size: 1.45rem; }
  .v215-btn { padding: 0.55rem 0.85rem; font-size: 1.15rem; }
}

@media (max-width: 360px) {
  .v215-grid { grid-template-columns: repeat(2, 1fr); }
  .v215-logo { font-size: 1.3rem; }
}

/* Visually hidden helper for SEO text */
.v215-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
