/**
 * kiss ph - Core Stylesheet
 * All classes use gaba- prefix for namespace isolation
 * Color palette: #0C0C0C (dark bg), #F0FDFF (light text), #EEEEEE (secondary)
 */

/* CSS Variables */
:root {
  --gaba-primary: #F0FDFF;
  --gaba-bg: #0C0C0C;
  --gaba-text: #EEEEEE;
  --gaba-accent: #00E5A0;
  --gaba-accent2: #FF6B35;
  --gaba-accent3: #3B82F6;
  --gaba-card-bg: #1A1A1A;
  --gaba-card-border: #2A2A2A;
  --gaba-gradient: linear-gradient(135deg, #0C0C0C 0%, #1A1A2E 100%);
  --gaba-radius: 8px;
  --gaba-radius-lg: 12px;
  --gaba-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-size: 62.5%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  background: var(--gaba-bg);
  color: var(--gaba-text);
  font-size: 1.6rem;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gaba-accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gaba-primary);
}

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

/* Header */
.gaba-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 12, 12, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gaba-card-border);
  padding: 0 1.2rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 430px;
  margin: 0 auto;
}

.gaba-header-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.gaba-header-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.gaba-header-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gaba-primary);
  letter-spacing: 0.5px;
}

.gaba-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.gaba-btn-register {
  background: var(--gaba-accent);
  color: #0C0C0C;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: var(--gaba-radius);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gaba-btn-register:hover {
  background: #00C98A;
  transform: scale(1.05);
}

.gaba-btn-login {
  background: transparent;
  color: var(--gaba-primary);
  border: 1px solid var(--gaba-accent);
  padding: 0.6rem 1.4rem;
  border-radius: var(--gaba-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.gaba-btn-login:hover {
  background: rgba(0, 229, 160, 0.1);
}

.gaba-menu-toggle {
  background: none;
  border: none;
  color: var(--gaba-primary);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* Mobile Menu */
.gaba-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.gaba-overlay-active {
  opacity: 1;
  pointer-events: auto;
}

.gaba-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: #111;
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 1.6rem;
}

.gaba-menu-active {
  right: 0;
}

.gaba-menu-close {
  background: none;
  border: none;
  color: var(--gaba-primary);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1.2rem;
}

.gaba-menu-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gaba-accent);
  margin-bottom: 2rem;
}

.gaba-menu-nav {
  list-style: none;
}

.gaba-menu-nav li {
  border-bottom: 1px solid var(--gaba-card-border);
}

.gaba-menu-nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  color: var(--gaba-text);
  font-size: 1.5rem;
  transition: color 0.2s;
}

.gaba-menu-nav a:hover {
  color: var(--gaba-accent);
}

.gaba-menu-nav .material-icons-outlined {
  font-size: 2rem;
}

/* Main Content */
main {
  padding-top: 56px;
  padding-bottom: 1rem;
}

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

.gaba-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* Carousel */
.gaba-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--gaba-radius-lg);
  margin-bottom: 2rem;
}

.gaba-carousel-inner {
  position: relative;
  width: 100%;
  padding-top: 50%;
}

.gaba-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.gaba-slide-active {
  opacity: 1;
}

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

.gaba-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.gaba-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(240, 253, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.gaba-dot-active {
  background: var(--gaba-accent);
  width: 20px;
  border-radius: 4px;
}

/* Section Titles */
.gaba-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gaba-primary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gaba-accent);
  display: inline-block;
}

.gaba-section-subtitle {
  font-size: 1.4rem;
  color: #999;
  margin-bottom: 1.6rem;
}

/* Game Grid */
.gaba-game-section {
  margin-bottom: 2.4rem;
}

.gaba-game-category-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gaba-accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.gaba-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.gaba-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  border-radius: var(--gaba-radius);
  overflow: hidden;
}

.gaba-game-item:hover {
  transform: scale(1.05);
}

