/* style/support.css */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0A192F; /* Main dark blue background */
  line-height: 1.6;
}

.page-support a {
  color: #FFD700; /* Gold for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support a:hover {
  color: #FFEA00; /* Lighter gold on hover */
}

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

/* Hero Section */
.page-support__hero {
  background: linear-gradient(135deg, #0A192F 0%, #1A3A6D 100%); /* Dark blue gradient */
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-support__hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  opacity: 0.1;
  animation: rotateBackground 20s linear infinite;
}

@keyframes rotateBackground {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.page-support__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold title */
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__hero-description {
  font-size: 1.2em;
  color: #E0E0E0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Buttons */
.page-support__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-support__btn--primary {
  background-color: #FFD700; /* Gold background */
  color: #0A192F; /* Dark blue text */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-support__btn--primary:hover {
  background-color: #FFEA00; /* Lighter gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-support__btn--secondary {
  background-color: #1A3A6D; /* Medium dark blue */
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-support__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-support__btn--tertiary {
  background-color: transparent;
  color: #FFD700;
  border: 1px solid #FFD700;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-support__btn--tertiary:hover {
  background-color: #FFD700;
  color: #0A192F;
}

/* Sections */
.page-support__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-support__section:last-of-type {
  border-bottom: none;
}

.page-support__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__section-description {
  font-size: 1.1em;
  color: #B0B0B0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-support__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-support__content-wrapper:nth-child(even) {
  flex-direction: row-reverse;
}

.page-support__text-content {
  flex: 1;
}

.page-support__text-content p {
  margin-bottom: 15px;
  color: #E0E0E0;
}

.page-support__text-content strong {
  color: #FFD700;
}

.page-support__image-container {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-support__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Grid for Key Areas */
.page-support__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__grid-item {
  background-color: #1A2F4B; /* Slightly lighter dark blue */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-support__grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 215, 0, 0.2);
}

.page-support__item-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__item-image {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-support__item-text {
  color: #C0C0C0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-support__grid-item .page-support__btn {
  margin-top: auto;
}

/* Why XN88 Support Stands Out */
.page-support__why-xn88 .page-support__text-content ul {
  list-style: none;
  padding: 0;
}

.page-support__why-xn88 .page-support__text-content li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23FFD700" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-8.83"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #E0E0E0;
  font-size: 1.1em;
}

.page-support__why-xn88 .page-support__text-content li strong {
  color: #FFD700;
}

/* Get Started Section */
.page-support__get-started {
  text-align: center;
  background-color: #1A2F4B;
  padding: 80px 0;
}

.page-support__cta-group {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsible Gaming */
.page-support__responsible-gaming .page-support__text-content p {
  font-size: 1.1em;
}

/* Detail Pages List */
.page-support__detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-support__detail-item {
  background-color: #1A2F4B;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-support__detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 215, 0, 0.15);
}

.page-support__detail-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-support__detail-title a {
  color: #FFD700;
}

.page-support__detail-title a:hover {
  color: #FFEA00;
}

.page-support__detail-description {
  color: #C0C0C0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__detail-item .page-support__btn {
  margin-top: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }

  .page-support__section-title {
    font-size: 2em;
  }

  .page-support__content-wrapper {
    flex-direction: column;
  }

  .page-support__content-wrapper:nth-child(even) {
    flex-direction: column;
  }

  .page-support__image-container {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-support__hero {
    padding: 80px 0;
  }

  .page-support__hero-title {
    font-size: 2.2em;
  }

  .page-support__hero-description {
    font-size: 1em;
  }

  .page-support__section {
    padding: 40px 0;
  }

  .page-support__section-title {
    font-size: 1.8em;
  }

  .page-support__section-description {
    font-size: 1em;
  }

  .page-support__grid {
    grid-template-columns: 1fr;
  }

  .page-support__detail-list {
    grid-template-columns: 1fr;
  }

  .page-support__btn {
    padding: 12px 25px;
    font-size: 0.9em;
  }

  .page-support__cta-group {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }

  .page-support__section-title {
    font-size: 1.5em;
  }

  .page-support__item-title {
    font-size: 1.4em;
  }

  .page-support__detail-title {
    font-size: 1.3em;
  }

  .page-support__btn {
    width: 100%;
  }
}