/* jiliok link - layout.css
   Style foundation for jilioklink.click
   All custom classes use gb09- prefix. */

:root {
  --gb09-bg-dark: #273746;
  --gb09-bg-darker: #1c2833;
  --gb09-bg-card: #21303f;
  --gb09-silver: #C0C0C0;
  --gb09-silver-light: #BDC3C7;
  --gb09-teal: #80CBC4;
  --gb09-teal-dark: #4db6ac;
  --gb09-gray-light: #DCDCDC;
  --gb09-off-white: #F8F9FA;
  --gb09-gold: #FFD700;
  --gb09-rose: #e57373;
  --gb09-radius: 10px;
  --gb09-radius-sm: 6px;
  --gb09-transition: all 0.25s ease;
  --gb09-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--gb09-bg-dark);
  color: var(--gb09-off-white);
  font-size: 1.5rem;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gb09-teal); text-decoration: none; transition: var(--gb09-transition); }
a:hover { color: var(--gb09-off-white); }
button { cursor: pointer; border: none; font-family: inherit; }
ul { list-style: none; }

/* Layout containers (mobile-first, max 430px) */
.gb09-container, .gb09-wrapper { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1rem; }
.gb09-section { padding: 1.6rem 1rem; }
.gb09-section-title {
  font-size: 1.7rem; color: var(--gb09-teal); margin-bottom: 1rem; font-weight: 700;
  display: flex; align-items: center; gap: 0.6rem;
}

/* Header */
.gb09-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, var(--gb09-bg-darker) 0%, var(--gb09-bg-dark) 100%);
  border-bottom: 2px solid var(--gb09-teal);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.gb09-header-inner {
  max-width: 430px; margin: 0 auto; padding: 0.7rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
}
.gb09-logo { display: flex; align-items: center; gap: 0.5rem; color: var(--gb09-off-white); font-weight: 700; }
.gb09-logo img { width: 28px; height: 28px; border-radius: 6px; }
.gb09-logo span { font-size: 1.5rem; }
.gb09-header-nav { display: flex; align-items: center; gap: 0.4rem; }

/* Buttons */
.gb09-btn { padding: 0.6rem 1rem; border-radius: var(--gb09-radius-sm); font-size: 1.25rem; font-weight: 600; transition: var(--gb09-transition); }
.gb09-btn-register {
  background: linear-gradient(135deg, var(--gb09-teal) 0%, var(--gb09-teal-dark) 100%);
  color: var(--gb09-bg-darker);
}
.gb09-btn-register:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(128, 203, 196, 0.45); color: var(--gb09-bg-darker); }
.gb09-btn-login { background: transparent; color: var(--gb09-off-white); border: 1px solid var(--gb09-silver-light); }
.gb09-btn-login:hover { background: var(--gb09-silver-light); color: var(--gb09-bg-darker); }

.gb09-btn-promo {
  display: inline-block; cursor: pointer; text-align: center;
  background: linear-gradient(135deg, var(--gb09-teal) 0%, var(--gb09-teal-dark) 100%);
  color: var(--gb09-bg-darker);
  padding: 0.9rem 1.6rem; border-radius: var(--gb09-radius);
  font-weight: 700; font-size: 1.4rem; margin: 0.6rem 0;
  box-shadow: 0 4px 14px rgba(128, 203, 196, 0.35);
}
.gb09-btn-promo:hover { transform: translateY(-2px); color: var(--gb09-bg-darker); }
.gb09-text-link { color: var(--gb09-teal); font-weight: 700; text-decoration: underline; }
.gb09-text-link:hover { color: var(--gb09-off-white); }

.gb09-menu-toggle {
  background: transparent; color: var(--gb09-off-white);
  font-size: 1.8rem; padding: 0.4rem 0.6rem; border-radius: 6px;
}

/* Mobile menu (drawer) */
.gb09-mobile-menu {
  position: fixed; top: 56px; left: 0; right: 0; z-index: 9999;
  background: var(--gb09-bg-darker);
  border-bottom: 2px solid var(--gb09-teal);
  padding: 0.6rem 1rem;
  transform: translateY(-200%); transition: transform 0.3s ease;
  max-height: calc(100vh - 56px); overflow-y: auto;
}
.gb09-mobile-menu.gb09-menu-open { transform: translateY(0); }
.gb09-mobile-menu a {
  display: block; padding: 0.9rem 0.6rem; color: var(--gb09-off-white);
  border-bottom: 1px solid rgba(192, 192, 192, 0.18); font-size: 1.35rem;
}
.gb09-mobile-menu a:hover { background: rgba(128, 203, 196, 0.14); padding-left: 1rem; }

