/* Core CSS for onlinecasinogames.cfd - All classes use gc65- prefix */
/* Color palette: #F4A460 (sandy) | #0E1621 (dark navy) | #AFEEEE (pale turquoise) | #DEB887 (burlywood) | #E0F2F1 (mint) */

:root {
  --gc65-primary: #F4A460;
  --gc65-bg: #0E1621;
  --gc65-accent: #AFEEEE;
  --gc65-warm: #DEB887;
  --gc65-mint: #E0F2F1;
  --gc65-dark: #0a1018;
  --gc65-card: #141e2d;
  --gc65-border: #1e2d42;
  --gc65-text: #e8ece8;
  --gc65-muted: #8a9bae;
  --gc65-gold: #d4a543;
  --gc65-red: #e84057;
  --gc65-green: #34d399;
  --gc65-radius: 0.8rem;
  --gc65-shadow: 0 0.2rem 1rem rgba(0,0,0,0.35);
  font-size: 62.5%;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--gc65-bg);
  color: var(--gc65-text);
  font-size: 1.5rem;
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--gc65-primary); text-decoration: none; }
a:hover { color: var(--gc65-warm); }
img { max-width: 100%; height: auto; display: block; }

/* ===== HEADER ===== */
.gc65-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--gc65-dark) 0%, #162234 100%);
  border-bottom: 2px solid var(--gc65-primary);
  max-width: 430px;
  margin: 0 auto;
}
.gc65-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  min-height: 5rem;
}
.gc65-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.gc65-logo-area img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.5rem;
}
.gc65-site-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gc65-primary);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.gc65-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gc65-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: var(--gc65-radius);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  min-height: 3.4rem;
  text-align: center;
}
.gc65-btn-register {
  background: linear-gradient(135deg, var(--gc65-primary) 0%, #e8934a 100%);
  color: var(--gc65-dark);
}
.gc65-btn-register:hover { transform: scale(1.04); }
.gc65-btn-login {
  background: transparent;
  border: 2px solid var(--gc65-primary);
  color: var(--gc65-primary);
}
.gc65-btn-login:hover { background: rgba(244,164,96,0.1); }
.gc65-menu-toggle {
  background: none;
  border: none;
  color: var(--gc65-accent);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

/* ===== MOBILE MENU ===== */
.gc65-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(14,22,33,0.97);
  padding: 7rem 2rem 2rem;
  overflow-y: auto;
}
.gc65-mobile-menu.gc65-menu-active { display: block; }
.gc65-menu-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--gc65-accent);
  font-size: 2.4rem;
  cursor: pointer;
}
.gc65-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.gc65-menu-links li a {
  display: block;
  padding: 1.2rem 1rem;
  color: var(--gc65-text);
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 0.6rem;
  transition: background 0.2s;
}
.gc65-menu-links li a:hover {
  background: var(--gc65-card);
  color: var(--gc65-primary);
}

/* ===== MAIN CONTENT ===== */
.gc65-main {
  padding-top: 5.8rem;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .gc65-main { padding-bottom: 7.5rem; }
}

/* ===== CAROUSEL ===== */
.gc65-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
}
.gc65-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.gc65-slide-active { display: block; }
.gc65-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/8;
  object-fit: cover;
}

/* ===== SECTIONS ===== */
.gc65-section {
  padding: 2rem 1.2rem;
}
.gc65-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gc65-primary);
  margin-bottom: 1.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--gc65-border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.gc65-section-title i {
  font-size: 2rem;
  color: var(--gc65-gold);
}

/* ===== GAME GRID ===== */
.gc65-category-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gc65-accent);
  margin: 1.6rem 0 1rem;
  padding-left: 0.6rem;
  border-left: 3px solid var(--gc65-primary);
}
.gc65-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.gc65-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.15s;
  text-align: center;
}
.gc65-game-item:hover { transform: translateY(-2px); }
.gc65-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.6rem;
  border: 2px solid var(--gc65-border);
  transition: border-color 0.2s;
}
.gc65-game-item:hover img { border-color: var(--gc65-primary); }
.gc65-game-name {
  font-size: 1.1rem;
  color: var(--gc65-muted);
  margin-top: 0.3rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* ===== CONTENT CARDS ===== */
.gc65-card {
  background: var(--gc65-card);
  border-radius: var(--gc65-radius);
  padding: 1.6rem;
  margin-bottom: 1.4rem;
  border: 1px solid var(--gc65-border);
}
.gc65-card h3 {
  font-size: 1.6rem;
  color: var(--gc65-primary);
  margin-bottom: 0.8rem;
}
.gc65-card p {
  color: var(--gc65-muted);
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.gc65-card p:last-child { margin-bottom: 0; }

/* ===== PROMO BUTTONS ===== */
.gc65-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gc65-primary) 0%, #e8934a 100%);
  color: var(--gc65-dark);
  font-weight: 800;
  padding: 1rem 2rem;
  border-radius: var(--gc65-radius);
  font-size: 1.5rem;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all 0.2s;
  min-height: 4.4rem;
}
.gc65-promo-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0.4rem 1.2rem rgba(244,164,96,0.4);
}
.gc65-promo-text {
  color: var(--gc65-primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  font-size: 1.4rem;
}
.gc65-promo-text:hover { color: var(--gc65-warm); }

/* ===== FOOTER ===== */
.gc65-footer {
  background: var(--gc65-dark);
  border-top: 2px solid var(--gc65-border);
  padding: 2rem 1.2rem;
  text-align: center;
}
.gc65-footer-brand {
  color: var(--gc65-muted);
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 1.4rem;
}
.gc65-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.gc65-footer-promos .gc65-promo-btn {
  padding: 0.7rem 1.2rem;
  font-size: 1.2rem;
  min-height: 3.4rem;
}
.gc65-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.gc65-footer-links a {
  color: var(--gc65-accent);
  font-size: 1.3rem;
}
.gc65-footer-links a:hover { color: var(--gc65-primary); }
.gc65-copyright {
  color: var(--gc65-muted);
  font-size: 1.2rem;
  border-top: 1px solid var(--gc65-border);
  padding-top: 1rem;
}

/* ===== BOTTOM NAVIGATION ===== */
.gc65-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #162234 0%, var(--gc65-dark) 100%);
  border-top: 2px solid var(--gc65-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 6rem;
  max-width: 430px;
  margin: 0 auto;
}
.gc65-bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 5rem;
  background: none;
  border: none;
  color: var(--gc65-muted);
  cursor: pointer;
  transition: all 0.2s;
  gap: 0.2rem;
  padding: 0.4rem;
}
.gc65-bnav-btn:hover,
.gc65-bnav-active {
  color: var(--gc65-primary);
  transform: scale(1.08);
}
.gc65-bnav-btn i,
.gc65-bnav-btn span.material-icons-outlined,
.gc65-bnav-btn ion-icon {
  font-size: 2.4rem;
  line-height: 1;
}
.gc65-bnav-btn span.material-icons-outlined {
  font-size: 2.4rem;
}
.gc65-bnav-btn ion-icon {
  font-size: 2.4rem;
}
.gc65-bnav-label {
  font-size: 1rem;
  font-weight: 600;
}

