.cobra-home-concept {
  --cobra-bg: #05070b;
  --cobra-panel: rgba(8, 12, 20, 0.78);
  --cobra-panel-strong: rgba(11, 16, 27, 0.9);
  --cobra-text: #f7fbff;
  --cobra-muted: #b5c9d2;
  --cobra-cyan: #7df7ff;
  --cobra-gold: #ffd86b;
  --cobra-red: #aa1b20;
  position: relative;
  min-height: 100vh;
  padding: clamp(18px, 2.5vw, 32px) 20px clamp(40px, 6vw, 72px);
  color: var(--cobra-text);
  background:
    radial-gradient(circle at 18% 16%, rgba(125, 247, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 62%, rgba(170, 27, 32, 0.36), transparent 36%),
    linear-gradient(135deg, rgba(255, 216, 107, 0.08), transparent 36%),
    var(--cobra-bg);
  background-attachment: fixed;
  isolation: isolate;
  overflow: hidden;
}

body.page-template-home-concept-template {
  background:
    radial-gradient(circle at 18% 16%, rgba(125, 247, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 62%, rgba(170, 27, 32, 0.36), transparent 36%),
    linear-gradient(135deg, rgba(255, 216, 107, 0.08), transparent 36%),
    #05070b !important;
  background-attachment: fixed;
}

body.page-template-game-template,
body.page-template-new-leaderboard,
body.blog,
body.post-type-archive-competition {
  color: #f7fbff;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 18% 16%, rgba(125, 247, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 62%, rgba(170, 27, 32, 0.36), transparent 36%),
    linear-gradient(135deg, rgba(255, 216, 107, 0.08), transparent 36%) !important;
  background-color: #05070b !important;
  background-attachment: fixed;
  background-size: 54px 54px, 54px 54px, auto, auto, auto;
}

body.page-template-home-concept-template #page,
body.page-template-home-concept-template #content,
body.page-template-home-concept-template .site-footer,
body.page-template-home-concept-template .footer,
body.page-template-game-template #page,
body.page-template-game-template .site-footer,
body.page-template-game-template .footer,
body.page-template-new-leaderboard #page,
body.page-template-new-leaderboard .site-footer,
body.page-template-new-leaderboard .footer,
body.blog #page,
body.blog .site-footer,
body.blog .footer,
body.post-type-archive-competition #page,
body.post-type-archive-competition .site-footer,
body.post-type-archive-competition .footer {
  background: transparent !important;
}

body.page-template-game-template #content,
body.page-template-game-template .game-catalog-page,
body.page-template-new-leaderboard #content,
body.blog #content,
body.blog .king-profile-top,
body.blog .cobra-arcade-profile-area,
body.post-type-archive-competition #content,
body.post-type-archive-competition .cmp-wrapper {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 18% 16%, rgba(125, 247, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 62%, rgba(170, 27, 32, 0.36), transparent 36%),
    linear-gradient(135deg, rgba(255, 216, 107, 0.08), transparent 36%) !important;
  background-color: #05070b !important;
  background-attachment: fixed;
  background-size: 54px 54px, 54px 54px, auto, auto, auto;
}

body.page-template-home-concept-template .site-footer,
body.page-template-game-template .site-footer,
body.page-template-new-leaderboard .site-footer,
body.blog .site-footer,
body.post-type-archive-competition .site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-template-home-concept-template .footer,
body.page-template-game-template .footer,
body.page-template-new-leaderboard .footer,
body.blog .footer,
body.post-type-archive-competition .footer {
  padding: 28px 20px 34px !important;
  color: rgba(247, 251, 255, 0.86);
}

body.page-template-home-concept-template .footer img,
body.page-template-game-template .footer img,
body.page-template-new-leaderboard .footer img,
body.blog .footer img,
body.post-type-archive-competition .footer img {
  display: none;
}

.cobra-home-concept::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.74), transparent 90%);
}

.cobra-home-concept::after {
  position: absolute;
  inset: auto -18% -28% 44%;
  z-index: -1;
  height: 46%;
  content: "";
  background: radial-gradient(circle, rgba(170, 27, 32, 0.28), transparent 62%);
  filter: blur(8px);
}

.cobra-home-concept__shell {
  width: min(100%, 1160px);
  margin: 0 auto;
}

.cobra-home-concept__hero {
  display: grid;
  grid-template-columns: minmax(250px, 0.92fr) minmax(300px, 1.02fr) minmax(300px, 0.98fr);
  gap: clamp(14px, 2vw, 22px);
  align-items: stretch;
}

.cobra-home-concept__center {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  min-width: 0;
  min-height: 360px;
  padding: 10px 0;
  text-align: center;
}

.cobra-home-concept__brand-stack {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  gap: clamp(8px, 1.3vw, 14px);
  min-width: 0;
  text-decoration: none;
}

.cobra-home-concept__brand-stack img {
  display: block;
  height: auto;
}

