/* swerte-max.css - Core styles for swerte max gaming platform */
/* All classes use g75b- prefix for namespace isolation */
/* Color palette: #1E1E1E | #5D5D5D | #AFEEEE | #ECF0F1 | #1E90FF */

:root {
  --g75b-primary: #1E90FF;
  --g75b-secondary: #AFEEEE;
  --g75b-bg: #1E1E1E;
  --g75b-bg-light: #2a2a2a;
  --g75b-bg-card: #333333;
  --g75b-text: #ECF0F1;
  --g75b-text-muted: #5D5D5D;
  --g75b-accent: #1E90FF;
  --g75b-accent-hover: #4da6ff;
  --g75b-border: #3a3a3a;
  --g75b-success: #2ecc71;
  --g75b-warning: #f39c12;
  --g75b-gold: #FFD700;
  --g75b-radius: 8px;
  --g75b-radius-lg: 12px;
  --g75b-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* Base reset and typography */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--g75b-bg);
  color: var(--g75b-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a:hover { color: var(--g75b-accent-hover); }

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

/* Container layout */
.g75b-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
  position: relative;
}

/* Header - fixed top navigation */
.g75b-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.g75b-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.g75b-site-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g75b-secondary);
  letter-spacing: 0.5px;
}

.g75b-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.g75b-btn-register, .g75b-btn-login {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

.g75b-btn-register {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1E1E1E;
}

.g75b-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(255,215,0,0.4);
}

.g75b-btn-login {
  background: transparent;
  color: var(--g75b-secondary);
  border: 1.5px solid var(--g75b-secondary);
}

.g75b-btn-login:hover {
  background: rgba(175,238,238,0.15);
}

.g75b-menu-toggle {
  background: none;
  border: none;
  color: var(--g75b-secondary);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

/* Mobile slide-out menu */
.g75b-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, #1a1a2e 0%, #0f3460 100%);
  z-index: 9999;
  transition: right 0.3s ease;
  padding-top: 60px;
  overflow-y: auto;
}

.g75b-mobile-menu.g75b-menu-active {
  right: 0;
}

.g75b-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

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

.g75b-menu-link {
  display: block;
  padding: 14px 20px;
  color: var(--g75b-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}

.g75b-menu-link:hover {
  background: rgba(30,144,255,0.15);
  color: var(--g75b-primary);
}

.g75b-menu-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--g75b-text);
  font-size: 2.2rem;
  cursor: pointer;
}

/* Main content area */
.g75b-main {
  padding-top: 56px;
}

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

/* Carousel / Banner slider */
.g75b-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--g75b-radius-lg) var(--g75b-radius-lg);
}

.g75b-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}

.g75b-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.g75b-slide-active {
  display: block;
}

.g75b-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.g75b-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background 0.3s;
}

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

/* Section titles */
.g75b-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g75b-secondary);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--g75b-primary);
  display: inline-block;
}

.g75b-section-title i {
  margin-right: 6px;
}

/* Category heading */
.g75b-cat-heading {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--g75b-gold);
  margin: 1.8rem 0 1rem;
  padding-left: 8px;
  border-left: 3px solid var(--g75b-primary);
}

/* Game grid layout */
.g75b-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 1rem;
}

.g75b-game-item {
  background: var(--g75b-bg-card);
  border-radius: var(--g75b-radius);
  padding: 6px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--g75b-border);
}

.g75b-game-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(30,144,255,0.2);
  border-color: var(--g75b-primary);
}

.g75b-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 4px;
}

.g75b-game-name {
  font-size: 1.1rem;
  color: var(--g75b-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3rem;
}

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

.g75b-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g75b-secondary);
  margin-bottom: 1rem;
}

.g75b-card p {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: var(--g75b-text);
  margin-bottom: 0.8rem;
}

/* Promo button styles */
.g75b-promo-btn {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--g75b-primary), #4da6ff);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 25px;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-align: center;
  margin: 8px 0;
}

.g75b-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(30,144,255,0.4);
}

