/* 711pg Custom Theme CSS - Extracted from source */

/* Color Palette */
:root {
  --theme-palette-color-1: #00ff77;
  --theme-palette-color-2: #1cd23a;
  --theme-palette-color-3: #fafafa;
  --theme-palette-color-4: #f6b74a;
  --theme-palette-color-5: #e1e8ed;
  --theme-palette-color-6: #f2b202;
  --theme-palette-color-7: #013418;
  --theme-palette-color-8: #006931;
  --theme-palette-color-9: #003e1d;
  --theme-palette-color-10: #00c45b;
  --theme-palette-color-11: #fffa00;
  --theme-palette-color-12: #005a2a;
  --theme-palette-color-13: #00c55c;
  --theme-palette-color-14: #005a2a;
  --theme-palette-color-15: #068542;
  --theme-text-color: var(--theme-palette-color-3);
  --theme-link-initial-color: var(--theme-palette-color-1);
  --theme-link-hover-color: var(--theme-palette-color-2);
  --theme-headings-color: var(--theme-palette-color-3);
  --theme-border-color: var(--theme-palette-color-5);
  --theme-content-spacing: 1.5em;
  --theme-normal-container-max-width: 1290px;
  --theme-container-edge-spacing: 90vw;
  --theme-font-family: Sarabun, Sans-Serif;
  --theme-font-size: 1rem;
  --theme-font-weight: 400;
  --theme-line-height: 1.65;
}

/* Reset and Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  overflow-x: hidden;
  overflow-wrap: break-word;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: var(--theme-font-family);
  font-size: var(--theme-font-size);
  font-weight: var(--theme-font-weight);
  line-height: var(--theme-line-height);
  color: var(--theme-text-color);
  background-color: var(--theme-palette-color-7);
}
a { 
  color: var(--theme-link-initial-color); 
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover { color: var(--theme-link-hover-color); }
h1, h2, h3, h4, h5, h6 { 
  color: var(--theme-headings-color);
  text-align: center !important;
  margin: 0;
  font-family: Prompt, Sans-Serif;
}
h1 { font-weight: 600; text-transform: uppercase; font-size: 2.175rem; line-height: 1.5; }
h2 { font-weight: 600; font-size: 1.5rem; line-height: 1.4; margin-bottom: 1em; }
h3 { font-weight: 600; font-size: 1.25rem; line-height: 1.4; margin-bottom: 0.8em; }
h4 { font-weight: 600; font-size: 1.1rem; line-height: 1.4; }
p { margin: 0 0 1.5em; }
ul, ol { padding-inline-start: 2.5em; margin-block-end: 1.5em; }
img { max-width: 100%; height: auto; vertical-align: middle; border-radius: 0.8rem; }
figure { margin: 0 0 1em; }

/* Container */
.ct-container {
  width: min(100%, var(--theme-normal-container-max-width));
  max-width: var(--theme-normal-container-max-width);
  margin-inline: auto;
  padding: 0 15px;
}
.ct-container-fluid {
  width: calc(var(--theme-container-edge-spacing));
  margin-inline: auto;
  padding: 0 15px;
}

/* Header */
#header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}
.header-top-bar {
  background-color: var(--theme-palette-color-8);
  border-bottom: 1px solid var(--theme-palette-color-3);
  box-shadow: 0px 10px 20px var(--theme-palette-color-8);
  padding: 8px 0;
}
.header-top-bar .menu {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-top-bar .menu a {
  color: var(--theme-text-color);
  font-family: Prompt, Sans-Serif;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}
.header-middle {
  background-color: var(--theme-palette-color-8);
  padding: 10px 0;
  text-align: center;
}
.header-middle .logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.header-middle .site-logo-container img {
  height: 55px;
  width: auto;
}
.header-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.header-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--theme-text-color);
  font-family: Prompt, Sans-Serif;
  font-size: 18px;
  font-weight: 400;
  text-transform: capitalize;
  white-space: nowrap;
  padding: 8px 0;
  position: relative;
}
.header-nav a:hover { color: var(--theme-palette-color-3); }
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--theme-palette-color-2);
  transition: width 0.3s;
}
.header-nav a:hover::after { width: 100%; }
.header-nav svg { width: 22px; height: 22px; fill: currentColor; }

