:root {
  --kop-green: #065b18;
  --kop-green-dark: #044212;
  --kop-body: #ececec;
  --kop-text: #000;
  --kop-white: #fff;
  --kop-border: #d7d7d7;
  --kop-width: 1170px;
  --kop-font: "Playfair Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.kop-site {
  margin: 0;
  color: var(--kop-text);
  background: var(--kop-body);
  font-family: var(--kop-font);
  font-size: 16px;
  line-height: 1.65;
}
body.kop-site button,
body.kop-site input,
body.kop-site select,
body.kop-site textarea { font-family: var(--kop-font); }
body.kop-site .kop-page :where(
  div, span, p, a, li, ol, ul, dl, dt, dd, blockquote, figcaption,
  h1, h2, h3, h4, h5, h6, table, thead, tbody, tfoot, tr, th, td,
  strong, b, em, small, label, button, input, select, textarea
):not(.material-icons):not([class^="icon-"]):not([class*=" icon-"]),
body.kop-site .kop-modal :where(div, span, p, a, strong, b, button),
body.kop-site #x_popup_wrapper :where(div, span, p, a, strong, b, button) {
  font-family: var(--kop-font) !important;
}
body.kop-modal-open { overflow: hidden; }
body.kop-mobile-nav-open { overflow: hidden; }
a { color: var(--kop-green); }
img { max-width: 100%; height: auto; }
.kop-container { width: min(100% - 32px, var(--kop-width)); margin-inline: auto; }
.kop-skip-link {
  position: fixed; left: 12px; top: -100px; z-index: 100000;
  padding: 10px 14px; background: #fff; color: #000;
}
.kop-skip-link:focus { top: 12px; }
.kop-header {
  position: relative; z-index: 1000; background: #fff;
  border-bottom: 1px solid #eee; box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.kop-header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.kop-brand { display: inline-flex; align-items: center; text-decoration: none; }
.kop-brand__logo { display: block; width: auto; max-width: 150px; max-height: 62px; object-fit: contain; }
.kop-brand__text { font-size: 22px; font-weight: 800; color: var(--kop-green); }
.kop-nav { margin-left: auto; }
.kop-menu { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 25px); margin: 0; padding: 0; list-style: none; }
.kop-menu li { position: relative; margin: 0; }
.kop-menu a { display: block; padding: 27px 0 24px; color: #202020; font-family: var(--kop-font); font-weight: 400; text-decoration: none; border-bottom: 3px solid transparent; }
.kop-menu a:hover, .kop-menu .current-menu-item > a, .kop-menu .current-menu-ancestor > a { color: var(--kop-green); border-color: var(--kop-green); }
.kop-menu > .menu-item-has-children > a::after { content: "⌄"; margin-left: 5px; font-size: 12px; vertical-align: 2px; }
.kop-menu .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 230px;
  margin: 0; padding: 8px 0; list-style: none; background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.16); z-index: 1000;
}
.kop-menu li:hover > .sub-menu, .kop-menu li:focus-within > .sub-menu { display: block; }
.kop-menu .sub-menu li { width: 100%; }
.kop-menu .sub-menu a { position: relative; padding: 9px 34px 9px 16px; border: 0; white-space: nowrap; }
.kop-submenu-toggle { display: none; }

