/* ============================================================
   Game Description: SaaS glass look (frontend + block preview)
   ============================================================ */

.game-description-db.gp-game-description {
  --gp-gd-surface-a: rgba(188, 20, 46, 0.22);
  --gp-gd-surface-b: rgba(11, 11, 14, 0.92);
  --gp-gd-surface-c: rgba(7, 7, 9, 0.9);
  --gp-gd-border: rgba(255, 255, 255, 0.16);
  --gp-gd-border-strong: rgba(255, 74, 96, 0.62);
  --gp-gd-text: #f4f6f8;
  --gp-gd-text-soft: #c8ccd4;
  --gp-gd-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  margin: 16px 0;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--gp-gd-border);
  border-top: 2px solid var(--gp-gd-border-strong);
  border-bottom: 2px solid var(--gp-gd-border-strong);
  border-radius: 18px;
  background:
    radial-gradient(130% 120% at 0% 0%, rgba(255, 84, 106, 0.18), rgba(255, 84, 106, 0) 56%),
    linear-gradient(145deg, var(--gp-gd-surface-a), var(--gp-gd-surface-b) 42%, var(--gp-gd-surface-c) 100%);
  box-shadow: var(--gp-gd-shadow);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  color: var(--gp-gd-text);
  font-family: 'Barlow', system-ui, -apple-system, sans-serif;
}

.game-description-db.gp-game-description::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
}

.game-description-db.gp-game-description .header6,
.game-description-db.gp-game-description .gp-game-description__heading {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.2;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #ffdbe0;
  font-weight: 700;
}

.game-description-db.gp-game-description .header6 strong,
.game-description-db.gp-game-description .gp-game-description__heading strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: linear-gradient(150deg, rgba(255, 61, 84, 0.23), rgba(255, 61, 84, 0.08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.game-description-db.gp-game-description .game-description-text,
.game-description-db.gp-game-description .gp-game-description__text {
  position: relative;
  z-index: 1;
  display: flow-root;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(19, 19, 24, 0.74), rgba(10, 10, 12, 0.8));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 26px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: clamp(14px, 1.9vw, 20px);
  color: var(--gp-gd-text);
}

.game-description-db.gp-game-description .game-description-text :first-child,
.game-description-db.gp-game-description .gp-game-description__text :first-child {
  margin-top: 0;
}

.game-description-db.gp-game-description .game-description-text :last-child,
.game-description-db.gp-game-description .gp-game-description__text :last-child {
  margin-bottom: 0;
}

.game-description-db.gp-game-description .game-description-text p,
.game-description-db.gp-game-description .gp-game-description__text p {
  margin: 0 0 12px;
  line-height: 1.72;
  color: var(--gp-gd-text-soft);
}

.game-description-db.gp-game-description .game-description-text h1,
.game-description-db.gp-game-description .gp-game-description__text h1 {
  margin: 0 0 10px;
  color: #fff;
  line-height: 1.18;
  font-size: clamp(1.9rem, 3vw, 2.25rem);
  letter-spacing: 0.01em;
}

.game-description-db.gp-game-description .game-description-text h2,
.game-description-db.gp-game-description .gp-game-description__text h2 {
  margin: 0 0 10px;
  color: #fff;
  line-height: 1.22;
  font-size: clamp(1.6rem, 2.6vw, 1.9rem);
  letter-spacing: 0.01em;
}

.game-description-db.gp-game-description .game-description-text h3,
.game-description-db.gp-game-description .gp-game-description__text h3 {
  margin: 0 0 10px;
  color: #fff;
  line-height: 1.24;
  font-size: clamp(1.34rem, 2.2vw, 1.58rem);
  letter-spacing: 0.01em;
}

.game-description-db.gp-game-description .game-description-text h4,
.game-description-db.gp-game-description .game-description-text h5,
.game-description-db.gp-game-description .game-description-text h6,
.game-description-db.gp-game-description .gp-game-description__text h4,
.game-description-db.gp-game-description .gp-game-description__text h5,
.game-description-db.gp-game-description .gp-game-description__text h6 {
  margin: 0 0 10px;
  color: #fff;
  line-height: 1.28;
  font-size: clamp(1.12rem, 1.9vw, 1.28rem);
  letter-spacing: 0.01em;
}

.game-description-db.gp-game-description .game-description-text ul,
.game-description-db.gp-game-description .game-description-text ol,
.game-description-db.gp-game-description .gp-game-description__text ul,
.game-description-db.gp-game-description .gp-game-description__text ol {
  margin: 0 0 14px 18px;
  padding-left: 0.2em;
  color: var(--gp-gd-text-soft);
}

.game-description-db.gp-game-description .game-description-text ul,
.game-description-db.gp-game-description .gp-game-description__text ul {
  list-style: disc outside;
}

.game-description-db.gp-game-description .game-description-text ul ul,
.game-description-db.gp-game-description .gp-game-description__text ul ul {
  list-style-type: circle;
}

.game-description-db.gp-game-description .game-description-text ul ul ul,
.game-description-db.gp-game-description .gp-game-description__text ul ul ul {
  list-style-type: square;
}

.game-description-db.gp-game-description .game-description-text ol,
.game-description-db.gp-game-description .gp-game-description__text ol {
  list-style: decimal outside;
}

.game-description-db.gp-game-description .game-description-text li,
.game-description-db.gp-game-description .gp-game-description__text li {
  margin: 0 0 8px;
}

.game-description-db.gp-game-description .game-description-text li::marker,
.game-description-db.gp-game-description .gp-game-description__text li::marker {
  color: #ff8899;
}

.game-description-db.gp-game-description .game-description-text a,
.game-description-db.gp-game-description .gp-game-description__text a {
  color: #ffd4da;
  text-decoration-color: rgba(255, 148, 163, 0.65);
  text-underline-offset: 2px;
}

.game-description-db.gp-game-description .game-description-text code,
.game-description-db.gp-game-description .gp-game-description__text code {
  display: inline-block;
  padding: 0.16em 0.44em;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffe9ee;
  font: 12px/1.35 Consolas, Monaco, monospace;
}

.game-description-db.gp-game-description .game-description-text blockquote,
.game-description-db.gp-game-description .gp-game-description__text blockquote {
  margin: 0 0 14px;
  padding: 12px 16px;
  border-left: 3px solid rgba(255, 104, 126, 0.7);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 255, 255, 0.04);
  color: #f5d5dc;
  font-style: italic;
}

