:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B; /* Body background from shared.css */
}

/* Global styles for the page content, assuming body has --deep-navy background */
.page-game-guides {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Light text on dark body background */
    line-height: 1.6;
    background-color: var(--deep-navy); /* Ensure consistency if body bg is not set */
}

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

.page-game-guides__section {
    padding: 60px 0;
    text-align: center;
}

.page-game-guides__section-title {
    font-size: clamp(28px, 4vw, 42px); /* Responsive font size */
    color: var(--gold-color);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.page-game-guides__section-title--light {
    color: var(--text-main);
}

.page-game-guides__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-guides__text-block--light {
    color: var(--text-main);
}

/* Hero Section */
.page-game-guides__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    /* body { padding-top: var(--header-offset); } will handle top spacing from shared.css */
    padding-top: 10px; /* Small top padding for aesthetic */
    background-color: var(--deep-navy);
}

.page-game-guides__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure it takes full width */
}

.page-game-guides__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

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

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

.page-game-guides__main-title {
    font-size: clamp(36px, 5vw, 60px); /* Responsive H1 font size */
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-game-guides__hero-description {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-guides__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-game-guides__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    max-width: 100%; /* For responsive buttons */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-game-guides__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-game-guides__cta-button--secondary {
    background: var(--secondary-color);
    border: 2px solid var(--border-color);
}

.page-game-guides__cta-button--secondary:hover {
    background: var(--primary-color);
    border-color: var(--gold-color);
}

/* Intro Section */
.page-game-guides__intro-section {
    background-color: var(--deep-navy);
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Game Types Section */
.page-game-guides__game-types {
    background-color: var(--deep-navy);
}

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

.page-game-guides__card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-game-guides__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-color);
}

.page-game-guides__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--divider-color);
}

.page-game-guides__card-title {
    font-size: 24px;
    color: var(--gold-color);
    padding: 20px 25px 10px;
    margin: 0;
    font-weight: 700;
}

.page-game-guides__card-content {
    padding: 0 25px 25px;
}

.page-game-guides__card-content p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 15px;
}

.page-game-guides__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-game-guides__list li {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.page-game-guides__list li::before {
    content: '✓';
    color: var(--gold-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-game-guides__card-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-game-guides__card-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 10px var(--glow-color);
}

/* General Strategies Section */
.page-game-guides__general-strategies {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--deep-navy) 100%);
}

.page-game-guides__grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-guides__feature-card {
    background-color: rgba(16, 35, 63, 0.8); /* Slightly transparent card bg */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-game-guides__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-color);
}

.page-game-guides__feature-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-game-guides__feature-card p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-game-guides__faq-section {
    background-color: var(--deep-navy);
}

.page-game-guides__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

details.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question::-webkit-details-marker {
  display: none;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question:hover {
  background: rgba(var(--primary-color), 0.2);
}
.page-game-guides__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-game-guides__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-game-guides__faq-item .page-game-guides__faq-answer {
  padding: 0 25px 25px;
  background: rgba(var(--primary-color), 0.1);
  border-radius: 0 0 10px 10px;
}

.page-game-guides__faq-answer p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 10px;
    text-align: left;
}

.page-game-guides__faq-link {
    color: var(--glow-color);
    text-decoration: underline;
    font-size: 16px;
    transition: color 0.3s ease;
}

.page-game-guides__faq-link:hover {
    color: var(--gold-color);
}

/* Call to Action Section */
.page-game-guides__call-to-action-section {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--deep-navy) 0%, var(--primary-color) 100%);
    padding: 80px 0;
}

.page-game-guides__cta-box {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 50px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--border-color);
    max-width: 1000px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-guides__hero-image img {
        border-radius: 8px;
    }
    .page-game-guides__card-grid,
    .page-game-guides__grid-3-col {
        gap: 20px;
    }
    .page-game-guides__card-title {
        font-size: 22px;
    }
    .page-game-guides__feature-title {
        font-size: 20px;
    }
    .page-game-guides__faq-qtext {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-game-guides__hero-section {
        padding-top: 10px !important; /* Keep small top padding */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-game-guides__hero-image {
        margin-bottom: 20px;
    }
    .page-game-guides__hero-image img {
        border-radius: 8px;
    }
    .page-game-guides__main-title {
        font-size: clamp(30px, 7vw, 45px);
    }
    .page-game-guides__hero-description {
        font-size: clamp(16px, 3vw, 20px);
        margin-bottom: 25px;
    }
    .page-game-guides__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-game-guides__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-game-guides__hero-cta,
    .page-game-guides__cta-box .page-game-guides__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 15px;
    }

    .page-game-guides__section {
        padding: 40px 0;
    }
    .page-game-guides__section-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 20px;
    }
    .page-game-guides__text-block {
        font-size: 15px;
    }

    .page-game-guides__card-grid,
    .page-game-guides__grid-3-col {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    .page-game-guides__card,
    .page-game-guides__feature-card {
        margin: 0 auto;
        max-width: 500px;
    }
    .page-game-guides__card-title {
        font-size: 20px;
        padding: 15px 20px 8px;
    }
    .page-game-guides__card-content {
        padding: 0 20px 20px;
    }
    .page-game-guides__card-content p,
    .page-game-guides__list li {
        font-size: 14px;
    }
    .page-game-guides__card-button {
        padding: 8px 15px;
        font-size: 14px;
    }

    details.page-game-guides__faq-item summary.page-game-guides__faq-question { padding: 15px; }
    .page-game-guides__faq-qtext { font-size: 15px; }
    details.page-game-guides__faq-item .page-game-guides__faq-answer { padding: 0 15px 15px; }

    .page-game-guides__cta-box {
        padding: 40px 20px;
        border-radius: 10px;
    }

    /* Images responsive */
    .page-game-guides img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    .page-game-guides__section,
    .page-game-guides__card,
    .page-game-guides__container,
    .page-game-guides__feature-card {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-game-guides__faq-list {
        padding: 0 15px;
    }
    .page-game-guides__cta-box {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-game-guides__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }
    .page-game-guides__main-title {
        font-size: clamp(28px, 8vw, 38px);
    }
    .page-game-guides__hero-description {
        font-size: clamp(15px, 3.5vw, 18px);
    }
    .page-game-guides__section-title {
        font-size: clamp(22px, 7vw, 30px);
    }
    .page-game-guides__cta-button {
        font-size: 15px;
    }
    .page-game-guides__card-title {
        font-size: 18px;
    }
    .page-game-guides__feature-title {
        font-size: 18px;
    }
    .page-game-guides__faq-qtext {
        font-size: 14px;
    }
}