/**
 * 6555.click - Main Stylesheet
 * Prefix: g39c-
 * Colors: #FF1493 | #2E4057 | #BBBBBB | #8B4513
 */

:root {
  --g39c-primary: #FF1493;
  --g39c-dark: #2E4057;
  --g39c-light: #BBBBBB;
  --g39c-accent: #8B4513;
  --g39c-bg: #1a1028;
  --g39c-card-bg: #2a1f3d;
  --g39c-text: #f0e6ff;
  --g39c-text-secondary: #c4b5d9;
  --g39c-border: rgba(255, 20, 147, 0.2);
  --g39c-gradient: linear-gradient(135deg, #FF1493, #8B4513);
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--g39c-bg);
  color: var(--g39c-text);
  line-height: 1.5rem;
  min-height: 100vh;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

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

a:hover {
  color: #ff5cb8;
}

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

/* ===== HEADER ===== */
.g39c-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: rgba(42, 31, 61, 0.97);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 2px solid var(--g39c-primary);
  padding: 0 1rem;
}

.g39c-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.4rem;
}

.g39c-logo-area {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.g39c-logo-area img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.5rem;
}

.g39c-site-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g39c-primary);
  letter-spacing: 0.5px;
}

.g39c-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.g39c-btn-register,
.g39c-btn-login {
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.g39c-btn-register {
  background: var(--g39c-gradient);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 20, 147, 0.4);
}

.g39c-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 20, 147, 0.6);
}

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

.g39c-btn-login:hover {
  background: rgba(255, 20, 147, 0.1);
}

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

/* ===== MOBILE MENU ===== */
.g39c-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--g39c-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem;
  overflow-y: auto;
}

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

.g39c-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--g39c-border);
}

.g39c-menu-title {
  font-size: 1.8rem;
  color: var(--g39c-primary);
  font-weight: 700;
}

.g39c-menu-close {
  background: none;
  border: none;
  color: var(--g39c-text);
  font-size: 2rem;
  cursor: pointer;
}

.g39c-menu-links {
  list-style: none;
}

.g39c-menu-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.g39c-menu-links a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0.5rem;
  color: var(--g39c-text);
  font-size: 1.4rem;
  transition: all 0.3s;
}

.g39c-menu-links a:hover {
  color: var(--g39c-primary);
  padding-left: 1rem;
}

.g39c-menu-links .material-icons {
  font-size: 2rem;
  color: var(--g39c-primary);
}

.g39c-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  display: none;
}

.g39c-overlay-active {
  display: block;
}

/* ===== CAROUSEL ===== */
.g39c-carousel {
  position: relative;
  margin-top: 5.4rem;
  overflow: hidden;
  border-radius: 0 0 1.2rem 1.2rem;
}

.g39c-slides-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

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

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

.g39c-slide:first-child {
  display: block;
}

.g39c-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.g39c-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s;
}

.g39c-dot-active {
  background: var(--g39c-primary);
  width: 2rem;
  border-radius: 0.4rem;
}

/* ===== MAIN CONTENT ===== */
.g39c-main {
  padding: 1.5rem 1rem;
  padding-bottom: 2rem;
}

.g39c-section {
  margin-bottom: 2.5rem;
}

.g39c-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g39c-primary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--g39c-border);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.g39c-section-title .material-icons {
  font-size: 2rem;
}

/* ===== GAME GRID ===== */
.g39c-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--g39c-text);
  margin: 1.5rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

.g39c-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  background: var(--g39c-card-bg);
  border-radius: 0.8rem;
  padding: 0.5rem;
  border: 1px solid var(--g39c-border);
}

.g39c-game-item:hover {
  transform: translateY(-2px);
  border-color: var(--g39c-primary);
}

.g39c-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 0.3rem;
}

.g39c-game-name {
  font-size: 1rem;
  color: var(--g39c-text-secondary);
  line-height: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* ===== CONTENT CARDS ===== */
.g39c-card {
  background: var(--g39c-card-bg);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--g39c-border);
}

.g39c-card h2 {
  font-size: 1.6rem;
  color: var(--g39c-primary);
  margin-bottom: 1rem;
}

.g39c-card h3 {
  font-size: 1.4rem;
  color: var(--g39c-primary);
  margin: 1rem 0 0.5rem;
}

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

.g39c-card ul {
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}

.g39c-card li {
  font-size: 1.3rem;
  color: var(--g39c-text-secondary);
  line-height: 1.8rem;
  margin-bottom: 0.3rem;
}

/* ===== CTA BUTTONS ===== */
.g39c-cta-btn {
  display: inline-block;
  background: var(--g39c-gradient);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 3rem;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 20, 147, 0.4);
  min-height: 44px;
}

.g39c-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 20, 147, 0.6);
}

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

