/* style/beginner-guide.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #343a40;
  --border-color: #e0e0e0;
}

.page-beginner-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

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

.page-beginner-guide h1,
.page-beginner-guide h2,
.page-beginner-guide h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-beginner-guide h1 {
  font-size: 2.8em;
  font-weight: bold;
  color: var(--text-light);
}

.page-beginner-guide h2 {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--primary-color);
}

.page-beginner-guide h3 {
  font-size: 1.6em;
  color: var(--text-dark);
}

.page-beginner-guide p {
  margin-bottom: 15px;
  text-align: justify;
}

.page-beginner-guide .btn-primary,
.page-beginner-guide .btn-secondary,
.page-beginner-guide .btn-outline,
.page-beginner-guide .btn-small,
.page-beginner-guide .btn-promo,
.page-beginner-guide .btn-contact {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.page-beginner-guide .btn-primary,
.page-beginner-guide .cta-button {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-beginner-guide .btn-primary:hover,
.page-beginner-guide .cta-button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide .btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-beginner-guide .btn-secondary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide .btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-beginner-guide .btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide .btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-beginner-guide .btn-small:hover {
  background-color: #0056b3;
}

.page-beginner-guide .btn-promo {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 10px 20px;
  font-size: 1em;
}

.page-beginner-guide .btn-promo:hover {
  background-color: #e0a800;
}

.page-beginner-guide .btn-contact {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-beginner-guide .btn-contact:hover {
  background-color: #0056b3;
}

/* Hero Section */
.page-beginner-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: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Adjusted for better contrast */
  color: var(--text-light);
}

