:root{
  --bg:#0b0c10;
  --panel:#14151b;
  --panel2:#0f1015;
  --text:#e8eaef;
  --muted:#a9afbf;
  --line: rgba(255,255,255,.10);

  --orange:#ff9b2f;
  --orange2:#ffb25d;

  --gold1:#f2c35c;
  --gold2:#d4a949;
  --green1:#6bcf6c;
  --green2:#3fa64a;

  --container: 1160px;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(0,0,0,.48);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html,body{ overflow-x:hidden; }
body{
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background: radial-gradient(1200px 520px at 50% -10%, rgba(255,155,47,.10), transparent 60%), var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; display:block; }

.pf3-container{
  width: min(var(--container), calc(100% - 32px));
  margin-inline:auto;
}

/* Header (logo left, socials + auth right) */
.pf3-header{
  background: linear-gradient(180deg, #1a1a1f, #0b0c10);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.pf3-header__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 0;
}
.pf3-brand{
  display:flex;
  align-items:center;
  gap: 12px;
  font-weight: 1000;
  letter-spacing:.8px;
}
.pf3-brand__logo{ height: 34px; width:auto; }

.pf3-right{
  display:flex;
  align-items:center;
  gap: 10px;
}
.pf3-socials{
  display:flex;
  align-items:center;
  gap: 8px;
}
.pf3-social{
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
}
.pf3-social:hover{ transform: translateY(-1px); filter: brightness(1.08); background: rgba(255,255,255,.10); }
.pf3-social img{ width: 14px; height: 14px; object-fit: contain; }

.pf3-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 950;
  border: 1px solid transparent;
  transition: transform .12s ease, filter .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}
.pf3-btn:hover{ transform: translateY(-1px); filter: brightness(1.06); }
.pf3-btn--login{
  background: linear-gradient(180deg, var(--gold1), var(--gold2));
  color: #151515;
  border-color: rgba(0,0,0,.12);
}
.pf3-btn--reg{
  background: linear-gradient(180deg, var(--green1), var(--green2));
  color: #08110a;
  border-color: rgba(0,0,0,.12);
}

/* Menu (required in this template) */
.pf3-nav{
  border-top: 1px solid rgba(255,255,255,.06);
}
.pf3-nav__list{
  list-style:none;
  margin:0;
  padding: 10px 0 12px;
  display:flex;
  gap: 14px;
  align-items:center;
  flex-wrap: wrap;
}
.pf3-nav__list a{
  display:inline-flex;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 950;
  letter-spacing:.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  transition: background .12s ease, transform .12s ease;
}
.pf3-nav__list a:hover{ background: rgba(255,155,47,.14); transform: translateY(-1px); border-color: rgba(255,155,47,.22); }
.pf3-nav__list a.is-active{
  background: rgba(255,155,47,.18);
  border-color: rgba(255,155,47,.30);
  color: #fff;
}

/* Main */
.pf3-main{ padding: 16px 0 46px; }

.pf3-panel{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

/* Games block (kovcheg-like UI: search + providers, grid with overlay play button) */
.pf3-games__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.pf3-h2{
  margin:0;
  font-weight: 1000;
  font-size: 22px;
  color: var(--orange);
}
.pf3-controls{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
}
.pf3-field{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
  min-width: 220px;
}
.pf3-field input,
.pf3-field select{
  width:100%;
  background: transparent;
  border: 0;
  outline: none;
  color: rgba(255,255,255,.92);
  font-weight: 800;
}
.pf3-field select option{ color: #111; }
.pf3-field__icon{
  opacity:.8;
  font-weight: 900;
}

.pf3-grid{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 1100px){ .pf3-grid{ grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 780px){ .pf3-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px){ .pf3-grid{ grid-template-columns: repeat(2, 1fr); } }

.pf3-slot{
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
}
.pf3-slot__media{
  position:relative;
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,.04);
}
.pf3-slot__img{
  width:100%;
  height:100%;
  object-fit: cover;
}
.pf3-slot__fallback{
  width:100%;
  height:100%;
  background: linear-gradient(135deg, rgba(255,155,47,.18), rgba(255,255,255,.03));
}
.pf3-slot__badge{
  position:absolute;
  left: 8px;
  top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.72);
  color:#fff;
  font-weight: 950;
  font-size: 12px;
}
.pf3-slot__overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition: opacity .12s ease;
  background: rgba(0,0,0,.55);
}
.pf3-slot:hover .pf3-slot__overlay{ opacity:1; }

.pf3-demo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 24px;
    font-weight: 900;
    background: rgba(255, 255, 255, .92);
    color: #131313;
    border: 1px solid rgba(255, 255, 255, .55);
    min-width: 108px;
}
.pf3-demo:hover{ filter: brightness(1.02); transform: translateY(-1px); }
.pf3-play{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(0,0,0,.12);
  display:flex;
  align-items:center;
  justify-content:center;
}
.pf3-play svg{ width: 16px; height: 16px; }

.pf3-slot__title{
  padding: 10px 10px 12px;
  font-weight: 950;
  font-size: 13px;
  color: rgba(255,255,255,.90);
}