.gaba-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--gaba-radius);
  border: 1px solid var(--gaba-card-border);
}

.gaba-game-item span {
  display: block;
  font-size: 1.1rem;
  color: var(--gaba-text);
  margin-top: 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cards */
.gaba-card {
  background: var(--gaba-card-bg);
  border: 1px solid var(--gaba-card-border);
  border-radius: var(--gaba-radius-lg);
  padding: 1.6rem;
  margin-bottom: 1.6rem;
}

.gaba-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gaba-primary);
  margin-bottom: 0.8rem;
}

.gaba-card-text {
  font-size: 1.4rem;
  color: #BBB;
  line-height: 1.6;
}

/* Promo Links */
.gaba-promo-btn {
  display: inline-block;
  background: var(--gaba-accent);
  color: #0C0C0C;
  padding: 1rem 2.4rem;
  border-radius: var(--gaba-radius);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all 0.2s;
  text-transform: uppercase;
}

.gaba-promo-btn:hover {
  background: #00C98A;
  transform: scale(1.05);
}

.gaba-promo-link {
  color: var(--gaba-accent);
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}

.gaba-promo-link:hover {
  color: #00C98A;
  text-decoration: underline;
}

/* Content Blocks */
.gaba-content-block {
  margin-bottom: 2rem;
  padding: 1.6rem;
  background: var(--gaba-card-bg);
  border-radius: var(--gaba-radius-lg);
  border-left: 3px solid var(--gaba-accent);
}

.gaba-content-block h2 {
  font-size: 1.8rem;
  color: var(--gaba-primary);
  margin-bottom: 0.8rem;
}

.gaba-content-block h3 {
  font-size: 1.5rem;
  color: var(--gaba-accent);
  margin-bottom: 0.6rem;
}

.gaba-content-block p {
  font-size: 1.4rem;
  color: #BBB;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.gaba-content-block ul {
  list-style: none;
  padding: 0;
}

.gaba-content-block li {
  font-size: 1.4rem;
  color: #BBB;
  padding: 0.4rem 0;
  padding-left: 1.4rem;
  position: relative;
}

.gaba-content-block li::before {
  content: '\25B8';
  position: absolute;
  left: 0;
  color: var(--gaba-accent);
}

/* Stats Bar */
.gaba-stats-bar {
  display: flex;
  justify-content: space-around;
  background: var(--gaba-card-bg);
  border-radius: var(--gaba-radius-lg);
  padding: 1.2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--gaba-card-border);
}

.gaba-stat-item {
  text-align: center;
}

.gaba-stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gaba-accent);
}

.gaba-stat-label {
  font-size: 1.1rem;
  color: #888;
}

/* Footer */
.gaba-footer {
  background: #0A0A0A;
  border-top: 1px solid var(--gaba-card-border);
  padding: 2rem 1.2rem;
  text-align: center;
}

.gaba-footer-brand {
  font-size: 1.4rem;
  color: #888;
  line-height: 1.6;
  margin-bottom: 1.6rem;
}

.gaba-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.gaba-footer-links a {
  font-size: 1.2rem;
  color: #888;
  transition: color 0.2s;
}

.gaba-footer-links a:hover {
  color: var(--gaba-accent);
}

.gaba-footer-partners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}

.gaba-footer-partners img {
  height: 24px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.gaba-footer-partners img:hover {
  opacity: 1;
}

.gaba-footer-copy {
  font-size: 1.2rem;
  color: #555;
  border-top: 1px solid var(--gaba-card-border);
  padding-top: 1.2rem;
}

/* Bottom Navigation */
.gaba-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--gaba-card-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  max-width: 430px;
  margin: 0 auto;
}

.gaba-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0.4rem;
  border-radius: var(--gaba-radius);
}

.gaba-bottom-btn:hover,
.gaba-bottom-btn:focus {
  color: var(--gaba-accent);
  transform: scale(1.1);
}

.gaba-bottom-btn-active {
  color: var(--gaba-accent) !important;
}

