/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: #FFCCCB;
  background-color: #1E1E1E;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

/* Header styles */
.header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background-color: #1E1E1E;
  border-bottom: 2px solid #FF6347;
  z-index: 1000;
  padding: 1rem;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #FFB74D;
}

.logo {
  width: 3.2rem;
  height: 3.2rem;
  margin-right: 0.8rem;
}

.site-name {
  font-size: 1.8rem;
  font-weight: bold;
}

.header-buttons {
  display: flex;
  gap: 0.8rem;
}

.btn-primary {
  background-color: #FF6347;
  color: #1E1E1E;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 0.4rem;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  min-height: 4.4rem;
  min-width: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  background-color: #FFB74D;
}

.nav-toggle {
  background: none;
  border: none;
  color: #FFB74D;
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.8rem;
  min-height: 4.4rem;
  min-width: 4.4rem;
}

/* Mobile navigation */
.mobile-nav {
  position: fixed;
  top: 7rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background-color: #1E1E1E;
  border: 2px solid #FF6347;
  border-radius: 0.8rem;
  display: none;
  z-index: 999;
  padding: 1rem;
}

.mobile-nav.show {
  display: block;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav li {
  margin-bottom: 1rem;
}

.mobile-nav a {
  color: #FFCCCB;
  text-decoration: none;
  font-size: 1.4rem;
  padding: 1rem;
  display: block;
  border-radius: 0.4rem;
  min-height: 4.4rem;
  display: flex;
  align-items: center;
}

.mobile-nav a:hover {
  background-color: #FF6347;
  color: #1E1E1E;
}

/* Main content */
.main-content {
  margin-top: 8rem;
  padding: 1rem;
  margin-bottom: 8rem;
}

/* Carousel styles */
.carousel {
  position: relative;
  width: 100%;
  height: 20rem;
  overflow: hidden;
  border-radius: 0.8rem;
  margin-bottom: 2rem;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  cursor: pointer;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section styles */
.section {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.4rem;
  font-weight: bold;
  color: #FFB74D;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-content {
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

/* Game grid styles */
.game-category {
  margin-bottom: 3rem;
}

.category-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #FF6347;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.game-item {
  text-align: center;
  cursor: pointer;
  padding: 0.8rem;
  border-radius: 0.8rem;
  transition: transform 0.2s;
}

.game-item:hover {
  transform: scale(1.05);
  background-color: rgba(255, 99, 71, 0.1);
}

.game-icon {
  width: 100%;
  max-width: 6rem;
  height: 6rem;
  object-fit: cover;
  border-radius: 0.8rem;
  margin-bottom: 0.5rem;
}

.game-name {
  font-size: 1rem;
  color: #FFCCCB;
  text-align: center;
  word-break: break-word;
}

/* Promotional links */
.promo-link {
  color: #FFB74D;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

.promo-link:hover {
  color: #FF6347;
}

.promo-button {
  background-color: #FFB74D;
  color: #1E1E1E;
  padding: 1.2rem 2rem;
  border: none;
  border-radius: 0.8rem;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin: 1rem 0;
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-button:hover {
  background-color: #FF6347;
}

/* Content modules */
.content-module {
  background-color: rgba(255, 99, 71, 0.1);
  padding: 2rem;
  border-radius: 0.8rem;
  margin-bottom: 2rem;
  border: 1px solid #FF6347;
}

.module-title {
  font-size: 2rem;
  font-weight: bold;
  color: #FFB74D;
  margin-bottom: 1rem;
}

.module-content {
  font-size: 1.4rem;
  line-height: 1.6;
}

.module-content ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.module-content li {
  margin-bottom: 0.5rem;
}

/* Footer styles */
.footer {
  background-color: #1E1E1E;
  border-top: 2px solid #FF6347;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 430px;
  margin: 0 auto;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-links a {
  color: #FFCCCB;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 0.8rem;
  border-radius: 0.4rem;
  text-align: center;
}

.footer-links a:hover {
  background-color: #FF6347;
  color: #1E1E1E;
}

.partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.partner-logo {
  width: 100%;
  height: 3rem;
  object-fit: contain;
  filter: opacity(0.7);
}

.partner-logo:hover {
  filter: opacity(1);
}

.copyright {
  text-align: center;
  font-size: 1.2rem;
  color: #FFCCCB;
  margin-bottom: 1rem;
}

/* Bottom navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background-color: #1E1E1E;
  border-top: 2px solid #FF6347;
  display: flex;
  justify-content: space-around;
  padding: 1rem;
  z-index: 1000;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFCCCB;
  text-decoration: none;
  font-size: 1rem;
  min-height: 4.4rem;
  min-width: 4.4rem;
  justify-content: center;
  border-radius: 0.4rem;
  transition: all 0.2s;
}

.bottom-nav-item:hover {
  background-color: #FF6347;
  color: #1E1E1E;
}

.bottom-nav-item i {
  font-size: 2rem;
  margin-bottom: 0.2rem;
}

/* Responsive design */
@media (min-width: 375px) {
  .game-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 430px) {
  body {
    max-width: 100%;
  }
  
  .header {
    max-width: 100%;
  }
  
  .mobile-nav {
    max-width: 100%;
  }
  
  .bottom-nav {
    max-width: 100%;
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.hidden {
  display: none;
}

.show {
  display: block;
}

/* FAQ styles */
.faq-item {
  margin-bottom: 2rem;
  border-bottom: 1px solid #FF6347;
  padding-bottom: 1rem;
}

.faq-question {
  font-size: 1.6rem;
  font-weight: bold;
  color: #FFB74D;
  margin-bottom: 0.8rem;
}

.faq-answer {
  font-size: 1.4rem;
  line-height: 1.6;
}

/* Stats/RTP styles */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.stat-item {
  background-color: rgba(255, 179, 77, 0.1);
  padding: 1.5rem;
  border-radius: 0.8rem;
  text-align: center;
  border: 1px solid #FFB74D;
}

.stat-value {
  font-size: 2.4rem;
  font-weight: bold;
  color: #FFB74D;
  display: block;
}

.stat-label {
  font-size: 1.2rem;
  color: #FFCCCB;
}

/* Loading animation */
.loading {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 3px solid #FF6347;
  border-radius: 50%;
  border-top-color: #FFB74D;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
} 