.game-description-db.gp-game-description .game-description-text pre,
.game-description-db.gp-game-description .gp-game-description__text pre {
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(6, 6, 8, 0.85);
  color: #ffeef2;
  white-space: pre-wrap;
  font: 13px/1.65 Consolas, Monaco, monospace;
}

.game-description-db.gp-game-description .game-description-text hr,
.game-description-db.gp-game-description .gp-game-description__text hr {
  margin: 18px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.game-description-db.gp-game-description .game-description-text figcaption,
.game-description-db.gp-game-description .gp-game-description__text figcaption {
  margin-top: 9px;
  color: rgba(255, 226, 231, 0.78);
  font-size: 0.82rem;
  text-align: center;
}

.game-description-db.gp-game-description .game-description-text table,
.game-description-db.gp-game-description .gp-game-description__text table {
  width: 100%;
  margin: 0 0 16px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.game-description-db.gp-game-description .game-description-text th,
.game-description-db.gp-game-description .game-description-text td,
.game-description-db.gp-game-description .gp-game-description__text th,
.game-description-db.gp-game-description .gp-game-description__text td {
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.game-description-db.gp-game-description .game-description-text th,
.game-description-db.gp-game-description .gp-game-description__text th {
  color: #fff4f6;
  background: rgba(255, 122, 142, 0.12);
  font-weight: 700;
}

.game-description-db.gp-game-description .game-description-text [data-gp-align="left"],
.game-description-db.gp-game-description .gp-game-description__text [data-gp-align="left"] {
  text-align: left;
}

.game-description-db.gp-game-description .game-description-text [data-gp-align="center"],
.game-description-db.gp-game-description .gp-game-description__text [data-gp-align="center"] {
  text-align: center;
}

.game-description-db.gp-game-description .game-description-text [data-gp-align="right"],
.game-description-db.gp-game-description .gp-game-description__text [data-gp-align="right"] {
  text-align: right;
}

.game-description-db.gp-game-description .game-description-text [data-gp-align="justify"],
.game-description-db.gp-game-description .gp-game-description__text [data-gp-align="justify"] {
  text-align: justify;
}

.game-description-db.gp-game-description .game-description-text [data-gp-font-size="sm"],
.game-description-db.gp-game-description .gp-game-description__text [data-gp-font-size="sm"] {
  font-size: 0.92rem;
}

.game-description-db.gp-game-description .game-description-text [data-gp-font-size="md"],
.game-description-db.gp-game-description .gp-game-description__text [data-gp-font-size="md"] {
  font-size: 1rem;
}

.game-description-db.gp-game-description .game-description-text [data-gp-font-size="lg"],
.game-description-db.gp-game-description .gp-game-description__text [data-gp-font-size="lg"] {
  font-size: 1.14rem;
}

.game-description-db.gp-game-description .game-description-text [data-gp-font-size="xl"],
.game-description-db.gp-game-description .gp-game-description__text [data-gp-font-size="xl"] {
  font-size: 1.32rem;
}

.game-description-db.gp-game-description .game-description-text [data-gp-font-size="xxl"],
.game-description-db.gp-game-description .gp-game-description__text [data-gp-font-size="xxl"] {
  font-size: 1.54rem;
}

.game-description-db.gp-game-description .game-description-text figure,
.game-description-db.gp-game-description .gp-game-description__text figure {
  margin: 0 0 18px;
}

.game-description-db.gp-game-description .game-description-text figure img,
.game-description-db.gp-game-description .gp-game-description__text figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.game-description-db.gp-game-description .game-description-text figure[data-gp-align="left"],
.game-description-db.gp-game-description .gp-game-description__text figure[data-gp-align="left"] {
  float: left;
  margin: 4px 18px 18px 0;
}

.game-description-db.gp-game-description .game-description-text figure[data-gp-align="center"],
.game-description-db.gp-game-description .gp-game-description__text figure[data-gp-align="center"] {
  margin-left: auto;
  margin-right: auto;
}

.game-description-db.gp-game-description .game-description-text figure[data-gp-align="right"],
.game-description-db.gp-game-description .gp-game-description__text figure[data-gp-align="right"] {
  float: right;
  margin: 4px 0 18px 18px;
}

.game-description-db.gp-game-description .game-description-text figure[data-gp-align="full"],
.game-description-db.gp-game-description .gp-game-description__text figure[data-gp-align="full"] {
  width: 100%;
}

.game-description-db.gp-game-description .game-description-text figure[data-gp-image-size="sm"] img,
.game-description-db.gp-game-description .gp-game-description__text figure[data-gp-image-size="sm"] img {
  max-width: 180px;
}

.game-description-db.gp-game-description .game-description-text figure[data-gp-image-size="md"] img,
.game-description-db.gp-game-description .gp-game-description__text figure[data-gp-image-size="md"] img {
  max-width: 280px;
}

.game-description-db.gp-game-description .game-description-text figure[data-gp-image-size="lg"] img,
.game-description-db.gp-game-description .gp-game-description__text figure[data-gp-image-size="lg"] img {
  max-width: min(440px, 100%);
}

.game-description-db.gp-game-description .game-description-text figure[data-gp-image-size="full"] img,
.game-description-db.gp-game-description .gp-game-description__text figure[data-gp-image-size="full"] img {
  width: 100%;
  max-width: 100%;
}

.game-description-db.gp-game-description .game-description-ads,
.game-description-db.gp-game-description .gp-game-description__ads {
  position: relative;
  z-index: 1;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 8px 10px;
  min-height: 40px;
}

.game-description-db.gp-game-description .game-description-ads-text,
.game-description-db.gp-game-description .gp-game-description__ads-text {
  position: relative;
  z-index: 1;
  margin-top: -4px;
  margin-bottom: 2px;
  text-align: right;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(248, 226, 230, 0.8);
}

.editor-styles-wrapper .game-description-db.gp-game-description {
  margin-top: 12px;
  margin-bottom: 0;
}

.gp-single-game--modern .gp-surface--description .game-description-db.gp-game-description {
  margin: 0;
}

@media (max-width: 700px) {
  .game-description-db.gp-game-description {
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
  }

  .game-description-db.gp-game-description .game-description-text,
  .game-description-db.gp-game-description .gp-game-description__text {
    border-radius: 12px;
    padding: 12px;
  }
}
