/* ---------- Design  -------------------------------------------- */
:root {
  --c-bg: #F5F8FB;
  --c-h123: #0F2F45;
  --c-text: #163A52;
  --c-grey: #8BA0B1;
  --c-white: #FFFFFF;
  --c-red: #db9124;        
  --c-red-hover: #E69A1A;  
  --c-header-bg: #0F5A91;  
  --c-nav-bg: #0E4A78;     
  --c-hero-mid: #EAF4FF;
  --c-cookie-bg: #EAF4FF;
  --c-faq-bg: #E4EEF9;
  --c-faq-open-bg: #F0F6FF;
  --c-toc-bg: #E7F2FB;
  --c-toc-link-bg: rgba(19, 113, 181, 0.10);
  --c-border: #D6E3F0;
  --c-shadow: rgba(19, 113, 181, 0.10);
  --c-gallery-shadow: rgba(255, 183, 85, 0.11);
  --c-overlay: rgba(11, 58, 95, 0.85);
  --container: 1200px;
  --c-primary: #1371B5;
  --c-primary-700: #0F5A91;
  --c-primary-600: #1371B5;
  --c-primary-500: #1B7FC7;
  --c-primary-400: #3A94D6;
}


/* ---------- 2. Base reset & headings ------------------------------------ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}

body{
  background:var(--c-bg);
  color:var(--c-text);
  font:17px/1.5 "Inter",Arial,sans-serif;
}

h1 {
  font-size: clamp(2rem, 1.6rem + 1vw, 2.5rem);
  line-height: 1.3;
}

article h1, aside h1, nav h1, section h1,
:where(article,aside,nav,section) h1 {
  font-size: clamp(2rem, 1.6rem + 1vw, 2.5rem);
  line-height: 1.3;
}

h1,h2,h3{
  font-weight:700;
  line-height:1.3;
  margin:1.5rem 0;
  text-align:left;
}
h1{font-size:2.5rem;}
h2{font-size:2rem;}
h3{font-size:1.5rem;}

:where(article,aside,nav,section) h1{
  font-size: 2.5rem !important;
  line-height: 1.3 !important;
}

a[tb-on\:click]{cursor:pointer;}


/* ---------- 3. Generic layout helpers ----------------------------------- */
.main,
.container{max-width:var(--container);margin:0 auto;padding:0 1rem;}
.container .container{padding:0;}

.section{padding:1rem 0;}
.section-title{
  text-align:center;
  font-size:2rem;
  margin-bottom:2rem;
  color:var(--c-h123);
}

@media (max-width: 1200px){
  .reviews, .reviews-block, .casino-list, .menu-cards, .gallery,
  .article-list, .best-games .tab:not(.active), .site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 800px;
  }
}

/* ---------- 4. Header & primary nav ------------------------------------- */
.site-header{background:var(--c-header-bg);}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:1rem 0;flex-wrap:nowrap;
}

/* logo */
.logo{
  flex:0 0 auto;
  color:var(--c-red);
  font-weight:700;
  font-size:1.25rem;
  text-decoration:none;
  margin-right:.3rem;
}

/* burger icon */
.nav-toggle{display:none;}

.burger{
  flex:0 0 28px;
  position:relative;
  width:28px;height:22px;
  cursor:pointer;margin-right:1rem;
  z-index:1101;            /* above off-canvas menu */
}
.burger span,
.burger::before,
.burger::after{
  content:"";
  position:absolute;left:0;right:0;height:3px;
  background:var(--c-red);
  transition:transform .3s,opacity .3s;
}
.burger span{top:50%;transform:translateY(-50%);}
.burger::before{top:0;}
.burger::after{bottom:0;}

.nav-toggle:checked + .burger::before{transform:translateY(9px) rotate(45deg);}
.nav-toggle:checked + .burger::after{transform:translateY(-9px) rotate(-45deg);}
.nav-toggle:checked + .burger span{opacity:0;}

/* menu */
.menu{display:flex;gap:1.25rem;list-style:none;}
.menu>li{position:relative;}
.menu a,
.menu span{color:var(--c-white);text-decoration:none;font-weight:500;}
.menu a:hover{color:var(--c-red);}

.menu li.active>a,
.menu li.current>a,
.menu li.active>span,
.menu li.current>span{color:var(--c-red);}
.menu li.active>a:hover,
.menu li.current>a:hover{color:var(--c-red);}

.has-children>span{cursor:default;}

.submenu{
  display:none;position:absolute;left:0;top:100%;
  background:var(--c-nav-bg);padding:.5rem 0;min-width:180px;
}
.submenu li{padding:.5rem 1rem;}
.menu li:hover>.submenu{display:block;}

/* header buttons */
.header-buttons{
  display:flex;align-items:center;gap:1rem;
  margin-left:auto;flex:0 0 auto;max-width:40%;
}

/* ---------- 5. Hero ------------------------------------------------------ */
.hero{
  padding:5rem 0;text-align:center;
  background:radial-gradient(circle at center,
            var(--c-red) 0%,
            var(--c-hero-mid) 60%,
            var(--c-bg) 100%);
}
.hero h1{font-size:2.5rem;margin-bottom:1rem;}
.hero p{font-size:1.125rem;color:var(--c-grey);}


