/*
 * Arion Plus - Core Stylesheet
 * All classes use g65f- prefix for namespace isolation
 * Color palette: #6495ED | #FFE4B5 | #FDF5E6 | #0A0A0A | #FFDEAD
 * @version 1.0.0
 */

:root {
  --g65f-primary: #6495ED;
  --g65f-accent: #FFE4B5;
  --g65f-light: #FDF5E6;
  --g65f-dark: #0A0A0A;
  --g65f-warm: #FFDEAD;
  --g65f-primary-dark: #4A78C9;
  --g65f-primary-light: #8BB0F2;
  --g65f-accent-dark: #E5C990;
  --g65f-text: #FDF5E6;
  --g65f-text-muted: #B8B0A0;
  --g65f-bg-card: #141414;
  --g65f-bg-elevated: #1C1C1C;
  --g65f-border: #2A2A2A;
  --g65f-radius: 0.8rem;
  --g65f-radius-sm: 0.5rem;
  --g65f-shadow: 0 2px 12px rgba(100, 149, 237, 0.15);
  --g65f-transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  background: var(--g65f-dark);
  color: var(--g65f-text);
  line-height: 1.6rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--g65f-primary); text-decoration: none; transition: var(--g65f-transition); }
a:hover { color: var(--g65f-primary-light); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Container */
.g65f-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.g65f-wrapper { padding: 1.5rem 0; }

/* Header */
.g65f-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 5.6rem;
  background: linear-gradient(135deg, #0D0D0D 0%, #1A1A2E 100%);
  border-bottom: 1px solid var(--g65f-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem; z-index: 1000;
  backdrop-filter: blur(12px);
}
.g65f-header-logo {
  display: flex; align-items: center; gap: 0.8rem; cursor: pointer;
}
.g65f-header-logo img { width: 3rem; height: 3rem; border-radius: 0.6rem; }
.g65f-header-logo span {
  font-size: 1.7rem; font-weight: 700; color: var(--g65f-primary);
  letter-spacing: 0.5px;
}
.g65f-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.g65f-header-btn {
  padding: 0.6rem 1.4rem; border-radius: 2rem; font-size: 1.2rem;
  font-weight: 600; border: none; cursor: pointer;
  transition: var(--g65f-transition); text-transform: uppercase;
  letter-spacing: 0.5px;
}
.g65f-btn-register {
  background: linear-gradient(135deg, var(--g65f-primary) 0%, var(--g65f-primary-dark) 100%);
  color: #fff; box-shadow: 0 2px 8px rgba(100, 149, 237, 0.4);
}
.g65f-btn-register:hover { transform: scale(1.05); box-shadow: 0 4px 16px rgba(100, 149, 237, 0.5); }
.g65f-btn-login {
  background: transparent; color: var(--g65f-accent);
  border: 1.5px solid var(--g65f-accent);
}
.g65f-btn-login:hover { background: rgba(255, 228, 181, 0.1); transform: scale(1.05); }
.g65f-menu-toggle {
  background: none; border: none; color: var(--g65f-text-muted);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem;
  transition: var(--g65f-transition);
}
.g65f-menu-toggle:hover { color: var(--g65f-primary); }

/* Mobile Menu */
.g65f-menu-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 9998; opacity: 0;
  pointer-events: none; transition: opacity 0.3s ease;
}
.g65f-overlay-active { opacity: 1; pointer-events: auto; }
.g65f-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: linear-gradient(180deg, #0D0D0D 0%, #1A1A2E 100%);
  z-index: 9999; transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem 1.5rem; overflow-y: auto;
}
.g65f-menu-active { right: 0; }
.g65f-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.g65f-menu-title { font-size: 1.8rem; font-weight: 700; color: var(--g65f-primary); }
.g65f-menu-close { background: none; border: none; color: var(--g65f-text-muted); font-size: 2rem; cursor: pointer; }
.g65f-menu-links { display: flex; flex-direction: column; gap: 0.3rem; }
.g65f-menu-link {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1rem; border-radius: var(--g65f-radius-sm);
  color: var(--g65f-text); font-size: 1.4rem; font-weight: 500;
  transition: var(--g65f-transition);
}
.g65f-menu-link:hover { background: rgba(100, 149, 237, 0.1); color: var(--g65f-primary); }
.g65f-menu-link i, .g65f-menu-link .material-icons-outlined { font-size: 2rem; width: 2.4rem; text-align: center; }

/* Main Content */
.g65f-main { padding-top: 5.6rem; }
@media (max-width: 768px) {
  .g65f-main { padding-bottom: 8rem; }
}

/* Carousel */
.g65f-carousel { position: relative; width: 100%; overflow: hidden; border-radius: 0; }
.g65f-carousel-track { position: relative; width: 100%; height: 20rem; }
.g65f-carousel-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.8s ease;
}
.g65f-slide-active { opacity: 1; }
.g65f-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.g65f-carousel-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.6rem; z-index: 5;
}
.g65f-carousel-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(253, 245, 230, 0.4); cursor: pointer;
  transition: var(--g65f-transition); border: none;
}
.g65f-dot-active { background: var(--g65f-primary); transform: scale(1.3); }

