/* ============================================================
   arion pay (arionpay.homes) - Core Base Stylesheet
   Mobile-first HTML5 casino layout for Philippine players.
   All custom classes use the "g18c-" namespace prefix.
   ============================================================ */

:root {
  --g18c-primary: #26A69A;
  --g18c-primary-dark: #004D40;
  --g18c-gold: #F4A460;
  --g18c-gold-soft: #F6C58A;
  --g18c-gray: #696969;
  --g18c-bg: #2C2C2C;
  --g18c-bg-deep: #1B1B1B;
  --g18c-bg-card: #353535;
  --g18c-bg-elev: #3F3F3F;
  --g18c-text: #F5F5F5;
  --g18c-text-dim: #BFBFBF;
  --g18c-text-muted: #8E8E8E;
  --g18c-border: rgba(255, 255, 255, 0.08);
  --g18c-success: #4CAF50;
  --g18c-danger: #E53935;
  --g18c-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --g18c-radius: 14px;
  --g18c-radius-sm: 10px;
  --g18c-header-h: 60px;
  --g18c-bottomnav-h: 62px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, system-ui, sans-serif;
  background: var(--g18c-bg);
  color: var(--g18c-text);
  line-height: 1.55;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

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

a {
  color: var(--g18c-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--g18c-gold-soft);
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 700;
}

/* ---------- Layout helpers ---------- */
.g18c-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}

.g18c-wrapper {
  padding: 18px 14px;
}

.g18c-section {
  padding: 22px 14px;
  border-bottom: 1px solid var(--g18c-border);
}

.g18c-section--alt {
  background: var(--g18c-bg-deep);
}

.g18c-section-title {
  font-size: 2rem;
  color: var(--g18c-text);
  margin-bottom: 6px;
  position: relative;
  padding-left: 14px;
}

.g18c-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 20px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--g18c-primary), var(--g18c-gold));
}

.g18c-section-sub {
  font-size: 1.3rem;
  color: var(--g18c-text-muted);
  margin-bottom: 14px;
}

/* ---------- Header ---------- */
.g18c-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--g18c-primary-dark), var(--g18c-bg));
  border-bottom: 1px solid var(--g18c-border);
  box-shadow: var(--g18c-shadow);
}

.g18c-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--g18c-header-h);
  padding: 0 12px;
}

.g18c-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.g18c-brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--g18c-primary), var(--g18c-gold));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.g18c-brand-name {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #fff;
}

.g18c-brand-name span {
  color: var(--g18c-gold);
}

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

.g18c-menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--g18c-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--g18c-text);
  font-size: 2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.g18c-menu-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ---------- Buttons ---------- */
.g18c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  text-decoration: none;
  min-height: 38px;
  line-height: 1;
}

.g18c-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.g18c-btn--login {
  background: transparent;
  color: var(--g18c-text);
  border: 1px solid var(--g18c-primary);
  padding: 8px 14px;
}

.g18c-btn--register {
  background: linear-gradient(135deg, var(--g18c-gold), #E08B3A);
  color: #2C2C2C;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(244, 164, 96, 0.35);
}

.g18c-btn--primary {
  background: linear-gradient(135deg, var(--g18c-primary), var(--g18c-primary-dark));
  color: #fff;
}

.g18c-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--g18c-text);
  border: 1px solid var(--g18c-border);
}

.g18c-btn--block {
  display: flex;
  width: 100%;
}

/* ---------- Mobile Menu Drawer ---------- */
.g18c-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.g18c-menu-overlay.g18c-is-open {
  opacity: 1;
  visibility: visible;
}

.g18c-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--g18c-bg-deep);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 18px 16px;
  border-left: 1px solid var(--g18c-border);
}

.g18c-mobile-menu.g18c-is-open {
  transform: translateX(0);
}

.g18c-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--g18c-border);
}

.g18c-menu-head h3 {
  font-size: 1.7rem;
  color: var(--g18c-gold);
}

.g18c-menu-close {
  background: transparent;
  border: none;
  color: var(--g18c-text);
  font-size: 2.2rem;
  cursor: pointer;
}