@media (min-width: 1181px) {
  .kop-menu > li > .sub-menu {
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
  .kop-menu .sub-menu .sub-menu { top: 0; left: 100%; }
  .kop-menu > li:nth-last-child(-n+3) > .sub-menu { right: 0; left: auto; }
  .kop-menu > li:nth-last-child(-n+3) .sub-menu .sub-menu { right: 100%; left: auto; }
  .kop-menu .sub-menu .menu-item-has-children > a::after {
    content: "›"; position: absolute; top: 50%; right: 14px;
    transform: translateY(-50%); font-size: 18px; line-height: 1;
  }
}
.kop-menu-toggle { display: none; width: 44px; height: 40px; padding: 8px; border: 0; background: transparent; cursor: pointer; }
.kop-menu-toggle span[aria-hidden] { display: block; height: 2px; margin: 5px 0; background: #111; }
.kop-main { min-height: 60vh; padding: 34px 0 48px; }
.kop-breadcrumbs { margin: 0 0 22px; color: #5c5c5c; font-size: 14px; }
.kop-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.kop-breadcrumbs li { display: inline-flex; min-width: 0; align-items: center; gap: 6px; }
.kop-breadcrumbs li:not(:last-child)::after { content: "›"; color: #8a8a8a; }
.kop-breadcrumbs a { color: var(--kop-green); text-decoration: none; }
.kop-breadcrumbs a:hover { text-decoration: underline; }
.kop-breadcrumbs [aria-current="page"] { overflow: hidden; max-width: min(60vw, 520px); text-overflow: ellipsis; white-space: nowrap; }
.kop-post-card, .kop-not-found {
  padding: clamp(20px, 4vw, 44px); background: #fff; border-radius: 2px;
}
.kop-article { padding: 0; background: transparent; }
.kop-entry-header { margin-bottom: 22px; }
.kop-entry-title { margin: 0 0 18px; color: #111; font-family: var(--kop-font); font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.12; }
.kop-entry-meta { color: #666; font-size: 14px; }
.kop-entry-content > :first-child { margin-top: 0; }
.kop-entry-content > :last-child { margin-bottom: 0; }
.kop-entry-content h2 { margin-top: 1.45em; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; }
.kop-entry-content h3 { margin-top: 1.35em; font-size: clamp(22px, 2.5vw, 28px); line-height: 1.25; }
.kop-post-list { display: grid; gap: 20px; }
.kop-post-card__title { margin-top: 0; font-size: 28px; }
.kop-post-card__title a { color: #111; text-decoration: none; }
.kop-featured { margin: 0 0 26px; }
.author {
  display: flex; margin: 24px 0 10px; padding: 10px; flex-direction: row;
  background: #fff; box-shadow: 0 0 5px #ccc;
}
.author .photo { width: 200px; height: 100%; margin: auto; }
.author .photo img { width: 100%; border-radius: 50%; }
.author .links { display: flex; width: 200px; flex-direction: column; align-items: center; justify-content: space-evenly; }
.author .author__info { width: calc(100% - 420px); margin: 10px; }
.author .author__text { color: #666; line-height: 1.7; text-align: left; }
.author .author__bottom { margin: 15px 0; color: #000; font-size: 28px; font-weight: 700; }
.author .author__name { margin-top: 15px; color: #666; font-size: 16px; font-weight: 400; }
.author .author__bottom span { color: #666; font-weight: 700; }
.author__logo { margin-bottom: 15px; }
.kop-footer { padding-top: 34px; color: #fff; background: #000; }
.kop-footer a { color: #fff; text-decoration: none; }
.kop-footer__grid { display: grid; grid-template-columns: minmax(280px, 2fr) 1fr 1fr; gap: 34px; align-items: start; }
.kop-footer .widget { margin-bottom: 14px; }
.kop-footer .widget-title { margin: 0 0 12px; color: #fff; font-size: 18px; }
.kop-footer ul { margin: 0; padding: 0; list-style: none; }
.kop-footer__bottom { margin-top: 26px; padding: 15px 0; border-bottom: 14px solid #000; text-align: center; }
.kop-footer__bottom p { margin: 0; }

.casino-item, .casino-content {
  display: flex; flex-direction: row; width: 100%; max-width: 1200px;
  height: auto; margin: 15px auto; padding: 10px; justify-content: space-between;
  border: 1px solid #ccc; border-radius: 5px; box-shadow: 0 0 5px #333;
}
.casino-item > div { text-align: center; }
.casino-item .logo { display: flex; flex-direction: column; width: 20%; margin: auto; }
.casino-item .logo img { width: 100%; }
.casino-item .stars { position: relative; width: 150px; height: 40px; }
.casino-item .stars::before, .bonus-item .stars::before {
  content: "★★★★★"; position: absolute; font-size: 24px; letter-spacing: 1px;
  color: #f6d30f; text-align: center;
}
.casino-item .osob { width: 30%; max-width: 450px; margin: auto; text-align: left; }
.casino-item .osob li { margin-bottom: 10px; font-size: 12px; }
.casino-item .name { width: 30%; margin: auto 10px; }
.casino-item .name-value { margin: 15px 0; color: #434656; font-size: 15px; font-weight: 700; line-height: 1; }
.casino-item .bonus { color: var(--kop-green); font-size: 18px; font-weight: 700; line-height: 2; }
.casino-item .links { display: flex; flex-direction: column; width: 20%; margin: auto; }
.casino-item .to-site, .bonus-item .to-site {
  width: 150px; min-height: 45px; margin: 0 auto 10px; padding: 11px 10px;
  color: #fff; background: var(--kop-green); border-radius: 5px;
  text-align: center; text-decoration: none; text-transform: uppercase;
}
.casino-item .to-page { color: var(--kop-green); text-decoration: none; }
.bonus-item {
  display: inline-flex; width: 300px; margin: 15px; padding: 10px;
  flex-direction: column; align-items: center; border: 1px solid #ccc;
  border-radius: 10px; box-shadow: 0 0 5px #333;
}

.wp-block-getwid-contact-form__form label { display: block; margin-bottom: 5px; font-weight: 700; }
.wp-block-getwid-contact-form__form input,
.wp-block-getwid-contact-form__form textarea {
  width: 100%; padding: 10px 12px; color: #111; background: #fff;
  border: 1px solid #bbb; border-radius: 3px;
}
.wp-block-getwid-contact-form__submit button {
  padding: 11px 22px; color: #fff; background: var(--kop-green);
  border: 0; border-radius: 4px; cursor: pointer;
}
.kop-form-message { padding: 10px 12px; border-left: 4px solid var(--kop-green); background: #edf8ef; }
.kop-form-message.is-error { border-color: #b42318; background: #fff0ef; }

.uta-pop { z-index: 99999; }
.uta-pop__modal {
  width: 690px; max-width: calc(100vw - 24px); overflow: hidden;
  background: #fff; border-radius: 12px; font-family: var(--kop-font);
  box-shadow: 0 24px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(6,91,24,.15);
}
.uta-pop__top { position: relative; height: 235px; background: linear-gradient(135deg,#044212,#065b18 50%,#087a20); }
.uta-pop__gifts { position: absolute; top: -54px; left: 50%; width: 275px; transform: translateX(-50%); filter: drop-shadow(0 8px 20px rgba(0,0,0,.35)); }
.uta-pop__limited { position: absolute; left: 34px; bottom: 14px; display: flex; gap: 14px; align-items: center; }
.uta-pop__limited-txt { color: #fff; font-size: 20px; font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.uta-pop__body { padding: 26px 28px 24px; background: #fff; }
.uta-pop__row { display: flex; gap: 18px; align-items: center; justify-content: center; margin-bottom: 18px; }
.uta-pop__logo { width: 84px; height: 84px; overflow: hidden; flex: 0 0 auto; border: 3px solid var(--kop-green); border-radius: 50%; }
.uta-pop__logo img { width: 100%; height: 100%; object-fit: cover; }
.uta-pop__bonus { max-width: 520px; color: #222; font-size: 36px; font-weight: 900; line-height: 1.05; }
.uta-pop__cta { display: block; max-width: 380px; margin: 0 auto; padding: 16px 14px; color: #fff; background: var(--kop-green); border-radius: 8px; text-align: center; text-decoration: none; }
.uta-pop__cta-main { font-size: 18px; font-weight: 900; text-transform: uppercase; }
.kop-modal {
  position: fixed; inset: 0; z-index: 1999999999; display: grid;
  place-items: center; padding: 20px; background: rgba(0,0,0,.58);
}
.kop-modal[hidden] { display: none; }
.kop-modal__dialog { position: relative; max-height: calc(100vh - 40px); overflow: auto; }
.kop-modal__close {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 38px; height: 38px;
  color: #fff; background: var(--kop-green); border: 0; border-radius: 50%;
  font-size: 25px; line-height: 1; cursor: pointer;
}

#x_popup_wrapper {
  position: fixed; left: 50%; bottom: 0; z-index: 999999; width: 100%;
  color: #333; background: #fff; border-top: 2px solid var(--kop-green);
  transform: translateX(-50%); box-shadow: 0 -2px 10px rgba(0,0,0,.1);
}
#x_popup_wrapper[hidden] { display: none; }
.x_popup_wrapper_inner { display: flex; max-width: 1200px; margin: auto; padding: 10px 20px; align-items: center; justify-content: space-between; gap: 20px; }
.x_col_logo img { display: block; width: 100px; }
.x_col_brand_name, .x_desc_title { font-size: 18px; font-weight: 700; }
.x_col_brand_stars { color: #ffd700; font-size: 30px; line-height: 1; }
.x_col_desc { flex: 1; text-align: center; }
.x_col_btn a { display: inline-block; padding: 10px 20px; color: #fff; background: var(--kop-green); border-radius: 4px; font-weight: 700; text-decoration: none; }
.x_popup_close { position: absolute; top: -15px; right: 15px; width: 30px; height: 30px; color: #fff; background: var(--kop-green); border: 0; border-radius: 50%; cursor: pointer; }

#scroll-top {
  position: fixed; right: 20px; bottom: 100px; z-index: 99999;
  display: flex; width: 52px; height: 52px; align-items: center; justify-content: center;
  color: #fff; background: #0073aa; border: 0; border-radius: 50%;
  font-size: 24px; opacity: 0; visibility: hidden; transform: translateY(15px);
  transition: .3s; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
#scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

.sc-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; align-items: stretch; }
.sc-card { display: flex; }
.sc-card.is-hidden { display: none; }
.sc-item { display: flex; width: 100%; }
.toplist-card { display: flex; width: 100%; overflow: hidden; flex-direction: column; color: #171f32; background: #fff; border: 1px solid #e7eef5; border-radius: 16px; box-shadow: 0 2px 10px rgba(23,31,50,.06); }
.toplist-card-head { position: relative; }
.fallback-logo-postcard { display: block; width: 100%; aspect-ratio: 300/160; overflow: hidden; background: #ecfdf5; }
.fallback-logo-postcard img { width: 100%; height: 100%; object-fit: cover; }
.sc-rating { position: absolute; top: 14px; right: 14px; display: flex; width: 28px; height: 28px; align-items: center; justify-content: center; background: #fff7d6; border: 2px solid #facc15; border-radius: 50%; font-size: 12px; font-weight: 800; }
.toplist-card-body { display: flex; padding: 10px 12px; flex: 1; flex-direction: column; gap: 10px; }
.sc-meta-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 8px 0; border-block: 1px solid #e7eef5; }
.slot-data-title { color: #5b6b7c; font-size: 11px; font-weight: 600; }
.txt-x-medium { font-size: 14px; font-weight: 800; }
.sc-btn { display: flex; min-height: 44px; padding: 12px 14px; align-items: center; justify-content: center; border-radius: 12px; font-weight: 700; text-align: center; text-decoration: none; }
.sc-btn-primary { color: #fff; background: #0eb980; }
.sc-btn-secondary { color: #2e3642; background: #fff; border: 1px solid #f3c54e; }
.disclaimer-container { max-height: 50px; margin-top: auto; overflow: auto; color: #5b6b7c; font-size: 11px; text-align: center; }
.sc-loadmore { grid-column: 1/-1; margin: 4px auto 0; padding: 10px 16px; background: #facc15; border: 0; border-radius: 12px; cursor: pointer; }

@media (max-width: 1180px) {
  .kop-menu-toggle { display: block; margin-left: auto; }
  .kop-nav {
    display: none; position: fixed; top: var(--kop-nav-top, 78px); left: 0; z-index: 1001;
    width: 100%; max-height: calc(100dvh - var(--kop-nav-top, 78px)); overflow-y: auto;
    padding: 8px 16px 24px; background: #fff; box-shadow: 0 10px 18px rgba(0,0,0,.12);
    overscroll-behavior: contain;
  }
  .kop-nav.is-open { display: block; }
  .kop-menu { display: block; }
  .kop-menu > li + li { border-top: 1px solid #ededed; }
  .kop-menu a { padding: 12px 48px 12px 4px; border: 0; line-height: 1.35; }
  .kop-menu > .menu-item-has-children > a::after { content: none; }
  .kop-nav .kop-menu li > .sub-menu {
    display: none; position: static; min-width: 0; padding: 0 0 7px 18px;
    background: transparent; box-shadow: none;
  }
  .kop-nav .kop-menu li.submenu-open > .sub-menu { display: block; }
  .kop-menu .sub-menu a { padding: 9px 48px 9px 4px; white-space: normal; }
  .kop-submenu-toggle {
    position: absolute; top: 5px; right: 0; display: grid; width: 40px; height: 40px;
    padding: 0; place-items: center; color: #222; background: transparent;
    border: 0; border-radius: 4px; font-size: 0; cursor: pointer;
  }
  .kop-submenu-toggle::before {
    content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg);
    transition: transform .2s ease;
  }
  .kop-submenu-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(225deg); }
  body.kop-mobile-nav-open #x_popup_wrapper { display: none; }
  .kop-footer__grid { grid-template-columns: 1fr; }
  .sc-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .casino-item, .casino-content { flex-direction: column; }
  .casino-item .logo { width: 60%; }
  .casino-item .name, .casino-item .links { width: 100%; }
  .casino-item .osob { width: 54%; }
  .casino-item .stars { width: 50%; }
  .x_popup_wrapper_inner { flex-direction: column; text-align: center; }
  .x_col_desc { margin: 10px 0; }
  .author { flex-direction: column; }
  .author .photo, .author .links { width: 100%; text-align: center; }
  .author .author__info { width: 100%; margin: 0; text-align: center; }
  .author .photo img { width: 200px; }
}
@media (max-width: 520px) {
  .kop-container { width: min(100% - 20px, var(--kop-width)); }
  .kop-main { padding-top: 16px; }
  .kop-breadcrumbs { margin-inline: 18px; }
  .kop-article, .kop-post-card { padding: 18px; }
  .uta-pop__row { flex-direction: column; }
  .uta-pop__bonus { font-size: 29px; text-align: center; }
  .sc-grid { grid-template-columns: 1fr; }
}
