/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
}ce

/* Headings */
h1 {
  font-size: 56px;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 4px rgba(255, 100, 100, 0.3);
  text-align: center;
}

h2 {
  font-size: 28px;
  color: #e04846;
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 2px solid #ff4a4a;
  margin-bottom: 20px;
  text-align: center;
}

h3 {
  font-size: 22px;
  color: #ff4a4a;
  font-weight: 500;
  margin-bottom: 15px;
  border-left: none;
  padding-left: 0;
  text-align: center;
}

h4 {
  font-size: 20px;
  font-weight: 600;
  color: #555;
  border-bottom: 2px dashed #e04846;
  padding-bottom: 4px;
  margin-bottom: 12px;
  text-align: center;
}

/* Header */
header {
  background: #f2f3f5;
  padding: 15px 0;
}

.header-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

header img {
  height: 60px;
  max-width: 100%;
  transition: transform 0.3s;
}

header img:hover {
  transform: scale(1.05);
}

nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

nav a.loginbtn {
  width: 9em;
  height: 2em;
  font-size: .85em;
  background: none;
  border-radius: 1.06667rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: .01333rem solid #ff7172;
  color: #ff7172;
  text-decoration: none;
  font-weight: bold;
}

nav a.registerbtn {
  width: 9em;
  height: 2em;
  font-size: .85em;
  letter-spacing: .05333rem;
  border-radius: 1.06667rem;
  text-shadow: 0 .05333rem .02667rem rgba(231,65,65,.5019607843);
  background: linear-gradient(180deg,#ff867a 0,#f95959 100%);
  box-shadow: 0 .05333rem #e74141;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Cover Section */
.cover {
  background: linear-gradient(0deg, rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('/img/cover-bg.webp') no-repeat center center/cover;
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.cover img {
  width: 180px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 106, 106, 0.5);
}

.cover h1 {
  font-size: 56px;
  margin-top: 20px;
  color: white;
}

.cover p {
  font-size: 18px;
  margin: 10px 0 30px;
}

.cover .btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  text-align: center;
}

.btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  text-align: center;
}

.cover a.btn {
  padding: 12px 30px;
  border: none;
  color: #e04846;
  background: linear-gradient(180deg, #ffffff 0%, #f2f2f2 100%);
  border-radius: 50px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.cover a.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Main Section */
main {
  padding: 30px;
  max-width: 900px;
  margin: auto;
  text-align: left;
}

.features-list {
  list-style-type: square;
  color: #e04846;
  padding-left: 20px;
  text-align: left;
  display: inline-block;
  margin: auto;
}

.features-list li {
  margin-bottom: 10px;
}

/* Game Section Grid */
@media screen and (max-width: 768px) {
  .games-grid {
    grid-template-columns: 1fr !important; /* Show 1 card per row */
  }
}

  .game-card {
    padding: 20px;
  }

  .game-card img {
    width: 70px;
    height: 70px;
  }
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0;
  padding: 20px;
  background: #fdf1f1;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  text-align: center;
}

.game-card {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}

.game-card:hover {
  transform: translateY(-5px);
}

.game-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.register-action,
.login-action {
  display: inline-block;
  padding: 12px 28px;
  margin: 10px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  transition: 0.3s ease;
  border: none;
}

.register-action {
  color: #fff;
  background: linear-gradient(180deg, #FF6C6B 0%, #FF4A4A 68.59%);
  box-shadow: 0 2px 6px rgba(255, 80, 80, 0.3);
}

.register-action:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.login-action {
  color: #e04846;
  background: #fff;
  border: 1px solid #e04846;
}

.login-action:hover {
  background: #fdf1f1;
  transform: translateY(-2px);
}

.download-section {
  background: #fff7f7;
  border: 1px solid #ffe0e0;
  border-radius: 12px;
  padding: 30px;
  margin: 40px auto;
  max-width: 850px;
  box-shadow: 0 2px 8px rgba(255, 72, 72, 0.1);
  text-align: center;
}

.download-section h2 {
  color: #e04846;
  margin-bottom: 15px;
}

.download-section p {
  margin-bottom: 25px;
}

.download-steps {
  text-align: left;
  display: inline-block;
  margin: auto;
  padding-left: 20px;
  color: #333;
}

.download-steps li {
  margin-bottom: 12px;
  line-height: 1.6;
}

.download-app-btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, #FF6C6B 0%, #FF4A4A 68.59%);
  box-shadow: 0 2px 6px rgba(255, 80, 80, 0.3);
  transition: 0.3s ease;
}

.download-app-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}


/* Responsive Header Fix */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 10px;
  }

  header img {
    height: 50px;
  }

  nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

footer {
  background: #2c2c2c; /* dark greyish black */
  color: #ffffff;
  padding: 25px 20px;
  text-align: center;
  font-size: 14px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

footer a {
  color: #e04846;
  margin: 0 8px;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-links {
  margin-top: 10px;
}



.download-section {
  background: #fff7f7;
  border: 1px solid #ffe0e0;
  border-radius: 12px;
  padding: 30px;
  margin: 40px auto;
  max-width: 850px;
  box-shadow: 0 2px 8px rgba(255, 72, 72, 0.1);
  text-align: center;
}

.download-section h2 {
  color: #e04846;
  margin-bottom: 15px;
}

.download-section p {
  margin-bottom: 25px;
}

.download-steps {
  text-align: left;
  display: inline-block;
  margin: auto;
  padding-left: 20px;
  color: #333;
}

.download-steps li {
  margin-bottom: 12px;
  line-height: 1.6;
}

.download-app-btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, #FF6C6B 0%, #FF4A4A 68.59%);
  box-shadow: 0 2px 6px rgba(255, 80, 80, 0.3);
  transition: 0.3s ease;
}

.download-app-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}


#faq-section {
  max-width: 850px;
  margin: 40px auto;
  padding: 0 20px;
}

.accordion {
  max-width: 800px;
  margin: auto;
  text-align: left;
  border-radius: 10px;
  overflow: hidden;
}

.accordion-item {
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.accordion-question {
  background: linear-gradient(180deg, #ff867a 0%, #f95959 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 20px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
}

.accordion-question::after {
  content: '+';
  font-size: 24px;
  position: absolute;
  right: 20px;
  top: 14px;
  color: #fff;
  transition: transform 0.3s ease;
}

.accordion-question.open::after {
  content: '−';
}

.accordion-answer {
  background: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
}

.accordion-answer p {
  margin: 15px 0;
  color: #333;
  font-size: 16px;
  line-height: 1.5;
}