:root {
  --agdr-ink: #eff4f8;
  --agdr-paper: #f5f7fa;
  --agdr-paper-soft: #e8edf3;
  --agdr-deep: #0f1722;
  --agdr-surface: #132234;
  --agdr-surface-2: #1a3045;
  --agdr-panel: #243b52;
  --agdr-accent: #f2b25b;
  --agdr-accent-strong: #ff9f1a;
  --agdr-link: #7cc7ff;
  --agdr-line: rgba(255, 255, 255, 0.12);
  --agdr-muted: #b8c5d3;
  --agdr-text: #10202f;
  --agdr-card-shadow: 0 18px 44px rgba(8, 16, 24, 0.18);
}

body.wp-theme-twentytwentyfive {
  background:
    radial-gradient(circle at top right, rgba(242, 178, 91, 0.14), transparent 28%),
    linear-gradient(180deg, #0f1722 0%, #132234 20%, #f5f7fa 20%, #f5f7fa 100%);
  color: var(--agdr-text);
}

body.home.wp-theme-twentytwentyfive {
  background:
    radial-gradient(circle at top right, rgba(242, 178, 91, 0.16), transparent 30%),
    linear-gradient(180deg, #0f1722 0%, #132234 42%, #f5f7fa 42%, #f5f7fa 100%);
}

body.wp-theme-twentytwentyfive .wp-site-blocks {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
}

body.wp-theme-twentytwentyfive header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
}

body.wp-theme-twentytwentyfive header.wp-block-template-part > .wp-block-group {
  background: rgba(15, 23, 34, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.wp-theme-twentytwentyfive header .wp-block-group.alignwide {
  width: min(100%, var(--wp--style--global--wide-size));
  margin-left: auto !important;
  margin-right: auto !important;
  gap: 1.5rem;
}

body.wp-theme-twentytwentyfive header .wp-block-site-title {
  margin: 0;
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.9rem);
  font-weight: 700;
  line-height: 1.1;
}

.agdr-site-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.agdr-site-brand img {
  display: block;
  width: auto;
  height: 34px;
  max-width: 110px;
}

.agdr-site-brand--text {
  color: var(--agdr-ink);
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.9rem);
  font-weight: 700;
  line-height: 1.1;
}

body.wp-theme-twentytwentyfive header a,
body.wp-theme-twentytwentyfive footer a,
body.wp-theme-twentytwentyfive .wp-block-site-title a,
body.wp-theme-twentytwentyfive .wp-block-navigation a {
  color: var(--agdr-ink);
}

body.wp-theme-twentytwentyfive .wp-block-navigation a:hover,
body.wp-theme-twentytwentyfive .wp-block-site-title a:hover {
  color: var(--agdr-accent);
  text-decoration: none;
}

body.wp-theme-twentytwentyfive main.wp-block-group {
  flex: 1 0 auto;
  margin-top: 0 !important;
  padding-top: 1rem;
}

body.home.wp-theme-twentytwentyfive main.wp-block-group {
  padding-top: 0;
}

body.wp-theme-twentytwentyfive .wp-block-button__link,
body.wp-theme-twentytwentyfive .wp-element-button {
  background: var(--agdr-accent);
  color: #111923;
  font-weight: 700;
  border: 0;
  box-shadow: none;
}

body.wp-theme-twentytwentyfive .wp-block-button__link:hover,
body.wp-theme-twentytwentyfive .wp-element-button:hover {
  background: var(--agdr-accent-strong);
  color: #111923;
}

body.wp-theme-twentytwentyfive .is-style-outline .wp-block-button__link {
  background: transparent;
  border: 1px solid rgba(242, 178, 91, 0.5);
  color: var(--agdr-ink);
}

body.wp-theme-twentytwentyfive .is-style-outline .wp-block-button__link:hover {
  background: rgba(242, 178, 91, 0.14);
  color: var(--agdr-ink);
}

body.wp-theme-twentytwentyfive .wp-block-group.has-background[style*="#f5f2ea"],
body.wp-theme-twentytwentyfive .wp-block-group.has-background[style*="#ffffff"] {
  box-shadow: var(--agdr-card-shadow);
}

body.wp-theme-twentytwentyfive .entry-content .wp-block-group.has-background[style*="#f5f2ea"],
body.wp-theme-twentytwentyfive .entry-content .wp-block-group.has-background[style*="#ffffff"] {
  border: 1px solid rgba(16, 32, 47, 0.06);
}

body.home.wp-theme-twentytwentyfive .entry-content > .wp-block-group.alignfull:first-child {
  position: relative;
  overflow: hidden;
}

body.home.wp-theme-twentytwentyfive .entry-content > .wp-block-group.alignfull:first-child::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 58%),
    radial-gradient(circle at 85% 20%, rgba(242, 178, 91, 0.18), transparent 22%);
  pointer-events: none;
}

