/* style/-g.css */
:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --accent-color: #E53E3E; /* A touch of red for alerts/highlights */
  --text-light: #F7FAFC;
  --text-dark: #2D3748;
  --bg-light: #FFFFFF;
  --bg-dark: #1A202C;
  --card-bg: #FFFFFF;
  --border-color: #E2E8F0;
}

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

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

.page--g section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page--g section:nth-of-type(even) {
  background-color: #F7FAFC;
}

.page--g h1,
.page--g h2,
.page--g h3,
.page--g h4 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page--g h1 {
  font-size: 3.2em;
  text-align: center;
  color: var(--text-light);
}

.page--g h2 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
}

.page--g h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
}

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

.page--g ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page--g ol {
  list-style: decimal;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page--g li {
  margin-bottom: 8px;
  font-size: 1.05em;
}

.page--g a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page--g a:hover {
  color: var(--accent-color);
}

.page--g .cta-button,
.page--g .btn-primary,
.page--g .btn-secondary,
.page--g .card-button,
.page--g .promo-button,
.page--g .faq-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page--g .cta-button,
.page--g .btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page--g .cta-button:hover,
.page--g .btn-primary:hover {
  background-color: #FFC107;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page--g .btn-secondary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page--g .btn-secondary:hover {
  background-color: #2D3748;
  border-color: #2D3748;
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page--g .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, rgba(26,32,44,0.8) 50%, var(--primary-color) 100%);
  color: var(--text-light);
  overflow: hidden;
}

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

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

.page--g .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page--g .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

