/* style/index.css */

/* Variables */
:root {
  --primary-color: #003366; /* Deep Ocean Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #002244; /* Slightly darker than primary for contrast */
  --border-color: #e0e0e0;
}

/* Base styles for the page content wrapper */
.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

.page-index a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

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

.page-index .section-padding {
  padding: 60px 0;
}

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

.page-index .text-center {
  text-align: center;
}

.page-index .mt-40 {
  margin-top: 40px;
}

/* Headings */
.page-index h1,
.page-index h2,
.page-index h3,
.page-index h4,
.page-index h5,
.page-index h6 {
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index h1 {
  font-size: 2.8em;
  color: var(--text-light); /* H1 in hero section is on dark background */
}

.page-index h2 {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 30px;
}

.page-index h3 {
  font-size: 1.6em;
  margin-bottom: 15px;
}

/* Paragraphs */
.page-index p {
  margin-bottom: 15px;
}

/* CTA Button */
.page-index .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color); /* Gold background, dark blue text for contrast */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index .cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-index .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px; /* Increased padding */
  background: var(--primary-color); /* Primary color background for text readability */
  color: var(--text-light);
}

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

.page-index .hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 900px; /* Constrain image width for better layout */
}

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

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

.page-index .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light); /* Ensure text is light on dark background */
}

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

.page-index .intro-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .intro-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index .intro-item .intro-icon {
  width: 120px; /* Increased size for content image */
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index .intro-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
}

/* Quick Access Section */
.page-index .access-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-index .access-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .access-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}

.page-index .access-link-card .card-icon {
  width: 100px; /* Increased size for content image */
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-index .access-link-card h3 {
  color: var(--primary-color);
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-index .access-link-card p {
  font-size: 0.95em;
  color: var(--text-dark);
}

/* Games Section */
.page-index .game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-index .game-card {
  background: #ffffff;
  border-radius: 8px;
  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-index .game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index .game-card .game-img {
  width: 100%;
  height: 200px; /* Ensure images are large enough */
  object-fit: cover;
  display: block;
}

.page-index .game-card h3 {
  padding: 15px 20px 0;
  color: var(--primary-color);
  font-size: 1.4em;
}

.page-index .game-card h3 a {
  color: var(--primary-color);
}

.page-index .game-card p {
  padding: 0 20px 20px;
  flex-grow: 1;
}

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

.page-index .promo-card {
  background: #ffffff;
  border-radius: 8px;
  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-index .promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index .promo-card .promo-img {
  width: 100%;
  height: 180px; /* Ensure images are large enough */
  object-fit: cover;
  display: block;
}

.page-index .promo-card h3 {
  padding: 15px 20px 0;
  color: var(--primary-color);
  font-size: 1.3em;
}

.page-index .promo-card h3 a {
  color: var(--primary-color);
}

.page-index .promo-card p {
  padding: 0 20px 10px;
  flex-grow: 1;
}

.page-index .promo-card .promo-link {
  display: block;
  padding: 10px 20px 20px;
  text-align: right;
  font-weight: bold;
  color: var(--secondary-color);
}

.page-index .promo-card .promo-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Security & Support Section */
.page-index .security-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-index .security-support-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .security-support-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index .security-support-item .item-icon {
  width: 120px; /* Increased size for content image */
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index .security-support-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
}

/* FAQ Section */
.page-index .faq-list {
  max-width: 800px;
  margin: 30px auto 0;
}

.page-index .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #ffffff;
}

.page-index .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border-radius: 8px; /* Apply border-radius to question */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-index .faq-item.active .faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

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

.page-index .faq-question h3 {
  margin: 0;
  color: var(--primary-color);
  font-size: 1.2em;
  flex-grow: 1;
}