.g18c-menu-list li {
  margin-bottom: 4px;
}

.g18c-menu-list a,
.g18c-menu-list button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--g18c-radius-sm);
  background: transparent;
  color: var(--g18c-text);
  font-size: 1.45rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
}

.g18c-menu-list a:hover,
.g18c-menu-list button:hover {
  background: rgba(38, 166, 154, 0.15);
  color: var(--g18c-gold);
}

.g18c-menu-list .material-symbols-outlined,
.g18c-menu-list i {
  font-size: 2rem;
  color: var(--g18c-primary);
  width: 24px;
  text-align: center;
}

.g18c-menu-cta {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- Hero / Carousel ---------- */
.g18c-hero {
  position: relative;
  padding: 14px;
}

.g18c-carousel {
  position: relative;
  border-radius: var(--g18c-radius);
  overflow: hidden;
  box-shadow: var(--g18c-shadow);
  background: var(--g18c-bg-card);
}

.g18c-slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.g18c-slides::-webkit-scrollbar {
  display: none;
}

.g18c-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  cursor: pointer;
}

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

.g18c-slide-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent);
  color: #fff;
}

.g18c-slide-overlay h2 {
  font-size: 1.7rem;
  margin-bottom: 4px;
  color: var(--g18c-gold);
}

.g18c-slide-overlay p {
  font-size: 1.25rem;
  color: var(--g18c-text-dim);
}

.g18c-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 4px;
}

.g18c-carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.2s ease;
}

.g18c-carousel-dots span.g18c-active {
  background: var(--g18c-gold);
  width: 22px;
  border-radius: 4px;
}

/* ---------- Quick stat strip ---------- */
.g18c-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 14px 14px;
}

.g18c-stat {
  background: var(--g18c-bg-card);
  border-radius: var(--g18c-radius-sm);
  padding: 10px 6px;
  text-align: center;
  border: 1px solid var(--g18c-border);
}

.g18c-stat-num {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--g18c-gold);
  display: block;
}

.g18c-stat-label {
  font-size: 1.05rem;
  color: var(--g18c-text-muted);
}

/* ---------- Category Filter Chips ---------- */
.g18c-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 14px 12px;
  scrollbar-width: none;
}

.g18c-chips::-webkit-scrollbar {
  display: none;
}

.g18c-chip {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--g18c-bg-card);
  color: var(--g18c-text-dim);
  font-size: 1.25rem;
  font-weight: 600;
  border: 1px solid var(--g18c-border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.g18c-chip.g18c-active,
.g18c-chip:hover {
  background: linear-gradient(135deg, var(--g18c-primary), var(--g18c-primary-dark));
  color: #fff;
  border-color: var(--g18c-primary);
}

/* ---------- Game Grid ---------- */
.g18c-game-block {
  margin-bottom: 6px;
}

.g18c-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.g18c-block-head h2 {
  font-size: 1.75rem;
  color: var(--g18c-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.g18c-block-head h2 .material-symbols-outlined,
.g18c-block-head h2 i {
  color: var(--g18c-gold);
  font-size: 2rem;
}

.g18c-block-head a {
  font-size: 1.2rem;
  color: var(--g18c-primary);
  font-weight: 600;
}

.g18c-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.g18c-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.g18c-card {
  background: var(--g18c-bg-card);
  border: 1px solid var(--g18c-border);
  border-radius: var(--g18c-radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.g18c-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--g18c-shadow);
  border-color: var(--g18c-primary);
}

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

.g18c-card-name {
  padding: 6px 8px;
  font-size: 1.1rem;
  color: var(--g18c-text-dim);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.g18c-card-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: linear-gradient(135deg, var(--g18c-gold), #E08B3A);
  color: #2C2C2C;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
}

.g18c-card-tag--hot {
  background: linear-gradient(135deg, #E53935, #B71C1C);
  color: #fff;
}

/* ---------- Feature / Info cards ---------- */
.g18c-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.g18c-info-card {
  background: var(--g18c-bg-card);
  border: 1px solid var(--g18c-border);
  border-radius: var(--g18c-radius);
  padding: 14px;
}

.g18c-info-card .material-symbols-outlined,
.g18c-info-card i {
  font-size: 2.6rem;
  color: var(--g18c-primary);
  margin-bottom: 8px;
}

.g18c-info-card h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
  color: var(--g18c-text);
}

.g18c-info-card p {
  font-size: 1.22rem;
  color: var(--g18c-text-dim);
  line-height: 1.5;
}

/* ---------- Steps ---------- */
.g18c-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.g18c-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--g18c-bg-card);
  border-radius: var(--g18c-radius);
  padding: 12px;
  border-left: 4px solid var(--g18c-primary);
}

.g18c-step-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--g18c-gold);
  color: #2C2C2C;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.g18c-step-body h4 {
  font-size: 1.4rem;
  margin-bottom: 3px;
  color: var(--g18c-text);
}

