/* ===========================================================
   hanna online - style-d6e7.css
   All custom classes use the ge70- prefix.
   Palette: #FFFACD | #FF8000 | #0E1621
   Mobile-first, max-width 430px container.
   =========================================================== */

:root {
  --ge70-primary: #FF8000;
  --ge70-accent: #FFFACD;
  --ge70-bg: #0E1621;
  --ge70-bg-alt: #142031;
  --ge70-text: #FFFACD;
  --ge70-text-muted: #b8c4d2;
  --ge70-card: #1a2738;
  --ge70-border: #25344a;
  --ge70-gold: #FFD580;
  --ge70-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 62.5%;
}

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

a {
  color: var(--ge70-primary);
  text-decoration: none;
}

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

/* ---------- Header ---------- */
.ge70-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(180deg, #0b121d 0%, #0E1621 100%);
  border-bottom: 1px solid var(--ge70-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
}

.ge70-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ge70-accent);
}

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

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

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

.ge70-btn {
  border: none;
  border-radius: 20px;
  padding: 0.6rem 1.2rem;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease;
  min-height: 34px;
}

.ge70-btn:active {
  transform: scale(0.95);
}

.ge70-btn-login {
  background: transparent;
  color: var(--ge70-accent);
  border: 1px solid var(--ge70-primary);
}

.ge70-btn-register {
  background: linear-gradient(90deg, #FF8000, #ffa84a);
  color: #0E1621;
  box-shadow: 0 2px 8px rgba(255, 128, 0, 0.4);
}

.ge70-menu-btn {
  background: transparent;
  border: none;
  color: var(--ge70-accent);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
}

/* ---------- Mobile Menu ---------- */
.ge70-mobile-menu {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 100vh;
  background: var(--ge70-bg-alt);
  padding: 6rem 1.5rem 2rem;
  z-index: 9999;
  transform: translate(-50%, -110%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.ge70-mobile-menu.ge70-menu-open {
  transform: translate(-50%, 0);
}

.ge70-mobile-menu h3 {
  color: var(--ge70-primary);
  font-size: 1.5rem;
  margin: 1.2rem 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ge70-mobile-menu a {
  display: block;
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid var(--ge70-border);
  color: var(--ge70-accent);
  font-size: 1.35rem;
}

.ge70-mobile-menu a:active {
  background: rgba(255, 128, 0, 0.1);
}

.ge70-menu-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  color: var(--ge70-accent);
  font-size: 2rem;
  cursor: pointer;
}

/* ---------- Layout ---------- */
.ge70-main {
  padding-top: 6rem;
  padding-bottom: 1rem;
}

main {
  padding-bottom: 80px;
}

.ge70-section {
  padding: 1.5rem 1rem;
}

.ge70-section-title {
  font-size: 1.7rem;
  color: var(--ge70-primary);
  margin-bottom: 0.8rem;
  font-weight: 700;
  border-left: 4px solid var(--ge70-primary);
  padding-left: 0.8rem;
}

.ge70-container {
  width: 100%;
}

/* ---------- Hero Carousel ---------- */
.ge70-carousel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 1.2rem;
  box-shadow: var(--ge70-shadow);
}

.ge70-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.ge70-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.ge70-carousel-slide.ge70-slide-active {
  opacity: 1;
}

.ge70-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ge70-carousel-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(180deg, transparent, rgba(14, 22, 33, 0.92));
  padding: 1.5rem 1rem 1rem;
  color: var(--ge70-accent);
  font-weight: 700;
  font-size: 1.35rem;
}

.ge70-carousel-dots {
  position: absolute;
  bottom: 0.6rem;
  right: 0.8rem;
  display: flex;
  gap: 0.4rem;
}

.ge70-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 250, 205, 0.4);
  border: none;
  cursor: pointer;
}

.ge70-carousel-dot.ge70-dot-active {
  background: var(--ge70-primary);
}

/* ---------- Category Tabs ---------- */
.ge70-cat-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}

.ge70-cat-tab {
  flex: 0 0 auto;
  padding: 0.5rem 1.1rem;
  border-radius: 18px;
  background: var(--ge70-card);
  color: var(--ge70-text-muted);
  font-size: 1.2rem;
  border: 1px solid var(--ge70-border);
  cursor: pointer;
  white-space: nowrap;
}

.ge70-cat-tab.ge70-cat-tab-active {
  background: var(--ge70-primary);
  color: #0E1621;
  border-color: var(--ge70-primary);
}

/* ---------- Game Grid ---------- */
.ge70-game-section {
  margin-bottom: 1.5rem;
}