.page--g .hero-content h1 {
  margin-top: 0;
  font-size: 3.5em;
  line-height: 1.2;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page--g .hero-content p {
  font-size: 1.3em;
  max-width: 800px;
  margin: 20px auto 40px auto;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page--g .cta-button.bottom-cta {
  margin-top: 40px;
}

.page--g .introduction-section .image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page--g .introduction-section .image-left {
  flex: 1;
  max-width: 50%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page--g .introduction-section .text-right {
  flex: 1;
  max-width: 50%;
}

.page--g .introduction-section .text-right ul {
  list-style: none;
  padding-left: 0;
}

.page--g .introduction-section .text-right li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page--g .introduction-section .text-right li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-size: 1.2em;
}

.page--g .bet-types-section .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page--g .card {
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page--g .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page--g .card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page--g .card h3 {
  color: var(--secondary-color);
  font-size: 1.6em;
  margin-top: 0;
}

.page--g .card p {
  font-size: 1em;
  color: var(--text-dark);
  min-height: 90px; /* Ensure consistent card height */
}

.page--g .card-button {
  margin-top: 20px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
  padding: 10px 20px;
  font-size: 1em;
}

.page--g .card-button:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
}

.page--g .guide-section ol {
  list-style: none;
  padding-left: 0;
}

.page--g .guide-section ol li {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  counter-increment: step-counter;
  position: relative;
  padding-left: 80px;
}

.page--g .guide-section ol li::before {
  content: counter(step-counter);
  position: absolute;
  left: 30px;
  top: 30px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page--g .guide-section ol li h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page--g .guide-section ol li p {
  margin-bottom: 20px;
}

.page--g .guide-section ol li .btn-primary,
.page--g .guide-section ol li .btn-secondary {
  padding: 10px 20px;
  font-size: 1em;
}

.page--g .guide-section ol li .btn-secondary {
  margin-left: 10px;
}

.page--g .strategies-section .strategy-item {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.page--g .strategies-section .strategy-item:nth-child(even) {
  flex-direction: row-reverse;
}

.page--g .strategies-section .strategy-image {
  flex: 0 0 350px; /* Fixed width for image */
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page--g .strategies-section .strategy-content {
  flex: 1;
}

.page--g .strategies-section .strategy-content h3 {
  color: var(--secondary-color);
  margin-top: 0;
}

.page--g .promotions-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page--g .promotions-section h2 {
  color: var(--secondary-color);
}

.page--g .promotions-section p {
  color: var(--text-light);
}

.page--g .promo-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page--g .promo-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page--g .promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.page--g .promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page--g .promo-card h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-top: 0;
}

.page--g .promo-card p {
  font-size: 1em;
  min-height: 60px;
}

.page--g .promo-button {
  margin-top: 20px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
  padding: 10px 20px;
  font-size: 1em;
}

.page--g .promo-button:hover {
  background-color: #FFC107;
  border-color: #FFC107;
}

.page--g .safety-support-section {
  background-color: #F7FAFC;
}

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

.page--g .feature-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  padding: 30px;
  text-align: center;
}

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

.page--g .feature-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-top: 0;
}

.page--g .contact-info {
  margin-top: 40px;
  text-align: center;
}

.page--g .contact-info ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page--g .contact-info li {
  font-size: 1.1em;
  margin-bottom: 0;
}

.page--g .contact-link {
  color: var(--primary-color);
  font-weight: bold;
}

.page--g .contact-link:hover {
  color: var(--secondary-color);
}

.page--g .faq-section {
  padding-bottom: 80px;
}

.page--g .faq-list {
  margin-top: 40px;
}

/* FAQ default state - answer hidden */
.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--bg-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: var(--primary-color);
}

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

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #F9F9F9;
  color: var(--text-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 25px;
  background: #F9F9F9;
}

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

.page--g .faq-button {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 1px solid var(--primary-color);
  padding: 8px 18px;
  font-size: 0.95em;
  margin-top: 15px;
  margin-right: 10px;
  box-shadow: none;
}

.page--g .faq-button:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page--g .conclusion-section {
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
}

.page--g .conclusion-section h2 {
  color: var(--secondary-color);
  font-size: 2.8em;
}

.page--g .conclusion-section p {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page--g .hero-content h1 {
    font-size: 3em;
  }
  .page--g .hero-content p {
    font-size: 1.2em;
  }
  .page--g .introduction-section .image-text-block {
    flex-direction: column;
  }
  .page--g .introduction-section .image-left,
  .page--g .introduction-section .text-right {
    max-width: 100%;
  }
  .page--g .strategies-section .strategy-item {
    flex-direction: column;
  }
  .page--g .strategies-section .strategy-item:nth-child(even) {
    flex-direction: column;
  }
  .page--g .strategies-section .strategy-image {
    flex: none;
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page--g section {
    padding: 40px 0;
  }
  .page--g h1 {
    font-size: 2.5em;
  }
  .page--g h2 {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page--g h3 {
    font-size: 1.5em;
  }
  .page--g p {
    font-size: 1em;
  }
  .page--g .hero-content h1 {
    font-size: 2.5em;
  }
  .page--g .hero-content p {
    font-size: 1em;
  }
  .page--g .cta-button, .page--g .btn-primary, .page--g .btn-secondary, .page--g .card-button, .page--g .promo-button, .page--g .faq-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page--g .card-grid, .page--g .promo-card-grid, .page--g .feature-grid {
    grid-template-columns: 1fr;
  }
  .page--g .guide-section ol li {
    padding: 20px;
    padding-left: 60px;
  }
  .page--g .guide-section ol li::before {
    width: 30px;
    height: 30px;
    font-size: 1.2em;
    left: 20px;
    top: 20px;
  }
  .page--g .contact-info ul {
    flex-direction: column;
    gap: 15px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 20px;
  }
  .page--g .conclusion-section h2 {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .page--g .hero-content h1 {
    font-size: 2em;
  }
  .page--g .hero-content p {
    font-size: 0.9em;
  }
  .page--g .cta-button, .page--g .btn-primary, .page--g .btn-secondary, .page--g .card-button, .page--g .promo-button, .page--g .faq-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page--g .guide-section ol li .btn-secondary {
    margin-left: 0;
    margin-top: 10px;
  }
  .page--g .faq-button {
    margin-right: 5px;
    margin-bottom: 5px;
  }
}