.g75b-promo-link {
  color: var(--g75b-primary);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.g75b-promo-link:hover {
  color: var(--g75b-accent-hover);
}

/* Promo CTA banner */
.g75b-cta-banner {
  background: linear-gradient(135deg, #0f3460 0%, #1E90FF 100%);
  border-radius: var(--g75b-radius-lg);
  padding: 2rem 1.4rem;
  text-align: center;
  margin: 1.5rem 0;
}

.g75b-cta-banner h3 {
  font-size: 1.8rem;
  color: var(--g75b-gold);
  margin-bottom: 0.8rem;
}

.g75b-cta-banner p {
  font-size: 1.3rem;
  color: var(--g75b-text);
  margin-bottom: 1rem;
}

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

.g75b-testimonial-author {
  font-size: 1.2rem;
  color: var(--g75b-gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.g75b-testimonial-text {
  font-size: 1.2rem;
  color: var(--g75b-text);
  line-height: 1.6rem;
}

/* Winner showcase */
.g75b-winner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--g75b-bg-card);
  border-radius: var(--g75b-radius);
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.g75b-winner-amount {
  color: var(--g75b-success);
  font-weight: 700;
  margin-left: auto;
}

/* Footer */
.g75b-footer {
  background: linear-gradient(180deg, #1a1a2e 0%, #0d0d1a 100%);
  padding: 2rem 1.2rem 1rem;
  margin-top: 2rem;
}

.g75b-footer-brand {
  font-size: 1.3rem;
  color: var(--g75b-text);
  line-height: 1.7rem;
  margin-bottom: 1.4rem;
}

.g75b-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.4rem;
}

.g75b-footer-link {
  padding: 6px 12px;
  background: var(--g75b-bg-card);
  border-radius: 16px;
  font-size: 1.1rem;
  color: var(--g75b-text);
  cursor: pointer;
  transition: all 0.2s;
}

.g75b-footer-link:hover {
  background: var(--g75b-primary);
  color: #fff;
}

.g75b-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.2rem;
  align-items: center;
}

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

.g75b-partners img:hover { opacity: 1; }

.g75b-copyright {
  font-size: 1.1rem;
  color: var(--g75b-text-muted);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--g75b-border);
}

/* Bottom mobile navigation - unique swerte max design */
.g75b-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(180deg, #1a1a2e 0%, #0d0d1a 100%);
  border-top: 1px solid rgba(30,144,255,0.3);
  z-index: 1000;
  justify-content: space-around;
  align-items: center;
  padding: 0 4px;
}

@media (max-width: 768px) {
  .g75b-bottom-nav {
    display: flex;
  }
}

.g75b-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: none;
  border: none;
  color: var(--g75b-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  padding: 4px 0;
}

.g75b-bottom-btn i,
.g75b-bottom-btn .material-icons,
.g75b-bottom-btn ion-icon {
  font-size: 22px;
  margin-bottom: 2px;
}

.g75b-bottom-btn span {
  font-size: 1rem;
  line-height: 1.2rem;
}

.g75b-bottom-btn:hover {
  color: var(--g75b-primary);
  transform: scale(1.08);
}

.g75b-bottom-btn-active {
  color: var(--g75b-primary) !important;
}

.g75b-bottom-btn-active i,
.g75b-bottom-btn-active .material-icons,
.g75b-bottom-btn-active ion-icon {
  color: var(--g75b-gold);
}

/* Desktop hide bottom nav */
@media (min-width: 769px) {
  .g75b-bottom-nav { display: none; }
  .g75b-main { padding-bottom: 0; }
}

/* Desktop header nav links */
.g75b-desktop-nav {
  display: none;
}

@media (min-width: 769px) {
  .g75b-desktop-nav {
    display: flex;
    gap: 16px;
    align-items: center;
  }
  .g75b-desktop-nav a {
    color: var(--g75b-text);
    font-size: 1.3rem;
    transition: color 0.2s;
  }
  .g75b-desktop-nav a:hover {
    color: var(--g75b-primary);
  }
  .g75b-container {
    max-width: 960px;
  }
  .g75b-game-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Utility classes */
.g75b-text-center { text-align: center; }
.g75b-text-gold { color: var(--g75b-gold); }
.g75b-text-primary { color: var(--g75b-primary); }
.g75b-mt-1 { margin-top: 1rem; }
.g75b-mb-1 { margin-bottom: 1rem; }
.g75b-hidden-mobile { display: none; }

@media (min-width: 769px) {
  .g75b-hidden-mobile { display: block; }
}

/* H1 page title styling */
.g75b-page-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--g75b-secondary);
  margin: 1.5rem 0 1rem;
  line-height: 2.4rem;
}

/* Feature list */
.g75b-feature-list {
  list-style: none;
  padding: 0;
}

.g75b-feature-list li {
  padding: 8px 0;
  font-size: 1.3rem;
  color: var(--g75b-text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.g75b-feature-list li i {
  color: var(--g75b-primary);
  margin-top: 2px;
  flex-shrink: 0;
}

/* FAQ section */
.g75b-faq-item {
  margin-bottom: 1.2rem;
}

.g75b-faq-q {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--g75b-secondary);
  margin-bottom: 4px;
}

.g75b-faq-a {
  font-size: 1.3rem;
  color: var(--g75b-text);
  line-height: 1.7rem;
  padding-left: 1rem;
  border-left: 2px solid var(--g75b-border);
}

/* Payment icons row */
.g75b-payment-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 1rem 0;
}

.g75b-payment-icon {
  font-size: 1.8rem;
  color: var(--g75b-text);
}

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

.g75b-rtp-table th {
  background: var(--g75b-bg-light);
  color: var(--g75b-secondary);
  padding: 6px 8px;
  text-align: left;
  font-weight: 600;
}

.g75b-rtp-table td {
  padding: 5px 8px;
  border-bottom: 1px solid var(--g75b-border);
  color: var(--g75b-text);
}

.g75b-rtp-table tr:hover td {
  background: rgba(30,144,255,0.08);
}

/* Back to top button */
.g75b-back-top {
  position: fixed;
  bottom: 72px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--g75b-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .g75b-back-top { bottom: 72px; right: 12px; }
}