/* CTA Buttons in header */
.header-cta-bar {
  background-color: var(--theme-palette-color-8);
  border-top: 1px solid var(--theme-palette-color-3);
  box-shadow: 0px 10px 20px var(--theme-palette-color-8);
  padding: 10px 0;
}
.header-cta-bar .cta-wrap {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.ct-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 28px;
  border: 2px solid var(--theme-palette-color-1);
  border-radius: 2rem;
  background-image: linear-gradient(165deg, var(--theme-palette-color-12), var(--theme-palette-color-13), var(--theme-palette-color-14));
  color: #fff;
  font-family: Prompt, Sans-Serif;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 0 9px var(--theme-palette-color-1), 0 0 10px var(--theme-palette-color-2), 0 0 15px var(--theme-palette-color-1);
  animation: pulse 1.4s infinite;
  transition: all 0.3s ease;
}
.ct-button svg { width: 20px; height: 20px; fill: currentColor; }
.ct-button:hover { color: #fff; transform: scale(1.05); }

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 9px var(--theme-palette-color-1), 0 0 10px var(--theme-palette-color-2), 0 0 15px var(--theme-palette-color-1), 0 0 0 0 rgba(0,255,119,0.7);
  }
  70% {
    transform: scale(1.06);
    box-shadow: 0 0 9px var(--theme-palette-color-1), 0 0 10px var(--theme-palette-color-2), 0 0 15px var(--theme-palette-color-1), 0 0 0 10px rgba(0,255,119,0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 9px var(--theme-palette-color-1), 0 0 10px var(--theme-palette-color-2), 0 0 15px var(--theme-palette-color-1), 0 0 0 0 rgba(0,255,119,0);
  }
}

/* Hero Section */
.hero-section {
  background-image: linear-gradient(180deg, var(--theme-palette-color-12), var(--theme-palette-color-13), var(--theme-palette-color-14)) !important;
  padding: 30px 0;
  text-align: center;
}
.hero-section h1 { margin-bottom: 0; }

/* Main Content */
.site-main {
  flex-grow: 1;
}
#main-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.content-area {
  padding: 20px 0;
}
.entry-content {
  max-width: var(--theme-normal-container-max-width);
  margin: 0 auto;
  padding: 10px 15px;
}
.entry-content p {
  font-size: 1rem;
  line-height: 1.65;
}
.entry-content a {
  text-decoration: underline;
  font-size: 19px;
  font-weight: 900;
  text-underline-offset: 3px;
  text-decoration-thickness: 3px;
  padding: 0 3px;
  text-transform: uppercase;
  text-shadow: 1px 1px 16px;
}

/* Hero Image */
.hero-image {
  text-align: center;
  margin-bottom: 1.5em;
}
.hero-image img {
  max-width: 100%;
  border-radius: 0.8rem;
}

/* Greenshift-style Buttons */
.gspb-button-wrap {
  display: flex;
  justify-content: center;
  margin: 1em 0;
}
.gspb-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 12rem;
  height: 3.6rem;
  font-size: 19px;
  color: #fff;
  text-decoration: none !important;
  border: 3px solid var(--theme-palette-color-1);
  border-radius: 80px;
  background-image: linear-gradient(160deg, var(--theme-palette-color-9), var(--theme-palette-color-10), var(--theme-palette-color-11));
  box-shadow: 0 0 9px var(--theme-palette-color-1), 0 0 10px var(--theme-palette-color-2), 0 0 15px var(--theme-palette-color-1);
  transition: all 1s cubic-bezier(.42,0,.58,1);
  font-weight: 600;
}
.gspb-button:hover {
  transform: scale(1.1);
  background-image: linear-gradient(160deg, var(--theme-palette-color-11), var(--theme-palette-color-10), var(--theme-palette-color-9));
  color: #fff;
}
.gspb-button svg { width: 28px; height: 28px; fill: currentColor; }

.gspb-button-secondary {
  background-color: var(--theme-palette-color-7);
  background-image: none;
  border-color: var(--theme-palette-color-2);
  box-shadow: 0 0 10px var(--theme-palette-color-1), 0 0 10px var(--theme-palette-color-2), 0 0 10px var(--theme-palette-color-1);
  width: 12rem;
  height: 3.3rem;
}
.gspb-button-secondary:hover {
  border-color: var(--theme-palette-color-1);
  background-image: linear-gradient(160deg, var(--theme-palette-color-9), var(--theme-palette-color-10), var(--theme-palette-color-11));
  transform: scale(1.1);
}

/* Two-column layouts */
.columns-2 {
  display: flex;
  flex-wrap: nowrap;
  gap: 2em;
  align-items: center;
  margin: 2em 0;
}
.columns-2 > .col { flex: 1; min-width: 0; }
.columns-2 .col img { width: 100%; }

@media (max-width: 781px) {
  .columns-2 { flex-direction: column; }
  .columns-2 > .col { width: 100%; }
}

/* Table of Contents */
.toc-block {
  font-weight: 600;
  border: 2px solid var(--theme-palette-color-1);
  border-radius: 10px;
  padding: 15px !important;
  margin: 2em auto;
  max-width: 800px;
  font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.313), 18px);
  line-height: 2.2;
}
.toc-block h3 { margin-bottom: 10px; }
.toc-block nav ul { list-style: none; padding-left: 0; }
.toc-block nav ul ul { padding-left: 1.5em; }
.toc-block a { text-decoration: none !important; font-weight: 600; font-size: inherit; text-shadow: none; }

/* Game List */
.game-list { list-style: disc; padding-left: 2em; }
.game-list li { margin-bottom: 0.5em; }