/* ---------- 6. Buttons --------------------------------------------------- */
.btn-primary{
  display:inline-block;
  background:var(--c-red);
  color:var(--c-text);
  padding:.65rem 1.5rem;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
  animation:btnPulse 2s infinite ease-in-out;
}
.btn-primary:hover{background:var(--c-red-hover);}
@keyframes btnPulse{
  0%{transform:scale(1);box-shadow:0 0 0 rgba(241,215,55,0);}
  50%{transform:scale(1.05);box-shadow:0 0 24px rgba(241,151,0,.7);}
  100%{transform:scale(1);box-shadow:0 0 0 rgba(241,215,55,0);}
}

/* CTA block */
.cta-center{
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

/* Promo code card inside CTA */
.cta-block .promo-box{
  border: 1px solid var(--c-border);
  background:
    radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--c-header-bg) 30%, transparent) 0%, transparent 70%),
    var(--c-white);
  color: var(--c-text);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  padding: clamp(16px, 3vw, 24px);
}

.cta-block .promo-sub{
  margin: 0 0 .5rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-h123, #111);
  opacity: .85;
}

.cta-block .promo-code{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px dashed var(--c-border);
  background: color-mix(in srgb, var(--c-hero-mid) 65%, white);
  border-radius: 12px;
  padding: 10px 12px;
}

