/* layout-45fa.css - free 100 casino stylesheet */
/* all classes use prefix: s45f- */

:root {
  --s45f-gray: #6C757D;
  --s45f-dark: #1A1A1A;
  --s45f-light: #DCDCDC;
  --s45f-mid: #3C3C3C;
  --s45f-ghost: #F8F8FF;
  --s45f-accent: #FFD700;
  --s45f-accent2: #FF6B35;
  --s45f-gradient: linear-gradient(135deg, #FFD700 0%, #FF6B35 100%);
}

/* reset and base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--s45f-dark);
  color: var(--s45f-light);
  line-height: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--s45f-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* container */
.s45f-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; width: 100%; }
.s45f-wrapper { max-width: 430px; margin: 0 auto; width: 100%; }

/* header */
.s45f-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26,26,26,0.97);
  border-bottom: 1px solid var(--s45f-mid);
  backdrop-filter: blur(10px);
}
.s45f-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1rem; height: 52px;
}
.s45f-logo { display: flex; align-items: center; gap: 0.6rem; }
.s45f-logo img { width: 28px; height: 28px; border-radius: 6px; }
.s45f-logo-text { font-size: 1.4rem; font-weight: 700; color: var(--s45f-accent); white-space: nowrap; }
.s45f-header-actions { display: flex; gap: 0.5rem; align-items: center; }
.s45f-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.5rem 1rem; border-radius: 6px; font-size: 1.2rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.2s;
  min-height: 32px; white-space: nowrap;
}
.s45f-btn:hover { text-decoration: none; }
.s45f-btn-register {
  background: var(--s45f-gradient); color: var(--s45f-dark);
}
.s45f-btn-login {
  background: transparent; color: var(--s45f-accent);
  border: 1px solid var(--s45f-accent);
}
.s45f-btn-promo {
  background: var(--s45f-gradient); color: var(--s45f-dark);
  font-size: 1.3rem; padding: 0.7rem 1.6rem; border-radius: 8px;
  font-weight: 700;
}
.s45f-hamburger {
  background: none; border: none; color: var(--s45f-light);
  font-size: 2rem; cursor: pointer; padding: 0.2rem;
  display: flex; align-items: center; justify-content: center;
}

/* mobile menu */
.s45f-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
  background: var(--s45f-mid); z-index: 9999;
  transition: right 0.3s ease; overflow-y: auto;
  padding: 6rem 1.5rem 2rem;
}
.s45f-menu-open { right: 0; }
.s45f-mobile-menu a {
  display: block; padding: 1rem 0; color: var(--s45f-light);
  font-size: 1.4rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.s45f-mobile-menu a:hover { color: var(--s45f-accent); text-decoration: none; }
.s45f-menu-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; color: var(--s45f-light);
  font-size: 2.2rem; cursor: pointer;
}
.s45f-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
  display: none;
}
.s45f-overlay-show { display: block; }

/* main content */
.s45f-main { padding-top: 56px; padding-bottom: 2rem; }

/* carousel */
.s45f-carousel { position: relative; overflow: hidden; border-radius: 0 0 12px 12px; }
.s45f-slide {
  display: none; width: 100%; cursor: pointer;
}
.s45f-slide-active { display: block; }
.s45f-slide img { width: 100%; height: auto; border-radius: 0 0 12px 12px; }
.s45f-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.s45f-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4);
  cursor: pointer; border: none;
}
.s45f-dot-active { background: var(--s45f-accent); }

/* sections */
.s45f-section { padding: 2rem 0; }
.s45f-section-title {
  font-size: 1.8rem; font-weight: 700; margin-bottom: 1.2rem;
  color: var(--s45f-accent); text-align: center;
}
.s45f-section-subtitle {
  font-size: 1.4rem; color: var(--s45f-gray); text-align: center;
  margin-bottom: 1.6rem;
}

