/* Font-size fix (16/14/13px) */
html {
  font-size: 16px;
  height: 100%;
}
@media (max-width: 992px) {
  html {
    font-size: 14px;
  }
}
@media (max-width: 576px) {
  html {
    font-size: 13px;
  }
}

/* Base */
.playfunworld-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial,
    "Helvetica Neue", sans-serif;
  color: #0b1220;
  background: #ffffff;
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.playfunworld-main {
  display: block;
  flex: 1;
}
.playfunworld-skiplink {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.playfunworld-skiplink:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: #111;
  color: #fff;
}

/* Nav */
.playfunworld-header {
  background: #0b1220;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.playfunworld-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.playfunworld-brand-link {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
}
.playfunworld-hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: #ff6a00;
  color: #0b1220;
  border: none;
  padding: 8px 10px;
  border-radius: 4px;
  cursor: pointer;
}
.playfunworld-hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #0b1220;
}
.playfunworld-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 8px;
}
.playfunworld-nav-link {
  color: #fff;
  text-decoration: none;
  padding: 8px 10px;
  display: inline-block;
}
.playfunworld-nav-cta .playfunworld-button-cta {
  background: #00c853;
  color: #0b1220;
}
@media (min-width: 992px) {
  .playfunworld-hamburger {
    display: none;
  }
  .playfunworld-nav-menu {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
  }
}
.playfunworld-nav-menu.playfunworld-open {
  display: flex;
}

/* Buttons */
.playfunworld-button {
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.playfunworld-button-cta {
  background: #00c853;
  color: #0b1220;
}
.playfunworld-button-primary {
  background: #1e88e5;
  color: #fff;
}
.playfunworld-button-ghost {
  background: transparent;
  color: #1e88e5;
  border: 2px solid #1e88e5;
}
.playfunworld-button-accept {
  background: #00c853;
  color: #0b1220;
}

/* Hero */
.playfunworld-hero {
  background: url("/images/rankhubcentral.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  position: relative;
}
.playfunworld-hero-overlay {
  background: rgba(0, 0, 0, 0.45);
  padding: 80px 16px;
}
.playfunworld-hero-title {
  font-size: 2rem;
  margin-bottom: 12px;
}
.playfunworld-hero-text {
  font-size: 1.125rem;
  margin-bottom: 20px;
}
@media (min-width: 992px) {
  .playfunworld-hero-title {
    font-size: 2.5rem;
  }
}

/* Sections */
.playfunworld-section {
  padding: 48px 16px;
}
.playfunworld-section-alt {
  background: #f7f9fc;
}
.playfunworld-container {
  max-width: 1100px;
  margin: 0 auto;
}
.playfunworld-section-title {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
.playfunworld-section-text {
  color: #334;
}
.playfunworld-section-contact {
  height: 100%;
}

/* Grid */
.playfunworld-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 576px) {
  .playfunworld-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .playfunworld-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.playfunworld-card {
  border: 1px solid #e5e8ef;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.playfunworld-card-media {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #e9eef8;
}
.playfunworld-card-body {
  padding: 14px;
}
.playfunworld-card-title {
  font-weight: 700;
  margin-bottom: 8px;
}
.playfunworld-card-text {
  color: #445;
  font-size: 0.95rem;
}

/* Forms */
.playfunworld-form {
  max-width: 720px;
  margin: 0 auto;
}
.playfunworld-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 768px) {
  .playfunworld-form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.playfunworld-input,
.playfunworld-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c6ccda;
  border-radius: 6px;
  background: #fff;
}
.playfunworld-textarea {
  min-height: 120px;
  resize: vertical;
}
.playfunworld-form-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.playfunworld-form-status {
  font-size: 0.95rem;
}

/* Footer */
.playfunworld-footer {
  background: #0b1220;
  color: #c9d1e8;
}
.playfunworld-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .playfunworld-footer-inner {
    grid-template-columns: 2fr 1fr;
  }
}
.playfunworld-footer-link {
  color: #c9d1e8;
  text-decoration: none;
}
.playfunworld-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.playfunworld-footer-text {
  margin: 4px 0;
}

/* Cookie consent */
.playfunworld-cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #0b1220;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  padding: 16px;
  z-index: 2000;
}
.playfunworld-cookie-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.playfunworld-cookie-text {
  margin: 0;
}
.playfunworld-cookie-link {
  color: #81d4fa;
}