.cta-block .promo-code__text{
  font-weight: 700;
  font-size: clamp(18px, 3.8vw, 24px);
  letter-spacing: .08em;
  color: var(--c-h123, #111);
  user-select: all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cta-block .promo-code__copy{
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: var(--c-red);
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.cta-block .promo-code__copy:hover{ background: var(--c-red-hover, #c31818); transform: translateY(-1px); }
.cta-block .promo-code__copy:active{ transform: translateY(0); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.cta-block .promo-code__copy:focus-visible{
  outline: 2px solid color-mix(in srgb, var(--c-red) 60%, white);
  outline-offset: 2px;
}

.cta-block .promo-desc{
  margin: 10px 0 0;
  line-height: 1.35;
  color: var(--c-text);
}

/* Compact on narrow screens */
@media (max-width: 900px){
  .cta-block .promo-box{ margin-top: 12px; }
}
@media (max-width: 480px){
  .cta-block .promo-code{ gap: 8px; padding: 8px 10px; }
  .cta-block .promo-code__copy{ padding: 8px 12px; }
}


/* stack two header buttons on phones ≤400 px */
@media(max-width:400px){
  .header-buttons{flex-direction:column;align-items:flex-end;gap:.5rem;}
  .btn-bonus-box{
    width:42px;height:42px;padding:0;
    background:url('/assets/images/gift.png') center/28px 28px no-repeat var(--c-bg);
    color:transparent;text-indent:-9999px;overflow:hidden;border:none;
  }
  .btn-bonus-box:focus{outline:2px solid var(--c-red-hover);outline-offset:2px;}
  .cta-center .btn-primary{
    width: 100%;
    max-width: 420px;
    text-align: center;
  }
}


/* ---------- 7. Lists / numbered steps ------------------------------------ */
.steps{counter-reset:step;list-style:none;margin-top:2rem;}
.steps li{
  display:flex;gap:1rem;align-items:flex-start;margin-bottom:1rem;
}
.steps li::before{
  counter-increment:step;
  content:counter(step);
  background:var(--c-red);color:var(--c-text);
  width:32px;height:32px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-weight:700;
}
.steps span{flex:1;}

/* features list (marker inside <li>) */
.features{margin:0;padding-left:1.4em;}
.features li{list-style-position:inside;}
.features li p{margin:0;}


/* ---------- 8. Info / slot tables ---------------------------------------- */
.info-table,
.slot-table,
main.container table{width:100%;border-collapse:collapse;}

.info-table{color:var(--c-text);}
.info-table th,
.info-table td{
  padding:.75rem 1rem;
  border:1px solid var(--c-border);
}
.info-table th{
  background:var(--c-nav-bg);
  text-align:left;
  color:var(--c-grey);
}

/* slot-table (special header / tags) */
.slot-table{
  font-size:.9375rem;color:var(--c-text);min-width:600px;
}
.slot-table thead th{
  background:var(--c-nav-bg);
  padding:.75rem 1rem;
  border:1px solid var(--c-border);
  font-weight:600;white-space:nowrap;
}
.slot-table td,
.slot-table tbody th{
  padding:.65rem 1rem;border:1px solid var(--c-border);
}
.slot-table tbody tr:nth-child(even){background:rgba(0,0,0,.025);}
.slot-table .tag{
  display:inline-block;margin-left:.35rem;padding:.15rem .45rem;
  font-size:.75em;border-radius:4px;
  background:var(--c-red);color:var(--c-white);
}

/* generic tables inside article */
main.container thead{ background: var(--c-header-bg); }
main.container thead th{ color: var(--c-white); }

main.container th{
  padding:.9rem 1rem;
  font-weight:600;
  text-align:left;
  border-bottom:2px solid var(--c-red);
  color:var(--c-h123);
}
main.container td{
  padding:.75rem .9rem;
  color:var(--c-text);
  border:1px solid var(--c-border);
  word-break:break-word;
}
main.container tbody tr:nth-child(even){ background:var(--c-hero-mid); }
main.container tbody tr:hover{ background:var(--c-cookie-bg); }
main.container th:first-child,
main.container td:first-child{
  color:var(--c-red);
  font-weight:600;
}


@media (max-width:1200px){

  main.container table{
    display:block;                 
    width:max-content;             
    max-width:100%;                
    overflow-x:auto;               
    -webkit-overflow-scrolling:touch;
    table-layout:auto;             
  }

  main.container th,
  main.container td{
    padding:.6rem .7rem;
    font-size:.9rem;
  }

  .main, .container, main.container{
    overflow-x:hidden;
  }
}





/* ---------- 9. Gallery --------------------------------------------------- */
.gallery{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;
}
.gallery img{
  width:100%;border-radius:6px;object-fit:cover;
  cursor:zoom-in;transition:transform .3s,box-shadow .3s,filter .3s;
}
.gallery img:hover{
  transform:scale(1.05);
  box-shadow:0 0 12px var(--c-gallery-shadow);
  filter:brightness(1.05);
}

/* turn gallery into horizontal carousel ≤1024 px */
@media(max-width:1024px){
  .gallery{
    display:flex;flex-wrap:nowrap;gap:1rem;
    overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
  }
  .gallery img{flex:0 0 auto;width:70vw;scroll-snap-align:center;max-width:none;}
}


/* ---------- 10. Two-column helper ---------------------------------------- */
.two-col{display:flex;gap:2rem;align-items:center;}
.col-text{flex:1;}
.col-img{flex:1;display:flex;justify-content:center;}
.col-img img{max-width:100%;border-radius:8px;}
@media(max-width:768px){.two-col{flex-direction:column;}}


/* ---------- 11. Menu cards ---------------------------------------------- */
.menu-cards{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1.25rem;list-style:none;margin-top:2rem;
}
.menu-cards li{
  background:var(--c-nav-bg);padding:1.5rem;border-radius:8px;text-align:center;
}
.menu-cards strong{display:block;font-size:1.1rem;margin-bottom:.5rem;color:var(--c-red);}
.menu-cards span{color:var(--c-grey);font-size:.9rem;}


/* ------------------ TOC NAV --------------------------- */

.toc_navigation {
    position: sticky;
    top: 0;
    z-index: 99;
    background: var(--c-nav-bg);
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 2px 8px var(--c-shadow);
    width: 100%;
}
.toc_navigation .container {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-x: auto;
    padding: 0;
}
.toc_navigation .min-title {
    font-weight: 700;
    font-size: 14px;
    margin: 8px 16px 0 16px;
    color: var(--c-grey);
    letter-spacing: 1px;
}
.toc_navigation .items {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: auto;
	-ms-overflow-style: auto;
    margin: 0;
    padding: 4px 8px 0 8px;
    list-style: none;
    gap: 8px;
}

.toc_navigation .item {
    flex: 0 0 auto;
}
.toc_navigation .item a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 18px;
    background: transparent;
    color: var(--c-white);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, font-weight .2s;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
	background-color: var(--c-header-bg);
	border: 1.5px solid var(--c-header-bg);
}
.toc_navigation .item a.active,
.toc_navigation .item a:hover {
    background: var(--c-header-bg);
    color: var(--c-white);
	border: 1.5px solid var(--c-white);
}
.toc_navigation .progress-container {
    position: relative;
    width: 100%;
    height: 3px;
    background: var(--c-border);
    margin-top: 4px;
    border-radius: 2px;
}
.toc_navigation .progress-bar {
    position: absolute;
    height: 100%;
    background: var(--c-red);
    width: 0;
    transition: width 0.2s;
    border-radius: 2px;
}


@media (min-width:1024px){

  .toc_navigation .items{
    scrollbar-width: thin;                  
    scrollbar-color: var(--c-white) transparent; 
  }

  .toc_navigation .items::-webkit-scrollbar{
    height: 8px;                           
  }
  .toc_navigation .items::-webkit-scrollbar-track{
    background: transparent;                
    border-radius: 999px;
  }
  .toc_navigation .items::-webkit-scrollbar-thumb{             
    border-radius: 999px;                   
  }

  .toc_navigation .items:hover::-webkit-scrollbar-thumb{
    filter: brightness(0.9);
  }
}


@media (max-width: 768px) {
    .toc_navigation .min-title {
        font-size: 13px;
        margin: 6px 8px 0 8px;
    }
    .toc_navigation .items {
        gap: 4px;
        padding: 2px 2px 0 2px;
    }
    .toc_navigation .item a {
        padding: 7px 10px;
        font-size: 13px;
    }
}

/* --- Breadcrumbs  --- */
.breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.25rem;                 
  margin: .75rem 0 1rem;
  padding:0;
  list-style:none;
  font-size:.95rem;
  color:var(--c-grey);       
}

.breadcrumbs li{
  display:inline-flex;
  align-items:center;
  min-width:0;               
}

.breadcrumbs li + li::before{
  content:"/";
  margin:0 .5rem;
  color:var(--c-border);
}

.breadcrumbs a{
  color:var(--c-text);
  text-decoration:none;
  transition:color .2s;
}
.breadcrumbs a:hover{
  color:var(--c-header-bg);
}
.breadcrumbs a:focus-visible{
  outline:2px solid var(--c-header-bg);
  outline-offset:2px;
  border-radius:4px;
}

.breadcrumbs li:last-child span{
  color:var(--c-header-bg);
  font-weight:600;
  cursor:default;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:60vw;             
}

@media (max-width:480px){
  .breadcrumbs{font-size:.9rem;}
  .breadcrumbs li + li::before{margin:0 .4rem;}
}


/* ---------- 12. Casino list & item -------------------------------------- */
.casino-list{display:grid;gap:1rem;list-style:none;margin-top:2rem;}
.casino-list a{
  display:flex;align-items:center;justify-content:center;
  padding:1rem;border-radius:6px;font-weight:600;text-decoration:none;
  color:var(--c-text);border:2px solid transparent;transition:.2s;
}
.casino-list a:hover{border-color:var(--c-red);transform:translateY(-2px);}

/* item */
.casino-item{
  display:flex;align-items:center;gap:1.25rem;
  background:var(--c-nav-bg);padding:1rem 1.25rem;border-radius:8px;
}
.casino-item__img{
  flex:0 0 150px;width:150px;height:150px;border-radius:50%;
  background:var(--c-header-bg);display:flex;align-items:center;justify-content:center;
}
.casino-item__img svg,
.casino-item__img img{width:70%;height:70%;object-fit:contain;fill:var(--c-text);}
.casino-item__body{flex:1;}
.casino-item__title{font-size:1.1rem;font-weight:700;margin-bottom:.25rem;}
.casino-item__desc{font-size:.9rem;color:var(--c-grey);line-height:1.4;margin:0;}
.casino-item__bonus{text-align:right;min-width:180px;}

.bonus-text{font-weight:600;font-size:.95rem;color:var(--c-red);margin:0 0 .5rem;}
.bonus-text span{font-weight:400;color:var(--c-text);}

.btn-play{
  display:inline-block;padding:.6rem 1.5rem;border-radius:6px;
  background:var(--c-red);color:var(--c-text);
  font-weight:600;text-decoration:none;transition:background .2s,transform .2s;
}
.btn-play:hover{background:var(--c-red-hover);transform:translateY(-2px);}

/* mobile layout ≤600 px */
@media(max-width:600px){
  .casino-item{
    flex-direction:column;align-items:center;text-align:center;padding:1.25rem;
  }
  .casino-item>*{flex:0 1 100%;width:100%;max-width:100%;}
  .casino-item__img{
    width:clamp(80px,34vw,120px);height:clamp(80px,34vw,120px);margin-bottom:1rem;
  }
  .btn-primary{width:100%;padding:.65rem 1rem;}
}


/* ---------- 13. Breadcrumbs --------------------------------------------- */
.breadcrumbs{font-size:1rem;margin:1rem 0;}
.breadcrumbs__list{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;}
.breadcrumbs__item a{color:var(--c-text);text-decoration:none;}
.breadcrumbs__item a:hover{color:var(--c-red);}
.breadcrumbs__item--current{color:var(--c-red);cursor:default;}
.breadcrumbs__list>*+*::before{
  content:"/";margin-right:.5rem;color:var(--c-text);
}


/* ---------- 14. Lightbox ------------------------------------------------- */
.lightbox{
  position:fixed;inset:0;display:flex;justify-content:center;align-items:center;
  background:rgba(0,0,0,.9);visibility:hidden;opacity:0;
  transition:opacity .3s;z-index:2000;
}
.lightbox.open{visibility:visible;opacity:1;}
.lightbox__img{
  max-width:90%;max-height:90%;border-radius:8px;
  box-shadow:0 0 20px rgba(0,0,0,.5);
}
.lightbox__close{
  position:absolute;top:1rem;right:1.5rem;
  font-size:2.5rem;color:var(--c-white);cursor:pointer;user-select:none;
}


/* ---------- 15. FAQ accordion ------------------------------------------- */
.faq{display:grid;gap:1rem;margin: 1.5rem 0;}
.faq-item{
  background:var(--c-faq-bg);border-radius:8px;padding:1rem 1.25rem;
  color:var(--c-text);transition:background .25s;
}
.faq-item[open]{background:var(--c-faq-open-bg);}
.faq-item summary{
  list-style:none;cursor:pointer;font-weight:600;
  position:relative;padding-right:2rem;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
  content:"+";position:absolute;right:0;top:0;
  font-weight:700;font-size:1.25rem;color:var(--c-red);transition:transform .25s;
}
.faq-item[open] summary::after{content:"–";transform:rotate(180deg);}
.faq-item p{margin:.75rem 0 0;color:var(--c-grey);line-height:1.5;font-size:.9375rem;}


/* ---------- 17. Player-box ---------------------------------------------- */
.player-box{
  position:relative;width:100%;padding-top:56.25%;
  background:var(--bg) center/cover no-repeat;border-radius:12px;overflow:hidden;
}
.player-box::before{
  content:"";position:absolute;inset:0;
  background:var(--c-overlay);backdrop-filter:blur(2px);
}
.player-iframe{
  position:absolute;inset:0;width:100%;height:100%;
  border:none;opacity:0;visibility:hidden;transition:opacity .4s;
}
.player-overlay{
  position:absolute;inset:0;display:flex;flex-direction:column;
  justify-content:center;align-items:center;gap:1rem;z-index:2;
}
.btn-play{
  display:inline-block;padding:.9rem 2.2rem;border-radius:6px;
  font-weight:600;text-align:center;transition:background .25s,transform .25s;
}
.btn-play--primary{background:var(--c-red);color:var(--c-text);}
.btn-play--primary:hover{background:var(--c-red-hover);transform:translateY(-2px);}
.btn-play--ghost{
  background:transparent;border:2px solid var(--c-red);color:var(--c-red);
}
.btn-play--ghost:hover{background:var(--c-red);color:var(--c-text);transform:translateY(-2px);}
.player-full{
  position:absolute;bottom:1rem;right:1rem;
  width:44px;height:44px;display:flex;align-items:center;justify-content:center;
  background:var(--c-bg);border:2px solid var(--c-red);
  border-radius:6px;color:var(--c-text);cursor:pointer;z-index:3;
  transition:background .25s;
}
.player-full:hover{background:var(--c-red);}
.player-box.fullscreen{
  position:fixed;inset:0;width:100vw;height:100vh;padding:0;border-radius:0;z-index:3000;
}
.player-box.fullscreen .player-full{bottom:1.25rem;right:1.25rem;}
@media(max-width:768px){.btn-play{width:90%;}}


/* ---------- 18. Author section ------------------------------------------ */
.author-header{display:flex;align-items:center;gap:2.5rem;}
.author-photo{
  flex:0 0 180px;width:180px;height:180px;border-radius:50%;overflow:hidden;
  background:var(--c-nav-bg);
}
.author-photo img{width:100%;height:100%;object-fit:cover;}
.author-name{font-size:2rem;margin:0 0 .3rem;}
.author-role{color:var(--c-grey);margin:0 0 1rem;font-size:1rem;}
.author-meta{
  list-style:none;padding:0;margin:0 0 1.25rem;display:grid;gap:.4rem;
}
.author-meta strong{color:var(--c-text);}
.author-social{
  display:flex;gap:.75rem;
}
.author-social a{
  display:inline-flex;width:40px;height:40px;background:var(--c-nav-bg);
  border-radius:50%;align-items:center;justify-content:center;transition:background .25s;
}
.author-social a:hover{background:var(--c-red);}
.author-social svg{fill:var(--c-text);width:20px;height:20px;}
.author-bio{margin-top:2.5rem;font-size:1rem;line-height:1.6;color:var(--c-grey);}
.article-list{list-style:none;padding:0;margin:1.5rem 0 0;display:grid;gap:.75rem;}
.article-list a{color:var(--c-text);text-decoration:none;font-weight:600;}
.article-list time{display:block;font-size:.875rem;color:var(--c-grey);}
.article-list a:hover{color:var(--c-red);}


/* ---------- 19. Reviews block ------------------------------------------- */
.reviews-block{margin:3rem 0;}
.reviews{
  background:var(--c-nav-bg);border-radius:8px;
  padding:2rem 1.75rem;box-shadow:0 4px 12px var(--c-shadow);
}
.reviews__summary{
  display:flex;align-items:center;justify-content:space-between;
  gap:1rem;margin-bottom:2rem;
}
.reviews__rating{
  display:flex;align-items:center;gap:.5rem;font-size:1.25rem;color:var(--c-h123);
}
.reviews__rating strong{font-size:2.25rem;color:var(--c-red);line-height:1;}
.reviews__stars{font-size:1.1rem;color:var(--c-red);letter-spacing:-1px;}
.reviews__rating small{color:var(--c-grey);font-size:.9rem;}
.reviews__trustpilot img{width:220px;height:auto;display:block;}
.reviews-btn{
  display:inline-block;padding:.65rem 1.5rem;
  background:var(--c-red);color:var(--c-text);
  border-radius:6px;font-weight:600;text-decoration:none;
  transition:background .2s,transform .2s;
}
.reviews-btn:hover{background:var(--c-red-hover);transform:translateY(-2px);}
.reviews-list{display:grid;gap:1.25rem;}
.review{
  background:var(--c-hero-mid);border-radius:8px;padding:1.25rem 1.5rem;
}
.review__head{
  display:flex;justify-content:space-between;align-items:center;
  margin-bottom:.5rem;font-weight:600;color:var(--c-h123);
}
.review__date{font-size:.85rem;color:var(--c-grey);}
.review__text{color:var(--c-text);line-height:1.45;}
@media(max-width:768px){
  .reviews{padding:1.5rem 1.25rem;}
  .reviews__summary{flex-direction:column;align-items:flex-start;}
  .reviews-btn{width:100%;text-align:center;}
  .reviews__trustpilot img{width:100px;}
}

/* ---------- 20. Cookie banner ------------------------------------------- */
.cookie-banner{
  position:fixed;left:0;right:0;bottom:0;
  padding:1rem 1.25rem;background:var(--c-cookie-bg);
  color:var(--c-text);font-size:.875rem;
  display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;align-items:center;
  transform:translateY(100%);transition:transform .4s;z-index:4000;
}
.cookie-banner.show{transform:translateY(0);}
.cookie-banner a{color:var(--c-red);}
.cookie-btn{
  background:var(--c-red);color:var(--c-text);
  border:none;border-radius:4px;padding:.5rem 1.25rem;
  font-weight:600;cursor:pointer;transition:background .2s;
}
.cookie-btn:hover{background:var(--c-red-hover);}
@media(max-width:600px){
  .cookie-banner{flex-direction:column;text-align:center;}
  /* also widen game-player on narrow phones */
  .player-box{width:calc(100% + 2rem)!important;margin:0 -1rem!important;border-radius:0!important;min-height:280px;}
  .player-iframe{border-radius:0!important;}
}


/* ---------- 21. Footer (original markup) -------------------------------- */
.site-footer{
  background:var(--c-header-bg);color:var(--c-white);
  padding:3rem 1rem 2rem;font-size:.9rem;text-align:center;
}
.footer-columns{
  display:flex;flex-wrap:wrap;gap:2rem 4rem;justify-content:center;
}
.footer-col{flex:1 1 160px;min-width:130px;}
.footer-col--logo{
  flex:1 1 280px;display:flex;flex-direction:column;align-items:center;gap:1rem;
}
.footer-title{font-size:1rem;font-weight:700;color:var(--c-white);margin-bottom:.75rem;}
.footer-list{
  list-style:none;margin:0;padding:0;display:grid;gap:.5rem;
}
.footer-list a{color:var(--c-white);text-decoration:none;transition:color .2s;}
.footer-list a:hover{color:var(--c-red);}
.socials,
.share-links{
  display:flex;gap:.5rem;list-style:none;margin-top:1rem;justify-content:center;
}
.socials img{width:36px;height:36px;display:block;}
.share-icon,
.socials a{
  display:inline-flex;width:36px;height:36px;
  align-items:center;justify-content:center;
  background:var(--c-nav-bg);border-radius:50%;transition:background .2s;
}
.share-icon:hover,
.socials a:hover{background:var(--c-red);}
.share-icon svg{fill:var(--c-text);width:20px;height:20px;}
.footer-images{
  display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;
}
.footer-images img {
  max-width: 96px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.footer-bottom{
  border-top:1px solid var(--c-border);
  margin-top:2rem;padding-top:1rem;
  font-size:.8rem;color:var(--c-grey);
}
@media(max-width:768px){
  .footer-columns{flex-direction:column;gap:1.5rem;}
  .footer-col--logo{order:-1;}
}

/* ---------- 22. Lang-switch (single unified block) ---------------------- */
.lang-switch{
  position:relative;display:inline-block;
  padding:.5rem .75rem;background:var(--c-bg);border-radius:6px;
  font-weight:600;margin-left:1.25rem;
}
.lang-switch__current{
  display:flex;align-items:center;gap:.35rem;
  background:none;border:0;cursor:pointer;
  font-size:1rem;text-transform:uppercase;color:var(--c-white);
}
.lang-switch__current::after{
  content:'';width:.4rem;height:.4rem;
  border:.15rem solid var(--c-white);
  border-left:transparent;border-top:transparent;
  transform:rotate(45deg);transition:.3s;margin-top:.15rem;
}
.lang-switch.is-open .lang-switch__current::after{transform:rotate(-135deg);}

.lang-switch__list{
  position:absolute;right:0;top:calc(100% + .5rem);
  background:var(--c-nav-bg);border-radius:6px;width: 100%;
  box-shadow:0 4px 12px var(--c-shadow);
  padding:.35rem 0;list-style:none;margin:0;display:none;z-index:1100;
}
.lang-switch.is-open .lang-switch__list{display:block;}

.lang-switch__link{
  display:block;padding:.45rem 1rem;font-size:.9rem;
  white-space:nowrap;color:var(--c-text);text-decoration:none;
  transition:background .2s,color .2s;
}
.lang-switch__link:hover,
.lang-switch__link.is-active{background:var(--c-red);color:var(--c-text);cursor:default;}

/* reset layout for off-canvas nav ≤1024 px */
@media (max-width:1024px){
  .lang-switch{
    margin-left:0;
    padding:.4rem .75rem;
    background:var(--c-bg);
  }
  .lang-switch__current::after{display:block;}
  .lang-switch.is-open .lang-switch__current::after{transform:rotate(-135deg);}
  .lang-switch__list{
    position:absolute;
    right:0;
    top:calc(100% + .4rem);
    background:var(--c-nav-bg);
    border-radius:6px;
    box-shadow:0 4px 12px var(--c-shadow);
    padding:.35rem 0;
    list-style:none;
    margin:0;
    display:none;
    z-index:1100;
  }
  .lang-switch.is-open .lang-switch__list{display:block;}
  .lang-switch__link{
    display:block;padding:.45rem 1rem;
    font-size:.9rem;color:var(--c-text);text-decoration:none;
  }
  .lang-switch__link:hover,
  .lang-switch__link.is-active{background:var(--c-red);color:var(--c-text);}
}



/* ---------- 23. Back-to-top button -------------------------------------- */
.to-top{
  position:fixed;bottom:2rem;right:2rem;
  width:48px;height:48px;border:none;border-radius:50%;
  background:var(--c-red);color:var(--c-text);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 12px var(--c-shadow);
  opacity:0;visibility:hidden;transition:opacity .3s,transform .3s;
  cursor:pointer;z-index:2500;
}
.to-top:hover{transform:translateY(-2px);background:var(--c-red-hover);}
.to-top--show{opacity:1;visibility:visible;z-index:9999;}


/* ---------- 24. Responsive navigation (off-canvas) ---------------------- */
/* ≥1024 px: always show desktop menu */
@media(min-width:1024px){
  .burger{display:none;}
  .main-nav{position:static!important;display:block!important;}
}

/* ≤1024 px: burger toggles the whole viewport menu */
@media(max-width:1024px){
  .burger{display:block;order:3;}
  .header-buttons{order:2;margin-right:1rem;}
  .main-nav{order:1;flex:2;text-align:center;}

  .main-nav{
    position:fixed;inset:0;background:var(--c-header-bg);
    display:none;flex-direction:column;align-items:center;justify-content:center;
    z-index:1000;padding:4rem 2rem 2rem;overflow-y:auto;
  }
  #nav-toggle:checked ~ .main-nav{display:flex;}

  .menu{flex-direction:column;gap:1.5rem;font-size:1.25rem;text-align:center;}
  .submenu{position:static;background:transparent;padding:0;}
}

/* ---------- 25. Extra hero fix ≤380 px ---------------------------------- */
@media(max-width:335px){
  .lang-switch{
    margin-left:auto;
  }
}
@media(max-width:380px){
  .hero-welcome .cont{max-width:100%!important;margin:0 auto;padding:0 1rem!important;}
  .hero-welcome .two-col{flex-direction:column!important;gap:1rem;}
  .hero-welcome .col-text,
  .hero-welcome .col-img{flex:none;width:100%;}
  .hero-welcome .col-img img{max-width:100%;height:auto;display:block;}
  .hero-welcome .section-title{
    font-size:1.4rem;line-height:1.2;margin-bottom:.75rem;
    word-break:break-word;hyphens:auto;
  }
  .hero-welcome .lead{font-size:.85rem;}
}
/* ---------- LANG-SWITCH — mobile dropdown restore ----------------------- */

ul.socials > a{
  display:none !important;
  pointer-events:none !important;
}

ul.socials > li > a:first-child:empty{
  display:none !important;
  pointer-events:none !important;
}

/* ---------- layout helpers -------------------------------------------- */
.header-inner{
  display:flex;
  flex-wrap:wrap;              /* enables 2-nd row on phones */
  align-items:center;
  gap:.5rem 1rem;              /* slight spacing */
}

/* keep burger on the far right */
.burger{margin-left:auto;}

/* blocks inherit default order = DOM order; tweak for ≤400 px ↓ */
.header-block{flex:0 0 auto;}

.header-block--auth{
  display:flex;gap:.5rem;
}

/* ---------- auth & bonus buttons -------------------------------------- */
.btn-auth{
  display:inline-block;padding:.6rem 1.5rem;border-radius:6px;
  font-weight:600;text-decoration:none;
  transition:background .2s,color .2s,transform .2s;
}
.btn-login{background:transparent;border:2px solid var(--c-red);color:var(--c-red);}
.btn-login:hover{background:var(--c-red);color:var(--c-text);transform:translateY(-2px);}
.btn-register{background:var(--c-red);color:var(--c-text);}
.btn-register:hover{background:var(--c-red-hover);transform:translateY(-2px);}

/* ---------- push button group to the right (all widths) --------------- */
.header-block--bonus{margin-left:auto;}   /* the only auto margin */

/* ---------- keep burger on first line --------------------------------- */
.burger{
  margin-left:0;         
  flex:0 0 44px;         
}

/* ---------- tablets & phones ≤1024 px --------------------------------- */
@media (max-width:1024px){
  /* visual order */
  .header-block--logo  {order:1;}
  .header-block--bonus {order:2;}
  .burger              {order:3;} 
  .lang-switch         {order:4;}       /* stays in first row */
  .header-block--auth  {order:5;}

  /* auth row, stuck to right */
  .header-block--auth{
    flex:0 0 100%;
    justify-content:center;            /* hug right edge */
    gap:.5rem;
    margin-top:.5rem;
  }
  .header-block--auth a{
    flex:0 0 48%;
    text-align:center;
    padding:.65rem 0;
  }
}


/* ===================== BEST GAMES ===================== */
.best-games {
  --bg: var(--c-bg);
  --card-bg: var(--c-white);
  --muted: var(--c-hero-mid);
  --text: var(--c-text);
  --head: var(--c-h123);
  --accent: var(--c-red);
  --accent-hover: var(--c-red-hover);
  --border: var(--c-border);
  --shadow: var(--c-shadow);

  color: var(--text);
}

.best-games .best-games__nav{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  list-style:none;
  margin:0 0 .75rem 0;
  padding:0;
}

.best-games .best-games__nav a[role="tab"]{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.5rem .9rem;
  border-radius:18px;
  text-decoration:none;
  background:transparent;
  color:var(--text);
  border:1.5px solid var(--border);
  font-weight:600;
  font-size:.95rem;
  line-height:1;
  transition:background .2s, border-color .2s, color .2s, transform .02s;
  -webkit-tap-highlight-color: transparent;
}

.best-games .best-games__nav a[role="tab"]:hover{
  background: var(--c-toc-link-bg, rgba(255,198,75,.10));
  border-color: var(--accent);
  color: var(--accent);
}

.best-games .best-games__nav a[role="tab"].active,
.best-games .best-games__nav a[role="tab"][aria-selected="true"]{
  background: var(--c-toc-link-bg, rgba(255,198,75,.10));
  color: var(--accent);
  border-color: var(--accent);
}

.best-games .best-games__nav a[role="tab"]:active{ transform: translateY(1px); }
.best-games .best-games__nav a[role="tab"]:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
}

.best-games .best-games__body{ margin-top:.5rem; }

.best-games .tab{
  display:none;                         
  margin-top:.5rem;
}
.best-games .tab.active{ display:block; }
.best-games .tab[hidden]{ display:none !important; }

.best-games .best-games__list{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap:1rem;
}

.best-games .best-games__item{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  text-decoration:none;
  background: var(--card-bg);
  border:1px solid var(--border);
  border-radius:10px;
  box-shadow: 0 2px 8px var(--shadow);
  padding:.6rem;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
  color: var(--text);
}

.best-games .best-games__item:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow);
  border-color: var(--accent);
}

.best-games .best-games__item:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
}

.best-games .best-games__item-img{
  position:relative;
  width:100%;
  aspect-ratio: 1 / 1;
  border-radius:8px;
  overflow:hidden;
  background: var(--muted);
  margin-bottom:.55rem;
}
.best-games .best-games__item-img img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.best-games .best-games__item > span{
  font-weight:700;
  color: var(--head);
  line-height:1.25;
  margin:.1rem 0 .1rem;
}
.best-games .best-games__item > small{
  color: var(--c-grey);
  font-size:.85rem;
}

.best-games .best-games__item[disabled],
.best-games .best-games__item[aria-disabled="true"]{
  pointer-events:none;
  opacity:.6;
}

@media(max-width:600px){
  .best-games.section{ padding: .75rem 0; }
  .best-games .best-games__nav a[role="tab"]{
    font-size:.9rem; padding:.45rem .75rem;
  }
}

/* Article meta block — matches site palette/spacing */
.article-meta{
  display:flex;
  align-items:flex-start;
  gap:.75rem;
  padding: .85rem 1rem;
  border:1px solid var(--c-border);
  border-radius:10px;
  background: var(--c-hero-mid);
  box-shadow: 0 2px 8px var(--c-shadow);
  color: var(--c-text);
  font-size: .95rem;
}

/* Leading icon */
.article-meta__icon{
  flex:0 0 36px;
  width:36px; height:36px;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  background: var(--c-nav-bg);
  color: var(--c-red);
  margin-top:.1rem;
}

/* Content */
.article-meta__content{
  min-width:0;
}
.article-meta__line{
  margin:0;
  line-height:1.5;
  color: var(--c-text);
}
.article-meta__line + .article-meta__line{
  margin-top:.25rem;
}

.article-meta__label{
  color: var(--c-h123);
}
.article-meta__dash{
  color: var(--c-grey);
  margin: 0 .35rem;
}
.article-meta__date{
  font-variant-numeric: tabular-nums;
}
.article-meta__feedback{
  margin-left:.35rem;
  font-weight:600;
  color: var(--c-red);
  text-decoration:none;
  border-bottom: 1px dotted transparent;
  transition: color .2s, border-color .2s;
}
.article-meta__feedback:hover{
  color: var(--c-red-hover);
  border-color: var(--c-red-hover);
}
.article-meta__feedback:focus-visible{
  outline:2px solid var(--c-red);
  outline-offset:2px;
  border-radius:4px;
}

/* Compact on small screens */
@media (max-width: 640px){
  .article-meta{
    padding: .75rem .9rem;
    gap:.6rem;
  }
  .article-meta__line{
    font-size: .94rem;
  }
  .article-meta__icon{
    flex-basis:32px; width:32px; height:32px;
  }
}

/* Optional: place inside narrow content columns nicely */
main.container .article-meta{
  margin: .75rem 0 1rem;
}
