/* ============================================
   THEME CONFIGURATION
   Change all colors and styles here
   ============================================ */

:root {
  /* ========== MAIN BACKGROUND COLOR ========== */
  /* Изменить цвет фона всех секций (кроме Hero с фото) */
  --main-bg: hsl(0 0% 100%);

  /* ========== TEXT COLORS ========== */
  /* Цвета текста */
  --text-primary: hsl(0 0% 0%);
  --text-secondary: hsl(0 0% 10%);
  --text-muted: #666;

  /* ========== BUTTON COLOR ========== */
  /* Цвет всех кнопок */
  --button-bg: hsl(118, 72%, 35%);
  --button-hover-bg: hsl(118, 72%, 50%);
  --button-text: #000;

  /* ========== CARD BACKGROUND ========== */
  /* Цвет карточек и контейнеров */
  --card-bg: #fff;

  /* ========== FORM INPUTS ========== */
  --input-bg: #fff;
  --input-border: #d1d5db;
  --input-focus: #f69f3b;
  --input-text: #1f2937;

    
  /* STANDART */
  --always-black: #000;
  --always-white: #fff;    
}


.dbj-badge{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  margin-bottom:18px;
  padding:9px 16px;
  border-radius:999px;
  background:rgba(255,218,92,.14);
  border:1px solid rgba(255,218,92,.34);
  color:#fff1b8;
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  box-shadow:0 0 28px rgba(255,218,92,.16);
}

.dbj-game-title{
  margin:18px 0 8px;
  color:#fff;
  font-size:24px;
  font-weight:800;
  text-align:center;
}

.dbj-game-text{
  max-width:370px;
  margin:0 auto 18px;
  color:rgba(255,255,255,.78);
  font-size:15px;
  line-height:1.65;
  text-align:center;
}

