/* style/newbie-guide.css */
.page-newbie-guide {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

.page-newbie-guide .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-newbie-guide h1, .page-newbie-guide h2, .page-newbie-guide h3 {
  color: #8B0000; /* Dark Red for headings */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-newbie-guide h1 {
  font-size: 2.8em;
  text-align: center;
  color: #FFD700; /* Gold for main H1 */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-newbie-guide h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
}

.page-newbie-guide h3 {
  font-size: 1.8em;
  margin-top: 30px;
}

.page-newbie-guide p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-newbie-guide a {
  color: #8B0000; /* Dark Red for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-newbie-guide a:hover {
  color: #FFD700; /* Gold on hover */
  text-decoration: underline;
}

.page-newbie-guide .cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 20px;
  cursor: pointer;
}

.page-newbie-guide .primary-button {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  border: 2px solid #FFD700;
}

.page-newbie-guide .primary-button:hover {
  background-color: #e6c200;
  color: #6a0000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.page-newbie-guide .secondary-button {
  background-color: #8B0000; /* Dark Red */
  color: #FFD700; /* Gold */
  border: 2px solid #8B0000;
  margin-left: 15px;
}

.page-newbie-guide .secondary-button:hover {
  background-color: #6a0000;
  color: #e6c200;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* Hero Section */
.page-newbie-guide .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #1a1a1a; /* Dark background for hero */
}

.page-newbie-guide .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-newbie-guide .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-newbie-guide .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-newbie-guide .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-newbie-guide .hero-content h1 {
  color: #FFD700;
  margin-bottom: 20px;
  font-size: 3.2em;
}

