/* =========================================================
   Royal X Casino (royalxcasino.net) - Style Guide
   Matches the yellow, white, and clean layout of the screenshot
   ========================================================= */

:root {
  --primary-yellow: #f3c84d;
  --primary-orange: #be530b;
  --text-dark: #111827;
  --text-muted: #4b5563;
  --bg-light: #f4f6f8;
  --border-color: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  color: #1a56db;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Header / Navbar */
.navbar {
  background-color: var(--primary-yellow);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1290px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
}

.navbar-right {
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #1f2937;
  text-decoration: none;
  padding: 5px 8px;
}
.nav-link:hover {
  color: #000000;
  text-decoration: none;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #000;
}

.mobile-menu {
  display: none;
  background-color: var(--primary-yellow);
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 10px 20px;
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-menu a {
  color: #1f2937;
  font-weight: 500;
  padding: 8px 0;
}

/* Main Content Container */
.entry-content {
  max-width: 1290px;
  margin: 40px auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Hero Section */
.custom-hero {
  background: linear-gradient(135deg, #f3c84d 0%, #be530b 100%);
  padding: 45px 40px;
  border-radius: 4px;
  color: #1a202c;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.custom-hero-logo img {
  width: 208px;
  height: 208px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.custom-hero-content {
  flex: 1;
  min-width: 0;
}

.custom-hero-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  color: #1a202c;
}

.custom-hero-meta {
  font-size: 16px;
  margin-bottom: 24px;
  color: #2d3748;
}

.custom-hero-btn {
  display: inline-block;
  background: linear-gradient(135deg, rgb(227,93,6) 0%, rgb(203,211,88) 100%);
  color: #ffffff !important;
  text-decoration: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.1s;
}
.custom-hero-btn:hover {
  transform: translateY(-1px);
}

/* Meta list row */
.app-meta-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin: 30px 0 40px;
  text-align: center;
  padding-bottom: 20px;
}

.app-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-meta-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary-yellow);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  margin-bottom: 10px;
}

.app-meta-label {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}

.app-meta-value {
  font-size: 15px;
  color: #374151;
}

/* Body Content Styling */
.wp-block-heading {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-top: 40px;
  margin-bottom: 15px;
  text-align: center;
}

h3.wp-block-heading {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 10px;
  text-align: center;
}

.wp-block-paragraph {
  font-size: 16px;
  color: #111827;
  margin-bottom: 20px;
  line-height: 1.75;
  text-align: left;
}

.game-preview-img {
  display: block;
  margin: 30px auto;
  width: 100%;
  max-width: 1000px;
  border-radius: 4px;
}

/* Screenshots layout - stacked vertically as in screenshot */
.screenshots-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin: 40px auto;
  max-width: 1000px;
}
.screenshots-row img {
  width: 100%;
  border-radius: 4px;
}

/* FAQ Accordion Styling matching screenshots */
.faqs-container {
  margin-top: 25px;
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  background: #ffffff;
  border: none;
  border-top: 1px solid var(--border-color);
  padding: 16px 5px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question.active {
  border-top: 2px solid var(--primary-yellow);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background: #ffffff;
}

.faq-answer-inner {
  padding: 10px 5px 20px 5px;
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
  color: #4b5563;
}

.faq-question.active .faq-icon svg {
  transform: rotate(180deg);
}

/* Footer styling matching screenshot */
.site-footer {
  background-color: var(--primary-yellow);
  color: #1f2937;
  padding: 35px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-container-inner {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 20px;
}

.footer-nav {
  display: flex;
  gap: 25px;
}

.footer-nav a {
  color: #1f2937;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.footer-nav a:hover {
  text-decoration: underline;
}

.footer-text {
  font-size: 15px;
  font-weight: 500;
  color: #1f2937;
}
.footer-text a {
  color: #1f2937;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .entry-content {
    margin: 15px;
    padding: 20px;
  }
  .custom-hero {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 20px;
    padding: 30px 20px;
  }
  .custom-hero-content {
    width: 100%;
  }
  .custom-hero-logo {
    align-self: center;
  }
  .custom-hero-logo img {
    width: 150px;
    height: 150px;
  }
  .app-meta-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .navbar-right {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .footer-container-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .app-meta-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
