/* slovenskicasino.si — header (D split) + footer (7 inset / cool panel) */

.wrapper {
  padding-top: 7rem !important;
}

/* ── HEADER: light panel + left red stripe + blue bottom rule ── */
.header {
  position: fixed !important;
  height: 7rem !important;
  background: linear-gradient(
    90deg,
    #e51a38 0,
    #e51a38 0.45rem,
    #f8f9fb 0.45rem,
    #f8f9fb 100%
  ) !important;
  border-bottom: 0.3rem solid #2a5ca8 !important;
  box-shadow: 0 0.15rem 1.2rem rgba(42, 92, 168, 0.12) !important;
}

.header::before,
.header::after {
  content: none !important;
  display: none !important;
}

.header .logo::before,
.header .logo::after {
  content: none !important;
  display: none !important;
}

.header .search-toggle svg {
  fill: #484040 !important;
}

.header .search-toggle:hover svg,
.header .search-toggle:focus svg,
.header .search-toggle--active svg {
  fill: #2a5ca8 !important;
}

.header__menu-toggle {
  border-color: #484040 !important;
}

.header__menu-toggle span {
  background: #484040 !important;
}

/* Language flags — rounded square outline */
.header__nav a {
  padding: 0.3rem !important;
  border-radius: 0.45rem !important;
  border: 0.15rem solid #c8d4e4 !important;
  background: #ffffff !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.header__nav a:hover,
.header__nav a:focus {
  border-color: #2a5ca8 !important;
  box-shadow: 0 0.2rem 0.7rem rgba(42, 92, 168, 0.18) !important;
}

.header__nav a[aria-current="page"] {
  border-color: #e51a38 !important;
  box-shadow: inset 0 0 0 0.1rem rgba(229, 26, 56, 0.25) !important;
}

@media screen and (max-width: 1199px) {
  .header__nav {
    top: 6.9rem !important;
    background: #ffffff !important;
    border: 0.1rem solid #dce4ef !important;
    box-shadow: 0 0.6rem 1.6rem rgba(42, 92, 168, 0.12) !important;
  }
}

@media screen and (min-width: 1200px) {
  .header__nav {
    display: flex !important;
  }

  .header__menu-toggle {
    display: none !important;
  }
}

/* ── INTRO-HOME: anchors one row on desktop ── */
@media screen and (min-width: 992px) {
  .intro-home__list {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 0.85rem !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .intro-home__list li {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .intro-home__list a {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    flex: 1 1 0 !important;
    font-size: 1.55rem !important;
    padding: 1rem 0.75rem 1rem 1rem !important;
  }

  .intro-home__list svg {
    width: 2.5rem !important;
    height: 2.5rem !important;
    margin-right: 0.9rem !important;
    flex-shrink: 0 !important;
  }
}

/* ── FOOTER: cool gray band + inset desc panel ── */
.footer {
  background-image: none !important;
  background-color: #e8edf4 !important;
  color: #484040 !important;
  padding: 2.8rem 0 2rem !important;
  border-top: 0.35rem solid #2a5ca8 !important;
}

.footer a {
  color: #484040 !important;
}

.footer a:hover,
.footer a:focus {
  color: #e51a38 !important;
}

.footer__nav {
  display: none !important;
}

.footer__tel {
  display: none !important;
}

.footer__subtitle {
  margin: 0 0 2rem !important;
  padding-bottom: 0.65rem !important;
  color: #2a5ca8 !important;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  border-bottom: 0.2rem solid #ddfc53 !important;
  display: inline-block !important;
}

.footer__info-imgs img {
  border-radius: 0.55rem !important;
  box-shadow: 0 0.15rem 0.65rem rgba(72, 64, 64, 0.14) !important;
}

.footer__info-help {
  color: #3d4550 !important;
  font-weight: 600 !important;
}

.footer__desc {
  margin: 0 0 2rem !important;
  padding: 1.35rem 1.5rem 1.35rem 1.25rem !important;
  color: #4a525c !important;
  background: #ffffff !important;
  border-left: 0.45rem solid #e51a38 !important;
  border-radius: 0 0.55rem 0.55rem 0 !important;
  box-shadow: 0 0.2rem 0.9rem rgba(42, 92, 168, 0.08) !important;
  font-size: 1.22rem !important;
  line-height: 1.58 !important;
}

.footer__bottom {
  font-size: 1.2rem !important;
}

.footer__bottom a {
  text-decoration: underline !important;
  text-underline-offset: 0.2rem !important;
  font-weight: 600 !important;
  transition: color 0.2s !important;
}

.footer__bottom li:last-child {
  color: #6b7280 !important;
}

.footer__bottom li:last-child::before,
.footer__bottom li:nth-child(2)::before {
  content: none !important;
  display: none !important;
}

@media screen and (min-width: 576px) {
  .footer {
    background-image: none !important;
    padding: 3rem 0 2rem !important;
  }
}

@media screen and (min-width: 768px) {
  .footer {
    background-image: none !important;
    padding: 3.5rem 0 2rem !important;
  }
}

@media screen and (min-width: 992px) {
  .footer {
    background-image: none !important;
    padding: 4rem 0 2.2rem !important;
  }
}

@media screen and (min-width: 1200px) {
  .footer {
    background-image: none !important;
    padding: 4.2rem 0 2.2rem !important;
  }
}

/* ── UTILITY PAGES ── */
.wrapper--utility {
  padding-top: 7rem !important;
  padding-bottom: 4rem !important;
  min-height: 50vh !important;
}

.page-standalone {
  text-align: center !important;
  padding: 4rem 1.5rem !important;
}

.page-standalone__code {
  margin: 0 0 0.5rem !important;
  font-size: 6rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #2a5ca8 !important;
}

.page-standalone__title {
  margin: 0 0 1rem !important;
  font-size: 2.4rem !important;
  color: #484040 !important;
}

.page-standalone__text {
  margin: 0 auto 2rem !important;
  max-width: 42rem !important;
  font-size: 1.6rem !important;
  color: #5a6270 !important;
  line-height: 1.5 !important;
}

.page-standalone__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  justify-content: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.page-standalone__actions a {
  display: inline-block !important;
  padding: 0.9rem 1.8rem !important;
  border-radius: 0.45rem !important;
  background: #2a5ca8 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background 0.2s !important;
}

.page-standalone__actions a:hover,
.page-standalone__actions a:focus {
  background: #e51a38 !important;
  color: #ffffff !important;
}

.page-standalone__actions a.page-standalone__actions-link--alt {
  background: #484040 !important;
}

.page-standalone__actions a.page-standalone__actions-link--alt:hover,
.page-standalone__actions a.page-standalone__actions-link--alt:focus {
  background: #2a5ca8 !important;
}

.redirection-page--in-site {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 40vh !important;
  padding: 3rem 1.5rem !important;
}

.redirection-page--in-site > .wrapper {
  padding-top: 0 !important;
  text-align: center !important;
  max-width: 48rem !important;
  padding: 2.5rem 2rem !important;
  background: #ffffff !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 0.35rem 1.8rem rgba(42, 92, 168, 0.14) !important;
  border-left: 0.45rem solid #e51a38 !important;
}

.redirection-page--in-site h1 {
  margin: 0 0 1.5rem !important;
  font-size: 2.2rem !important;
  color: #484040 !important;
}

.redirection-page--in-site .progress-bar {
  height: 0.5rem !important;
  background: #dce4ef !important;
  border-radius: 999px !important;
  overflow: hidden !important;
}

.redirection-page--in-site .progress-bar__fill {
  display: block !important;
  height: 100% !important;
  width: 0 !important;
  background: linear-gradient(90deg, #2a5ca8, #ddfc53) !important;
  border-radius: 999px !important;
  animation: tcd-progress 2s ease-out forwards !important;
}

@keyframes tcd-progress {
  to {
    width: 100%;
  }
}