.agdr-home-rotator {
  position: relative;
  width: min(100%, 560px);
  max-width: 560px;
  aspect-ratio: 2 / 1;
  min-height: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 46px rgba(8, 16, 24, 0.28);
  background:
    radial-gradient(circle at top, rgba(242, 178, 91, 0.08), transparent 40%),
    #0d1420;
  margin-left: auto;
}

.agdr-home-rotator::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 34, 0.02) 0%, rgba(15, 23, 34, 0.16) 100%);
  pointer-events: none;
}

.agdr-home-rotator__image {
  display: none;
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 500ms ease;
}

.agdr-home-rotator__image.is-active {
  display: block;
  opacity: 1;
}

body.home.wp-theme-twentytwentyfive .entry-content .wp-block-columns.alignwide > .wp-block-column:last-child {
  display: flex;
  justify-content: flex-end;
}

body.home.wp-theme-twentytwentyfive .entry-content .wp-block-columns.alignwide > .wp-block-column:last-child img,
body.page-our-games.wp-theme-twentytwentyfive .entry-content .wp-block-columns.alignwide img,
body.page-face-off.wp-theme-twentytwentyfive .entry-content img,
body.page-face-off-duels.wp-theme-twentytwentyfive .entry-content img {
  border-radius: 20px;
  box-shadow: 0 20px 46px rgba(8, 16, 24, 0.28);
}

body.wp-theme-twentytwentyfive .entry-content h1,
body.wp-theme-twentytwentyfive .entry-content h2,
body.wp-theme-twentytwentyfive .entry-content h3 {
  letter-spacing: -0.03em;
}

body.page-newsletter.wp-theme-twentytwentyfive .entry-content > .wp-block-group,
body.page-newsletter-archive.wp-theme-twentytwentyfive .entry-content > .wp-block-group,
body.page-privacy.wp-theme-twentytwentyfive .entry-content > .wp-block-group {
  max-width: var(--wp--style--global--wide-size);
}

body.page-newsletter.wp-theme-twentytwentyfive .entry-content .wp-block-group,
body.page-newsletter-archive.wp-theme-twentytwentyfive .entry-content .wp-block-group,
body.page-privacy.wp-theme-twentytwentyfive .entry-content .wp-block-group {
  color: var(--agdr-ink);
}

body.page-newsletter.wp-theme-twentytwentyfive .entry-content .wp-block-post-title,
body.page-newsletter-archive.wp-theme-twentytwentyfive .entry-content .wp-block-post-title,
body.page-privacy.wp-theme-twentytwentyfive .entry-content .wp-block-post-title,
body.page-about-us.wp-theme-twentytwentyfive .entry-content .wp-block-post-title,
body.page-our-games.wp-theme-twentytwentyfive .entry-content .wp-block-post-title {
  color: var(--agdr-ink);
}

.agdr-newsletter-form .tnp-subscription-minimal,
.agdr-newsletter-form form {
  display: grid;
  gap: 1rem;
}

.agdr-newsletter-form label,
.agdr-newsletter-form .tnp-field label {
  display: block;
  color: var(--agdr-ink);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.agdr-newsletter-form input[type="text"],
.agdr-newsletter-form input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  color: var(--agdr-ink);
}

.agdr-newsletter-form input[type="text"]::placeholder,
.agdr-newsletter-form input[type="email"]::placeholder {
  color: rgba(239, 244, 248, 0.64);
}

.agdr-newsletter-form input[type="submit"],
.agdr-newsletter-form button[type="submit"] {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  background: var(--agdr-accent);
  color: #111923;
  font-weight: 700;
  cursor: pointer;
  justify-self: start;
}

.agdr-newsletter-form input[type="submit"]:hover,
.agdr-newsletter-form button[type="submit"]:hover {
  background: var(--agdr-accent-strong);
}

.agdr-archive-list {
  display: grid;
  gap: 1rem;
}

.agdr-archive-item,
.agdr-archive-issue,
.agdr-archive-empty {
  border: 1px solid var(--agdr-line);
  border-radius: 18px;
  background: rgba(36, 59, 82, 0.78);
  color: var(--agdr-ink);
  padding: 1.25rem;
}

.agdr-archive-item h2,
.agdr-archive-issue h2 {
  margin-top: 0;
  color: var(--agdr-ink);
}

.agdr-archive-item a,
.agdr-archive-back a {
  color: var(--agdr-link);
}

.agdr-archive-date {
  color: var(--agdr-muted);
  font-size: 0.92rem;
}

body.home.wp-theme-twentytwentyfive .entry-content .wp-block-group.alignfull:nth-child(2) .wp-block-columns.alignwide {
  gap: 1.5rem;
}