.cobra-home-concept__brand-gif {
  width: clamp(148px, 15vw, 196px);
  opacity: 0.88;
  filter: drop-shadow(0 0 22px rgba(125, 247, 255, 0.28));
}

.cobra-home-concept__brand-wordmark {
  width: clamp(220px, 23vw, 310px);
  filter: invert(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.14));
}

.cobra-home-concept__paid-badge {
  display: block;
  width: clamp(178px, 18vw, 236px);
  height: auto;
  margin-top: 4px;
  filter: drop-shadow(0 0 20px rgba(255, 216, 107, 0.12));
}

.cobra-home-concept__intro {
  max-width: 560px;
  padding-top: 0;
}

.cobra-home-concept__eyebrow,
.cobra-home-concept__games-header p {
  margin: 0 0 14px;
  color: var(--cobra-cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cobra-home-concept h1 {
  max-width: 560px;
  margin: 0;
  color: var(--cobra-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
}

.cobra-home-concept__message {
  max-width: 510px;
  margin: 16px auto 0;
  color: var(--cobra-muted);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 700;
  line-height: 1.65;
}

.cobra-home-concept__live,
.cobra-home-concept__competitions {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: 20px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 34%),
    rgba(8, 12, 20, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(8px);
}

.cobra-home-concept__live::before,
.cobra-home-concept__competitions::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--cobra-red), var(--cobra-cyan), var(--cobra-gold));
}

.cobra-home-concept__live::before {
  background: linear-gradient(90deg, var(--cobra-cyan), var(--cobra-gold), rgba(255, 216, 107, 0.16));
}

.cobra-home-concept__panel-head,
.cobra-home-concept__activity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cobra-home-concept__panel-head {
  margin-bottom: 14px;
}

.cobra-home-concept__panel-head p {
  margin: 0;
  color: var(--cobra-cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.cobra-home-concept__panel-head span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cobra-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.cobra-home-concept__panel-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cobra-gold);
  box-shadow: 0 0 14px rgba(255, 216, 107, 0.9);
}

.cobra-home-concept__competition-list {
  display: grid;
  gap: 8px;
}

.cobra-home-concept__competition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 8px 14px;
  min-height: 70px;
  padding: 11px 0 11px 12px;
  border-left: 3px solid var(--cobra-gold);
  border-radius: 0 6px 6px 0;
  background: linear-gradient(90deg, rgba(255, 216, 107, 0.09), transparent);
}

.cobra-home-concept__competition:nth-child(2n) {
  border-left-color: var(--cobra-cyan);
  background: linear-gradient(90deg, rgba(125, 247, 255, 0.08), transparent);
}

