/* style/about.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1E90FF; /* Deep Sky Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark: #222222;
  --border-color: #e0e0e0;
  --accent-color-hover: #007bff; /* Slightly darker blue for hover */
}

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

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

.page-about-section {
  padding: 60px 0;
  text-align: center;
}

.page-about-section.page-about-bg-light {
  background-color: var(--bg-light);
}

.page-about-section-title {
  font-size: 2.8em;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-about h1 {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-about h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-weight: bold;
}

.page-about h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-about ul {
  list-style: disc;
  text-align: left;
  margin: 0 auto 20px;
  padding-left: 40px;
  max-width: 800px;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-about ul li {
  margin-bottom: 10px;
}

.page-about-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about-button:hover {
  background: var(--accent-color-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-about-link-inline {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about-link-inline:hover {
  color: var(--primary-color);
}

/* Hero Section */
.page-about-hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0a4f94 100%); /* Darker blue gradient */
  padding: 80px 0;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.page-about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.page-about-hero-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.page-about-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-about-hero-content h1 {
  color: var(--primary-color);
  font-size: 3.8em;
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}

.page-about-hero-content p {
  font-size: 1.25em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-about-hero-cta {
  background: var(--primary-color);
  color: var(--text-dark);
  padding: 18px 45px;
  font-size: 1.3em;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-about-hero-cta:hover {
  background: #ffcc00; /* Slightly lighter gold */
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Content Grid */
.page-about-content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-bottom: 40px;
}

.page-about-content-grid.reverse-order {
  flex-direction: row-reverse;
}

.page-about-text-content {
  flex: 1;
}

.page-about-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-about-image-full {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Security Section */
.page-about-security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-about-security-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-security-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-about-security-item .page-about-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-about-security-item h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
  margin-top: 0;
}

.page-about-cta-banner {
  background: linear-gradient(90deg, var(--primary-color), #ffcc00);
  padding: 30px 40px;
  border-radius: 12px;
  margin-top: 50px;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-about-cta-banner p {
  font-size: 1.4em;
  margin: 0;
  font-weight: bold;
}

.page-about-cta-banner .page-about-button {
  background: var(--secondary-color);
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-about-cta-banner .page-about-button:hover {
  background: var(--accent-color-hover);
  border-color: var(--primary-color);
}

/* Games Section */
.page-about-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about-game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-about-game-card .page-about-game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-about-game-card h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  padding: 15px 20px 0;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-about-game-card h3 a.page-about-link-card {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-about-game-card h3 a.page-about-link-card:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

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

/* Promotions Section */
.page-about-promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about-promotion-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-promotion-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-about-promotion-item .page-about-promo-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-about-promotion-item h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
  margin-top: 0;
}

/* Support Section */
.page-about-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-about-support-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-about-support-item h3 {
  color: var(--secondary-color);
  font-size: 1.7em;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-about-support-item ul {
  text-align: left;
  padding-left: 25px;
  list-style-type: square;
}

.page-about-support-item .page-about-support-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-about-contact-btn {
  margin-top: 20px;
}

/* FAQ Section */
.page-about-faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.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: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-light);
}

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: var(--bg-light);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin: 0;
  font-size: 1.1em;
  text-align: left;
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about-hero-content h1 {
    font-size: 3em;
  }
  .page-about-hero-content p {
    font-size: 1.1em;
  }
  .page-about-section-title {
    font-size: 2.2em;
  }
  .page-about h2 {
    font-size: 2em;
  }
  .page-about h3 {
    font-size: 1.6em;
  }
  .page-about-content-grid {
    flex-direction: column;
    gap: 30px;
  }
  .page-about-content-grid.reverse-order {
    flex-direction: column;
  }
  .page-about-image-wrapper {
    order: -1; /* Image appears first on smaller screens */
  }
  .page-about-security-item .page-about-icon,
  .page-about-promotion-item .page-about-promo-icon,
  .page-about-support-item .page-about-support-image {
    width: 100px;
    height: 100px;
  }
  .page-about-cta-banner p {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-about-hero-image {
    height: 300px;
    margin-bottom: 30px;
  }
  .page-about-hero-content h1 {
    font-size: 2.5em;
  }
  .page-about-hero-content p {
    font-size: 1em;
  }
  .page-about-hero-cta {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-about-section {
    padding: 40px 0;
  }
  .page-about-section-title {
    font-size: 1.8em;
  }
  .page-about h2 {
    font-size: 1.6em;
  }
  .page-about h3 {
    font-size: 1.4em;
  }
  .page-about p {
    font-size: 0.95em;
  }
  .page-about ul {
    padding-left: 20px;
    font-size: 0.95em;
  }
  .page-about-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about-security-grid,
  .page-about-games-grid,
  .page-about-promotions-grid,
  .page-about-support-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-about-cta-banner {
    flex-direction: column;
    padding: 25px;
  }
  .page-about-cta-banner p {
    font-size: 1em;
  }
  .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: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-about-hero-image {
    height: 250px;
  }
  .page-about-hero-content h1 {
    font-size: 2em;
  }
  .page-about-hero-content p {
    font-size: 0.9em;
  }
  .page-about-hero-cta {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-about-section-title {
    font-size: 1.6em;
  }
  .page-about h2 {
    font-size: 1.4em;
  }
  .page-about h3 {
    font-size: 1.2em;
  }
  .page-about-container {
    padding: 0 15px;
  }
  .page-about-security-item .page-about-icon,
  .page-about-promotion-item .page-about-promo-icon,
  .page-about-support-item .page-about-support-image {
    width: 80px;
    height: 80px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
}