.g18c-step-body p {
  font-size: 1.2rem;
  color: var(--g18c-text-dim);
}

/* ---------- Testimonials ---------- */
.g18c-testimonials {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.g18c-testimonials::-webkit-scrollbar {
  display: none;
}

.g18c-testimonial {
  flex: 0 0 85%;
  background: var(--g18c-bg-card);
  border-radius: var(--g18c-radius);
  padding: 14px;
  border: 1px solid var(--g18c-border);
}

.g18c-stars {
  color: var(--g18c-gold);
  font-size: 1.3rem;
  margin-bottom: 6px;
  letter-spacing: 2px;
}

.g18c-testimonial p {
  font-size: 1.25rem;
  color: var(--g18c-text-dim);
  margin-bottom: 8px;
  font-style: italic;
}

.g18c-testimonial-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.g18c-testimonial-author strong {
  font-size: 1.25rem;
  color: var(--g18c-text);
}

.g18c-testimonial-author small {
  color: var(--g18c-text-muted);
  font-size: 1.1rem;
}

/* ---------- Payment Methods ---------- */
.g18c-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.g18c-pay-item {
  background: var(--g18c-bg-card);
  border: 1px solid var(--g18c-border);
  border-radius: var(--g18c-radius-sm);
  padding: 10px 6px;
  text-align: center;
}

.g18c-pay-item i,
.g18c-pay-item .material-symbols-outlined {
  font-size: 2.4rem;
  color: var(--g18c-primary);
}

.g18c-pay-item span {
  display: block;
  font-size: 1.1rem;
  color: var(--g18c-text-dim);
  margin-top: 4px;
}

/* ---------- Winners ---------- */
.g18c-winner-list {
  background: var(--g18c-bg-card);
  border-radius: var(--g18c-radius);
  padding: 10px 14px;
  border: 1px solid var(--g18c-border);
}

.g18c-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--g18c-border);
  font-size: 1.25rem;
}

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

.g18c-winner-name {
  color: var(--g18c-text);
  font-weight: 600;
}

.g18c-winner-game {
  color: var(--g18c-text-muted);
  font-size: 1.1rem;
}

.g18c-winner-amount {
  color: var(--g18c-gold);
  font-weight: 800;
}

/* ---------- FAQ ---------- */
.g18c-faq-item {
  background: var(--g18c-bg-card);
  border: 1px solid var(--g18c-border);
  border-radius: var(--g18c-radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}

.g18c-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--g18c-text);
}

.g18c-faq-q .g18c-toggle {
  color: var(--g18c-gold);
  font-size: 1.8rem;
  transition: transform 0.25s ease;
}

.g18c-faq-item.g18c-open .g18c-toggle {
  transform: rotate(45deg);
}

.g18c-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 14px;
  color: var(--g18c-text-dim);
  font-size: 1.22rem;
}

.g18c-faq-item.g18c-open .g18c-faq-a {
  max-height: 400px;
  padding: 0 14px 12px;
}

