/* Win Casino DK — Dark theme redesign */
:root{
  --bg:#0c0f14;           /* near-black */
  --bg-alt:#121722;       /* dark blue-tinted */
  --surface:#171c27;      /* surface panels */
  --muted:#0f131b;
  --text:#e6ebf3;         /* primary text */
  --text-dim:#a9b4c7;     /* secondary text */
  --brand:#6dd5ed;        /* cyan accent */
  --brand-2:#5b86e5;      /* blue gradient */
  --accent:#ffb86b;       /* warm detail */
  --danger:#f55;          
  --radius:14px;
  --shadow:0 10px 30px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.site{margin:0;background:linear-gradient(160deg,var(--bg),var(--bg-alt));color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";line-height:1.6}
img{max-width:100%;height:auto;display:block}

/* Accessibility */
.skip-link{position:absolute;left:-9999px;top:auto;z-index:999;background:#000;color:#fff;padding:10px 14px;border-radius:8px}
.skip-link:focus{left:12px;top:12px}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

/* Layout */
.container{max-width:1120px;margin:0 auto;padding:10px 16px!important;}
.narrow{max-width:820px;margin:0 auto}
.flex{display:flex}
.align-center{align-items:center}
.between{justify-content:space-between}
.grid{display:grid;gap:24px}
body{
  padding: 10px;
}
/* Header */
.masthead{position:sticky;top:0;z-index:50;background:rgba(12,15,20,.75);backdrop-filter:saturate(1.2) blur(8px);border-bottom:1px solid rgba(255,255,255,.06)}
.brand{display:inline-flex;gap:10px;align-items:center;color:var(--text);text-decoration:none}
.brand__logo{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:10px;background:linear-gradient(145deg,var(--brand),var(--brand-2));color:#0b0e13;font-weight:800}
.brand__name{font-weight:700}

.primary-nav .nav-list{list-style:none;margin:0;padding:10px 0;display:flex;gap:18px;flex-wrap: wrap;}
.nav-link{color:var(--text-dim);text-decoration:none;padding:10px 12px;border-radius:10px;transition:.2s}
.nav-link:hover,.nav-link.is-active{background:rgba(255,255,255,.06);color:var(--text)}
.nav-more{position:relative}
.nav-button{background:rgba(255,255,255,.06);color:var(--text);border:0;padding:10px 12px;border-radius:10px;cursor:pointer}
.nav-sub{position:absolute;right:0;top:calc(100% + 8px);min-width:220px;background:var(--surface);border:1px solid rgba(255,255,255,.06);border-radius:12px;padding:8px;list-style:none;display:none;box-shadow:var(--shadow)}
.nav-sub.is-open{display:block}
.nav-sub a{display:block;padding:10px 12px;border-radius:8px;color:var(--text);text-decoration:none}
.nav-sub a:hover{background:rgba(255,255,255,.06)}

/* Typography */
.h1{font:800 2.2rem/1.2 Inter,system-ui}
.h2{font:700 1.6rem/1.3 Inter,system-ui;margin:0 0 12px}
.h3{font:700 1.2rem/1.3 Inter,system-ui;margin:22px 0 6px}
.h4{font:700 1rem/1.3 Inter,system-ui}
.lead{color:var(--text);font-weight:600}
.small{font-size:.9rem;color:var(--text-dim)}
.link{color:var(--brand)}

/* Sections */
.section{padding:56px 0}
.section--muted{background:var(--muted)}
.section--strip{background:var(--surface);padding:22px 0;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06)}

/* Hero */
.hero__grid{grid-template-columns:1.15fr .85fr;align-items:center}
.hero__img{width:100%;height:100%;object-fit:cover;border-radius:18px;border:1px solid rgba(255,255,255,.06);box-shadow:var(--shadow)}
.actions{display:flex;gap:12px;margin-top:18px}
.btn{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 16px;border-radius:12px;border:1px solid transparent;text-decoration:none;cursor:pointer;font-weight:600}
.btn--primary{background:linear-gradient(145deg,var(--brand),var(--brand-2));color:#0b0e13}
.btn--primary:hover{filter:brightness(1.05)}
.btn--ghost{background:transparent;border-color:rgba(255,255,255,.16);color:var(--text)}

/* Mole animation (new) */
.mole{position:absolute;right:18px;bottom:18px;width:84px;height:84px;border-radius:50%;background:radial-gradient(closest-side,#232a39,#0f131b);border:1px solid rgba(255,255,255,.06);overflow:hidden}
.mole:before,.mole:after{content:"";position:absolute;inset:0;border-radius:50%}
.mole:before{background:conic-gradient(from 0deg,rgba(109,213,237,.0),rgba(91,134,229,.35),rgba(109,213,237,.0));animation:spin 5s linear infinite}
.mole:after{width:22px;height:22px;background:var(--accent);border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 18px rgba(255,184,107,.65)}
@keyframes spin{to{transform:rotate(360deg)}}

/* Cards */
.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.card{background:var(--surface);border:1px solid rgba(255,255,255,.06);border-radius:16px;box-shadow:var(--shadow);padding:16px;display:flex;flex-direction:column;gap:14px}
.card__header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:90px; flex-wrap: wrap; }
.card__logo{width:220px;height:auto;filter:grayscale(.1) contrast(1.05); margin-bottom: 10px; object-fit: cover; }
.card__cta{white-space:nowrap}
.card__body .meta{display:flex;flex-wrap:wrap;gap:12px;list-style:none;margin:0;padding:0;color:var(--text-dim)}
.meta__k{display:inline-block;background:linear-gradient(145deg,var(--brand),var(--brand-2));color:#0b0e13;padding:2px 8px;border-radius:999px;font-weight:800; margin-bottom: 10px;}
.spec{grid-template-columns:repeat(3,minmax(0,1fr))}
.spec__item{background:rgba(255,255,255,.04);padding:12px;border-radius:12px;border:1px solid rgba(255,255,255,.06)}
.spec__item span{display:block;color:var(--text-dim);font-size:.9rem;margin-bottom:4px}

/* Logos strip */
.logos{display:flex;gap:18px;align-items:center;justify-content:center;width: 50px;}
.logo-link{color:var(--text-dim);text-decoration:none;padding:8px 10px;border-radius:10px;}
.logo-link:hover{color:var(--text);background:rgba(255,255,255,.06)}
.mb .logo-link{
  width: 160px; margin: 0px 20px;
}
.card__logo{
  border: 2px solid #5b86e5;
  border-radius: 16px;
  padding: 10px;
  height: 100px;
  object-fit: cover;
}
/* Footer */
.site-footer{background:#0a0d12;border-top:1px solid rgba(255,255,255,.06)}
.footer__grid{grid-template-columns:1fr auto;align-items:center;padding:22px 0}
.footer-nav{list-style:none;margin:0;padding:0;display:flex;gap:16px;flex-wrap: wrap;}
.footer-nav a{color:var(--text-dim);text-decoration:none}
.footer-nav a:hover{color:var(--text)}
.legal{border-top:1px solid rgba(255,255,255,.06);background:var(--muted);padding:22px 0}
header{
  padding: 5px;
}
/* Forms */
input,textarea,select{width:100%;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:12px;color:var(--text)}
label{display:block;margin:6px 0;color:var(--text-dim)}
.mb a img{
 filter: brightness(0) saturate(100%) invert(1);

}
/* Responsive */
@media (max-width: 960px){
  .hero__grid{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .spec{grid-template-columns:repeat(1,minmax(0,1fr))}
  .card__header{justify-content: center; }
  .footer__grid{    grid-template-columns: auto;}
}
@media (max-width: 560px){
  .h1{font-size:1.8rem}
  .brand__name{display:none}
}





.primary-nav {
  display: flex;
}

.nav-list {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}


.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 700px) {
  .burger {
    display: flex;
  }

  .primary-nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #111;
    width: 200px;
    transform: translatey(-300%);
    transition: transform 0.3s ease;
    padding: 1rem;
  }

  .primary-nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Анимация для активного бургера */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
header{
  position: relative;
}