:root {
  --primary: #C61F1F;
  --secondary: #E53030;
  --gold: #F3C54D;
  --border: #6A1E1E;
  --button: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  --card-bg: #2A1212;
  --deep-red: #7E0D0D;
  --text-main: #FFF1E8;
  --background: #140C0C;
}

.indep-site-header {
  background-color: var(--deep-red);
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.indep-site-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.indep-site-header-brand {
  color: var(--gold);
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.indep-site-header-actions {
  display: flex;
  gap: 15px;
}

.indep-site-header-button {
  background: var(--button);
  color: var(--text-main);
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.indep-site-header-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .indep-site-header-container {
    flex-direction: column;
    gap: 15px;
  }

  .indep-site-header-brand {
    font-size: 24px;
  }

  .indep-site-header-button {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }
}

.indep-site-footer {
  background-color: var(--card-bg);
  color: var(--text-main);
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
  border-top: 1px solid var(--border);
}

.indep-site-footer h3 {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 20px;
  text-transform: uppercase;
  position: relative;
}

.indep-site-footer h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--gold);
  margin-top: 5px;
}

.indep-site-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.indep-site-footer-brand {
  color: var(--gold);
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
  display: block;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.indep-site-footer .footer-about p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-main);
}

.indep-site-footer .footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.indep-site-footer .footer-nav li {
  margin-bottom: 10px;
}

.indep-site-footer .footer-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.indep-site-footer .footer-nav a:hover {
  color: var(--gold);
}

.indep-site-footer .footer-dynamic-row {
  max-width: 1200px;
  margin: 20px auto;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 20px;
}

.indep-site-footer .footer-dynamic-row:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.indep-site-footer-grid-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border);
}

.indep-site-footer .indep-footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.indep-site-footer .indep-footer-bottom p {
  font-size: 13px;
  color: var(--text-main);
  margin: 0;
}

.indep-site-footer .footer-slot-anchor-inner {
  min-height: 20px; /* Ensure visibility for debugging/layout */
}

@media (max-width: 992px) {
  .indep-site-footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .indep-site-footer-grid-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .indep-site-footer-cols {
    grid-template-columns: 1fr;
  }
  .indep-site-footer-grid-row {
    grid-template-columns: 1fr;
  }
  .indep-site-footer h3 {
    text-align: center;
  }
  .indep-site-footer h3::after {
    margin-left: auto;
    margin-right: auto;
  }
  .indep-site-footer .footer-about p {
    text-align: center;
  }
  .indep-site-footer-brand {
    text-align: center;
  }
}