/* Main content */
main { padding-top: 58px; min-height: 100vh; }
.gb09-menu-overflow { overflow: hidden; }

/* Carousel */
.gb09-carousel {
  position: relative; width: 100%; max-width: 430px; margin: 0 auto;
  overflow: hidden; background: var(--gb09-bg-darker);
}
.gb09-carousel-track { position: relative; width: 100%; padding-top: 50%; }
.gb09-carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease;
  cursor: pointer;
}
.gb09-carousel-slide.gb09-slide-active { opacity: 1; }
.gb09-carousel-slide img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.gb09-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 2;
}
.gb09-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.4); cursor: pointer; padding: 0; border: none;
}
.gb09-carousel-dot.gb09-dot-active { background: var(--gb09-teal); }
.gb09-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  background: rgba(0, 0, 0, 0.35); color: #fff; width: 30px; height: 30px;
  border-radius: 50%; font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
}
.gb09-carousel-arrow:hover { background: var(--gb09-teal); color: var(--gb09-bg-darker); }
.gb09-carousel-prev { left: 6px; }
.gb09-carousel-next { right: 6px; }

/* Page title (H1) */
.gb09-page-title {
  text-align: center; padding: 1.2rem 1rem; font-size: 1.7rem;
  color: var(--gb09-off-white); line-height: 1.35;
}
.gb09-page-title span { color: var(--gb09-teal); }

/* Games grid */
.gb09-games-section { padding: 1.4rem 1rem; }
.gb09-games-section h2 {
  font-size: 1.5rem; color: var(--gb09-teal); margin-bottom: 0.9rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.gb09-games-section h2 i { font-size: 1.7rem; }
.gb09-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.gb09-game-card {
  background: var(--gb09-bg-card); border-radius: var(--gb09-radius-sm);
  padding: 0.55rem; text-align: center; cursor: pointer;
  border: 1px solid rgba(128, 203, 196, 0.15); transition: var(--gb09-transition);
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
}
.gb09-game-card:hover {
  transform: translateY(-3px); border-color: var(--gb09-teal);
  box-shadow: 0 4px 12px rgba(128, 203, 196, 0.25);
}
.gb09-game-card img { width: 56px; height: 56px; border-radius: 8px; }
.gb09-game-card span {
  font-size: 1.05rem; color: var(--gb09-gray-light);
  line-height: 1.2; word-break: break-word; min-height: 2.6em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Modules */
.gb09-module {
  background: var(--gb09-bg-card); padding: 1.3rem; margin: 1rem;
  border-radius: var(--gb09-radius); border-left: 3px solid var(--gb09-teal);
}
.gb09-module h2 { color: var(--gb09-teal); font-size: 1.55rem; margin-bottom: 0.8rem; }
.gb09-module h3 { color: var(--gb09-silver-light); font-size: 1.3rem; margin: 0.7rem 0 0.35rem; }
.gb09-module p { color: var(--gb09-gray-light); font-size: 1.3rem; margin-bottom: 0.6rem; }
.gb09-module ul { padding-left: 1.4rem; margin-bottom: 0.7rem; list-style: disc; }
.gb09-module li { color: var(--gb09-gray-light); font-size: 1.3rem; margin-bottom: 0.35rem; }

/* Testimonials */
.gb09-testimonial {
  background: rgba(128, 203, 196, 0.08); border-left: 3px solid var(--gb09-teal);
  border-radius: var(--gb09-radius-sm); padding: 0.9rem; margin-bottom: 0.7rem;
}
.gb09-testimonial-name { color: var(--gb09-teal); font-weight: 700; font-size: 1.3rem; }
.gb09-testimonial-stars { color: var(--gb09-gold); font-size: 1.15rem; margin: 0.2rem 0; }
.gb09-testimonial-text { color: var(--gb09-gray-light); font-size: 1.25rem; font-style: italic; }

/* Winners */
.gb09-winner-row {
  display: flex; justify-content: space-between; padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(192, 192, 192, 0.2); font-size: 1.25rem;
}
.gb09-winner-name { color: var(--gb09-teal); font-weight: 600; }
.gb09-winner-amount { color: var(--gb09-gold); font-weight: 700; }

/* Payment */
.gb09-payment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 0.6rem; }
.gb09-payment-item {
  background: rgba(255, 255, 255, 0.07); padding: 0.7rem 0.4rem;
  border-radius: 6px; text-align: center; font-size: 1.05rem; color: var(--gb09-silver-light);
}
.gb09-payment-item i { font-size: 1.8rem; color: var(--gb09-teal); margin-bottom: 0.3rem; display: block; }

/* Category highlights */
.gb09-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin-top: 0.6rem; }
.gb09-cat-card {
  background: rgba(128, 203, 196, 0.07); border-radius: var(--gb09-radius-sm);
  padding: 0.9rem; border: 1px solid rgba(128, 203, 196, 0.18);
}
.gb09-cat-card h3 { color: var(--gb09-teal); font-size: 1.3rem; margin-bottom: 0.3rem; }
.gb09-cat-card p { color: var(--gb09-gray-light); font-size: 1.15rem; margin: 0; }