.page-newbie-guide .hero-content p {
  color: #ffffff;
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-newbie-guide .hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* Introduction Section */
.page-newbie-guide .introduction-section {
  background-color: #fff;
  padding: 50px 0;
  border-bottom: 1px solid #eee;
}

.page-newbie-guide .quick-access-links {
  background-color: #f2f2f2;
  border-left: 5px solid #FFD700;
  padding: 20px;
  margin-top: 30px;
  border-radius: 5px;
}

.page-newbie-guide .quick-access-links h3 {
  color: #8B0000;
  margin-top: 0;
  font-size: 1.6em;
}

.page-newbie-guide .quick-access-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.page-newbie-guide .quick-access-links li {
  background-color: #FFD700;
  border-radius: 5px;
  overflow: hidden;
}

.page-newbie-guide .quick-access-links li a {
  display: block;
  padding: 10px 15px;
  color: #8B0000;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

.page-newbie-guide .quick-access-links li a:hover {
  background-color: #e6c200;
  color: #6a0000;
  text-decoration: none;
}

/* Guide Steps Sections */
.page-newbie-guide .registration-guide, 
.page-newbie-guide .deposit-guide, 
.page-newbie-guide .withdraw-guide {
  padding: 50px 0;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
}

.page-newbie-guide .guide-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
}

.page-newbie-guide .step-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  flex: 1 1 calc(33% - 40px);
  min-width: 280px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-newbie-guide .step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-newbie-guide .step-item .step-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-newbie-guide .step-item h3 {
  color: #8B0000;
  font-size: 1.5em;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-newbie-guide .tip-text {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  border-radius: 5px;
  padding: 15px 20px;
  margin-top: 30px;
  font-size: 1em;
  text-align: left;
}

/* Games Section */
.page-newbie-guide .games-section {
  background-color: #fff;
  padding: 50px 0;
  border-bottom: 1px solid #eee;
}

.page-newbie-guide .game-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
}

.page-newbie-guide .game-card {
  background-color: #fefefe;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1 1 calc(33% - 40px);
  min-width: 280px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-newbie-guide .game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-newbie-guide .game-card .card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-newbie-guide .game-card h3 {
  font-size: 1.4em;
  margin: 15px 0 10px 0;
  color: #8B0000;
}

.page-newbie-guide .game-card h3 a {
  color: #8B0000;
  text-decoration: none;
}

.page-newbie-guide .game-card h3 a:hover {
  color: #FFD700;
  text-decoration: underline;
}

.page-newbie-guide .game-card p {
  font-size: 0.95em;
  padding: 0 20px 20px;
  color: #555;
}

/* Promotions Section */
.page-newbie-guide .promotions-section {
  background-color: #f9f9f9;
  padding: 50px 0;
  border-bottom: 1px solid #eee;
}

.page-newbie-guide .promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-newbie-guide .promotion-list li {
  background-color: #fff;
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
}

.page-newbie-guide .promotion-list li strong {
  color: #8B0000;
}

/* Safety and Support Section */
.page-newbie-guide .safety-support-section {
  background-color: #fff;
  padding: 50px 0;
  border-bottom: 1px solid #eee;
}

.page-newbie-guide .safety-features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
}

.page-newbie-guide .feature-item {
  background-color: #fefefe;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  flex: 1 1 calc(33% - 40px);
  min-width: 280px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-newbie-guide .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-newbie-guide .feature-item .feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-newbie-guide .feature-item h3 {
  color: #8B0000;
  font-size: 1.5em;
  margin-top: 15px;
  margin-bottom: 10px;
}

/* FAQ Section */
.page-newbie-guide .faq-section {
  background-color: #f9f9f9;
  padding: 50px 0;
}

.page-newbie-guide .faq-list {
  margin-top: 30px;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #333;
}

.faq-toggle {
  font-size: 20px;
  font-weight: bold;
  color: #8B0000;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #FFD700;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  border: 1px solid #e0e0e0;
  border-top: none;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 15px;
}

/* Latest News Section */
.page-newbie-guide .latest-news-section {
  background-color: #fff;
  padding: 50px 0;
  border-top: 1px solid #eee;
}

.page-newbie-guide .news-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
}

.page-newbie-guide .news-card {
  background-color: #fefefe;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1 1 calc(33% - 40px);
  min-width: 280px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-newbie-guide .news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-newbie-guide .news-card .card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-newbie-guide .news-card h3 {
  font-size: 1.3em;
  margin: 15px 20px 10px 20px;
  color: #8B0000;
}

.page-newbie-guide .news-card h3 a {
  color: #8B0000;
  text-decoration: none;
}

.page-newbie-guide .news-card h3 a:hover {
  color: #FFD700;
  text-decoration: underline;
}

.page-newbie-guide .news-card p {
  font-size: 0.95em;
  padding: 0 20px;
  color: #555;
}

.page-newbie-guide .news-card .news-date {
  display: block;
  font-size: 0.85em;
  color: #999;
  padding: 0 20px 15px;
  margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-newbie-guide .hero-content h1 {
    font-size: 2.5em;
  }
  .page-newbie-guide .game-card, 
  .page-newbie-guide .step-item, 
  .page-newbie-guide .feature-item, 
  .page-newbie-guide .news-card {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .page-newbie-guide h1 {
    font-size: 2em;
  }
  .page-newbie-guide h2 {
    font-size: 1.8em;
  }
  .page-newbie-guide h3 {
    font-size: 1.4em;
  }
  .page-newbie-guide .hero-content p {
    font-size: 1em;
  }
  .page-newbie-guide .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-newbie-guide .secondary-button {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-newbie-guide .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .page-newbie-guide .game-card, 
  .page-newbie-guide .step-item, 
  .page-newbie-guide .feature-item, 
  .page-newbie-guide .news-card {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-newbie-guide .quick-access-links ul {
    flex-direction: column;
    gap: 10px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
  .faq-answer {
    padding: 10px 15px;
  }
  .page-newbie-guide .promotion-list li {
    padding: 12px 15px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-newbie-guide h1 {
    font-size: 1.8em;
  }
  .page-newbie-guide h2 {
    font-size: 1.6em;
  }
  .page-newbie-guide .hero-content p {
    font-size: 0.9em;
  }
  .page-newbie-guide .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-newbie-guide .quick-access-links h3 {
    font-size: 1.4em;
  }
  .page-newbie-guide .quick-access-links li a {
    padding: 8px 12px;
    font-size: 0.9em;
  }
  .page-newbie-guide .step-item .step-image, 
  .page-newbie-guide .game-card .card-image, 
  .page-newbie-guide .news-card .card-image {
    height: 180px;
  }
}