.indep-position-nav{width:100%;box-sizing:border-box;padding:10px 16px;font-size:14px;line-height:1.5;background:#f6f7f9;color:#606266}
.indep-position-nav ol{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:0}
.indep-position-nav li{display:flex;align-items:center;gap:6px}
.indep-position-nav li+li::before{content:">";color:#909399}
.indep-position-nav a{color:#409eff;text-decoration:none}
.indep-position-nav [aria-current="page"]{color:#303133}
:root {
      --primary-color: #C61F1F;
      --secondary-color: #E53030;
      --gold-color: #F3C54D;
      --border-color: #6A1E1E;
      --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
      --card-bg-color: #2A1212;
      --deep-red-color: #7E0D0D;
      --text-main-color: #FFF1E8;
      --background-color: #140C0C;
      --header-offset: 122px; /* Default value, will be overridden by shared.css if present */
    }

    body {
      font-family: 'Arial', sans-serif;
      background-color: var(--background-color);
      color: var(--text-main-color);
      margin: 0;
      padding-top: var(--header-offset); /* Ensure content is not hidden by fixed header */
      line-height: 1.6;
    }

    .page-thabet-john-index__hero-section {
      position: relative;
      width: 100%;
      padding-top: 10px; /* Small top padding, relying on body for main offset */
      background-color: var(--deep-red-color);
      color: var(--text-main-color);
      text-align: center;
      overflow: hidden;
    }

    .page-thabet-john-index__hero-image-wrapper {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .page-thabet-john-index__hero-image {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .page-thabet-john-index__hero-content {
      padding: 40px 20px;
      max-width: 900px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    .page-thabet-john-index__hero-content h1 {
      font-size: clamp(2.5rem, 5vw, 3.5rem);
      color: var(--gold-color);
      margin-bottom: 20px;
      font-weight: bold;
      line-height: 1.2;
      letter-spacing: 1px;
    }

    .page-thabet-john-index__hero-content p {
      font-size: clamp(1rem, 2.5vw, 1.25rem);
      margin-bottom: 30px;
      line-height: 1.8;
      color: var(--text-main-color);
    }

    .page-thabet-john-index__cta-button {
      display: inline-block;
      background: var(--button-gradient);
      color: #FFFFFF;
      padding: 15px 30px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1rem;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .page-thabet-john-index__cta-button:hover {
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }

    .page-thabet-john-index__features-section {
      padding: 60px 20px;
      background-color: var(--background-color);
      text-align: center;
    }

    .page-thabet-john-index__features-section h2 {
      color: var(--primary-color);
      font-size: 2.5rem;
      margin-bottom: 40px;
    }

    .page-thabet-john-index__features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .page-thabet-john-index__feature-card {
      background-color: var(--card-bg-color);
      border: 1px solid var(--border-color);
      border-radius: 10px;
      padding: 30px;
      text-align: left;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .page-thabet-john-index__feature-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }

    .page-thabet-john-index__feature-card img {
      width: 100%;
      height: auto;
      max-height: 250px;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 20px;
    }

    .page-thabet-john-index__feature-card h3 {
      color: var(--gold-color);
      font-size: 1.8rem;
      margin-bottom: 15px;
    }

    .page-thabet-john-index__feature-card p {
      font-size: 1rem;
      color: var(--text-main-color);
      flex-grow: 1;
    }

    .page-thabet-john-index__about-section {
      padding: 60px 20px;
      background-color: var(--deep-red-color);
      color: var(--text-main-color);
      text-align: center;
    }

    .page-thabet-john-index__about-section h2 {
      color: var(--gold-color);
      font-size: 2.5rem;
      margin-bottom: 30px;
    }

    .page-thabet-john-index__about-content {
      max-width: 900px;
      margin: 0 auto;
      font-size: 1.1rem;
      line-height: 1.8;
    }

    .page-thabet-john-index__about-content p {
      margin-bottom: 20px;
    }

    .page-thabet-john-index__game-section {
      padding: 60px 20px;
      background-color: var(--background-color);
      text-align: center;
    }

    .page-thabet-john-index__game-section h2 {
      color: var(--primary-color);
      font-size: 2.5rem;
      margin-bottom: 40px;
    }

    .page-thabet-john-index__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .page-thabet-john-index__game-card {
      background-color: var(--card-bg-color);
      border: 1px solid var(--border-color);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
    }

    .page-thabet-john-index__game-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }

    .page-thabet-john-index__game-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    .page-thabet-john-index__game-card-content {
      padding: 20px;
    }

    .page-thabet-john-index__game-card h3 {
      color: var(--gold-color);
      font-size: 1.5rem;
      margin-bottom: 10px;
    }

    .page-thabet-john-index__game-card p {
      font-size: 0.95rem;
      color: var(--text-main-color);
      margin-bottom: 20px;
    }

    .page-thabet-john-index__game-button {
      display: inline-block;
      background: var(--button-gradient);
      color: #FFFFFF;
      padding: 10px 20px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      font-size: 0.9rem;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .page-thabet-john-index__game-button:hover {
      background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
    }

    .page-thabet-john-index__faq-section {
      padding: 60px 20px;
      background-color: var(--deep-red-color);
      color: var(--text-main-color);
      text-align: center;
    }

    .page-thabet-john-index__faq-section h2 {
      color: var(--gold-color);
      font-size: 2.5rem;
      margin-bottom: 40px;
    }

    .page-thabet-john-index__faq-container {
      max-width: 900px;
      margin: 0 auto;
      text-align: left;
    }

    .page-thabet-john-index__faq-item {
      margin-bottom: 15px;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      background-color: var(--card-bg-color);
      overflow: hidden;
    }

    .page-thabet-john-index__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 25px;
      background-color: var(--primary-color);
      color: var(--text-main-color);
      cursor: pointer;
      user-select: none;
      font-weight: bold;
      font-size: 1.1rem;
      transition: background-color 0.3s ease;
    }

    .page-thabet-john-index__faq-question:hover {
      background-color: var(--secondary-color);
    }

    .page-thabet-john-index__faq-question h3 {
      margin: 0;
      color: var(--text-main-color);
      pointer-events: none; /* Prevent h3 from blocking click event */
      font-size: 1.1rem;
    }

    .page-thabet-john-index__faq-toggle {
      font-size: 1.8rem;
      line-height: 1;
      pointer-events: none; /* Prevent toggle icon from blocking click event */
      transition: transform 0.3s ease;
    }

    .page-thabet-john-index__faq-item.active .page-thabet-john-index__faq-toggle {
      transform: rotate(45deg);
    }

    .page-thabet-john-index__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 25px;
      opacity: 0;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      color: var(--text-main-color);
      background-color: var(--card-bg-color);
    }

    .page-thabet-john-index__faq-item.active .page-thabet-john-index__faq-answer {
      max-height: 2000px !important; /* Sufficiently large value */
      padding: 20px 25px !important;
      opacity: 1;
    }

    .page-thabet-john-index__contact-section {
      padding: 60px 20px;
      background-color: var(--background-color);
      text-align: center;
    }

    .page-thabet-john-index__contact-section h2 {
      color: var(--primary-color);
      font-size: 2.5rem;
      margin-bottom: 40px;
    }

    .page-thabet-john-index__contact-content {
      max-width: 800px;
      margin: 0 auto;
    }

    .page-thabet-john-index__contact-content p {
      font-size: 1.1rem;
      margin-bottom: 30px;
      color: var(--text-main-color);
    }

    .page-thabet-john-index__contact-form {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .page-thabet-john-index__form-group {
      text-align: left;
    }

    .page-thabet-john-index__form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: bold;
      color: var(--text-main-color);
    }

    .page-thabet-john-index__form-group input,
    .page-thabet-john-index__form-group textarea {
      width: calc(100% - 20px);
      padding: 12px;
      border: 1px solid var(--border-color);
      border-radius: 5px;
      background-color: #333;
      color: var(--text-main-color);
      font-size: 1rem;
    }

    .page-thabet-john-index__form-group textarea {
      min-height: 120px;
      resize: vertical;
    }

    .page-thabet-john-index__submit-button {
      background: var(--button-gradient);
      color: #FFFFFF;
      padding: 15px 30px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1rem;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      width: auto;
      align-self: center;
      margin-top: 20px;
    }

    .page-thabet-john-index__submit-button:hover {
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
      .page-thabet-john-index__hero-content h1 {
        font-size: clamp(2rem, 4.5vw, 3rem);
      }

      .page-thabet-john-index__hero-content p {
        font-size: clamp(0.9rem, 2.2vw, 1.1rem);
      }

      .page-thabet-john-index__features-section h2,
      .page-thabet-john-index__about-section h2,
      .page-thabet-john-index__game-section h2,
      .page-thabet-john-index__faq-section h2,
      .page-thabet-john-index__contact-section h2 {
        font-size: 2.2rem;
      }

      .page-thabet-john-index__feature-card h3 {
        font-size: 1.6rem;
      }

      .page-thabet-john-index__game-card h3 {
        font-size: 1.3rem;
      }
    }

    @media (max-width: 768px) {
      .page-thabet-john-index img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }

      .page-thabet-john-index__hero-content {
        padding: 20px 15px;
      }

      .page-thabet-john-index__hero-content h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
      }

      .page-thabet-john-index__hero-content p {
        font-size: clamp(0.9rem, 3vw, 1rem);
      }

      .page-thabet-john-index__cta-button {
        width: 100%;
        max-width: 300px;
        padding: 12px 20px;
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
      }

      .page-thabet-john-index__features-section,
      .page-thabet-john-index__about-section,
      .page-thabet-john-index__game-section,
      .page-thabet-john-index__faq-section,
      .page-thabet-john-index__contact-section {
        padding: 40px 15px;
      }

      .page-thabet-john-index__features-section h2,
      .page-thabet-john-index__about-section h2,
      .page-thabet-john-index__game-section h2,
      .page-thabet-john-index__faq-section h2,
      .page-thabet-john-index__contact-section h2 {
        font-size: 2rem;
      }

      .page-thabet-john-index__features-grid {
        grid-template-columns: 1fr;
      }

      .page-thabet-john-index__feature-card {
        padding: 25px;
      }

      .page-thabet-john-index__game-grid {
        grid-template-columns: 1fr;
      }

      .page-thabet-john-index__game-card img {
        height: 180px;
      }

      .page-thabet-john-index__faq-question,
      .page-thabet-john-index__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
      }

      .page-thabet-john-index__faq-question h3 {
        font-size: 1rem;
        word-break: break-word;
      }

      .page-thabet-john-index__faq-toggle {
        font-size: 1.5rem;
      }

      .page-thabet-john-index__form-group input,
      .page-thabet-john-index__form-group textarea {
        width: calc(100% - 20px);
      }

      .page-thabet-john-index__submit-button {
        width: 100%;
        max-width: 300px;
      }

      .page-thabet-john-index__about-content p {
        font-size: 1rem;
      }

      /* List item responsive styles */
      .page-thabet-john-index__features-grid > .page-thabet-john-index__feature-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 20px !important; /* Adjust padding to ensure content fits */
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }
      .page-thabet-john-index__game-grid > .page-thabet-john-index__game-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important; /* Card padding is internal */
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }
      .page-thabet-john-index__faq-container > .page-thabet-john-index__faq-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }
    }

    @media (max-width: 480px) {
      .page-thabet-john-index__hero-content h1 {
        font-size: clamp(1.5rem, 8vw, 2rem);
      }

      .page-thabet-john-index__hero-content p {
        font-size: clamp(0.85rem, 3.5vw, 0.95rem);
      }

      .page-thabet-john-index__features-section h2,
      .page-thabet-john-index__about-section h2,
      .page-thabet-john-index__game-section h2,
      .page-thabet-john-index__faq-section h2,
      .page-thabet-john-index__contact-section h2 {
        font-size: 1.8rem;
      }
    }