/* Section Headings */
.g65f-section { padding: 2rem 1.2rem; }
.g65f-section-title {
  font-size: 2rem; font-weight: 700; color: var(--g65f-primary);
  margin-bottom: 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--g65f-primary-dark);
}
.g65f-section-subtitle { font-size: 1.6rem; font-weight: 600; color: var(--g65f-accent); margin: 1.5rem 0 0.8rem; }

/* Game Grid */
.g65f-game-section { margin-bottom: 1.5rem; }
.g65f-game-category {
  font-size: 1.6rem; font-weight: 700; color: var(--g65f-warm);
  margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem;
}
.g65f-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.g65f-game-item {
  text-align: center; cursor: pointer;
  transition: var(--g65f-transition); border-radius: var(--g65f-radius-sm);
  padding: 0.5rem 0.2rem;
}
.g65f-game-item:hover { background: var(--g65f-bg-elevated); transform: translateY(-2px); }
.g65f-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: var(--g65f-radius-sm);
  object-fit: cover; border: 1px solid var(--g65f-border);
}
.g65f-game-item span {
  display: block; font-size: 1.1rem; color: var(--g65f-text-muted);
  margin-top: 0.3rem; line-height: 1.3rem; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}

/* Content Cards */
.g65f-card {
  background: var(--g65f-bg-card); border-radius: var(--g65f-radius);
  border: 1px solid var(--g65f-border); padding: 1.5rem;
  margin-bottom: 1.2rem; transition: var(--g65f-transition);
}
.g65f-card:hover { border-color: var(--g65f-primary-dark); }
.g65f-card-title {
  font-size: 1.6rem; font-weight: 700; color: var(--g65f-primary);
  margin-bottom: 0.8rem;
}
.g65f-card p { color: var(--g65f-text-muted); font-size: 1.3rem; line-height: 1.8rem; }
.g65f-card ul { padding-left: 1.5rem; list-style: disc; }
.g65f-card li { color: var(--g65f-text-muted); font-size: 1.3rem; margin-bottom: 0.4rem; line-height: 1.7rem; }

/* Promo Link Styles */
.g65f-promo-text { color: var(--g65f-primary); font-weight: 700; cursor: pointer; transition: var(--g65f-transition); }
.g65f-promo-text:hover { color: var(--g65f-primary-light); text-decoration: underline; }
.g65f-promo-btn {
  display: inline-block; padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--g65f-primary) 0%, var(--g65f-primary-dark) 100%);
  color: #fff; border-radius: 3rem; font-size: 1.5rem;
  font-weight: 700; cursor: pointer; border: none;
  transition: var(--g65f-transition); text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(100, 149, 237, 0.4);
}
.g65f-promo-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(100, 149, 237, 0.5); }

