/**
 * BigBuny VIP Casino - Main CSS Stylesheet
 * Website: bigbuny.com
 * Class prefix: s3fc- for all CSS classes
 * Mobile-first responsive design for VIP gaming platform
 */

/* CSS Variables */
:root {
  --s3fc-primary: #CD853F;
  --s3fc-secondary: #0F0F23;
  --s3fc-accent: #E8F5E8;
  --s3fc-neutral: #999999;
  --s3fc-light: #FFEFD5;
  --s3fc-gold: #DEB887;
  --s3fc-text: #0F0F23;
  --s3fc-text-light: #FFEFD5;
  --s3fc-bg-primary: #FFEFD5;
  --s3fc-bg-secondary: #DEB887;
  --s3fc-bg-dark: #0F0F23;
  --s3fc-bg-card: #E8F5E8;
  --s3fc-border: rgba(205, 133, 63, 0.3);
  --s3fc-shadow: rgba(15, 15, 35, 0.2);
  --s3fc-gradient: linear-gradient(135deg, #CD853F, #DEB887);
  --s3fc-font-size: 62.5%;
  --s3fc-border-radius: 0.8rem;
  --s3fc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --vh: 1vh;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--s3fc-font-size);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--s3fc-bg-primary);
  color: var(--s3fc-text);
  line-height: 1.5;
  font-size: 1.4rem;
  overflow-x: hidden;
}

/* Typography */
.s3fc-h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.6rem;
  background: var(--s3fc-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Georgia', serif;
}

.s3fc-h2 {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.2rem;
  color: var(--s3fc-primary);
  font-family: 'Georgia', serif;
}

.s3fc-h3 {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--s3fc-secondary);
}

.s3fc-h4 {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.8rem;
  color: var(--s3fc-primary);
}

.s3fc-text-primary { color: var(--s3fc-primary); }
.s3fc-text-secondary { color: var(--s3fc-secondary); }
.s3fc-text-accent { color: var(--s3fc-accent); }
.s3fc-text-neutral { color: var(--s3fc-neutral); }
.s3fc-text-light { color: var(--s3fc-text-light); }
.s3fc-text-center { text-align: center; }
.s3fc-text-left { text-align: left; }
.s3fc-text-right { text-align: right; }

/* Layout Components */
.s3fc-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.s3fc-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.6rem;
}

.s3fc-grid {
  display: grid;
  gap: 1.6rem;
}

.s3fc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.s3fc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.s3fc-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 320px) {
  .s3fc-grid-2,
  .s3fc-grid-3,
  .s3fc-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Header Styles */
.s3fc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--s3fc-bg-dark);
  border-bottom: 2px solid var(--s3fc-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.s3fc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.6rem;
  padding: 0 1.6rem;
}

.s3fc-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--s3fc-primary);
  font-weight: 700;
  font-size: 1.8rem;
  font-family: 'Georgia', serif;
}

.s3fc-logo-img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.4rem;
}

.s3fc-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.s3fc-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.8rem;
}

.s3fc-hamburger span {
  width: 100%;
  height: 2px;
  background: var(--s3fc-primary);
  margin: 2px 0;
  transition: var(--s3fc-transition);
  border-radius: 1px;
}

/* Mobile Menu */
.s3fc-mobile-menu {
  position: fixed;
  top: 5.6rem;
  left: -100%;
  width: 80%;
  height: calc(100vh - 5.6rem);
  background: var(--s3fc-bg-dark);
  transition: var(--s3fc-transition);
  z-index: 999;
  overflow-y: auto;
}

.s3fc-mobile-menu.s3fc-active {
  left: 0;
}

.s3fc-menu-list {
  list-style: none;
  padding: 1.6rem 0;
}

.s3fc-menu-item {
  border-bottom: 1px solid var(--s3fc-border);
}

.s3fc-nav-link {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.6rem 2rem;
  color: var(--s3fc-text-light);
  text-decoration: none;
  font-size: 1.6rem;
  transition: var(--s3fc-transition);
}

.s3fc-nav-link:hover {
  background: rgba(205, 133, 63, 0.1);
  color: var(--s3fc-primary);
}

.s3fc-menu-overlay {
  position: fixed;
  top: 5.6rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--s3fc-transition);
  z-index: 998;
}

.s3fc-menu-overlay.s3fc-active {
  opacity: 1;
  visibility: visible;
}