.pf3-showall{
  margin-top: 14px;
  display:flex;
  justify-content:center;
}
.pf3-showall a{
  display:inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 1000;
  background: rgba(255,155,47,.14);
  border: 1px solid rgba(255,155,47,.22);
  color: rgba(255,255,255,.92);
}
.pf3-showall a:hover{ transform: translateY(-1px); filter: brightness(1.06); }

/* Content */
.pf3-content{ margin-top: 16px; }
.pf3-h1{
  margin: 0 0 10px;
  font-weight: 1000;
  font-size: clamp(22px, 3vw, 40px);
  color: var(--orange);
}
.pf3-wysiwyg{ overflow-x:auto; color: rgba(255,255,255,.90); }
.pf3-wysiwyg p{ margin: .75em 0; }
.pf3-wysiwyg :where(h2,h3,h4){
  margin: 1em 0 .4em;
  color: var(--orange);
}
.pf3-wysiwyg ul, .pf3-wysiwyg ol{ margin: .6em 0 .6em 1.2em; }
.pf3-wysiwyg table{
  width:100%;
  border-collapse: collapse;
  margin: 12px 0;
  border-radius: 12px;
  overflow:hidden;
}
.pf3-wysiwyg th, .pf3-wysiwyg td{
  padding: 10px;
  border: 1px solid rgba(255,155,47,.28);
}
.pf3-wysiwyg th{
  background: rgba(255,155,47,.14);
  color: #fff;
}
.pf3-wysiwyg img{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
}

/* FAQ (3rd style: details/summary cards) */
.pf3-faq{ margin-top: 16px; }
.pf3-faq__title{
  margin: 0 0 12px;
  font-weight: 1000;
  font-size: 22px;
  color: var(--orange);
}
.pf3-details{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(0,0,0,.18);
  overflow:hidden;
}
.pf3-details + .pf3-details{ margin-top: 10px; }
.pf3-details summary{
  list-style:none;
  cursor:pointer;
  padding: 14px 14px;
  font-weight: 1000;
  color: rgba(255,255,255,.92);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.pf3-details summary::-webkit-details-marker{ display:none; }
.pf3-details summary::after{
  content:"+";
  font-weight: 1000;
  opacity:.85;
}
.pf3-details[open] summary::after{ content:"–"; }
.pf3-details__body{
  padding: 0 14px 14px;
  color: rgba(255,255,255,.85);
  border-left: 3px solid rgba(255,155,47,.45);
}

/* Review form */
.pf3-review{ margin-top: 16px; }
.pf3-review__title{
  margin: 0 0 10px;
  font-weight: 1000;
  font-size: 22px;
  color: var(--orange);
}
.pf3-review__hint{ color: rgba(255,255,255,.70); font-weight: 700; margin-bottom: 10px; }
.pf3-form{
  display:grid;
  gap: 10px;
  max-width: 680px;
}
.pf3-input, .pf3-textarea{
  width:100%;
  background: #ffffff;
  color: #111;
  border: 0;
  border-radius: 6px;
  padding: 10px 10px;
  outline: none;
}
.pf3-textarea{ min-height: 140px; resize: vertical; }
.pf3-label{ font-weight: 900; color: rgba(255,255,255,.85); font-size: 13px; }
.pf3-submit{
  justify-self: start;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 1000;
  background: linear-gradient(180deg, var(--green1), var(--green2));
  color: #08110a;
  border: 0;
  cursor:pointer;
  transition: transform .12s ease, filter .12s ease;
}
.pf3-submit:hover{ transform: translateY(-1px); filter: brightness(1.06); }
.pf3-msg{
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.85);
}

/* Footer (type 1 like template #1) */
.pf3-footer{
  margin-top: 22px;
  background: #0b0c10;
  border-top: 1px solid rgba(255,255,255,.08);
}
.pf3-footer__inner{ padding: 18px 0 22px; }
.pf3-payrow{
  display:flex;
  flex-wrap:wrap;
  gap: 18px;
  align-items:center;
  justify-content:center;
  padding: 8px 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  opacity: .85;
}
.pf3-payrow img{
  height: 22px;
  width:auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .7;
}
.pf3-payrow img:hover{ filter: grayscale(0); opacity: 1; }

.pf3-footer__grid{
  display:grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 16px;
  padding: 14px 0;
}
@media (max-width: 900px){
  .pf3-footer__grid{ grid-template-columns: 1fr; }
}
.pf3-footlinks{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 10px;
}
.pf3-footlinks a{
  color: rgba(255,255,255,.82);
  font-weight: 800;
  font-size: 13px;
}
.pf3-footlinks a:hover{ text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); }

.pf3-providers{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px 14px;
  align-items:center;
  opacity: .9;
}
@media (max-width: 1000px){ .pf3-providers{ grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px){ .pf3-providers{ grid-template-columns: repeat(2, 1fr); } }
.pf3-providers img{
  width: 100%;
  max-height: 26px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .72;
}
.pf3-providers img:hover{ filter: grayscale(0); opacity: 1; }

.pf3-disclaimer{
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 12px;
  color: rgba(255,255,255,.60);
  font-size: 12px;
  line-height: 1.45;
  text-align:center;
}

/* Small */
@media (max-width: 780px){
  .pf3-socials{ display:none; }
}