.page-beginner-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-beginner-guide .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-beginner-guide .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-beginner-guide .hero-content h1 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 3.2em;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-beginner-guide .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-beginner-guide .cta-button {
  font-size: 1.3em;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 50px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide .cta-button:hover {
  background: #e0a800;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-beginner-guide .introduction-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-beginner-guide .introduction-section h2 {
  margin-bottom: 40px;
}

.page-beginner-guide .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-beginner-guide .feature-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-beginner-guide .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-beginner-guide .feature-icon {
  width: 120px; /* Increased size for content image */
  height: 120px; /* Increased size for content image */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-beginner-guide .feature-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-top: 0;
  text-align: center;
}

.page-beginner-guide .feature-item p {
  font-size: 0.95em;
  color: #555555;
  text-align: center;
}

/* Registration Section */
.page-beginner-guide .registration-section {
  padding: 60px 0;
  background-color: #f0f5ff; /* Lighter blue tint */
}

.page-beginner-guide .registration-section h2 {
  margin-bottom: 40px;
}

.page-beginner-guide .step-by-step {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-beginner-guide .step-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  flex: 1 1 300px;
  max-width: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-beginner-guide .step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-beginner-guide .step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide .step-item h3 {
  color: var(--primary-color);
  margin-top: 0;
}

.page-beginner-guide .step-item p {
  color: #555555;
  text-align: center;
}

.page-beginner-guide .btn-secondary {
  margin-top: 20px;
}

/* Deposit Withdrawal Section */
.page-beginner-guide .deposit-withdrawal-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-beginner-guide .deposit-withdrawal-section h2 {
  margin-bottom: 40px;
}

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

.page-beginner-guide .finance-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex: 1 1 45%;
  max-width: 550px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-beginner-guide .finance-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-beginner-guide .finance-item h3 {
  color: var(--primary-color);
  margin-top: 0;
  text-align: center;
}

.page-beginner-guide .finance-item ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #555555;
}

.page-beginner-guide .finance-item ul li {
  margin-bottom: 10px;
}

.page-beginner-guide .finance-item .btn-outline {
  margin-top: 20px;
  width: 100%;
}

.page-beginner-guide .note {
  text-align: center;
  font-style: italic;
  color: #666666;
  margin-top: 30px;
}

/* Games Section */
.page-beginner-guide .games-section {
  padding: 60px 0;
  background-color: #f0f5ff;
}

.page-beginner-guide .games-section h2 {
  margin-bottom: 40px;
}

.page-beginner-guide .game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-beginner-guide .game-card {
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-beginner-guide .game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-beginner-guide .game-image {
  width: 100%;
  height: 250px; /* Consistent height for game images */
  object-fit: cover;
}

.page-beginner-guide .game-card h3 {
  font-size: 1.4em;
  margin: 20px 15px 10px 15px;
  text-align: center;
}

.page-beginner-guide .game-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-beginner-guide .game-card h3 a:hover {
  text-decoration: underline;
}

.page-beginner-guide .game-card p {
  padding: 0 15px 20px 15px;
  color: #555555;
  font-size: 0.95em;
  text-align: center;
}

.page-beginner-guide .game-card .btn-small {
  margin-bottom: 20px;
}

/* Promotions Section */
.page-beginner-guide .promotions-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-beginner-guide .promotions-section h2 {
  margin-bottom: 40px;
}

.page-beginner-guide .promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-beginner-guide .promo-card {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-beginner-guide .promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-beginner-guide .promo-card h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-top: 0;
  text-align: center;
}

.page-beginner-guide .promo-card p {
  color: #555555;
  margin-bottom: 25px;
  text-align: center;
}

.page-beginner-guide .promo-card .btn-promo {
  width: 100%;
}

.page-beginner-guide .promo-footer {
  text-align: center;
  font-style: italic;
  color: #666666;
  margin-top: 40px;
  font-size: 0.9em;
}

/* Security Support Section */
.page-beginner-guide .security-support-section {
  padding: 60px 0;
  background-color: #f0f5ff;
}

.page-beginner-guide .security-support-section h2 {
  margin-bottom: 40px;
}

.page-beginner-guide .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-beginner-guide .info-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-beginner-guide .info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-beginner-guide .info-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-top: 0;
  text-align: center;
}

.page-beginner-guide .info-item p {
  color: #555555;
  margin-bottom: 25px;
  text-align: center;
}

.page-beginner-guide .info-item .btn-contact {
  width: 100%;
}

/* FAQ Section */
.page-beginner-guide .faq-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-beginner-guide .faq-section h2 {
  margin-bottom: 40px;
}

.page-beginner-guide .faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--text-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question:hover {
  background: #f5f5f5;
  border-color: var(--primary-color);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: var(--text-dark);
  text-align: left;
  flex-grow: 1;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px;
  border-color: var(--primary-color);
}

.faq-answer p {
  margin: 0;
  color: #555555;
  text-align: justify;
}

/* Conclusion Section */
.page-beginner-guide .conclusion-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

.page-beginner-guide .conclusion-section h2 {
  color: var(--secondary-color);
  margin-bottom: 25px;
}

.page-beginner-guide .conclusion-section p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

.page-beginner-guide .conclusion-section .cta-button {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  font-size: 1.4em;
  padding: 18px 45px;
}

.page-beginner-guide .conclusion-section .cta-button:hover {
  background-color: #e0a800;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-beginner-guide h1 {
    font-size: 2.5em;
  }
  .page-beginner-guide h2 {
    font-size: 1.8em;
  }
  .page-beginner-guide h3 {
    font-size: 1.4em;
  }
  .page-beginner-guide .hero-content p {
    font-size: 1.1em;
  }
  .page-beginner-guide .cta-button {
    font-size: 1.2em;
    padding: 12px 30px;
  }
  .page-beginner-guide .finance-item,
  .page-beginner-guide .step-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-beginner-guide .game-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-beginner-guide .hero-section {
    padding: 40px 15px;
  }
  .page-beginner-guide .hero-content h1 {
    font-size: 2em;
  }
  .page-beginner-guide .hero-content p {
    font-size: 1em;
  }
  .page-beginner-guide .cta-button {
    font-size: 1em;
    padding: 10px 25px;
  }
  .page-beginner-guide .features-grid,
  .page-beginner-guide .game-cards-grid,
  .page-beginner-guide .promo-cards-grid,
  .page-beginner-guide .info-grid {
    grid-template-columns: 1fr;
  }
  .page-beginner-guide .step-by-step {
    flex-direction: column;
  }
  .page-beginner-guide .step-item {
    padding: 20px;
  }
  .faq-question {
    padding: 12px 15px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 15px;
  }
  .faq-item.active .faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-beginner-guide h1 {
    font-size: 1.8em;
  }
  .page-beginner-guide h2 {
    font-size: 1.5em;
  }
  .page-beginner-guide h3 {
    font-size: 1.2em;
  }
  .page-beginner-guide .hero-image {
    margin-bottom: 20px;
  }
  .page-beginner-guide .cta-button {
    font-size: 0.9em;
    padding: 8px 20px;
  }
  .page-beginner-guide .feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-beginner-guide .btn-primary, .page-beginner-guide .btn-secondary, .page-beginner-guide .btn-outline, .page-beginner-guide .btn-promo, .page-beginner-guide .btn-contact {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}