/* Footer */
.g65f-footer {
  background: linear-gradient(180deg, #0D0D0D 0%, #050510 100%);
  padding: 2.5rem 1.2rem 2rem; border-top: 1px solid var(--g65f-border);
}
.g65f-footer-brand { text-align: center; margin-bottom: 1.5rem; }
.g65f-footer-brand p { font-size: 1.2rem; color: var(--g65f-text-muted); line-height: 1.7rem; }
.g65f-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.g65f-footer-link {
  padding: 0.5rem 1.2rem; background: var(--g65f-bg-elevated);
  border-radius: 2rem; font-size: 1.1rem; color: var(--g65f-text-muted);
  border: 1px solid var(--g65f-border); cursor: pointer;
  transition: var(--g65f-transition);
}
.g65f-footer-link:hover { border-color: var(--g65f-primary); color: var(--g65f-primary); }
.g65f-footer-partners { text-align: center; margin-bottom: 1.5rem; }
.g65f-footer-partners img { height: 2.5rem; margin: 0 auto; }
.g65f-footer-copy { text-align: center; font-size: 1.1rem; color: var(--g65f-text-muted); opacity: 0.6; }

/* Bottom Navigation */
.g65f-bnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 6rem;
  background: linear-gradient(180deg, #0D0D0D 0%, #050510 100%);
  border-top: 1px solid var(--g65f-border);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; padding: 0 0.3rem;
}
.g65f-bnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 5.8rem; min-height: 5.8rem; background: none; border: none;
  color: var(--g65f-text-muted); cursor: pointer; transition: var(--g65f-transition);
  border-radius: var(--g65f-radius-sm); gap: 0.2rem;
}
.g65f-bnav-btn i, .g65f-bnav-btn .material-icons-outlined,
.g65f-bnav-btn ion-icon, .g65f-bnav-btn bi {
  font-size: 2.4rem; transition: var(--g65f-transition);
}
.g65f-bnav-btn span { font-size: 1rem; font-weight: 500; }
.g65f-bnav-btn:hover { color: var(--g65f-primary); }
.g65f-bnav-btn:hover i, .g65f-bnav-btn:hover .material-icons-outlined,
.g65f-bnav-btn:hover ion-icon { transform: scale(1.15); }
.g65f-bnav-active { color: var(--g65f-primary); }
.g65f-bnav-active i, .g65f-bnav-active .material-icons-outlined,
.g65f-bnav-active ion-icon { color: var(--g65f-primary); }
.g65f-bnav-active::after {
  content: ''; display: block; width: 2rem; height: 0.2rem;
  background: var(--g65f-primary); border-radius: 1rem;
  position: absolute; bottom: 0.3rem;
}

/* FAQ Accordion */
.g65f-faq-item { border-bottom: 1px solid var(--g65f-border); padding: 1rem 0; }
.g65f-faq-q {
  font-size: 1.4rem; font-weight: 600; color: var(--g65f-accent);
  margin-bottom: 0.5rem; cursor: pointer; display: flex; justify-content: space-between;
}
.g65f-faq-a { font-size: 1.3rem; color: var(--g65f-text-muted); line-height: 1.8rem; }

/* Winner List */
.g65f-winner-list { display: flex; flex-direction: column; gap: 0.6rem; }
.g65f-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 1rem; background: var(--g65f-bg-elevated);
  border-radius: var(--g65f-radius-sm); border: 1px solid var(--g65f-border);
}
.g65f-winner-name { font-size: 1.2rem; color: var(--g65f-text-muted); }
.g65f-winner-game { font-size: 1.1rem; color: var(--g65f-accent-dark); }
.g65f-winner-amount { font-size: 1.3rem; font-weight: 700; color: var(--g65f-primary); }

/* Utility */
.g65f-text-center { text-align: center; }
.g65f-mt-1 { margin-top: 1rem; }
.g65f-mt-2 { margin-top: 2rem; }
.g65f-mb-1 { margin-bottom: 1rem; }
.g65f-mb-2 { margin-bottom: 2rem; }
.g65f-text-sm { font-size: 1.2rem; }
.g65f-text-muted { color: var(--g65f-text-muted); }

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .g65f-bnav { display: none; }
}
/* Mobile adjustments */
@media (max-width: 768px) {
  .g65f-main { padding-bottom: 8rem; }
}