/* Button Styles */
.s3fc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  border: none;
  border-radius: var(--s3fc-border-radius);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--s3fc-transition);
  position: relative;
  overflow: hidden;
  min-height: 4.4rem;
  touch-action: manipulation;
  font-family: 'Georgia', serif;
}

.s3fc-btn-primary {
  background: var(--s3fc-gradient);
  color: var(--s3fc-text-light);
  box-shadow: 0 4px 15px rgba(205, 133, 63, 0.3);
}

.s3fc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(205, 133, 63, 0.4);
}

.s3fc-btn-secondary {
  background: var(--s3fc-secondary);
  color: var(--s3fc-text-light);
}

.s3fc-btn-accent {
  background: var(--s3fc-accent);
  color: var(--s3fc-text);
}

.s3fc-btn-outline {
  background: transparent;
  color: var(--s3fc-primary);
  border: 2px solid var(--s3fc-primary);
}

.s3fc-btn-sm {
  padding: 0.8rem 1.6rem;
  font-size: 1.2rem;
  min-height: 3.6rem;
}

.s3fc-btn-lg {
  padding: 1.6rem 3.2rem;
  font-size: 1.6rem;
  min-height: 5.2rem;
}

/* Card Styles */
.s3fc-card {
  background: var(--s3fc-bg-card);
  border-radius: var(--s3fc-border-radius);
  border: 1px solid var(--s3fc-border);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px var(--s3fc-shadow);
}

.s3fc-card-header {
  padding: 2rem;
  background: rgba(205, 133, 63, 0.1);
  border-bottom: 1px solid var(--s3fc-border);
}

.s3fc-card-body {
  padding: 2rem;
}

.s3fc-card-footer {
  padding: 1.6rem 2rem;
  background: rgba(15, 15, 35, 0.05);
  border-top: 1px solid var(--s3fc-border);
}

/* Main Content */
.s3fc-main {
  flex: 1;
  margin-top: 5.6rem;
  padding-bottom: 8rem;
}

/* Carousel Styles */
.s3fc-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--s3fc-border-radius);
  margin-bottom: 2rem;
  height: 22rem;
  border: 2px solid var(--s3fc-primary);
}

.s3fc-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.s3fc-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  cursor: pointer;
}

.s3fc-slide.s3fc-active {
  opacity: 1;
}

.s3fc-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 15, 35, 0.4);
}

.s3fc-slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--s3fc-text-light);
  padding: 2rem;
}

.s3fc-slide-content h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-family: 'Georgia', serif;
}

.s3fc-slide-content p {
  font-size: 1.6rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.s3fc-dots {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
}

.s3fc-dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: rgba(255, 239, 213, 0.5);
  cursor: pointer;
  transition: var(--s3fc-transition);
}

.s3fc-dot.s3fc-active {
  background: var(--s3fc-primary);
}

/* Game Grid Styles */
.s3fc-game-category {
  margin-bottom: 3rem;
}

.s3fc-category-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
  padding: 0 0.8rem;
}

.s3fc-category-icon {
  font-size: 2.4rem;
  color: var(--s3fc-primary);
}

.s3fc-category-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--s3fc-text);
  font-family: 'Georgia', serif;
}

.s3fc-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  gap: 1.2rem;
  padding: 1.6rem;
  background: var(--s3fc-bg-card);
  border-radius: var(--s3fc-border-radius);
  border: 1px solid var(--s3fc-border);
}

.s3fc-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--s3fc-text);
  transition: var(--s3fc-transition);
  padding: 1rem;
  border-radius: var(--s3fc-border-radius);
  min-height: 10rem;
  cursor: pointer;
}

.s3fc-game-item:hover {
  transform: translateY(-4px);
  background: rgba(205, 133, 63, 0.1);
  box-shadow: 0 8px 25px var(--s3fc-shadow);
}

.s3fc-game-img {
  width: 6rem;
  height: 6rem;
  border-radius: 0.8rem;
  margin-bottom: 0.8rem;
  object-fit: cover;
  border: 2px solid var(--s3fc-border);
}

.s3fc-game-name {
  font-size: 1.1rem;
  text-align: center;
  font-weight: 500;
  line-height: 1.2;
}

/* Stats Grid */
.s3fc-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1.6rem;
  margin: 2rem 0;
}

.s3fc-stat-item {
  text-align: center;
  padding: 2rem;
  background: var(--s3fc-bg-card);
  border-radius: var(--s3fc-border-radius);
  border: 1px solid var(--s3fc-border);
  box-shadow: 0 2px 10px var(--s3fc-shadow);
}