/* game grid */
.s45f-game-category-title {
  font-size: 1.5rem; font-weight: 600; color: var(--s45f-accent);
  margin: 1.6rem 0 1rem; padding-left: 0.4rem;
  border-left: 3px solid var(--s45f-accent); padding-left: 1rem;
}
.s45f-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem; padding: 0.5rem 0;
}
.s45f-game-card {
  text-align: center; cursor: pointer;
  transition: transform 0.2s;
}
.s45f-game-card:hover { transform: scale(1.04); }
.s45f-game-card img {
  width: 100%; aspect-ratio: 1; border-radius: 10px;
  border: 1px solid var(--s45f-mid);
}
.s45f-game-name {
  font-size: 1rem; color: var(--s45f-light);
  margin-top: 0.3rem; line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* content cards */
.s45f-card {
  background: var(--s45f-mid); border-radius: 10px; padding: 1.6rem;
  margin-bottom: 1.2rem;
}
.s45f-card-title {
  font-size: 1.5rem; font-weight: 600; color: var(--s45f-accent);
  margin-bottom: 0.8rem;
}
.s45f-card p, .s45f-card li {
  font-size: 1.3rem; color: var(--s45f-light); line-height: 1.7;
}
.s45f-card ul { padding-left: 1.6rem; }
.s45f-card li { margin-bottom: 0.4rem; }

/* promo link text */
.s45f-promo-link {
  color: var(--s45f-accent); font-weight: 600; cursor: pointer;
  text-decoration: underline;
}
.s45f-promo-link:hover { color: var(--s45f-accent2); }

/* stats grid */
.s45f-stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.s45f-stat-item {
  background: var(--s45f-mid); border-radius: 8px; padding: 1.2rem;
  text-align: center;
}
.s45f-stat-num { font-size: 2rem; font-weight: 700; color: var(--s45f-accent); }
.s45f-stat-label { font-size: 1.1rem; color: var(--s45f-gray); margin-top: 0.2rem; }

/* testimonials */
.s45f-testimonial {
  background: var(--s45f-mid); border-radius: 10px; padding: 1.4rem;
  margin-bottom: 1rem; border-left: 3px solid var(--s45f-accent);
}
.s45f-testimonial-text { font-size: 1.3rem; color: var(--s45f-light); font-style: italic; }
.s45f-testimonial-author { font-size: 1.1rem; color: var(--s45f-gray); margin-top: 0.6rem; }

/* winners list */
.s45f-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 1.2rem;
}
.s45f-winner-name { color: var(--s45f-accent); }
.s45f-winner-amount { color: #4CAF50; font-weight: 600; }

/* payment icons row */
.s45f-payment-row {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  padding: 1rem 0;
}
.s45f-payment-item {
  background: var(--s45f-mid); border-radius: 8px; padding: 0.6rem 1rem;
  font-size: 1.2rem; color: var(--s45f-light);
}

/* footer */
.s45f-footer {
  background: var(--s45f-mid); padding: 2.5rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.s45f-footer-desc {
  font-size: 1.2rem; color: var(--s45f-gray); text-align: center;
  margin-bottom: 1.6rem; line-height: 1.6;
}
.s45f-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
  margin-bottom: 1.4rem;
}
.s45f-footer-link {
  background: var(--s45f-dark); color: var(--s45f-light);
  padding: 0.5rem 1rem; border-radius: 6px; font-size: 1.1rem;
  cursor: pointer; transition: background 0.2s;
}
.s45f-footer-link:hover { background: var(--s45f-accent); color: var(--s45f-dark); text-decoration: none; }
.s45f-footer-copy {
  text-align: center; font-size: 1.1rem; color: var(--s45f-gray);
  margin-top: 1rem;
}
.s45f-footer-sitelinks {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
  margin-bottom: 1.2rem;
}
.s45f-footer-sitelinks a {
  color: var(--s45f-light); font-size: 1.1rem;
  text-decoration: underline;
}
.s45f-footer-sitelinks a:hover { color: var(--s45f-accent); }

/* bottom navigation */
.s45f-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(60,60,60,0.98);
  border-top: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  display: none;
}
.s45f-bottom-nav-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; padding: 0 0.4rem;
}
.s45f-bottom-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 52px; background: none; border: none;
  color: var(--s45f-gray); cursor: pointer; transition: all 0.2s;
  padding: 0.3rem 0;
}
.s45f-bottom-btn:hover, .s45f-bottom-btn-active {
  color: var(--s45f-accent); transform: scale(1.05);
}
.s45f-bottom-btn i, .s45f-bottom-btn span.material-symbols-outlined {
  font-size: 22px; margin-bottom: 1px;
}
.s45f-bottom-btn-label {
  font-size: 1rem; line-height: 1;
}

/* FAQ section */
.s45f-faq-item { margin-bottom: 1rem; }
.s45f-faq-q {
  font-size: 1.4rem; font-weight: 600; color: var(--s45f-accent);
  margin-bottom: 0.4rem;
}
.s45f-faq-a { font-size: 1.3rem; color: var(--s45f-light); line-height: 1.6; }

/* responsive */
@media (max-width: 768px) {
  .s45f-main { padding-bottom: 76px; }
  .s45f-bottom-nav { display: block; }
}
@media (min-width: 769px) {
  .s45f-bottom-nav { display: none; }
  .s45f-container { max-width: 600px; }
  .s45f-wrapper { max-width: 600px; }
  .s45f-header-inner { max-width: 600px; }
  .s45f-game-grid { grid-template-columns: repeat(5, 1fr); }
}