/* ===== FOOTER ===== */
.g39c-footer {
  background: var(--g39c-dark);
  padding: 2rem 1rem 8rem;
  border-top: 2px solid var(--g39c-primary);
}

.g39c-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.g39c-footer-brand p {
  font-size: 1.2rem;
  color: var(--g39c-text-secondary);
  line-height: 1.6rem;
  margin-bottom: 0.5rem;
}

.g39c-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.g39c-footer-links a {
  background: rgba(255, 20, 147, 0.15);
  color: var(--g39c-primary);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.g39c-footer-links a:hover {
  background: rgba(255, 20, 147, 0.3);
}

.g39c-footer-site-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.g39c-footer-site-links a {
  color: var(--g39c-text-secondary);
  font-size: 1.1rem;
  transition: color 0.3s;
}

.g39c-footer-site-links a:hover {
  color: var(--g39c-primary);
}

.g39c-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: var(--g39c-light);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== BOTTOM NAV ===== */
.g39c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 6rem;
  background: linear-gradient(180deg, #2a1f3d 0%, #1a1028 100%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 2px solid var(--g39c-primary);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.g39c-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 5rem;
  background: none;
  border: none;
  color: var(--g39c-text-secondary);
  cursor: pointer;
  transition: all 0.3s;
  gap: 0.3rem;
  -webkit-tap-highlight-color: transparent;
}

.g39c-nav-btn:hover,
.g39c-nav-btn:active {
  color: var(--g39c-primary);
  transform: scale(1.1);
}

.g39c-nav-btn .nav-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.g39c-nav-btn .nav-label {
  font-size: 1rem;
  line-height: 1.2rem;
}

.g39c-nav-btn-active {
  color: var(--g39c-primary) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .g39c-main {
    padding-bottom: 8rem;
  }
}

@media (min-width: 769px) {
  .g39c-bottom-nav {
    display: none;
  }
  .g39c-header {
    max-width: 430px;
  }
}

/* ===== UTILITY ===== */
.g39c-text-center { text-align: center; }
.g39c-mt-1 { margin-top: 1rem; }
.g39c-mb-1 { margin-bottom: 1rem; }
.g39c-mb-2 { margin-bottom: 2rem; }
.g39c-hidden { display: none; }

.g39c-promo-banner {
  background: var(--g39c-gradient);
  border-radius: 1rem;
  padding: 1.2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.g39c-promo-banner:hover {
  transform: scale(1.02);
}

.g39c-promo-banner h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.g39c-promo-banner p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* RTP Table */
.g39c-rtp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

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

.g39c-rtp-table th {
  color: var(--g39c-primary);
  font-weight: 600;
}

.g39c-rtp-table td {
  color: var(--g39c-text-secondary);
}

/* Testimonials */
.g39c-testimonial {
  background: rgba(255, 20, 147, 0.05);
  border-left: 3px solid var(--g39c-primary);
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  border-radius: 0 0.8rem 0.8rem 0;
}

.g39c-testimonial p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--g39c-text-secondary);
}

.g39c-testimonial span {
  font-size: 1.1rem;
  color: var(--g39c-primary);
  font-weight: 600;
}

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

.g39c-payment-item {
  background: var(--g39c-card-bg);
  padding: 0.8rem 1.2rem;
  border-radius: 0.8rem;
  border: 1px solid var(--g39c-border);
  font-size: 1.2rem;
  color: var(--g39c-text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Winner ticker */
.g39c-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.g39c-winner-name {
  font-size: 1.2rem;
  color: var(--g39c-text);
}

.g39c-winner-amount {
  font-size: 1.3rem;
  color: #4caf50;
  font-weight: 700;
}

/* Help page styles */
.g39c-help-section {
  margin-bottom: 2rem;
}

.g39c-help-section h2 {
  font-size: 1.6rem;
  color: var(--g39c-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--g39c-border);
}

.g39c-help-section p {
  font-size: 1.3rem;
  color: var(--g39c-text-secondary);
  line-height: 1.8rem;
  margin-bottom: 0.8rem;
}

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

.g39c-faq-item h3 {
  font-size: 1.3rem;
  color: var(--g39c-primary);
  margin-bottom: 0.5rem;
}

.g39c-faq-item p {
  font-size: 1.2rem;
  color: var(--g39c-text-secondary);
  line-height: 1.6rem;
}

.g39c-step-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}

.g39c-step-number {
  background: var(--g39c-gradient);
  color: #fff;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.g39c-step-content h3 {
  font-size: 1.3rem;
  color: var(--g39c-primary);
  margin-bottom: 0.3rem;
}

.g39c-step-content p {
  font-size: 1.2rem;
  color: var(--g39c-text-secondary);
  line-height: 1.6rem;
}