.gaba-bottom-btn .material-icons-outlined,
.gaba-bottom-btn .material-icons {
  font-size: 24px;
}

.gaba-bottom-btn i {
  font-size: 22px;
}

.gaba-bottom-btn ion-icon {
  font-size: 24px;
}

.gaba-bottom-btn span {
  font-size: 1rem;
  margin-top: 0.2rem;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .gaba-bottom-nav {
    display: none;
  }
  main {
    padding-bottom: 1rem;
  }
}

/* Utility */
.gaba-text-center { text-align: center; }
.gaba-text-accent { color: var(--gaba-accent); }
.gaba-mt-1 { margin-top: 0.8rem; }
.gaba-mt-2 { margin-top: 1.6rem; }
.gaba-mb-1 { margin-bottom: 0.8rem; }
.gaba-mb-2 { margin-bottom: 1.6rem; }
.gaba-py-2 { padding: 1.6rem 0; }
.gaba-hidden { display: none; }

/* Testimonials */
.gaba-testimonial {
  background: var(--gaba-card-bg);
  border-radius: var(--gaba-radius-lg);
  padding: 1.4rem;
  margin-bottom: 1rem;
  border: 1px solid var(--gaba-card-border);
}

.gaba-testimonial-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gaba-accent);
}

.gaba-testimonial-text {
  font-size: 1.3rem;
  color: #BBB;
  margin-top: 0.4rem;
}

.gaba-testimonial-stars {
  color: #FFD700;
  font-size: 1.2rem;
  margin-top: 0.3rem;
}

/* Payment Methods */
.gaba-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.gaba-payment-item {
  background: var(--gaba-card-bg);
  border: 1px solid var(--gaba-card-border);
  border-radius: var(--gaba-radius);
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  color: var(--gaba-text);
}

/* Winners */
.gaba-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--gaba-card-border);
}

.gaba-winner-name {
  font-size: 1.3rem;
  color: var(--gaca-text, #EEEEEE);
}

.gaba-winner-game {
  font-size: 1.2rem;
  color: #888;
}

.gaba-winner-amount {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gaba-accent);
}

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

.gaba-faq-q {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gaba-primary);
  margin-bottom: 0.4rem;
}

.gaba-faq-a {
  font-size: 1.3rem;
  color: #AAA;
  line-height: 1.5;
}

/* App Download CTA */
.gaba-app-cta {
  background: linear-gradient(135deg, #1A1A2E, #0C0C0C);
  border: 1px solid var(--gaba-accent);
  border-radius: var(--gaba-radius-lg);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.gaba-app-cta h3 {
  font-size: 1.8rem;
  color: var(--gaba-primary);
  margin-bottom: 0.8rem;
}

.gaba-app-cta p {
  font-size: 1.4rem;
  color: #BBB;
  margin-bottom: 1.2rem;
}

/* RTP Table */
.gaba-rtp-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.gaba-rtp-table th {
  background: #1A1A2E;
  color: var(--gaba-accent);
  font-size: 1.2rem;
  padding: 0.6rem 0.8rem;
  text-align: left;
}

.gaba-rtp-table td {
  font-size: 1.2rem;
  color: #BBB;
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid var(--gaba-card-border);
}

.gaba-rtp-table tr:hover td {
  color: var(--gaba-primary);
}

/* Category Highlights */
.gaba-category-highlight {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--gaba-card-bg);
  border-radius: var(--gaba-radius-lg);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--gaba-card-border);
  cursor: pointer;
  transition: border-color 0.2s;
}

.gaba-category-highlight:hover {
  border-color: var(--gaba-accent);
}

.gaba-category-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gaba-accent), #00C98A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.gaba-category-info h4 {
  font-size: 1.4rem;
  color: var(--gaba-primary);
  margin-bottom: 0.2rem;
}

.gaba-category-info p {
  font-size: 1.2rem;
  color: #888;
}
