﻿.site-header {
  background-color: var(--queenBlack);
  position: relative;
  padding-block: 0.5rem;
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.site-header .site-branding {
  display: inline-flex;
  align-items: center;
}

.site-header .site-logo,
.site-header .custom-logo {
  display: block;
  width: 180px;
  max-height: 60px;
  max-width: 100%;
  aspect-ratio: 1/2;
}

nav {
  background-color: var(--queenBlack);
  padding-block: 0.75rem;
  margin-top: -5px;
}

.home-shortcode-list {
  padding: 0;
  list-style: none;
  list-style-position: inside;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-shortcode-item {
  width: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid var(--queenPurple);
  background-image: linear-gradient(
    270deg,
    rgba(97, 10, 65, 1) 0%,
    rgba(199, 21, 133, 1) 100%
  );
  color: var(--queenWhite);
  padding: 5px;
  border-radius: 10px;
  transition: 0.25s;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  text-align: left;
  position: relative;
  overflow: visible;
  z-index: 0;
}

.home-shortcode-item::before {
  content: '';
  position: absolute;
  inset: -8px;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.home-shortcode-item::after {
  content: '';
  position: absolute;
  right: -12px;
  bottom: 0;
  width: 220px;
  height: 110px;
  background: var(--sq-page-links-bg) no-repeat right bottom / contain;
  pointer-events: none;
  z-index: 0;
}

.home-shortcode-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 5px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.home-shortcode-title {
  color: var(--queenWhite);
  font-size: 1.25rem;
  font-weight: 600;
}

.home-shortcode-btn {
  border: 0;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--queenWhite);
  color: var(--queenPurple);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 10px;
  transition: 0.25s;
}

.home-shortcode-btn:where(:hover, :focus) {
  background-color: var(--queenPurple);
  color: var(--queenWhite);
  animation: none;
  text-shadow: none;
}

.page .page-title {
  display: none;
}

.banner {
  text-align: center;
}

#site-banner h1 {
  position: relative;
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--queenWhite);
  padding-block: 1rem;
  text-shadow: 0 0 3px var(--queenBlack);
  transform-origin: center;
  will-change: transform, opacity;
  animation: sq-heading-in 600ms cubic-bezier(0.2, 0.6, 0.2, 1) both;
}
#site-banner h1::after {
  content: '';
  display: block;
  height: 12px;
  width: 0;
  max-width: 525px;
  margin: 0rem auto;
  background-image: var(--sq-title-underline);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0;
  will-change: width, opacity;
  animation: sq-heading-underline 700ms cubic-bezier(0.2, 0.6, 0.2, 1) 120ms
    forwards;
}

#site-banner h1.has-text-align-center::after {
  margin-left: auto;
  margin-right: auto;
}
#site-banner h1.has-text-align-right::after {
  margin-left: auto;
}

@keyframes sq-heading-in {
  from {
    transform: scale(0.92);
    opacity: 0;
    filter: blur(1px);
  }
  to {
    transform: scale(1);
    opacity: 1;
    filter: none;
  }
}
@keyframes sq-heading-underline {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  #site-banner h1 {
    animation: none !important;
  }
  #site-banner h1::after {
    animation: none !important;
    width: 100%;
    opacity: 1;
  }
}

#mcb-casino-sortbar,
.home-shortcode-list {
  opacity: 0;
  animation: sq-fade-in 500ms ease-out 450ms forwards;
}

@keyframes sq-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 800px) {
  .home-shortcode-item {
    width: 150px;
  }
  .home-shortcode-item::after {
    content: '';
    position: absolute;
    width: 140px;
  }
  .home-shortcode-title {
    font-size: 1rem;
  }
  .home-shortcode-btn {
    padding: 2px 8px;
    font-size: 0.7rem;
  }
  #site-banner h1 {
    font-size: 3.5rem;
  }
}