.dbj-info-section{
  position:relative;
  overflow:hidden;
  padding:82px 20px;
  background:
          radial-gradient(circle at 12% 0%,rgba(255,218,92,.2),transparent 34%),
          radial-gradient(circle at 88% 8%,rgba(125,108,255,.16),transparent 34%),
          linear-gradient(135deg,#120b24 0%,#201136 52%,#090713 100%);
}

.dbj-info-section:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.14;
  background-image:
          linear-gradient(rgba(255,255,255,.13) 1px,transparent 1px),
          linear-gradient(90deg,rgba(255,255,255,.13) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(180deg,transparent 0%,#000 18%,#000 84%,transparent 100%);
}

.dbj-info-container{
  position:relative;
  max-width:1160px;
  margin:0 auto;
}

.dbj-info-head{
  max-width:820px;
  margin:0 auto 42px;
  text-align:center;
}

.dbj-info-title{
  margin:0 0 16px;
  color:#fff;
  font-size:clamp(36px,5vw,64px);
  line-height:1.02;
  font-weight:900;
}

.dbj-info-text{
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:18px;
  line-height:1.75;
}

.dbj-info-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.dbj-info-card{
  padding:26px;
  border-radius:28px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  box-shadow:0 22px 58px rgba(0,0,0,.28);
  backdrop-filter:blur(14px);
}

.dbj-info-card h3{
  margin:0 0 12px;
  color:#fff;
  font-size:24px;
  line-height:1.2;
}

.dbj-info-card p{
  margin:0;
  color:rgba(255,255,255,.78);
  line-height:1.7;
}

.dbj-articles{
  position:relative;
  overflow:hidden;
  padding:86px 20px;
  background:
          radial-gradient(circle at 10% 0%,rgba(255,218,92,.22),transparent 34%),
          radial-gradient(circle at 90% 10%,rgba(255,118,194,.14),transparent 34%),
          linear-gradient(135deg,#10081f 0%,#24123c 52%,#07050d 100%);
}

.dbj-articles-container{
  max-width:1160px;
  margin:0 auto;
  position:relative;
}

.dbj-articles-head{
  max-width:820px;
  margin:0 auto 44px;
  text-align:center;
}

.dbj-articles-title{
  margin:0 0 16px;
  color:#fff;
  font-size:clamp(36px,5vw,64px);
  line-height:1.02;
  font-weight:900;
}

.dbj-articles-text{
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:18px;
  line-height:1.75;
}

.dbj-articles-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.dbj-article-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  padding:26px;
  border-radius:28px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  box-shadow:0 24px 62px rgba(0,0,0,.28);
  backdrop-filter:blur(14px);
  transition:.2s ease;
}

.dbj-article-card:hover{
  transform:translateY(-3px);
  border-color:rgba(255,218,92,.44);
  box-shadow:0 30px 76px rgba(0,0,0,.34);
}

.dbj-article-date{
  display:inline-flex;
  width:max-content;
  margin-bottom:16px;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(255,218,92,.15);
  color:#fff1b8;
  font-size:13px;
  font-weight:800;
}

.dbj-article-card h3{
  margin:0 0 12px;
  color:#fff;
  font-size:24px;
  line-height:1.22;
}

.dbj-article-card p{
  margin:0 0 22px;
  color:rgba(255,255,255,.78);
  font-size:16px;
  line-height:1.72;
}

.dbj-article-link{
  margin-top:auto;
  width:max-content;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  background:#fff1b8;
  color:#120b24;
  font-weight:900;
  text-decoration:none;
  transition:.2s ease;
}

.dbj-article-link:hover{
  transform:translateY(-2px);
  text-decoration:none;
}

.footer1-logo{
  background-image:url('<?php echo esc_url($logo_url); ?>');
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  min-height:82px;
}

.footer1-links{
  flex-wrap:wrap;
}

@media(max-width:920px){
  .dbj-info-grid,
  .dbj-articles-grid{
    grid-template-columns:1fr;
  }
}


.dbj-page-main{
  position:relative;
  overflow:hidden;
  padding:84px 20px 98px;
  background:
          radial-gradient(circle at 12% 4%,rgba(255,218,92,.22),transparent 34%),
          radial-gradient(circle at 88% 10%,rgba(125,108,255,.16),transparent 34%),
          linear-gradient(135deg,#120b24 0%,#24123c 52%,#07050d 100%);
}

.dbj-page-main:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.14;
  background-image:
          linear-gradient(rgba(255,255,255,.13) 1px,transparent 1px),
          linear-gradient(90deg,rgba(255,255,255,.13) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(180deg,transparent 0%,#000 14%,#000 86%,transparent 100%);
}

.dbj-page-shell{
  position:relative;
  width:min(960px,100%);
  margin:0 auto;
  padding:clamp(24px,4vw,56px);
  border-radius:32px;
  background:rgba(18,11,36,.9);
  border:1px solid rgba(255,241,184,.18);
  box-shadow:
          0 30px 86px rgba(0,0,0,.38),
          0 0 44px rgba(255,218,92,.08),
          inset 0 1px 0 rgba(255,255,255,.08);
  color:#fff;
  backdrop-filter:blur(14px);
}

.dbj-page-shell:before{
  content:"DreamBrightJack guide";
  display:inline-flex;
  width:max-content;
  max-width:100%;
  margin-bottom:22px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,218,92,.14);
  border:1px solid rgba(255,218,92,.34);
  color:#fff1b8;
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.dbj-page-shell h1,
.dbj-page-shell h2,
.dbj-page-shell h3,
.dbj-page-shell h4{
  color:#fff;
  letter-spacing:-.03em;
}

.dbj-page-shell h1{
  max-width:860px;
  margin:0 0 20px;
  font-size:clamp(36px,5vw,64px);
  line-height:1.02;
  font-weight:900;
}

.dbj-page-shell h2{
  position:relative;
  margin:48px 0 16px;
  padding-top:18px;
  font-size:clamp(28px,3.4vw,42px);
  line-height:1.12;
  font-weight:900;
}

.dbj-page-shell h2:before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:92px;
  height:5px;
  border-radius:999px;
  background:linear-gradient(90deg,#ffda5c,#ff76c2);
  box-shadow:0 0 22px rgba(255,218,92,.24);
}

.dbj-page-shell h3{
  margin:30px 0 12px;
  font-size:clamp(22px,2.4vw,30px);
  line-height:1.2;
  color:#fff1b8;
  font-weight:900;
}

.dbj-page-shell h4{
  margin:24px 0 10px;
  font-size:21px;
  font-weight:900;
}

.dbj-page-shell p{
  margin:0 0 18px;
  color:rgba(255,255,255,.78);
  font-size:17px;
  line-height:1.82;
}

.dbj-page-shell .article-meta{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  margin:0 0 20px;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(255,218,92,.15);
  border:1px solid rgba(255,218,92,.3);
  color:#fff1b8;
  font-size:13px;
  font-weight:800;
}

.dbj-page-shell a{
  color:#fff1b8;
  font-weight:800;
  text-decoration:none;
  border-bottom:1px solid rgba(255,241,184,.4);
}

.dbj-page-shell a:hover{
  color:#fff;
  border-bottom-color:currentColor;
  text-decoration:none;
}

.dbj-page-shell img{
  display:block;
  width:100%;
  height:auto;
  margin:26px 0;
  border-radius:28px;
  border:1px solid rgba(255,241,184,.18);
  box-shadow:0 24px 62px rgba(0,0,0,.34);
}

.dbj-page-shell ul,
.dbj-page-shell ol{
  display:grid;
  gap:12px;
  margin:22px 0 28px;
  padding:0;
  list-style:none;
}

.dbj-page-shell li{
  position:relative;
  padding:15px 16px 15px 50px;
  border-radius:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.13);
  color:rgba(255,255,255,.78);
  font-size:16.5px;
  line-height:1.65;
  box-shadow:0 10px 26px rgba(0,0,0,.18);
}

.dbj-page-shell ul li:before{
  content:"";
  position:absolute;
  left:18px;
  top:23px;
  width:12px;
  height:12px;
  border-radius:50%;
  background:linear-gradient(135deg,#ffda5c,#ff76c2);
  box-shadow:0 0 0 5px rgba(255,218,92,.1);
}

.dbj-page-shell ol{
  counter-reset:dbj-counter;
}

.dbj-page-shell ol li{
  counter-increment:dbj-counter;
}

.dbj-page-shell ol li:before{
  content:counter(dbj-counter);
  position:absolute;
  left:14px;
  top:14px;
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff1b8;
  color:#120b24;
  font-size:13px;
  font-weight:900;
}

.dbj-page-shell table{
  width:100%;
  margin:30px 0;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:24px;
  border:1px solid rgba(255,241,184,.18);
  background:rgba(255,255,255,.07);
  box-shadow:0 18px 42px rgba(0,0,0,.24);
}

.dbj-page-shell th,
.dbj-page-shell td{
  padding:16px;
  text-align:left;
  vertical-align:top;
  border-bottom:1px solid rgba(255,255,255,.11);
  color:rgba(255,255,255,.78);
}

.dbj-page-shell th{
  background:linear-gradient(135deg,rgba(255,218,92,.16),rgba(255,118,194,.12));
  color:#fff;
  font-size:15px;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.dbj-page-shell tr:last-child td{
  border-bottom:0;
}

.dbj-page-shell blockquote{
  margin:32px 0;
  padding:24px 26px;
  border-left:5px solid #ffda5c;
  border-radius:22px;
  background:rgba(255,218,92,.08);
}

.dbj-page-shell blockquote p{
  margin:0;
  color:#fff;
  font-size:18px;
}

.dbj-page-shell .toc,
.dbj-page-shell .contents,
.dbj-page-shell .table-of-contents{
  margin:26px 0 36px;
  padding:24px;
  border-radius:24px;
  border:1px solid rgba(255,218,92,.3);
  background:
          radial-gradient(circle at 12% 0%,rgba(255,218,92,.12),transparent 34%),
          linear-gradient(135deg,rgba(18,11,36,.92),rgba(36,18,60,.92));
}

.dbj-page-shell .toc strong,
.dbj-page-shell .contents strong,
.dbj-page-shell .table-of-contents strong{
  display:block;
  margin-bottom:14px;
  color:#fff;
  font-size:21px;
  font-weight:900;
}

.dbj-page-shell .toc ol,
.dbj-page-shell .toc ul,
.dbj-page-shell .contents ol,
.dbj-page-shell .contents ul,
.dbj-page-shell .table-of-contents ol,
.dbj-page-shell .table-of-contents ul{
  margin:0;
  display:grid;
  gap:9px;
}

.dbj-page-shell .toc li,
.dbj-page-shell .contents li,
.dbj-page-shell .table-of-contents li{
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}

.dbj-page-shell .toc li:before,
.dbj-page-shell .contents li:before,
.dbj-page-shell .table-of-contents li:before{
  display:none;
}

.dbj-page-shell .author-note,
.dbj-page-shell .note,
.dbj-page-shell .summary-box{
  margin:34px 0 0;
  padding:24px;
  border-radius:24px;
  border:1px solid rgba(255,218,92,.3);
  background:linear-gradient(135deg,rgba(255,218,92,.08),rgba(255,118,194,.08));
}

.dbj-page-shell .author-note p,
.dbj-page-shell .note p,
.dbj-page-shell .summary-box p{
  margin-bottom:0;
}

.dbj-page-related{
  position:relative;
  width:min(960px,100%);
  margin:28px auto 0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.dbj-page-related a{
  display:block;
  padding:20px;
  border-radius:22px;
  background:rgba(18,11,36,.9);
  border:1px solid rgba(255,241,184,.18);
  color:#fff;
  box-shadow:0 16px 38px rgba(0,0,0,.26);
  text-decoration:none;
  transition:.2s ease;
}

.dbj-page-related a:hover{
  transform:translateY(-2px);
  border-color:rgba(255,218,92,.46);
  color:#fff;
  text-decoration:none;
}

.dbj-page-related span{
  display:block;
  margin-bottom:8px;
  color:#fff1b8;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.dbj-page-related strong{
  display:block;
  line-height:1.35;
  font-weight:900;
}

.footer1-logo{
  background-image:url('<?php echo esc_url($logo_url); ?>');
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  min-height:82px;
}

.footer1-links{
  flex-wrap:wrap;
}

@media(max-width:900px){
  .dbj-page-related{
    grid-template-columns:1fr;
  }

  .dbj-page-shell table{
    display:block;
    overflow-x:auto;
  }
}

@media(max-width:640px){
  .dbj-page-main{
    padding:42px 12px 58px;
  }

  .dbj-page-shell{
    padding:24px 18px;
    border-radius:22px;
  }

  .dbj-page-shell:before{
    width:auto;
    font-size:12px;
    white-space:normal;
  }

  .dbj-page-shell p,
  .dbj-page-shell li{
    font-size:16px;
  }

  .dbj-page-shell li{
    padding-left:44px;
  }
}