/* style/da-ga.css */
:root {
  --primary-color: #003366;
  --secondary-color: #FFCC00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #002244;
  --border-color: #e0e0e0;
}

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

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

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

.page-da-ga h1 {
  font-size: 2.8em;
  text-align: center;
  color: var(--text-light);
}

.page-da-ga h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-da-ga h2::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-da-ga h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-top: 30px;
}

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

.page-da-ga a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-da-ga a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.page-da-ga .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-dark);
  color: var(--text-light);
}

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

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

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

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

.page-da-ga .hero-content h1 {
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-da-ga .hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-da-ga .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-da-ga .cta-button:hover {
  background: #e6b800;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-da-ga .cta-button-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.page-da-ga .cta-button-secondary:hover {
  background: var(--bg-dark);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Section Intro */
.page-da-ga .section-intro {
  padding: 60px 0;
  background-color: var(--bg-light);
}

/* Game Types Grid */
.page-da-ga .game-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-da-ga .game-type-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-da-ga .game-type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-da-ga .card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-da-ga .game-type-card h3 {
  font-size: 1.4em;
  margin: 20px 20px 10px 20px;
  color: var(--primary-color);
  text-align: center;
}

.page-da-ga .game-type-card h3 a {
  color: inherit;
}

.page-da-ga .game-type-card p {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: var(--text-dark);
  flex-grow: 1;
}

/* How To Section */
.page-da-ga .section-how-to {
  padding: 60px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-da-ga .section-how-to h2 {
  color: var(--secondary-color);
}

.page-da-ga .section-how-to p {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-da-ga .steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-da-ga .step-card {
  background: var(--primary-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-da-ga .step-card:hover {
  transform: translateY(-8px);
  background-color: #004488;
}

.page-da-ga .step-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-da-ga .step-card h3 {
  font-size: 1.3em;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-da-ga .step-card h3 a {
  color: inherit;
}

.page-da-ga .step-card p {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

/* Why Choose Section */
.page-da-ga .section-why-choose {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-da-ga .section-why-choose > p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-da-ga .advantage-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  background: var(--bg-light);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-da-ga .advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-da-ga .advantage-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-da-ga .advantage-item h3 {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-da-ga .advantage-item p {
  font-size: 0.95em;
  color: var(--text-dark);
  margin-bottom: 0;
}

/* Strategy Section */
.page-da-ga .section-strategy {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-da-ga .section-strategy > p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-da-ga .strategy-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-da-ga .strategy-item {
  background: #ffffff;
  border-left: 5px solid var(--secondary-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-da-ga .strategy-item h3 {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-da-ga .strategy-item p {
  font-size: 1em;
  margin-bottom: 0;
}

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

.page-da-ga .section-faq h2 {
  color: var(--secondary-color);
}

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

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

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

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

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-light);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  background: var(--primary-color);
  border-radius: 0 0 5px 5px;
  color: rgba(255, 255, 255, 0.8);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px;
  background: var(--primary-color);
  border: 1px solid #004488;
  border-top: none;
  border-radius: 0 0 5px 5px;
}

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

/* Related Articles Section */
.page-da-ga .section-related-articles {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-da-ga .section-related-articles > p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-da-ga .article-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-da-ga .article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-da-ga .article-card h3 {
  font-size: 1.3em;
  margin: 20px 20px 10px 20px;
  color: var(--primary-color);
}

.page-da-ga .article-card h3 a {
  color: inherit;
}

.page-da-ga .article-card p {
  padding: 0 20px;
  font-size: 0.95em;
  color: var(--text-dark);
  flex-grow: 1;
}

.page-da-ga .read-more {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 5px;
  margin: 20px;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-da-ga .read-more:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-da-ga .text-center {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-da-ga h1 {
    font-size: 2.5em;
  }
  .page-da-ga h2 {
    font-size: 2em;
  }
  .page-da-ga h3 {
    font-size: 1.5em;
  }
  .page-da-ga .hero-image img {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-da-ga h1 {
    font-size: 2em;
  }
  .page-da-ga h2 {
    font-size: 1.8em;
  }
  .page-da-ga h3 {
    font-size: 1.3em;
  }
  .page-da-ga .hero-content p {
    font-size: 1.1em;
  }
  .page-da-ga .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-da-ga .hero-section {
    padding: 40px 15px;
  }
  .page-da-ga .game-types-grid,
  .page-da-ga .steps-grid,
  .page-da-ga .advantages-grid,
  .page-da-ga .article-grid {
    grid-template-columns: 1fr;
  }
  .page-da-ga .game-type-card h3,
  .page-da-ga .step-card h3,
  .page-da-ga .advantage-item h3,
  .page-da-ga .article-card h3 {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  .page-da-ga .game-type-card p,
  .page-da-ga .step-card p,
  .page-da-ga .advantage-item p,
  .page-da-ga .article-card p {
    text-align: left;
    padding-left: 0;
    padding-right: 0;
  }
  .page-da-ga .step-card {
    padding: 20px;
  }
  .page-da-ga .step-icon {
    width: 80px;
    height: 80px;
  }
  .faq-question {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }
  .faq-question h3 {
    margin-bottom: 8px;
  }
  .faq-toggle {
    align-self: flex-end;
    margin-top: -30px;
  }
  .page-da-ga .read-more {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .page-da-ga h1 {
    font-size: 1.8em;
  }
  .page-da-ga h2 {
    font-size: 1.6em;
  }
  .page-da-ga .hero-content p {
    font-size: 1em;
  }
  .page-da-ga .cta-button {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-da-ga .container {
    padding: 15px;
  }
  .page-da-ga .card-img {
    height: 180px;
  }
  .page-da-ga .step-icon {
    width: 60px;
    height: 60px;
  }
  .page-da-ga .advantage-icon {
    width: 60px;
    height: 60px;
  }
  .page-da-ga .read-more {
    margin: 15px;
  }
}