/* ===== DESKTOP: HIDE BOTTOM NAV ===== */
@media (min-width: 769px) {
  .gc65-bottom-nav { display: none; }
}

/* ===== UTILITY CLASSES ===== */
.gc65-container { max-width: 430px; margin: 0 auto; }
.gc65-text-center { text-align: center; }
.gc65-text-primary { color: var(--gc65-primary); }
.gc65-text-accent { color: var(--gc65-accent); }
.gc65-text-muted { color: var(--gc65-muted); }
.gc65-mb-1 { margin-bottom: 1rem; }
.gc65-mb-2 { margin-bottom: 2rem; }
.gc65-mt-1 { margin-top: 1rem; }
.gc65-hidden { display: none; }
.gc65-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== FAQ ACCORDION ===== */
.gc65-faq-item {
  background: var(--gc65-card);
  border-radius: var(--gc65-radius);
  margin-bottom: 0.8rem;
  border: 1px solid var(--gc65-border);
  overflow: hidden;
}
.gc65-faq-q {
  padding: 1.2rem 1.4rem;
  font-weight: 700;
  color: var(--gc65-accent);
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.gc65-faq-a {
  padding: 0 1.4rem 1.2rem;
  color: var(--gc65-muted);
  font-size: 1.3rem;
  line-height: 1.6;
}

/* ===== WINNER MARQUEE ===== */
.gc65-winners {
  background: var(--gc65-card);
  border-radius: var(--gc65-radius);
  padding: 1rem 1.2rem;
  border: 1px solid var(--gc65-border);
  overflow: hidden;
}
.gc65-winners-list {
  display: flex;
  gap: 1.6rem;
  animation: gc65-scroll 18s linear infinite;
  white-space: nowrap;
}
@keyframes gc65-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.gc65-winner-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.2rem;
  color: var(--gc65-warm);
  flex-shrink: 0;
}
.gc65-winner-amount {
  color: var(--gc65-green);
  font-weight: 700;
}

/* ===== TESTIMONIALS ===== */
.gc65-testimonial {
  background: var(--gc65-card);
  border-radius: var(--gc65-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--gc65-primary);
}
.gc65-testimonial-name {
  color: var(--gc65-primary);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.gc65-testimonial-text {
  color: var(--gc65-muted);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.5;
}

/* ===== PAYMENT ICONS ===== */
.gc65-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  align-items: center;
}
.gc65-payment-item {
  background: var(--gc65-card);
  border: 1px solid var(--gc65-border);
  border-radius: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  color: var(--gc65-accent);
  font-weight: 600;
}

/* ===== APP CTA ===== */
.gc65-app-cta {
  background: linear-gradient(135deg, var(--gc65-card) 0%, #1a2b3d 100%);
  border-radius: var(--gc65-radius);
  padding: 2rem 1.4rem;
  text-align: center;
  border: 1px solid var(--gc65-border);
}
.gc65-app-cta h3 {
  color: var(--gc65-primary);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}
.gc65-app-cta p {
  color: var(--gc65-muted);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

/* ===== HELP PAGE ===== */
.gc65-help-content {
  padding: 2rem 1.2rem;
}
.gc65-help-content h2 {
  font-size: 1.8rem;
  color: var(--gc65-primary);
  margin: 2rem 0 1rem;
}
.gc65-help-content h3 {
  font-size: 1.5rem;
  color: var(--gc65-accent);
  margin: 1.4rem 0 0.6rem;
}
.gc65-help-content p {
  color: var(--gc65-muted);
  font-size: 1.4rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.gc65-help-content ul,
.gc65-help-content ol {
  padding-left: 2rem;
  margin-bottom: 1rem;
}
.gc65-help-content li {
  color: var(--gc65-muted);
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}
.gc65-step-box {
  background: var(--gc65-card);
  border-radius: var(--gc65-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--gc65-primary);
}
.gc65-step-box strong {
  color: var(--gc65-primary);
}

/* ===== SCHEMA HIDDEN ===== */
.gc65-schema { display: none; }
