/**
 * Big Bunny App - Main Stylesheet
 * All classes use s919- prefix for namespace isolation
 */

/* CSS Variables */
:root {
  --s919-primary: #FF91A4;
  --s919-secondary: #FFC0CB;
  --s919-pink: #FFB6C1;
  --s919-gray: #999999;
  --s919-dark: #0D1117;
  --s919-darker: #080a0d;
  --s919-light: #ffffff;
  --s919-text: #f0f0f0;
  --s919-text-muted: #b0b0b0;
  --s919-gradient: linear-gradient(135deg, var(--s919-primary) 0%, var(--s919-secondary) 100%);
  --s919-shadow: 0 4px 12px rgba(255, 145, 164, 0.3);
  --s919-shadow-lg: 0 8px 24px rgba(255, 145, 164, 0.4);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--s919-text);
  background-color: var(--s919-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Container */
.s919-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.s919-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.s919-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--s919-darker);
  box-shadow: var(--s919-shadow);
  z-index: 1000;
  padding: 1rem 0;
}

.s919-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.s919-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--s919-primary);
  font-size: 1.8rem;
  font-weight: 700;
}

.s919-logo-icon {
  width: 3.2rem;
  height: 3.2rem;
  object-fit: contain;
}

.s919-header-actions {
  display: flex;
  gap: 0.8rem;
}

.s919-btn {
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.s919-btn-primary {
  background: var(--s919-gradient);
  color: var(--s919-light);
}

.s919-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--s919-shadow-lg);
}

.s919-btn-secondary {
  background: transparent;
  color: var(--s919-primary);
  border: 2px solid var(--s919-primary);
}

.s919-btn-secondary:hover {
  background: var(--s919-primary);
  color: var(--s919-light);
}

.s919-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--s919-primary);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Menu */
.s919-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--s919-darker);
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.5);
  transition: right 0.3s ease;
  z-index: 9999;
  padding: 6rem 2rem 2rem;
  overflow-y: auto;
}

.s919-mobile-menu.s919-menu-open {
  right: 0;
}

.s919-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9998;
}

.s919-menu-overlay.s919-overlay-active {
  opacity: 1;
  visibility: visible;
}

.s919-menu-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--s919-text);
  font-size: 2.4rem;
  cursor: pointer;
}

.s919-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.s919-menu-link {
  padding: 1.2rem 1.6rem;
  color: var(--s919-text);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.s919-menu-link:hover {
  background: var(--s919-primary);
  color: var(--s919-light);
}

.s919-menu-link i {
  width: 2.4rem;
  text-align: center;
}

/* Hero Section */
.s919-hero {
  margin-top: 8rem;
  margin-bottom: 3rem;
}

.s919-hero-slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--s919-shadow-lg);
}

.s919-slide {
  display: none;
  width: 100%;
  aspect-ratio: 16/9;
}

.s919-slide-active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.s919-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s919-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
}

.s919-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.s919-dot-active {
  background: var(--s919-primary);
  transform: scale(1.2);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Main Content */
.s919-main {
  flex: 1;
  padding-bottom: 8rem;
}

.s919-section {
  margin-bottom: 4rem;
}

.s919-section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--s919-primary);
  margin-bottom: 2rem;
  text-align: center;
}

.s919-section-title i {
  margin-right: 0.5rem;
}

/* Game Grid */
.s919-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.s919-game-item {
  background: var(--s919-darker);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.s919-game-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--s919-shadow);
}

.s919-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.s919-game-name {
  padding: 0.8rem 0.5rem;
  font-size: 1.2rem;
  color: var(--s919-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

/* Content Modules */
.s919-card {
  background: var(--s919-darker);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--s919-shadow);
}

.s919-card-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--s919-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.s919-card-content {
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--s919-text);
}

.s919-card-content p {
  margin-bottom: 1.2rem;
}

.s919-card-content a {
  color: var(--s919-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.s919-card-content a:hover {
  color: var(--s919-secondary);
  text-decoration: underline;
}

.s919-list {
  list-style: none;
  padding-left: 0;
}

.s919-list li {
  padding: 1rem 0;
  padding-left: 2.5rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 145, 164, 0.1);
}

.s919-list li:before {
  content: '🐰';
  position: absolute;
  left: 0;
  top: 1rem;
  font-size: 1.4rem;
}

.s919-list li:last-child {
  border-bottom: none;
}

/* FAQ Module */
.s919-faq-item {
  background: rgba(255, 145, 164, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--s919-primary);
}

.s919-faq-question {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--s919-primary);
  margin-bottom: 0.8rem;
}

.s919-faq-answer {
  font-size: 1.5rem;
  color: var(--s919-text);
  line-height: 1.7;
}

/* Features Grid */
.s919-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.s919-feature-item {
  background: var(--s919-darker);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.s919-feature-item:hover {
  border-color: var(--s919-primary);
  transform: translateY(-4px);
  box-shadow: var(--s919-shadow);
}

.s919-feature-icon {
  font-size: 3.6rem;
  color: var(--s919-primary);
  margin-bottom: 1rem;
}

.s919-feature-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--s919-text);
  margin-bottom: 0.5rem;
}

.s919-feature-desc {
  font-size: 1.3rem;
  color: var(--s919-text-muted);
  line-height: 1.5;
}

/* Footer */
.s919-footer {
  background: var(--s919-darker);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 145, 164, 0.2);
}

.s919-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.s919-footer-link {
  color: var(--s919-text-muted);
  text-decoration: none;
  font-size: 1.4rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.s919-footer-link:hover {
  color: var(--s919-primary);
  background: rgba(255, 145, 164, 0.1);
}

.s919-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.s919-partner-logo {
  width: 8rem;
  height: 4rem;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.s919-partner-logo:hover {
  opacity: 1;
}

.s919-copyright {
  text-align: center;
  color: var(--s919-text-muted);
  font-size: 1.3rem;
  padding: 2rem 0 1rem;
}

/* Bottom Navigation */
.s919-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--s919-darker);
  box-shadow: 0 -4px 16px rgba(255, 145, 164, 0.3);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 6.4rem;
  z-index: 1000;
  border-top: 2px solid var(--s919-primary);
}

.s919-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--s919-text-muted);
  min-width: 6rem;
  min-height: 6rem;
  transition: all 0.3s ease;
  position: relative;
}

.s919-bottom-nav a i {
  font-size: 2.4rem;
  transition: all 0.3s ease;
}

.s919-bottom-nav a span {
  font-size: 1rem;
  font-weight: 500;
}

.s919-bottom-nav a:hover {
  color: var(--s919-primary);
  transform: scale(1.1);
}

.s919-bottom-nav a.s919-nav-active {
  color: var(--s919-primary);
}

.s919-bottom-nav a.s919-nav-active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 0.3rem;
  background: var(--s919-gradient);
  border-radius: 0 0 4px 4px;
}

/* Responsive Design */
@media (min-width: 769px) {
  .s919-bottom-nav {
    display: none;
  }

  .s919-main {
    padding-bottom: 2rem;
  }

  .s919-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .s919-menu-toggle {
    display: block;
  }

  .s919-header-actions {
    display: none;
  }
}

/* Utility Classes */
.s919-text-center {
  text-align: center;
}

.s919-mt-2 {
  margin-top: 2rem;
}

.s919-mb-2 {
  margin-bottom: 2rem;
}

.s919-highlight {
  color: var(--s919-primary);
  font-weight: 600;
}

/* Animation */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.s919-animate-bounce {
  animation: bounce 2s infinite;
}