body.home.wp-theme-twentytwentyfive .entry-content .wp-block-group.alignfull:nth-child(2) .wp-block-columns.alignwide > .wp-block-column > .wp-block-group {
  background: linear-gradient(180deg, #ffffff 0%, #eef3f7 100%) !important;
  border: 1px solid rgba(16, 32, 47, 0.08);
  min-height: 100%;
}

body.page-our-games.wp-theme-twentytwentyfive .entry-content .wp-block-columns.alignwide > .wp-block-column {
  display: flex;
}

body.page-our-games.wp-theme-twentytwentyfive .entry-content .wp-block-columns.alignwide > .wp-block-column > * {
  width: 100%;
}

body.page-our-games.wp-theme-twentytwentyfive .entry-content h3,
body.home.wp-theme-twentytwentyfive .entry-content h3 {
  color: #132234 !important;
}

body.home.wp-theme-twentytwentyfive .entry-content p[style*="#30423c"],
body.page-our-games.wp-theme-twentytwentyfive .entry-content p[style*="#30423c"] {
  color: #405468 !important;
}

body.page-blogs.wp-theme-twentytwentyfive .wp-block-post-template,
body.blog.wp-theme-twentytwentyfive .wp-block-post-template {
  gap: 1.1rem;
}

body.page-blogs.wp-theme-twentytwentyfive .wp-block-post-template > li,
body.blog.wp-theme-twentytwentyfive .wp-block-post-template > li {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 32, 47, 0.08);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: var(--agdr-card-shadow);
}

body.page-blogs.wp-theme-twentytwentyfive .wp-block-post-date,
body.blog.wp-theme-twentytwentyfive .wp-block-post-date {
  color: #4f6171;
}

body.page-blogs.wp-theme-twentytwentyfive .wp-block-post-title a,
body.blog.wp-theme-twentytwentyfive .wp-block-post-title a {
  color: #132234;
}

body.wp-theme-twentytwentyfive footer.wp-block-template-part > .wp-block-group {
  background: #0f1722;
  color: var(--agdr-ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.wp-theme-twentytwentyfive footer .wp-block-navigation-item a[href="#"],
body.wp-theme-twentytwentyfive footer .wp-block-navigation-link a[href="#"] {
  display: none;
}

body.wp-theme-twentytwentyfive footer .wp-block-navigation__container {
  gap: 0.55rem;
}

body.wp-theme-twentytwentyfive footer p.has-small-font-size {
  color: rgba(239, 244, 248, 0.72);
}

body.wp-theme-twentytwentyfive footer p.has-small-font-size:last-child,
body.wp-theme-twentytwentyfive footer .wp-block-navigation + .wp-block-navigation {
  display: none;
}

@media (min-width: 600px) {
  body.wp-theme-twentytwentyfive header .wp-block-navigation__responsive-container-open {
    display: none !important;
  }

  body.wp-theme-twentytwentyfive header .wp-block-navigation__responsive-container {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    background: transparent !important;
    color: inherit !important;
  }

  body.wp-theme-twentytwentyfive header .wp-block-navigation__responsive-close {
    display: none !important;
  }

  body.wp-theme-twentytwentyfive header .wp-block-navigation__responsive-container-content {
    display: block !important;
    padding-top: 0 !important;
  }

  body.wp-theme-twentytwentyfive header .wp-block-navigation__container.is-responsive,
  body.wp-theme-twentytwentyfive header .wp-block-navigation__container,
  body.wp-theme-twentytwentyfive header .wp-block-page-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.9rem !important;
  }

  body.wp-theme-twentytwentyfive header .wp-block-navigation-item {
    display: flex !important;
  }

  body.wp-theme-twentytwentyfive header .wp-block-navigation-item__content {
    display: inline-flex !important;
    align-items: center;
    padding: 0.35rem 0.2rem !important;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.2;
  }

  body.wp-theme-twentytwentyfive header .wp-block-navigation__submenu-container {
    background: #16283b !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px;
    padding: 0.35rem 0 !important;
  }
}

@media (max-width: 900px) {
  body.wp-theme-twentytwentyfive {
    background:
      radial-gradient(circle at top right, rgba(242, 178, 91, 0.14), transparent 24%),
      linear-gradient(180deg, #0f1722 0%, #132234 16%, #f5f7fa 16%, #f5f7fa 100%);
  }

  body.home.wp-theme-twentytwentyfive {
    background:
      radial-gradient(circle at top right, rgba(242, 178, 91, 0.16), transparent 26%),
      linear-gradient(180deg, #0f1722 0%, #132234 30%, #f5f7fa 30%, #f5f7fa 100%);
  }

  body.home.wp-theme-twentytwentyfive .entry-content > .wp-block-group.alignfull:first-child h1 {
    font-size: 2.4rem !important;
  }

  .agdr-home-rotator {
    width: min(100%, 420px);
    max-width: 420px;
  }

  .agdr-home-rotator__image {
    inset: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
  }

  .agdr-site-brand img {
    height: 28px;
    max-width: 92px;
  }
}