.s3fc-stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--s3fc-primary);
  margin-bottom: 0.8rem;
  font-family: 'Georgia', serif;
}

.s3fc-stat-label {
  font-size: 1.4rem;
  color: var(--s3fc-text);
}

/* Footer Styles */
.s3fc-footer {
  background: var(--s3fc-bg-dark);
  color: var(--s3fc-text-light);
  border-top: 2px solid var(--s3fc-primary);
  padding: 3rem 0 8rem;
  margin-top: auto;
}

.s3fc-footer-content {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.6rem;
  text-align: center;
}

.s3fc-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.s3fc-footer-link {
  color: var(--s3fc-text-light);
  text-decoration: none;
  font-size: 1.4rem;
  transition: var(--s3fc-transition);
}

.s3fc-footer-link:hover {
  color: var(--s3fc-primary);
}

.s3fc-partners {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4rem, 1fr));
  gap: 1.2rem;
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(205, 133, 63, 0.1);
  border-radius: var(--s3fc-border-radius);
}

.s3fc-partner-img {
  width: 100%;
  height: 3rem;
  object-fit: contain;
  filter: grayscale(100%);
  transition: var(--s3fc-transition);
}

.s3fc-partner-img:hover {
  filter: none;
}

.s3fc-copyright {
  font-size: 1.2rem;
  color: var(--s3fc-neutral);
  margin-top: 2rem;
}

/* Mobile Bottom Navigation */
.s3fc-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--s3fc-bg-dark);
  border-top: 2px solid var(--s3fc-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.s3fc-bottom-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 6.4rem;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 0.8rem;
}

.s3fc-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--s3fc-neutral);
  transition: var(--s3fc-transition);
  padding: 0.8rem;
  border-radius: 0.8rem;
  min-width: 4.4rem;
  min-height: 4.4rem;
}

.s3fc-bottom-nav-item:hover,
.s3fc-bottom-nav-item.s3fc-active {
  color: var(--s3fc-primary);
  background: rgba(205, 133, 63, 0.1);
}

.s3fc-bottom-nav-item i,
.s3fc-bottom-nav-item ion-icon {
  font-size: 2.4rem;
  margin-bottom: 0.2rem;
}

.s3fc-bottom-nav-text {
  font-size: 1rem;
  font-weight: 500;
}

/* Utility Classes */
.s3fc-mb-sm { margin-bottom: 1rem; }
.s3fc-mb-md { margin-bottom: 2rem; }
.s3fc-mb-lg { margin-bottom: 3rem; }
.s3fc-mt-sm { margin-top: 1rem; }
.s3fc-mt-md { margin-top: 2rem; }
.s3fc-mt-lg { margin-top: 3rem; }

.s3fc-p-sm { padding: 1rem; }
.s3fc-p-md { padding: 2rem; }
.s3fc-p-lg { padding: 3rem; }

.s3fc-d-none { display: none; }
.s3fc-d-block { display: block; }
.s3fc-d-flex { display: flex; }

/* Animations */
.s3fc-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--s3fc-transition);
}

.s3fc-fade-in.s3fc-animate {
  opacity: 1;
  transform: translateY(0);
}

.s3fc-slide-up {
  transform: translateY(30px);
  opacity: 0;
  transition: var(--s3fc-transition);
}

.s3fc-slide-up.s3fc-animate {
  transform: translateY(0);
  opacity: 1;
}

/* VIP Specific Styles */
.s3fc-vip-badge {
  background: var(--s3fc-gradient);
  color: var(--s3fc-text-light);
  padding: 0.4rem 0.8rem;
  border-radius: 1.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
}

.s3fc-premium-glow {
  box-shadow: 0 0 20px rgba(205, 133, 63, 0.3);
}

/* Responsive Design */
@media (max-width: 375px) {
  .s3fc-container {
    padding: 0 1.2rem;
  }
  
  .s3fc-games-grid {
    grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
    gap: 1rem;
    padding: 1.2rem;
  }
  
  .s3fc-game-img {
    width: 5rem;
    height: 5rem;
  }
  
  .s3fc-game-name {
    font-size: 1rem;
  }
}

@media (max-width: 320px) {
  .s3fc-nav {
    padding: 0 1.2rem;
  }
  
  .s3fc-carousel {
    height: 18rem;
  }
  
  .s3fc-slide-content h2 {
    font-size: 2rem;
  }
  
  .s3fc-slide-content p {
    font-size: 1.4rem;
  }
}