/* Disclaimer */
.playfunworld-disclaimer {
  background: linear-gradient(135deg, #1a2332 0%, #0b1220 100%);
  border-top: 2px solid #ff6a00;
  padding: 24px 16px;
}
.playfunworld-disclaimer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.playfunworld-disclaimer-text {
  color: #c9d1e8;
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}
.playfunworld-disclaimer-text strong {
  display: inline-block;
  background: linear-gradient(135deg, #ff6a00 0%, #ff8533 100%);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  padding: 8px 16px;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
  letter-spacing: 1px;
}
@media (min-width: 768px) {
  .playfunworld-disclaimer {
    padding: 32px 16px;
  }
  .playfunworld-disclaimer-text {
    font-size: 1rem;
  }
  .playfunworld-disclaimer-text strong {
    font-size: 1.75rem;
    padding: 10px 20px;
    margin-bottom: 16px;
  }
}
@media (min-width: 992px) {
  .playfunworld-disclaimer-text strong {
    font-size: 2rem;
    padding: 12px 24px;
  }
}

/* Utilities */
.playfunworld-muted {
  color: #667;
}
.playfunworld-center {
  text-align: center;
}

/* --- NAV fix: keep burger on the right & dropdown under header --- */
.playfunworld-nav {
  position: relative;
}
.playfunworld-hamburger {
  margin-left: auto;
} /* толкаем бургер вправо */

@media (max-width: 992px) {
  /* меню не должно участвовать в флекс-раскладке шапки */
  #playfunworld-nav-menu.playfunworld-open {
    display: flex;
  }
  #playfunworld-nav-menu {
    position: absolute;
    top: 100%; /* сразу под шапкой */
    left: 0;
    right: 0;
    display: none; /* по умолчанию скрыто */
    flex-direction: column;
    gap: 12px;
    background: #0b1220; /* контраст с фоном */
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 1500;
  }

  /* ссылки во всплывающем меню на мобиле на всю ширину */
  #playfunworld-nav-menu .playfunworld-nav-link,
  #playfunworld-nav-menu .playfunworld-button {
    display: block;
    width: 100%;
    text-align: left;
  }
}

/* чуть увеличим контраст бургера и фокус-обводку */
.playfunworld-hamburger {
  background: #ff6a00;
  color: #0b1220;
  border-radius: 10px;
}
.playfunworld-hamburger:focus {
  outline: 3px solid #81b3ff;
  outline-offset: 2px;
}

/* --- CONTACT form status: nice alert box --- */
.playfunworld-form-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  display: none;
  line-height: 1.4;
}
.playfunworld-form-status.is-show {
  display: block;
}
.playfunworld-form-status.is-success {
  background: #eefbf4;
  border: 1px solid #cfeedd;
  color: #0f5132;
}
.playfunworld-form-status.is-error {
  background: #fff1f1;
  border: 1px solid #ffd6d6;
  color: #842029;
}
.playfunworld-form-status.playfunworld-muted {
  display: block;
  background: #f4f6ff;
  border: 1px solid #dfe6ff;
  color: #1b2a52;
}

/* Contact form alerts */
.playfunworld-form-status {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  line-height: 1.4;
  font-size: 0.95rem;
}
.playfunworld-form-status.is-show {
  display: block;
}
.playfunworld-form-status.is-success {
  background: #eefbf4;
  border: 1px solid #cfeedd;
  color: #0f5132;
}
.playfunworld-form-status.is-error {
  background: #fff1f1;
  border: 1px solid #ffd6d6;
  color: #842029;
}
.playfunworld-form-status.is-info {
  background: #f4f6ff;
  border: 1px solid #dfe6ff;
  color: #1b2a52;
}

/* Invalid input highlight */
.playfunworld-input.is-invalid,
.playfunworld-textarea.is-invalid {
  border-color: #e35d6a;
  box-shadow: 0 0 0 3px rgba(227, 93, 106, 0.15);
}

/* Banner block */
.playfunworld-banner {
  min-height: 60vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("/images/hero-mobile.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}
@media (min-width: 992px) {
  .playfunworld-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
      url("/images/hero-desktop.svg");
  }
}
.playfunworld-banner-content {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 16px;
  text-align: center;
}
.playfunworld-banner-title {
  font-size: 2rem;
  margin-bottom: 12px;
}
.playfunworld-banner-subtitle {
  font-size: 1.125rem;
  margin-bottom: 20px;
  color: #e8eef9;
}
@media (min-width: 992px) {
  .playfunworld-banner-title {
    font-size: 2.5rem;
  }
  .playfunworld-banner-subtitle {
    font-size: 1.25rem;
  }
}
.playfunworld-banner-cta {
  background: #00c853;
  color: #0b1220;
}