/* FAQ */
.gb09-faq-item {
  background: rgba(255, 255, 255, 0.05); padding: 0.8rem; border-radius: var(--gb09-radius-sm);
  margin-bottom: 0.5rem;
}
.gb09-faq-q { color: var(--gb09-teal); font-weight: 700; font-size: 1.3rem; margin-bottom: 0.3rem; }
.gb09-faq-a { color: var(--gb09-gray-light); font-size: 1.25rem; }

/* App download CTA */
.gb09-app-cta {
  background: linear-gradient(135deg, rgba(128, 203, 196, 0.15), rgba(77, 182, 172, 0.08));
  border-radius: var(--gb09-radius); padding: 1.2rem; text-align: center; margin: 1rem;
  border: 1px dashed var(--gb09-teal);
}
.gb09-app-cta h2 { color: var(--gb09-teal); font-size: 1.5rem; margin-bottom: 0.5rem; }
.gb09-app-cta p { color: var(--gb09-gray-light); font-size: 1.25rem; margin-bottom: 0.8rem; }

/* Footer */
.gb09-footer {
  background: var(--gb09-bg-darker); padding: 1.8rem 1rem 1rem;
  border-top: 2px solid var(--gb09-teal); margin-top: 1.5rem;
}
.gb09-footer-brand { color: var(--gb09-silver-light); font-size: 1.25rem; line-height: 1.55; margin-bottom: 1rem; }
.gb09-footer-promos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
.gb09-footer-promos .gb09-btn-promo { margin: 0; padding: 0.65rem 0.4rem; font-size: 1.15rem; }
.gb09-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.3rem; margin-bottom: 0.9rem; }
.gb09-footer-links a { color: var(--gb09-silver-light); font-size: 1.15rem; padding: 0.25rem 0; }
.gb09-footer-copy {
  text-align: center; color: var(--gb09-silver); font-size: 1.1rem;
  padding-top: 0.8rem; border-top: 1px solid rgba(192, 192, 192, 0.18);
}

/* Bottom nav */
.gb09-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; height: 62px; z-index: 1000;
  background: linear-gradient(180deg, var(--gb09-bg-dark) 0%, var(--gb09-bg-darker) 100%);
  display: flex; justify-content: space-around; align-items: center;
  border-top: 2px solid var(--gb09-teal); box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.4);
}
.gb09-bottom-nav-btn {
  flex: 1; height: 100%; min-width: 60px; background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--gb09-silver-light); font-size: 1rem; gap: 2px;
  transition: var(--gb09-transition);
}
.gb09-bottom-nav-btn i, .gb09-bottom-nav-btn ion-icon { font-size: 22px; }
.gb09-bottom-nav-btn:hover, .gb09-bottom-nav-btn.gb09-nav-active {
  color: var(--gb09-teal); transform: translateY(-2px);
}
.gb09-nav-badge {
  position: absolute; top: 4px; right: 18px; background: var(--gb09-rose);
  color: #fff; font-size: 0.85rem; min-width: 15px; height: 15px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0 3px;
}

/* Desktop */
@media (min-width: 769px) {
  .gb09-bottom-nav { display: none; }
  .gb09-container, .gb09-wrapper, .gb09-carousel, .gb09-header-inner, .gb09-footer { max-width: 768px; }
  .gb09-game-grid { grid-template-columns: repeat(6, 1fr); }
  .gb09-payment-grid { grid-template-columns: repeat(6, 1fr); }
  .gb09-cat-grid { grid-template-columns: repeat(4, 1fr); }
  main { padding-bottom: 2rem; }
}

/* Mobile bottom padding for fixed bottom nav */
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
  .gb09-footer { padding-bottom: 80px; }
}