.ge70-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.ge70-game-card {
  background: var(--ge70-card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--ge70-border);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.ge70-game-card:active {
  transform: scale(0.96);
  box-shadow: 0 0 0 2px var(--ge70-primary);
}

.ge70-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.ge70-game-name {
  font-size: 1.1rem;
  color: var(--ge70-accent);
  text-align: center;
  padding: 0.4rem 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Info / Feature blocks ---------- */
.ge70-card {
  background: var(--ge70-card);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--ge70-border);
}

.ge70-card p {
  color: var(--ge70-text-muted);
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

.ge70-card h3 {
  color: var(--ge70-accent);
  margin-bottom: 0.6rem;
  font-size: 1.5rem;
}

.ge70-cta {
  display: inline-block;
  background: linear-gradient(90deg, #FF8000, #ffa84a);
  color: #0E1621;
  padding: 0.8rem 1.8rem;
  border-radius: 25px;
  font-weight: 700;
  margin: 0.6rem 0;
  border: none;
  cursor: pointer;
  font-size: 1.35rem;
  box-shadow: 0 3px 12px rgba(255, 128, 0, 0.45);
}

.ge70-text-link {
  color: var(--ge70-primary);
  font-weight: 700;
  text-decoration: underline;
}

/* ---------- RTP table ---------- */
.ge70-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}

.ge70-rtp-table th,
.ge70-rtp-table td {
  padding: 0.6rem;
  border-bottom: 1px solid var(--ge70-border);
  text-align: left;
}

.ge70-rtp-table th {
  color: var(--ge70-primary);
}

.ge70-rtp-table td {
  color: var(--ge70-text-muted);
}

/* ---------- Testimonials ---------- */
.ge70-testimonial {
  background: var(--ge70-card);
  border-left: 3px solid var(--ge70-primary);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

.ge70-testimonial .ge70-author {
  color: var(--ge70-primary);
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 0.4rem;
}

/* ---------- Payment ---------- */
.ge70-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.ge70-pay-chip {
  background: var(--ge70-card);
  border: 1px solid var(--ge70-border);
  color: var(--ge70-accent);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
}

/* ---------- FAQ ---------- */
.ge70-faq-item {
  background: var(--ge70-card);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.7rem;
  border: 1px solid var(--ge70-border);
}

.ge70-faq-item h4 {
  color: var(--ge70-primary);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.ge70-faq-item p {
  color: var(--ge70-text-muted);
  font-size: 1.25rem;
}

/* ---------- Footer ---------- */
.ge70-footer {
  background: #0a111c;
  padding: 1.5rem 1rem 2rem;
  border-top: 1px solid var(--ge70-border);
  font-size: 1.2rem;
  color: var(--ge70-text-muted);
}

.ge70-footer-brand {
  color: var(--ge70-accent);
  margin-bottom: 0.8rem;
  line-height: 1.6rem;
}

.ge70-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0;
}

.ge70-footer-promos button {
  background: var(--ge70-primary);
  color: #0E1621;
  border: none;
  border-radius: 16px;
  padding: 0.4rem 0.9rem;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
}

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

.ge70-footer-links a {
  color: var(--ge70-text-muted);
  font-size: 1.15rem;
  text-decoration: underline;
}

.ge70-copyright {
  margin-top: 1rem;
  color: var(--ge70-text-muted);
  font-size: 1.1rem;
  text-align: center;
}

/* ---------- Mobile Bottom Nav ---------- */
.ge70-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 62px;
  background: #0a111c;
  border-top: 1px solid var(--ge70-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

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

.ge70-bottom-nav a:active,
.ge70-bottom-nav button:active {
  transform: scale(0.92);
}

.ge70-bottom-nav .material-icons,
.ge70-bottom-nav ion-icon,
.ge70-bottom-nav i {
  font-size: 24px;
}

.ge70-bottom-nav a.ge70-nav-current,
.ge70-bottom-nav button.ge70-nav-current,
.ge70-bottom-nav a:hover,
.ge70-bottom-nav button:hover {
  color: var(--ge70-primary);
}

.ge70-nav-badge {
  position: absolute;
  top: 0.5rem;
  right: calc(50% - 1.7rem);
  background: #ff3b3b;
  color: #fff;
  font-size: 0.9rem;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.ge70-nav-item {
  position: relative;
}

/* ---------- Desktop: hide bottom nav ---------- */
@media (min-width: 769px) {
  .ge70-bottom-nav {
    display: none;
  }
  body {
    max-width: 768px;
  }
  main {
    padding-bottom: 1rem;
  }
}

/* ---------- Small screens fine-tuning ---------- */
@media (max-width: 360px) {
  .ge70-game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ge70-logo {
    font-size: 1.4rem;
  }
}