/* FAQ Section */
.faq-section { margin: 2em 0; }
.faq-item {
  margin-bottom: 1.5em;
  text-align: center;
}
.faq-item h4 {
  color: var(--theme-palette-color-1);
  margin-bottom: 0.5em;
}
.faq-item p { text-align: left; }

/* Footer */
#footer {
  background-color: var(--theme-palette-color-8);
  color: var(--theme-text-color);
}
.footer-top {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer-top .footer-nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-top .footer-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--theme-text-color);
  font-size: 14px;
}
.footer-top .footer-nav svg { width: 18px; height: 18px; fill: currentColor; }
.footer-middle {
  padding: 30px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}
@media (max-width: 768px) {
  .footer-middle { grid-template-columns: 1fr; text-align: center; }
}
.footer-middle .footer-logo img { height: 60px; width: auto; }
.footer-middle .site-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--theme-palette-color-1);
}
.footer-middle .site-description {
  font-size: 0.9rem;
  color: var(--theme-palette-color-3);
  opacity: 0.8;
  margin-top: 8px;
}
.footer-widget h4 {
  color: var(--theme-palette-color-1);
  margin-bottom: 12px;
  text-align: left;
}
.footer-widget p, .footer-widget a {
  line-height: 2.2;
  font-size: 0.9rem;
}
.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}
.footer-socials a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--theme-text-color);
}
.footer-socials svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 15px 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--theme-palette-color-8);
  color: var(--theme-palette-color-3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 10px 4px var(--theme-palette-color-2);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 100;
  border: none;
  text-decoration: none;
}
.back-to-top.visible { opacity: 1; }
.back-to-top svg { width: 24px; height: 24px; fill: currentColor; }

/* Mobile Bottom Bar */
.shortcuts-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-image: linear-gradient(180deg, var(--theme-palette-color-12), var(--theme-palette-color-13), var(--theme-palette-color-14));
  box-shadow: 0 -10px 20px rgba(44,62,80,0.04);
  height: 70px;
}
.shortcuts-bar ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 7px;
  gap: 5px;
}
.shortcuts-bar li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.shortcuts-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--theme-palette-color-3);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.shortcuts-bar svg { width: 36px; height: 36px; }
.shortcuts-bar .ct-label { white-space: nowrap; font-size: 11px; }

@media (max-width: 999px) {
  .shortcuts-bar { display: block; }
  .back-to-top { bottom: 90px; }
  body { padding-bottom: 70px; }
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: rgba(224,229,235,0.9);
  border: none;
  border-radius: 4px;
  padding: 10px;
  cursor: pointer;
  color: var(--theme-palette-color-3);
}
.mobile-menu-toggle svg { width: 18px; height: 14px; fill: var(--theme-palette-color-3); }

@media (max-width: 999px) {
  .desktop-only { display: none !important; }
  .mobile-menu-toggle { display: block; }
  .header-middle .logo-wrap { justify-content: space-between; }
  .header-middle .site-logo-container img { height: 65px; }
  h1 { font-size: 1.775rem; }
}
@media (min-width: 1000px) {
  .mobile-only { display: none !important; }
}

/* Mobile Offcanvas */
.offcanvas-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 80vw;
  max-width: 500px;
  height: 100%;
  background: var(--theme-palette-color-7);
  z-index: 999999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: 0 0 70px var(--theme-palette-color-8);
}
.offcanvas-panel.active { transform: translateX(0); }
.offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999998;
  display: none;
}
.offcanvas-overlay.active { display: block; }
.offcanvas-header {
  display: flex;
  justify-content: flex-end;
  padding: 20px;
}
.offcanvas-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 10px;
}
.offcanvas-close svg { width: 12px; height: 12px; fill: currentColor; }
.offcanvas-content {
  padding: 0 25px 25px;
}
.offcanvas-content .offcanvas-logo { margin-bottom: 20px; }
.offcanvas-content .offcanvas-logo img { height: 50px; width: auto; }
.mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav li { border-bottom: none; }
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--theme-palette-color-3);
  font-size: 20px;
  font-weight: 400;
}
.mobile-nav a:hover { color: var(--theme-palette-color-1); }
.mobile-nav svg { width: 20px; height: 20px; fill: currentColor; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 8px; background-color: transparent; border-radius: 4px; }
::-webkit-scrollbar-thumb { border-radius: 1rem; background-color: var(--theme-palette-color-12); }
::-webkit-scrollbar-track { background: var(--theme-palette-color-13); width: 8px; height: 8px; }

/* Ordered list styling */
.numbered-list {
  counter-reset: item;
  list-style: none;
  padding-left: 0;
}
.numbered-list li {
  counter-increment: item;
  margin-bottom: 0.8em;
  padding-left: 2em;
  position: relative;
}
.numbered-list li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--theme-palette-color-1);
}

/* Site Logo block */
.wp-block-site-logo { text-align: center; }
.wp-block-site-logo img { width: auto !important; }