/* ---------- Promo CTA ---------- */
.g18c-cta {
  background: linear-gradient(135deg, var(--g18c-primary-dark), var(--g18c-bg-deep));
  border: 1px solid var(--g18c-primary);
  border-radius: var(--g18c-radius);
  padding: 18px;
  text-align: center;
}

.g18c-cta h3 {
  font-size: 1.8rem;
  color: var(--g18c-gold);
  margin-bottom: 8px;
}

.g18c-cta p {
  color: var(--g18c-text-dim);
  margin-bottom: 14px;
  font-size: 1.25rem;
}

/* ---------- App Download ---------- */
.g18c-app-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--g18c-bg-card);
  border: 1px solid var(--g18c-border);
  border-radius: var(--g18c-radius);
  padding: 14px;
}

.g18c-app-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--g18c-primary), var(--g18c-gold));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 3rem;
  flex-shrink: 0;
}

.g18c-app-body {
  flex: 1;
}

.g18c-app-body h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.g18c-app-body p {
  font-size: 1.18rem;
  color: var(--g18c-text-dim);
  margin-bottom: 8px;
}

.g18c-app-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ---------- Seo long text ---------- */
.g18c-seo-text {
  color: var(--g18c-text-dim);
  font-size: 1.28rem;
  line-height: 1.7;
}

.g18c-seo-text h2 {
  color: var(--g18c-text);
  font-size: 1.75rem;
  margin: 16px 0 8px;
}

.g18c-seo-text h3 {
  color: var(--g18c-gold);
  font-size: 1.45rem;
  margin: 12px 0 6px;
}

.g18c-seo-text p {
  margin-bottom: 10px;
}

.g18c-seo-text strong {
  color: var(--g18c-primary);
}

/* ---------- Footer ---------- */
.g18c-footer {
  background: var(--g18c-bg-deep);
  border-top: 1px solid var(--g18c-border);
  padding: 22px 14px 30px;
}

.g18c-footer-brand {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--g18c-gold);
  margin-bottom: 6px;
}

.g18c-footer-desc {
  font-size: 1.2rem;
  color: var(--g18c-text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.g18c-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.g18c-footer-links a {
  font-size: 1.22rem;
  color: var(--g18c-text-dim);
}

.g18c-footer-links a:hover {
  color: var(--g18c-gold);
}

.g18c-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.g18c-footer-bottom {
  border-top: 1px solid var(--g18c-border);
  padding-top: 12px;
  font-size: 1.15rem;
  color: var(--g18c-text-muted);
  text-align: center;
}

/* ---------- Mobile Bottom Nav ---------- */
.g18c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--g18c-bottomnav-h);
  background: linear-gradient(180deg, var(--g18c-bg-deep), #111);
  border-top: 1px solid var(--g18c-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.4);
}

.g18c-bottom-nav button,
.g18c-bottom-nav a {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  color: var(--g18c-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  min-width: 60px;
  min-height: 60px;
  position: relative;
  transition: color 0.2s ease;
  text-decoration: none;
}

.g18c-bottom-nav button i,
.g18c-bottom-nav a i,
.g18c-bottom-nav .material-symbols-outlined,
.g18c-bottom-nav ion-icon {
  font-size: 24px;
}

.g18c-bottom-nav button:hover,
.g18c-bottom-nav a:hover {
  color: var(--g18c-gold);
}

.g18c-bottom-nav .g18c-active {
  color: var(--g18c-gold);
}

.g18c-bottom-nav .g18c-active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 30px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--g18c-gold);
}

/* ---------- Desktop rules ---------- */
@media (min-width: 769px) {
  .g18c-bottom-nav {
    display: none;
  }
}

/* ---------- Mobile bottom padding ---------- */
@media (max-width: 768px) {
  main {
    padding-bottom: 80px;
  }
}

/* ---------- Utility ---------- */
.g18c-text-center {
  text-align: center;
}

.g18c-mt-12 {
  margin-top: 12px;
}

.g18c-mt-16 {
  margin-top: 16px;
}

.g18c-hidden {
  display: none;
}
