/*
Theme Name: MyTheme
Author: MyTheme Studio
Description: Theme converted from static layout
Version: 1.0.0
Text Domain: mytheme
*/

/* ------------------------------------------------------------
   Categories (grid/cards)
------------------------------------------------------------ */
#categories__main { margin: 28px 0 48px; }

#categories__main .categories__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

#categories__main .category-card{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
#categories__main .category-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.08);
}

#categories__main .category-card__img img{
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.category-card__text{
  display: flex;
  flex-direction: column;
}

.category-card__title{
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  line-height: 1.2;
}

.category-card__desc{
  font-size: 13px;
  color: #a0a0a0;
  margin-top: 2px;
}

@media (max-width: 900px){
  #categories__main .categories__grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 560px){
  #categories__main .categories__grid{ grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Content (front page)
------------------------------------------------------------ */
.home-content{ margin-top: 40px; }

/* Remove narrow limitation — width is controlled by containers alignwide/alignfull */
.home-content .entry-content{
  max-width: none;
  margin: 0;
}

/* Base heading typography */
h1, h2, h3, h4, h5, h6{
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin: 24px 0 12px;
}
h1{ font-size: clamp(28px, 3.0vw, 36px); }
h2{ font-size: clamp(22px, 2.4vw, 28px); margin-top: 20px; }
h3{ font-size: clamp(18px, 2.0vw, 22px); margin-top: 18px; }

/* Headings created with the Heading block (wp-block-heading) */
.entry-content h1.wp-block-heading{
  font-size: clamp(28px, 3.2vw, 38px);
  margin: 28px 0 16px;
}
.entry-content h2.wp-block-heading{
  font-size: clamp(22px, 2.6vw, 28px);
  margin: 24px 0 14px;
  color: #e0e6f0;
}
.entry-content h3.wp-block-heading{
  font-size: clamp(18px, 2.2vw, 22px);
  margin: 20px 0 12px;
  color: #cfd6e6;
}

/* Paragraphs / spacing between elements */
.entry-content p{ margin: 0 0 1rem; line-height: 1.6; }
.entry-content > *:not(:last-child){ margin-bottom: 1.4em; }

/* Lists */
.entry-content ul{
  list-style: disc outside;
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}
.entry-content ol{
  list-style: decimal outside;
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}
.entry-content li{ margin: .35rem 0; }

/* Tables */
.entry-content table{
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .95rem;
}
.entry-content th,
.entry-content td{
  border: 1px solid rgba(255,255,255,.15);
  padding: .75rem 1rem;
  vertical-align: top;
}
.entry-content tr:nth-child(even){
  background: rgba(255,255,255,.03);
}

/* Links inside text */
.entry-content a{
  text-decoration: underline;
  text-underline-offset: 2px;
}
.entry-content a:hover{ opacity: .9; }

/* Gutenberg button */
.entry-content .wp-block-button{ text-align: center; }
.entry-content .wp-block-button__link{
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  background: #fff;
  color: #141822;
  font-weight: 700;
  text-decoration: none;
}

/* ------------------------------------------------------------
   Wide / Full width support (Gutenberg)
------------------------------------------------------------ */

/* Wide blocks */
.alignwide{
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* Full-width blocks */
.alignfull{
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
  padding-left: 40px;   /* Inner padding so text doesn’t stick to edges */
  padding-right: 40px;
}

/* Inner full-width content — limit readable width */
.alignfull > *{
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* ==== Vertical spacing in content area (home-content) ==== */
.home-content .entry-content > * { margin-top: 1.2rem; margin-bottom: 1.2rem; }
.home-content .entry-content .wp-block-heading { margin-top: 1rem; margin-bottom: 1rem; }
.home-content .entry-content ul,
.home-content .entry-content ol { margin: 1rem 0 1.4rem; padding-left: 1.25rem; }
.home-content .entry-content .wp-block-image { margin: 1.6rem auto 1.6rem; text-align: center; }
.home-content .entry-content .wp-block-image img { display: block; height: auto; }
.home-content .entry-content p:has(+ .wp-block-image) { margin-bottom: 2.4rem; }
.home-content .entry-content .wp-block-buttons { margin: 1.2rem 0 2rem; justify-content: center; }
.home-content .entry-content .wp-block-button__link { margin: 0; }
.home-content .entry-content figure.wp-block-image,
.home-content .entry-content figure.aligncenter,
.home-content .entry-content img.aligncenter,
.home-content .entry-content p > img:only-child {
  display: block;
  margin: 1.6rem auto 1.6rem;
  max-width: 100%;
  height: auto;
}
.home-content .entry-content
:is(ul, ol, p, table, blockquote, pre)
+ :is(figure.wp-block-image, figure.aligncenter, p > img:only-child, img.aligncenter) {
  margin-top: 1.6rem !important;
}

/* Symmetrical spacing for headings */
.home-content .entry-content :is(h1,h2,h3,h4,h5,h6) { margin-block: 12px !important; }
.home-content .entry-content > :is(h1,h2,h3,h4,h5,h6):first-child { margin-top: 12px !important; }
.home-content .entry-content :is(p,ul,ol,table,figure,blockquote):has(+ :is(h1,h2,h3,h4,h5,h6)) { margin-bottom: 12px !important; }

/* ===== Content container (panel) ===== */
.games-info { width: 100%; margin: 24px 0 40px; }

/* NOW THE PANEL — FULL WIDTH */
.games-info__cnt {
  width: 100%;
  max-width: none;                  /* limitation removed */
  margin: 0 auto;
  padding: 28px 24px;               /* side padding to prevent text sticking */
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}

/* Prevent panel from sticking to footer */
.site-footer, footer, .footer { margin-top: 32px; }

/* Headings inside panel */
.games-info__cnt h1,
.games-info__cnt h2,
.games-info__cnt h3,
.games-info__cnt h4,
.games-info__cnt h5,
.games-info__cnt h6 {
  margin: 16px 0;
  line-height: 1.25;
}

/* ===== Unified vertical rhythm for content (main page) ===== */

/* 0) reset our/dark margins on the blocks, and set the rhythm only "from above" */
.home-content .entry-content > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* 1) APPLY INDO TO THE SECOND AND FURTHER ANY NEIGHBOR
      (universal "layer" between blocks) */
.home-content .entry-content > * + * {
  margin-top: 1.75rem; /* base spacing step — adjust as needed */
}

/* 2) Slightly more space before heavy blocks */
.home-content .entry-content > * + :is(.wp-block-image,
                                       .wp-block-gallery,
                                       .wp-block-media-text,
                                       .wp-block-buttons,
                                       .wp-block-table,
                                       .wp-block-quote) {
  margin-top: 1.75rem;
}

/* 3) Headings: symmetrical indents (if you need exactly “both top and bottom”) */
.home-content .entry-content :is(h1,h2,h3,h4,h5,h6) {
  margin-top: .9rem !important;
  margin-bottom: .9rem !important;
}

/* 4) Buttons: Don't add internal margins to avoid doubling the rhythm */
.home-content .entry-content .wp-block-buttons { justify-content: center; }
.home-content .entry-content .wp-block-button__link { margin: 0 !important; }

/* 5) Images: behave as block images, centered */
.home-content .entry-content .wp-block-image { text-align: center; }
.home-content .entry-content .wp-block-image img { display: block; height: auto; }

/* 6) Lists - normal internal indentation for bullets/numbering */
.home-content .entry-content ul,
.home-content .entry-content ol {
  padding-left: 1.25rem;
}

/* === Fallback for blockGap when there is no theme.json === */
:root{
  /* basic step between blocks, for yourself */
  --wp--style--block-gap: 1.25rem;
}

/* Indentation between neighbors within groups with flow/constraint layout */
.is-layout-flow > * + *,
.is-layout-constrained > * + *{
  margin-block-start: var(--wp--style--block-gap);
}

/* Buttons/Flex Groups - Manage Gap, Not Margin */
.is-layout-flex{ gap: var(--wp--style--block-gap); }
.wp-block-buttons.is-layout-flex{ gap: var(--wp--style--block-gap); }

/* The columns should have slightly larger gaps by default */
.wp-block-columns.is-layout-flex{ gap: calc(var(--wp--style--block-gap) * 1.5); }

/* Just in case, the pictures behave like blocks */
.wp-block-image img{ display:block; height:auto; }

/* instead of space-between */
.footer__cnt_info .footer__link li a{
  margin-left:0 !important;     /* in case there was margin-left:auto */
  white-space:nowrap;
}
.footer__cnt_info .footer__link ul{
  list-style:none; margin:0; padding:0;
  /* optional - so that the column does not "stretch" too wide */
  /* max-width: 420px; */
}

.footer__cnt_info { text-align:left !important; }

.footer__cnt.footer__cnt_info .footer__link ul li *{
  display:inline !important;
}

.footer__cnt.footer__cnt_info .footer__link ul li a{
  margin-left:0 !important;
  float:none !important;
  white-space:nowrap;
}

/* just in case, we'll reset any possible "stretching" inside */
.footer__cnt.footer__cnt_info .footer__link ul li > small{
  margin-right:0 !important;
}

/* remove any internal left margins */
.footer__cnt.footer__cnt_info,
.footer__cnt.footer__cnt_info .footer__link,
.footer__cnt.footer__cnt_info .footer__link ul {
  padding-left: 0 !important;
  margin-left: 0 !important;
  text-align: left !important;
  list-style: none !important;
}

/* build each line into 2 columns: label and e-mail */
.footer__cnt.footer__cnt_info .footer__link li{
  display: grid !important;
  grid-template-columns: 180px 1fr;  /* <-- width of the column with signatures */
  align-items: baseline !important;
  column-gap: 16px !important;
  justify-content: start !important;
}

/* so that everything is in line and nothing falls apart */
.footer__cnt.footer__cnt_info .footer__link li > *{
  margin: 0 !important;
  float: none !important;
}
.footer__cnt.footer__cnt_info .footer__link li a{
  white-space: nowrap;
  margin: 0 !important;
}

/* (optional) subheading at zero on the left edge of the same column */
.footer__cnt.footer__cnt_info > strong{
  display:block;
  margin: 0 0 10px 0 !important;
}

/* reduce the distance between all footer columns. */
.footer__main {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  column-gap: 40px !important;   /* ← adjust the distance between speakers */
  row-gap: 20px !important;
  align-items: start;
}

/* remove any possible additional indents from the columns themselves */
.footer__main > * {
  margin: 0 !important;
  padding: 0 !important;
}

/* protect from the parent's network if there was another one */
.footer-widgets, .footer__content, .footer__cnt {
  margin: 0 !important;
}

/* 1) Rigidly construct a grid of 5 equal columns */
.footer__main{
  display: grid !important;
  grid-template-columns: repeat(5, minmax(220px, 1fr)) !important;
  column-gap: 32px !important;   /* distance between columns */
  row-gap: 20px !important;
  align-items: start !important;
}

/* 2) Reset other players' flexes/floats/widths for straight children, so they don't push the grid apart with empty zones */
.footer__main > *{
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
  float: none !important;
  flex: 0 0 auto !important;
  display: block !important;
}

/* 3) The insides of columns should not affect the width of the entire column */
.footer__main .footer__cnt,
.footer__main .footer__apps,
.footer__main .footer__link,
.footer__main ul{
  margin: 0 !important;
  padding: 0 !important;
}

/* 4) For contact column, leave a neat two-column layout */
.footer__cnt.footer__cnt_info .footer__link li{
  display: grid !important;
  grid-template-columns: 190px 1fr !important;
  column-gap: 16px !important;
  align-items: baseline !important;
}

/* 5) Adaptive: 2 columns on tablet, one on mobile */
@media (max-width: 992px){
  .footer__main{ grid-template-columns: repeat(2, minmax(220px,1fr)) !important; }
}
@media (max-width: 560px){
  .footer__main{ grid-template-columns: 1fr !important; }
}

/* ============================================================
   FOOTER (clean): smooth speakers + neat contacts
   — Desktop: 5 equal column grid
   — Adaptive: 2 columns on tablet, 1 on mobile
   — Contacts: label and email in 2 columns
============================================================ */
.footer__main{
  display:grid;
  grid-template-columns:repeat(5, minmax(220px,1fr));
  column-gap:32px;
  row-gap:20px;
  align-items:start;
}
.footer__main > *{
  margin:0; padding:0;
  width:auto; max-width:none;
  float:none; flex:0 0 auto;
  display:block;
}
/* Contacts */
.footer__cnt.footer__cnt_info .footer__link ul{
  list-style:none; margin:0; padding:0;
}
.footer__cnt.footer__cnt_info .footer__link li{
  display:grid;
  grid-template-columns:200px 1fr; /* signature column width */
  column-gap:16px;
  align-items:baseline;
}
.footer__cnt.footer__cnt_info .footer__link li > *{ margin:0; }
.footer__cnt.footer__cnt_info .footer__link a{ white-space:nowrap; }
/* Left-aligned contact block header */
.footer__cnt.footer__cnt_info > strong{ display:block; margin:0 0 10px 0; }
/* Adaptive */
@media (max-width: 1100px){
  .footer__main{ grid-template-columns: repeat(3, minmax(220px,1fr)); }
}
@media (max-width: 900px){
  .footer__main{ grid-template-columns: repeat(2, minmax(220px,1fr)); column-gap:24px; }
  .footer__cnt.footer__cnt_info .footer__link li{ grid-template-columns:170px 1fr; }
}
@media (max-width: 560px){
  .footer__main{ grid-template-columns: 1fr; row-gap:16px; }
  .footer__cnt.footer__cnt_info .footer__link li{ grid-template-columns:140px 1fr; }
}

/* ==== Simplified footer grid (Bilgi + Kategoriler + Apps) ==== */
.footer__main{
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  column-gap: 48px;
  row-gap: 20px;
  align-items: start;
}

.footer__cnt strong{
  display:block;
  margin-bottom:10px;
  font-weight:600;
  color:#e6edf3;
}

.footer__link ul{
  list-style:none;
  margin:0;
  padding:0;
}
.footer__link li{
  margin-bottom:6px;
}
.footer__link a{
  color:#c9d1d9;
  text-decoration:none;
}
.footer__link a:hover{
  text-decoration:underline;
}

/* adaptive */
@media (max-width: 900px){
  .footer__main{
    grid-template-columns: repeat(2, minmax(220px,1fr));
    column-gap:32px;
  }
}
@media (max-width: 600px){
  .footer__main{
    grid-template-columns: 1fr;
    row-gap:16px;
  }
}

/* ==== Footer Apps: icons and arrangement ==== */
.footer__apps { width:100%; }
.footer__apps_grid{
  display:grid;
  grid-template-columns: 1fr 1fr;   /* Left column (iOS, Android), right column Windows */
  gap:12px 16px;
  align-items:start;
}

.footer__apps {
  justify-self: end;  /* ← place the icon block to the right edge of the grid */
}

.footer__app{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 14px;
  min-height:44px;
  border:1px solid rgba(255,255,255,0.18);
  border-radius:12px;
  background:#0f131b;
  text-decoration:none;
  color:#e6edf3;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.footer__app:hover{ border-color:rgba(255,255,255,0.28); }

.footer__app_icon svg{ display:block; width:28px; height:28px; }
.footer__app_text small{
  display:block; font-size:12px; line-height:1; opacity:.7; margin-bottom:2px;
}
.footer__app_text b{ font-size:14px; font-weight:700; }

/* — icons take the currentColor, we set their color separately — */
.footer__app_text small,
.footer__app_text b{ color:#e6edf3; }   /* the text as it was */

.footer__app_icon svg{ color:#e6edf3; } /* base color of icons */

/* If need brand colors by platform: */
.footer__app.is-apple   .footer__app_icon svg{ color:#ff0000; } /* Apple red */
.footer__app.is-android .footer__app_icon svg{ color:#3ddc84; } /* Android green */
.footer__app.is-windows .footer__app_icon svg{ color:#3a7bd5; } /* Windows blue */

/* Layout: Windows occupies the right column and is centered at the height of the two left buttons */
.footer__app.is-windows{
  grid-column:2;
  grid-row:1 / span 2;            /* occupy two rows */
  display:flex;
  align-items:center;
}

/* Minor tuning for a chip-style, as in the reference */
.footer__app.is-apple .footer__app_icon svg{ border-radius:8px; }
.footer__app.is-android .footer__app_icon svg{ border-radius:6px; }
.footer__app.is-windows .footer__app_icon svg{ border-radius:6px; }

/* Adaptive: on narrow ones - as a regular list */
@media (max-width: 820px){
  .footer__apps_grid{ grid-template-columns: 1fr; }
  .footer__app.is-windows{ grid-row:auto; grid-column:auto; }
}

/* ==== Footer bottom (copyright and 18+) ==== */
.footer__item {
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0;
}

.footer__desc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  color: #ffffff;
  padding: 0;
}

/* Text © */
.footer__desc p {
  margin: 0;
  line-height: 1.3;
  color: #ffffff;
}

/* Block "18+" */
.footer__plus {
  font-weight: 700;
  color: #ffffff;
  font-size: 16px;
}

/* A little bit adaptive */
@media (max-width: 768px) {
  .footer__desc {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

/* Adaptive for the application block */
@media (max-width: 768px) {
  .footer__apps {
    justify-self: start;
    margin-top: 20px;
  }
  .footer__apps_grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ==== Footer bottom: dividing strip + © and 18+ ==== */

/* If .footer__item comes immediately AFTER .footer__main, we apply these styles */
.footer__main + .footer__item {
  display: block;
  width: 100%;
  margin-top: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 0px;
  padding-bottom: 12px;
}

/* If suddenly .footer__item is still inside the grid .footer__main - stretch it to the full width */
.footer__main .footer__item {
  grid-column: 1 / -1;
  margin-top: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 0px;
  padding-bottom: 12px;
}

/* ==== Footer bottom: dividing strip + © and 18+ ==== */
.footer__desc{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:16px;
  color:#fff;             /* ← white */
  padding:8px 0;
  margin:0;
}
.footer__desc p{ margin:0; line-height:1; color:#ffffff; }  /* ← white */
.footer__plus{ font-weight:700; font-size:16px; color:#ffffff; }  /* ← white */

/* — Final override: white text in the bottom line of the footer — */
.footer__desc,
.footer__desc p,
.footer__plus,
.footer__plus .eyting-plus{
  color: #fff !important;
  opacity: 1 !important;
}

/* Container, if need a general one */
.container--wide { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Swiper */
.hero-swiper { margin: 12px 0 24px; }
.hero-swiper .swiper { border-radius: 14px; overflow: hidden; }
.hero-swiper .swiper-slide img { width: 100%; height: auto; display: block; }

/* Benefits */
.benefits { margin: 18px 0 28px; }
.benefits__list { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
@media (max-width:1024px){ .benefits__list{ grid-template-columns: repeat(3,1fr);} }
@media (max-width:640px){ .benefits__list{ grid-template-columns: repeat(2,1fr);} }
.benefits__item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px 16px;
  color: #fff;
}
.benefits__icon { font-size: 22px; margin-bottom: 6px; }
.benefits__title { font-weight: 700; margin-bottom: 6px; }
.benefits__desc { opacity: .85; font-size: 14px; line-height: 1.35; }

/* === BENEFITS ========================================================== */
.benefits { margin: 18px 0 28px; }
.benefits__list{
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 14px;
}
@media (max-width: 1280px){ .benefits__list{ grid-template-columns: repeat(4,1fr); } }
@media (max-width: 1024px){ .benefits__list{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px) { .benefits__list{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .benefits__list{ grid-template-columns: 1fr; } }

.benefits__item{
  display: flex; flex-direction: column; justify-content: flex-start;
  height: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px 16px;
  color: #fff;
}
.benefits__icon{ font-size: 22px; margin-bottom: 6px; line-height: 1; }
.benefits__title{ font-weight: 700; margin-bottom: 6px; }
.benefits__desc{ opacity: .85; font-size: 14px; line-height: 1.35; }

/* Removing the width restriction for Custom HTML blocks on this template */
.page-with-swiper .wp-block-html{
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Page container (if using .container--wide) */
.page-with-swiper .container--wide{
  max-width: 1200px; /* substitute our value */
  margin: 0 auto;
  padding: 0 16px;
}

/* Slider properties - we fix the height and cropping, inside it is already 100% of the width */

/* Adaptive benefits: 5→4→3→2→1 cards */
.benefits { margin: 18px 0 28px; }
.benefits__list{
  display:grid; gap:14px;
  grid-template-columns:repeat(5,minmax(0,1fr));
}
@media (max-width:1280px){ .benefits__list{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:1024px){ .benefits__list{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:768px) { .benefits__list{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px) { .benefits__list{ grid-template-columns:1fr; } }

.benefits__item{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:14px 16px;
  color:#fff;
  display:flex; flex-direction:column;
}
.benefits__icon{ font-size:22px; margin-bottom:6px; line-height:1; }
.benefits__title{ font-weight:700; margin-bottom:6px; }
.benefits__desc{ opacity:.85; font-size:14px; line-height:1.35; }

/* ===== Hero benefits (if needed) ===== */
.benefits{ margin: 18px 0 28px; }
.benefits__list{
  display:grid; gap:14px;
  grid-template-columns:repeat(5,minmax(0,1fr));
}
@media (max-width:1280px){ .benefits__list{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:1024px){ .benefits__list{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:768px) { .benefits__list{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px) { .benefits__list{ grid-template-columns:1fr; } }

.benefits__item{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:14px 16px;
  color:#fff;
  display:flex; flex-direction:column;
}

/* ====== OTHER: to prevent content from being compressed by the theme ====== */
.page-with-swiper .wp-block-html{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important; padding:0 !important;
}

/* ===== The HTML content block in this template is the full width of the container */
.page-with-swiper .wp-block-html{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;}
.page-with-swiper .container--wide{max-width:1600px; margin:0 auto; padding:0 16px;} /* adjust it to the main page */

/* ===== Benefits v2 (cards with SVG icons) ===== */
.benefits--pro { margin: 20px 0 28px; }
.benefits--pro .benefits__grid{
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, minmax(0,1fr));   /* 6 in a row - like on the main page */
}
@media (max-width: 1440px){ .benefits--pro .benefits__grid{ grid-template-columns: repeat(5,1fr); } }
@media (max-width: 1180px){ .benefits--pro .benefits__grid{ grid-template-columns: repeat(4,1fr); } }
@media (max-width: 900px) { .benefits--pro .benefits__grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 640px) { .benefits--pro .benefits__grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 420px) { .benefits--pro .benefits__grid{ grid-template-columns: 1fr; } }

.benefits--pro .benefit{
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  min-height: 84px;                       /* the same height */
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.benefits--pro .benefit:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
}

.benefits--pro .benefit__icon{
  width: 44px; height: 44px; flex: 0 0 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 30%, rgba(120,130,255,.45), rgba(80,90,220,.25));
  box-shadow: 0 6px 18px rgba(80,90,220,.25) inset, 0 2px 8px rgba(0,0,0,.25);
  color: #fff;                              /* line color in SVG */
}
.benefits--pro .benefit__icon svg{ display:block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }

.benefits--pro .benefit__text{ line-height: 1.25; }
.benefits--pro .benefit__title{ font-weight: 800; font-size: 15px; margin: 0 0 4px; }
.benefits--pro .benefit__desc{ opacity: .85; font-size: 13px; }

/* Single containers for all pages */
:root{
  --container-max: 1200px;   /* change if necessary */
  --container-pad: 16px;
}

/* The wrapper is the same as on the main page */
.main-container,
.container.page-container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* Internal content so that text/images don't run into the edges */
.content-inner {
  width: 100%;
}

/* Page title */
.page-title {
  margin: 24px 0 16px;
  line-height: 1.2;
}

/* Wide/full support for Gutenberg (if use it) */
.page-content .alignwide {
  max-width: min(calc(var(--container-max) + 200px), 95vw);
  margin-left: auto;
  margin-right: auto;
}

.page-content .alignfull {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

/* On narrow screens, the margins are slightly smaller */
@media (max-width: 480px){
  :root{ --container-pad: 12px; }
}

:root{
  --container-max: 1200px; /* can change it if want */
  --container-pad: 16px;
}

.main-container{
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.content-inner{ width: 100%; }

@media (max-width: 480px){
  :root{ --container-pad: 12px; }
}

/* DIAG: temporarily highlight the wrapper */
/* .main-container{ outline:2px dashed #4caf50 !important; background:rgba(76,175,80,.05) !important; }
.content-inner{ outline:2px dashed #ff9800 !important; } */

/* === Common variables === */
:root{
  --container-max: 1200px;     /* substitute the actual value if the main one is different */
  --gap-x: 24px;
}
@media (min-width: 992px){
  :root{ --gap-x: 40px; }
}

/* === NEW container for internal pages === */
.page-shell{
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gap-x);
  padding-right: var(--gap-x);
}

/* Utility: "container" width like games-info__cnt on the main page */
.games-info__cnt,                 /* existing on the main */
.page-shell{                      /* new one on the inside */
  box-sizing: border-box;
}

/* Gutenberg wide/full safe inside page-shell */
.page-shell .alignwide{
  max-width: min(calc(var(--container-max) + 200px), 95vw);
  margin-left: auto;
  margin-right: auto;
}
.page-shell .alignfull{
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

/* Don't stretch anything beyond the boundaries */
.page-shell img{ max-width:100%; height:auto; display:block; }

/* Inner Page Container (Home Grid Compatible) */
:root{ --container-max:1200px; --gap-x:24px; }
@media (min-width:992px){ :root{ --gap-x:40px; } }

.page-shell{
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gap-x);
  padding-right: var(--gap-x);
  box-sizing: border-box;
}

/* So that nothing protrudes beyond the container */
.page-shell .page-content,
.page-shell .entry-content{ max-width:100%; }
.page-shell img{ max-width:100%; height:auto; display:block; }

/* Gutenberg wide/full - safe inside container */
.page-shell .alignwide{
  max-width: min(calc(var(--container-max) + 200px), 95vw);
  margin-left:auto; margin-right:auto;
}
.page-shell .alignfull{
  width:100vw; margin-left:50%; transform:translateX(-50%);
}

/* === INTERNAL PAGES LAYOUT (keep LAST) === */
:root{
  --container-max: 1200px;
  --gap-x: 24px;
}
@media (min-width: 992px){
  :root{ --gap-x: 40px; }
}

/* Container of internal pages */
body.page .page-shell{
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gap-x);
  padding-right: var(--gap-x);
  box-sizing: border-box;
}

/* Nothing inside should narrow the width */
body.page .page-shell .page-content,
body.page .page-shell .entry-content{ max-width: 100%; }

/* Gutenberg wide/full safely */
body.page .page-shell .alignwide{
  max-width: min(calc(var(--container-max) + 200px), 95vw);
  margin-left:auto; margin-right:auto;
}
body.page .page-shell .alignfull{
  width:100vw; margin-left:50%; transform:translateX(-50%);
}

/* Images */
body.page .page-shell img{ max-width:100%; height:auto; display:block; }

/* ===== INNER PAGES: width via .page-shell ===== */
/* Set the desired width for the internal ones (it can be the same as on the main page, or < 1200px) */
body.page{
  --container-max-page: 1800px;
}

body.page .page-shell{
  max-width: var(--container-max-page);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gap-page);
  padding-right: var(--gap-page);
  box-sizing: border-box;
}

/* Gutenberg inside .page-shell - do not compress */
body.page .page-shell .wp-block-post-content,
body.page .page-shell .wp-block-group__inner-container.is-layout-constrained,
body.page .page-shell .is-layout-constrained{
  max-width: 100% !important;           /* The width is taken from .page-shell */
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* wide/full inside .page-shell */
body.page .page-shell .alignwide{
  max-width: min(calc(var(--container-max-page) + 200px), 95vw);
  margin-left: auto; margin-right: auto;
}
body.page .page-shell .alignfull{
  width: 100vw; margin-left: 50%; transform: translateX(-50%);
}

/* Insurance: the outer wrapping from the hat does not restrict anything on the inner ones */
body.page .main-container,
body.page .content-inner{
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Width for internal pages */
body.page { --container-max-page: 1874px; }

.page-shell{
  max-width: var(--container-max-page);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* Gutenberg inside the page-shell does not narrow content */
.page-shell .wp-block-group__inner-container.is-layout-constrained,
.page-shell .is-layout-constrained{
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* === Internal pages panel (like games-info on the main page) === */
:root{
  --page-radius: 18px;                  /* radius as on the main panel */
  --page-pad: 24px;
  --page-bg: #0f2530;                   /* panel background */
  --page-border: rgba(255,255,255,.06); /* thin frame */
  --page-accent-ht: 4px;                /* height of the top strip */
}

@media (min-width: 992px){
  :root{ --page-pad: 32px; }
}

/* Already created the width container via .page-shell — don't touch anything else */
.page-shell{
  /* max-width set it via --container-max-page as before */
  box-sizing: border-box;
}

/* Make the "panel" itself from the article */
.page-shell > article{
  position: relative;
  background: var(--page-bg);
  border: 1px solid var(--page-border);
  border-radius: var(--page-radius);
  padding: var(--page-pad);
  overflow: hidden;                     /* so that the strip and content are cut off by radius */
}

/* Colored top stripe as on the main page */
.page-shell > article::before{
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: var(--page-accent-ht);
  /* If desired, adjust the gradient to the main one */
  background: linear-gradient(90deg,#ff2aa6, #7b5bff, #40e0ff);
}

/* Page title - a little indentation */
.page-shell .page-title{
  margin: 8px 0 16px;
  line-height: 1.2;
}

/* Internal elements do not protrude beyond the radius */
.page-shell img{ max-width:100%; height:auto; display:block; border-radius: 8px; }
.page-shell .wp-block-group__inner-container.is-layout-constrained,
.page-shell .is-layout-constrained{
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* wide/full inside the panel safely */
.page-shell .alignwide{
  max-width: min(calc(var(--container-max-page,1200px) + 200px), 95vw);
  margin-left: auto; margin-right: auto;
}
.page-shell .alignfull{
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

/* Wrapper indent from top menu for all internal pages */
body:not(.home) .main-container {
    margin-top: 10px; /* can increase it, for example 50px if necessary */
}

/* More compact indentation on mobile */
@media (max-width: 768px) {
  body:not(.home) .main-container {
    margin-top: 10px;
  }
}

/* Mobile compact indentation for all pages */
@media (max-width: 768px) {

  /* decrease the header indent */
  #head_main {
    padding: 5px 10px !important;  /* It was 15px, now it's compact */
  }

  /* decrease container indentation */
  body .main-container {
    margin-top: 10px !important;   /* can make it 15px if you want it even smaller */
  }
}

/* Basic typography and spacing for internal page content */
body:not(.home) .entry-content,
body:not(.home) .page-content{
  --block-gap: 20px;         /* basic step between blocks */
  line-height: 1.6;
  font-size: 16px;
}

/* A single "rhythm": each subsequent block is spaced by --block-gap */
body:not(.home) .entry-content > * + *,
body:not(.home) .page-content  > * + *{
  margin-top: var(--block-gap);
}

/* Paragraphs */
body:not(.home) .entry-content p{
  margin: 0;                 /* reset */
}
body:not(.home) .entry-content p + p{
  margin-top: 1rem;          /* spacing between paragraphs */
}

/* Headers */
body:not(.home) .entry-content h1,
body:not(.home) .entry-content h2,
body:not(.home) .entry-content h3,
body:not(.home) .entry-content h4{
  margin: 2rem 0 0.75rem;
  line-height: 1.25;
}
body:not(.home) .entry-content h2{ font-size: 1.5rem; }
body:not(.home) .entry-content h3{ font-size: 1.25rem; }

/* Lists */
body:not(.home) .entry-content ul,
body:not(.home) .entry-content ol{
  margin: 1rem 0;
  padding-left: 1.25rem;
}
body:not(.home) .entry-content li + li{ margin-top: .5rem; }

/* Images and figure */
body:not(.home) .entry-content img{
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
body:not(.home) .entry-content figure{
  margin: 1rem 0;
}

/* Tables */
body:not(.home) .entry-content table{
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
body:not(.home) .entry-content th,
body:not(.home) .entry-content td{
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.15);
}
body:not(.home) .entry-content thead th{
  background: rgba(255,255,255,.06);
  font-weight: 600;
}

/* Gutenberg Buttons */
body:not(.home) .entry-content .wp-block-button{
  margin-top: 1rem;
}
body:not(.home) .entry-content .wp-block-button__link{
  padding: 10px 18px;
  border-radius: 10px;
}

/* Quotes */
body:not(.home) .entry-content blockquote{
  margin: 1.25rem 0;
  padding: .75rem 1rem;
  border-left: 3px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.04);
  border-radius: 6px;
}

/* Alignwide/full support */
body:not(.home) .entry-content .alignwide{
  max-width: min(1200px + 200px, 95vw);
  margin-left: auto; margin-right: auto;
}
body:not(.home) .entry-content .alignfull{
  width: 100vw; margin-left: 50%; transform: translateX(-50%);
}

/* Mobile - more compact indents and headings */
@media (max-width: 768px){
  body:not(.home) .entry-content,
  body:not(.home) .page-content{ --block-gap: 16px; }
  body:not(.home) .entry-content h2{ font-size: 1.35rem; }
  body:not(.home) .entry-content h3{ font-size: 1.15rem; }
}

body:not(.home) .entry-content h1:first-child {
    margin-top: 0 !important;
}

/* Centering images on internal pages */
body:not(.home) .entry-content img,
body:not(.home) .page-content img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

/* Media and text: image on the left, text on the right */
body:not(.home) .entry-content .wp-block-media-text{
  align-items: center;
  column-gap: 24px;
}
body:not(.home) .entry-content .wp-block-media-text .wp-block-media-text__media img{
  margin: 0;           /* cancel the global centering within this block */
  display: block;
  height: auto;
  max-width: 100%;
  border-radius: 10px;  /* optional */
}
@media (max-width: 768px){
  body:not(.home) .entry-content .wp-block-media-text{
    column-gap: 16px;
  }
}

/* container base on the internal */
.entry-content .games-info__cnt{
  position: relative;             /* mandatory for ::before */
}

/* the strip itself (if it is not on the internal ones from home.css) */
.entry-content .games-info__cnt::before{
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;                         /* will be inside the top padding */
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e084ff, #00b1ff);
  pointer-events: none;
  z-index: 1;
}

/* On the internal ones it's turned off somewhere - turn it back on */
.casino__right_info .games-info__cnt::before{
  display: block !important;
}

.benefit a.benefit__link {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.benefit .benefit__link {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  gap: 14px; /* <<< it's this space between the icon and the text */
}

/* Makes the entire .benefit clickable without changing the layout or dimensions */
.benefit { position: relative; }
.benefit__overlay {
  position: absolute;
  inset: 0;                /* top:0 right:0 bottom:0 left:0 */
  display: block;
  z-index: 3;
  border-radius: inherit;  /* repeat the rounding of the card */
  text-indent: -9999px;    /* hide text for visual readers, but leave it for readers */
  overflow: hidden;
}

/* Focus on tabs for accessibility */
.benefit__overlay:focus {
  outline: 2px solid rgba(255,255,255,.35);
  outline-offset: 2px;
}

@media (min-width: 421px) and (max-width: 450px) {
  .games-info__cnt.games-info__cnt--accent {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* 421–450 px: align the left/right edge of the block with cubes */
@media (min-width:421px) and (max-width:450px){

  /* wrapper - symmetrical paddings and a correct box model */
  .games-info__cnt.games-info__cnt--accent{
    box-sizing: border-box;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* Resetting internal padding/margins for a list (ul) */
  .games-info__cnt .benefits__grid{
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;

    /* just in case - a "safe" grid formula and a slightly smaller gap */
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  /* so that the contents of the cards do not burst the column */
  .games-info__cnt .benefit{ min-width: 0; box-sizing: border-box; }
  .games-info__cnt .benefit__text{ min-width: 0; }
}

/* Remove the purple highlight and layer on the icons inside the pages */
.page .benefit__icon,
.page .benefit__icon img {
    filter: none !important;
    box-shadow: none !important;
    background: none !important;
}

/* ==== Footer logo fix ==== */

.logoContainer__logo img{
  display: block;
  width: auto;
  height: 32px; /* actual height of the logo */
}

.logoContainer__logo{
  display: flex;
  align-items: center;
}


/* ============================================================
   HERO (CLEAN) — 1090x470 banners without text cropping
(last block in the file to accurately override old styles)
============================================================ */

/* Grid: 3 columns - swipe on the left, 2 cubes on the right */
.hero-row.hero-row--3cols{
  display: grid;
  grid-template-columns: 2.4fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
  margin: 12px 0 24px;
}
.hero-row.hero-row--3cols .hero-left{ min-width: 0; }

/* Swiper */
.hero-swiper{
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}
.hero-swiper .swiper-slide{
  aspect-ratio: 1090 / 470; /* strictly according to the source 1090x470 */
  height: auto;
}
.hero-swiper .swiper-slide img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;      /* KEY: don't cut anything → the text doesn't "flow" */
  object-position: center;
  background: rgba(0,0,0,.15); /* soft backing for possible "fields" */
}

/* Pagination/arrows inside the banner */
.hero-swiper .swiper-pagination{ left:0; right:0; bottom: 10px !important; }
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next{ top:50%; width:44px; height:44px; margin-top:-22px; }

/* Right cubes (only inside hero-row--3cols, so as not to touch other places) */
.hero-row.hero-row--3cols > .promo-card{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: #fff;
  background: rgba(26,26,38,.6);
  border: 1px solid rgba(255,255,255,.12);
}
.hero-row.hero-row--3cols > .promo-card .promo-card__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* for "cubes" trimming is ok */
  object-position: center;
  z-index: -1;
}
.hero-row.hero-row--3cols > .promo-card .promo-card__title{
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.hero-row.hero-row--3cols > .promo-card .promo-card__btn{
  display: inline-block;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,.92);
  color: #1a1a26;
}

/* Adaptive */
@media (max-width: 992px){
  .hero-row.hero-row--3cols{
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .hero-row.hero-row--3cols .hero-left{ grid-column: 1 / -1; }
  .hero-row.hero-row--3cols > .promo-card{ min-height: 220px; }
}
@media (max-width: 420px){
  .hero-row.hero-row--3cols{
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-row.hero-row--3cols > .promo-card{ min-height: 200px; }
}

/* Hide search block in mobile drawer */
@media (max-width: 1024px) {
  #mobile-drawer .search_input {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  #mobile-drawer .header__wrap {
    padding-top: 0;
  }
}

@media (max-width: 1024px) {
  #mobile-drawer .search_input {
    display: none !important;
  }

  #mobile-drawer .header__wrap {
    padding-top: 0 !important;
  }
}

/* CTA (when cta-btn is on .wp-block-button wrapper) */
.wp-block-button.cta-btn > .wp-block-button__link{
  background: #1e90ff;
  color: #fff !important;

  border-radius: 999px;
  padding: 14px 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .2px;

  border: 0 !important;
  outline: none !important;
  text-decoration: none !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 24px rgba(30,144,255,0.28);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, filter .18s ease;
  -webkit-tap-highlight-color: transparent;
}

/* Active */
.wp-block-button.cta-btn > .wp-block-button__link:active{
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(30,144,255,0.26);
}

/* Focus */
.wp-block-button.cta-btn > .wp-block-button__link:focus-visible{
  box-shadow: 0 0 0 3px rgba(255,255,255,0.18), 0 12px 28px rgba(30,144,255,0.38);
}

@media (hover: hover){
  .wp-block-button.cta-btn > .wp-block-button__link:hover{
    background:#1677d9;
    transform:translateY(-2px);
    box-shadow:
      0 12px 26px rgba(30,144,255,0.32),
      0 0 0 2px rgba(255, 46, 166, 0.40),
      0 0 14px rgba(255, 46, 166, 0.45);
  }
}

/* Force override Gutenberg palette colors for our CTA variants */
.wp-block-button.cta-btn > .wp-block-button__link{
  background-color:#1e90ff !important;
}

@media (hover: hover){
  .wp-block-button.cta-btn > .wp-block-button__link:hover{
    background-color:#1677d9 !important;
  }
}

/* CTA INLINE — SOFT FILL */
.wp-block-button.cta-inline > .wp-block-button__link{
  background-color: rgba(30,144,255,0.10) !important;
  color: #e9f4ff !important;
  border: 1px solid rgba(30,144,255,0.35) !important;
  box-shadow: 0 0 0 1px rgba(30,144,255,0.12) inset;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 600;
  letter-spacing: .2px;
  line-height: 1;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;

  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

@media (hover: hover){
  .wp-block-button.cta-inline > .wp-block-button__link:hover{
    background-color: rgba(30,144,255,0.16) !important;
    border-color: rgba(255, 46, 166, 0.55) !important;
    box-shadow:
  0 0 0 1px rgba(255, 46, 166, 0.22) inset,
  0 0 0 2px rgba(255, 46, 166, 0.25),
  0 0 14px rgba(255, 46, 166, 0.20);
    transform: translateY(-1px);
  }
}

.wp-block-button.cta-inline > .wp-block-button__link:active{
  transform: translateY(0);
  box-shadow: 0 0 0 1px rgba(30,144,255,0.12) inset;
}

.wp-block-button.cta-inline > .wp-block-button__link:focus-visible{
  box-shadow: 0 0 0 3px rgba(255,255,255,0.20), 0 0 12px rgba(30,144,255,0.35);
}

/* Disable click on current page links in all menus */
.current-menu-item > a,
.current_page_item > a{
  pointer-events: none;
  cursor: default;
}

/* BREADCRUMBS */

.breadcrumbs {
  margin: 16px 0 20px;
  font-size: 14px;
  line-height: 1.4;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs__link {
  color: #9fb3c8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs__link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.breadcrumbs__current {
  color: #ffffff;
  font-weight: 500;
}

.breadcrumbs__sep {
  color: #6f8193;
  user-select: none;
}

.breadcrumbs-wrap{
  margin-top: 12px;
}

.error404 .site-main,
.error404-page {
  min-height: calc(100vh - 160px);
}

.error404-page {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 153, 255, 0.12) 0%, rgba(0, 153, 255, 0) 32%),
    radial-gradient(circle at 80% 15%, rgba(0, 183, 255, 0.10) 0%, rgba(0, 183, 255, 0) 28%),
    linear-gradient(180deg, #070d18 0%, #0a1220 50%, #08111d 100%);
}

.error404-box {
  position: relative;
  width: 100%;
  max-width: 760px;
  padding: 56px 36px;
  text-align: center;
  border: 1px solid rgba(76, 184, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(12, 20, 36, 0.96) 0%, rgba(8, 15, 28, 0.94) 100%);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 0 32px rgba(0, 153, 255, 0.08);
  overflow: hidden;
  isolation: isolate;
}

.error404-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.error404-bg--1 {
  top: -120px;
  left: 50%;
  width: 360px;
  height: 360px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 183, 255, 0.24) 0%, rgba(0, 183, 255, 0) 72%);
}

.error404-bg--2 {
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 140, 255, 0.14) 0%, rgba(0, 140, 255, 0) 72%);
}

.error404-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 100%);
}

.error404-logo,
.error404-label,
.error404-code-wrap,
.error404-title,
.error404-text,
.error404-btn {
  position: relative;
  z-index: 1;
}

.error404-logo {
  margin-bottom: 18px;
}

.error404-logo img {
  display: inline-block;
  max-width: 124px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(0, 170, 255, 0.16));
}

.error404-label {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #60c7ff;
}

.error404-code-wrap {
  margin-bottom: 18px;
}

.error404-code {
  display: inline-block;
  font-size: clamp(78px, 15vw, 148px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow:
    0 0 18px rgba(0, 183, 255, 0.32),
    0 0 42px rgba(0, 183, 255, 0.18),
    0 10px 30px rgba(0, 0, 0, 0.35);
}

.error404-title {
  margin: 0 0 16px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
}

.error404-text {
  max-width: 590px;
  margin: 0 auto 30px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

.error404-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 56px;
  padding: 0 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, #11b8ff 0%, #008cff 100%);
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  box-shadow:
    0 14px 34px rgba(0, 140, 255, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.error404-btn:hover,
.error404-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 18px 38px rgba(0, 140, 255, 0.36),
    0 0 22px rgba(0, 183, 255, 0.22);
  filter: brightness(1.05);
}

.error404-btn:active {
  transform: translateY(0);
}

@media (max-width: 767px) {
  .error404-page {
    padding: 32px 16px;
  }

  .error404-box {
    padding: 40px 20px;
    border-radius: 22px;
  }

  .error404-logo {
    margin-bottom: 16px;
  }

  .error404-logo img {
    max-width: 112px;
  }

  .error404-label {
    font-size: 12px;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
  }

  .error404-code-wrap {
    margin-bottom: 14px;
  }

  .error404-title {
    margin-bottom: 14px;
  }

  .error404-text {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .error404-btn {
    width: 100%;
    max-width: 290px;
    min-height: 54px;
  }
}

/* === HOME SITELINKS (z8) === */

.home-sitelinks {
  margin: 56px 0 28px;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(18, 30, 60, 0.65), rgba(10, 18, 38, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.home-sitelinks__title {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.home-sitelinks__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-sitelinks__link {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #eaf2ff;
  text-decoration: none;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.02);
}

.home-sitelinks__link:hover {
  color: #ffffff;
  background: rgba(0, 150, 255, 0.12);
  box-shadow: 0 0 12px rgba(0, 150, 255, 0.25);
  transform: translateY(-1px);
}

.home-sitelinks__link:active {
  transform: translateY(0);
  box-shadow: none;
}

/* mobile */
@media (max-width: 768px) {
  .home-sitelinks {
    padding: 20px;
    border-radius: 16px;
  }

  .home-sitelinks__title {
    font-size: 20px;
  }

  .home-sitelinks__list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-sitelinks__link {
    font-size: 14px;
    padding: 10px 12px;
  }
}

html, body, button, input, select, textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* === Block Top Platforms === */

.top-platforms {
  max-width: 1100px;
  margin: 44px auto;
}

.top-platforms h2 {
  margin-bottom: 18px;
}

.platform-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  transition: all 0.3s ease;
}

.platform-card:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.095), rgba(255,255,255,0.045));
  border-color: rgba(77,181,255,0.35);
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.28);
}

.platform-card h3 {
  margin: 0 0 10px;
}

.platform-card p {
  margin: 0 0 8px;
}

.platform-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(77,181,255,0.16);
  border: 1px solid rgba(77,181,255,0.45);
  color: #7fd0ff;
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
  transition: all 0.25s ease;
}

.platform-card a:hover {
  background: rgba(77,181,255,0.26);
  border-color: rgba(77,181,255,0.75);
  color: #ffffff;
  transform: translateY(-1px);
  text-decoration: none;
}

@media (max-width: 768px) {
  .top-platforms {
    margin: 32px 0;
  }

  .platform-card {
    padding: 18px;
    border-radius: 14px;
  }
}

.platform-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.platform-head h3 {
  margin: 0;
}

.platform-icon {
  font-size: 22px;
  line-height: 1;
}

.platform-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.badge-top {
  background: rgba(77,181,255,0.35);
  border: 1px solid rgba(77,181,255,0.55);
}

.badge-hot {
  background: rgba(255,139,61,0.35);
  border: 1px solid rgba(255,139,61,0.55);
}

.badge-new {
  background: rgba(90,220,150,0.30);
  border: 1px solid rgba(90,220,150,0.50);
}

.platform-card:hover .platform-icon {
  transform: scale(1.1);
  transition: 0.3s;
}

.platform-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 10px;
}

.platform-rating .stars {
  color: #ffc94d;
  font-size: 14px;
  letter-spacing: 1px;
}

.platform-rating .score {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
}

.platform-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.platform-brand img {
  height: 28px;
  width: auto;
  display: block;
  margin-bottom: 2px;
}

/* === Responsive wide tables on home page === */
.home .table-wide-mobile,
.home .wp-block-table.table-wide-mobile {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.home .table-wide-mobile table,
.home .wp-block-table.table-wide-mobile table {
  min-width: 720px;
  width: 100%;
  border-collapse: collapse;
}

@media (max-width: 768px) {
  .home .table-wide-mobile,
  .home .wp-block-table.table-wide-mobile {
    display: block;
    overflow-x: auto;
  }

  .home .table-wide-mobile table,
  .home .wp-block-table.table-wide-mobile table {
    min-width: 720px;
  }
}

/* === Footer Partner Logo === */

.footer-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  margin-right: 20px;
}

.footer-partner span {
  font-size: 10px;
  line-height: 1;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.footer-partner img {
  height: 24px;
  width: auto;
  display: block;
  opacity: .9;
}

@media (max-width: 768px) {
  .footer-partner {
    margin: 10px 0;
  }
}

/* === Block How To Register, Deposit, Withdraw === */

.how-to-use {
  margin-top: 40px;
}

.how-to-use h2 {
  margin-bottom: 15px;
}

.how-to-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.how-to-item {
  background: rgba(255,255,255,0.03);
  padding: 20px;
  border-radius: 12px;
  transition: 0.3s;
}

.how-to-item:hover {
  background: rgba(255,255,255,0.06);
}

.how-to-item h3 {
  margin-bottom: 10px;
}

.how-to-item a {
  display: inline-block;
  margin-top: 10px;
  color: #4db5ff;
  font-weight: 500;
}

/* MOBILE */
@media (max-width: 768px) {
  .how-to-grid {
    grid-template-columns: 1fr;
  }
}

/* === Block Payment Methods === */

.payment-methods-section {
  padding: 48px 16px;
  background: #071827;
  color: #fff;
}

.payment-methods-container {
  max-width: 1120px;
  margin: 0 auto;
}

.payment-methods-head {
  text-align: center;
  margin-bottom: 30px;
}

.payment-methods-head .section-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #38bdf8;
  font-size: 14px;
  font-weight: 700;
}

.payment-methods-head h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.25;
}

.payment-methods-head p {
  max-width: 700px;
  margin: 0 auto;
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.6;
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.payment-method-card {
  background: linear-gradient(180deg, #102b45 0%, #0c2138 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.payment-methods-cta {
    margin: 32px 0 52px;
    text-align: center;
}

.payment-logo-wrap {
  height: 92px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.payment-logo-wrap img {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
  display: block;
}

.payment-method-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.payment-method-card p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.5;
}

.payment-methods-cta {
  margin-top: 26px;
  text-align: center;
}

.payment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  background: #1f8fe5;
  color: #06121f;
  font-weight: 700;
  text-decoration: none;
}

.payment-btn:hover {
  opacity: 0.9;
}

@media (max-width: 900px) {
  .payment-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .payment-methods-section {
    padding: 36px 14px;
  }

  .payment-methods-head h2 {
    font-size: 23px;
  }

  .payment-methods-grid {
    grid-template-columns: 1fr;
  }

  .payment-logo-wrap {
    height: 86px;
  }
}