.cobra-home-concept__competition a {
  display: block;
  overflow: hidden;
  color: var(--cobra-text);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cobra-home-concept__competition a:hover,
.cobra-home-concept__competition a:focus {
  color: var(--cobra-cyan);
}

.cobra-home-concept__competition span,
.cobra-home-concept__competition em {
  display: block;
  color: var(--cobra-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.cobra-home-concept__competition strong {
  align-self: start;
  min-width: 82px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 216, 107, 0.28);
  border-radius: 999px;
  color: var(--cobra-gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.cobra-home-concept__competition em {
  grid-column: 1 / -1;
}

.cobra-home-concept__live-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.cobra-home-concept__live-stats div {
  padding: 14px;
  background: rgba(11, 16, 27, 0.86);
}

.cobra-home-concept__live-stats strong {
  display: block;
  color: var(--cobra-text);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.cobra-home-concept__live-stats span {
  display: block;
  margin-top: 6px;
  color: var(--cobra-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.cobra-home-concept__activity-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.cobra-home-concept__activity {
  min-height: 42px;
  padding: 9px 0 9px 12px;
  border-left: 3px solid var(--cobra-cyan);
  border-radius: 0 6px 6px 0;
  background: linear-gradient(90deg, rgba(125, 247, 255, 0.08), transparent);
}

.cobra-home-concept__activity:nth-child(2n) {
  border-left-color: var(--cobra-red);
  background: linear-gradient(90deg, rgba(170, 27, 32, 0.12), transparent);
}

.cobra-home-concept__activity a,
.cobra-home-concept__activity span,
.cobra-home-concept__activity em {
  color: var(--cobra-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.cobra-home-concept__activity a {
  text-decoration: none;
}

.cobra-home-concept__activity a:hover,
.cobra-home-concept__activity a:focus {
  color: var(--cobra-cyan);
}

.cobra-home-concept__activity strong {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cobra-home-concept__activity strong a {
  color: var(--cobra-text);
  font-size: inherit;
  font-weight: inherit;
}

.cobra-home-concept__feature-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.cobra-home-concept__feature-card {
  min-height: 96px;
  padding: 18px;
  background: var(--cobra-panel);
}

.cobra-home-concept__feature-card--1 {
  border-top: 3px solid var(--cobra-red);
}

.cobra-home-concept__feature-card--2 {
  border-top: 3px solid var(--cobra-cyan);
}

.cobra-home-concept__feature-card--3 {
  border-top: 3px solid var(--cobra-gold);
}

.cobra-home-concept__feature-card h2,
.cobra-home-concept__games-header h2 {
  margin: 0;
  color: var(--cobra-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}

.cobra-home-concept__feature-card p {
  margin: 9px 0 0;
  color: var(--cobra-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.cobra-home-concept__games {
  margin-top: 14px;
  padding: clamp(18px, 2.5vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 12, 20, 0.58);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(8px);
}

.cobra-home-concept__games-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.cobra-home-concept__games-header p {
  margin-bottom: 0;
}

.cobra-home-concept__games-header h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.cobra-home-concept__leader-teaser {
  display: grid;
  grid-template-columns: minmax(150px, 0.58fr) minmax(0, 1.42fr);
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.cobra-home-concept__leader-title,
.cobra-home-concept__leader {
  background: rgba(11, 16, 27, 0.78);
}

.cobra-home-concept__leader-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
}

.cobra-home-concept__leader-title span {
  color: var(--cobra-cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.cobra-home-concept__leader-title a {
  color: var(--cobra-gold);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.cobra-home-concept__leader-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.cobra-home-concept__leader {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 8px;
  min-height: 58px;
  padding: 12px;
  color: var(--cobra-text);
  text-decoration: none;
}

.cobra-home-concept__leader:hover,
.cobra-home-concept__leader:focus,
.cobra-home-concept__leader-title a:hover,
.cobra-home-concept__leader-title a:focus {
  color: var(--cobra-cyan);
}

.cobra-home-concept__leader span {
  grid-row: span 2;
  color: var(--cobra-red);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
}

.cobra-home-concept__leader strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cobra-home-concept__leader em {
  overflow: hidden;
  color: var(--cobra-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cobra-home-concept__game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cobra-home-concept__game {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 4px 16px 0 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(247, 251, 255, 0.96);
  background: var(--cobra-panel-strong);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.cobra-home-concept__game::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  content: "";
  background: var(--cobra-red);
}

.cobra-home-concept__game:nth-child(3n + 2)::before {
  background: var(--cobra-cyan);
}

.cobra-home-concept__game:nth-child(3n)::before {
  background: var(--cobra-gold);
}

.cobra-home-concept__game:hover,
.cobra-home-concept__game:focus {
  transform: translateY(-2px);
  border-color: rgba(125, 247, 255, 0.44);
  color: #ffffff;
  background: rgba(14, 21, 35, 0.96);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.cobra-home-concept__game-name {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: inherit;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cobra-home-concept__game-type {
  padding: 5px 8px;
  border: 1px solid rgba(255, 216, 107, 0.24);
  border-radius: 999px;
  color: rgba(255, 216, 107, 0.9);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.cobra-home-concept__game-meta {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 6px;
  min-width: 0;
}

.cobra-home-concept__game-tag {
  padding: 5px 8px;
  border: 1px solid rgba(125, 247, 255, 0.22);
  border-radius: 999px;
  color: rgba(125, 247, 255, 0.92);
  background: rgba(125, 247, 255, 0.06);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.cobra-home-concept__game-arrow {
  color: var(--cobra-cyan);
  font-size: 28px;
  line-height: 1;
}

.cobra-home-concept__game.is-featured {
  border-color: rgba(255, 216, 107, 0.42);
  background: linear-gradient(135deg, rgba(255, 216, 107, 0.16), rgba(11, 16, 27, 0.94) 46%);
}

@media (max-width: 860px) {
  .cobra-home-concept__hero {
    grid-template-columns: 1fr;
  }

  .cobra-home-concept__center {
    order: -1;
    min-height: 0;
    padding-block: 6px;
  }

  .cobra-home-concept__feature-panel,
  .cobra-home-concept__game-grid,
  .cobra-home-concept__leader-teaser,
  .cobra-home-concept__leader-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cobra-home-concept {
    padding-inline: 16px;
  }

  .cobra-home-concept__games-header {
    align-items: flex-start;
    text-align: left;
  }

  .cobra-home-concept__center {
    align-items: center;
    text-align: center;
  }

  .cobra-home-concept__message {
    margin-left: 0;
  }

  .cobra-home-concept__brand-stack {
    gap: 10px;
  }

  .cobra-home-concept__brand-gif {
    width: 142px;
  }

  .cobra-home-concept__brand-wordmark {
    width: min(260px, calc(100vw - 72px));
  }

  .cobra-home-concept__paid-badge {
    width: min(210px, 62vw);
    margin-bottom: 0;
  }

  .cobra-home-concept__feature-card {
    min-height: 0;
  }

  .cobra-home-concept__game {
    min-height: 58px;
    padding-inline: 14px;
  }

  .cobra-home-concept__game-meta {
    gap: 5px;
  }

  .cobra-home-concept__game-tag {
    max-width: 82px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cobra-home-concept__game-type {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
