
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-padding-top: var(--header-height);
}

body {
  background: url("images/bg.jpg") center / cover no-repeat;
  background-color: #591D1D;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

h1, h2, .headerNav a {
  font-weight: 900;
}

:root {
  --header-height: 80px;
}

.headerBar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;

  background: linear-gradient(
    to bottom,
    rgba(42, 12, 12, 0.99) 0%,
    rgba(42, 12, 12, 0.97) 35%,
    rgba(42, 12, 12, 0.90) 65%,
    rgba(42, 12, 12, 0.20) 85%,
    rgba(42, 12, 12, 0) 100%
  );
}

.headerInner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 40px;
}

.headerLeft {
  justify-self: start;
}

.siteLogo {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.headerNav {
  display: flex;
  justify-content: center;
  gap: 24px;
  width: 100%;  
}

.headerNav a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;

  color: #fff;
  text-decoration: none;

  font-weight: 1500;
  font-size: 18px;
  letter-spacing: 0.08em;

  padding: 6px 10px;

  
}

.headerNav a::after {
  content: attr(data-en);

  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;

  opacity: 0.6;
  margin-top: 2px;
}

.headerNav a:hover {
  opacity: 0.7;
}

.headerRight {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.xButton {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;

  background: #000;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;

  border: 1px solid rgba(255,255,255,0.4);

  transition: 0.2s;
}

.xButton:hover {
  background: #fff;
  color: #000;
}

.pcOnly {
  display: inline-block;
}

.spOnly {
  display: none;
}

.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #fff;
}

.headerNav img {
  height: 70px;
  width: auto;
  display: block;
}

.heroInner,
.heroInner {
  width: 100%;
  height: 100%;
}

.heroInner picture {
  display: block;
  width: 100%;
  height: 100%;
}

.heroInner img {
  width: 100%;
  height: auto;
  display: block;

  object-fit: contain;
  object-position: center top;
}

.heroTextWrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.heroBlock {
  margin-top: 80px;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.heroInner img {
   width: 100%;
  height: auto;
  display: block;
}

.heroSubText {
  width: min(60vw, 1200px);
  height: auto;
  transform: translateY(-50px);
  position: relative;
}


.heroContent {
  position: absolute;
  inset: 0;

  display: flex;
  justify-content: center;
  align-items: center;
}

.heroTitle img {
  width: min(50vw, 1200px);
  height: auto;
}

.heroCatch {
  margin-top: 10px;
  color: #fff;
  opacity: 0.7;
}

.heroTitle {
  animation: popLogo 0.6s ease-out forwards;
}

@keyframes popLogo {
  0% {
    transform: scale(0.1);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
  }
  80% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

.scrollHint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: #fff;
  opacity: 0.5;
}

.infoBlock {
  padding: 20px 20px;
  text-align: center;
}

.infoCard {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 16px;
  padding: 30px 25px;

  width: min(90%, 1200px);
  margin: 0 auto;

  color: #fff;
}

.infoCard h2 {
  margin-bottom: 15px;
  font-size: 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 8px;
}

.infoCard p {
  line-height: 1.8;
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 80%;
}

.casinoBtn {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 24px;

  color: #111;
  font-weight: bold;
  text-decoration: none;

  background: linear-gradient(145deg, #d4af37, #ffd700);
  border: 2px solid #b8962e;
  border-radius: 6px;

  box-shadow:
    0 4px 10px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.6);

  transition: all 0.2s ease;
}

.casinoBtn:hover {
  background: linear-gradient(145deg, #ffd700, #fff2a8);
  transform: translateY(-2px);
  box-shadow:
    0 6px 14px rgba(0,0,0,0.7),
    0 0 10px rgba(255,215,0,0.6);
}

.fadeTarget {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.5s;
}

.fadeTarget.show {
  opacity: 1;
  transform: translateY(0);
}

.backTopBtn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.8);
  cursor: pointer;
  display: none;
}

.backTopBtn.show {
  display: block;
}

.siteFooter {
  margin-top: 80px;
  padding: 40px 20px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  text-align: center;
}

.footerInner {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

.footerShare {
  margin-bottom: 20px;
}

.footerShare span {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  opacity: 0.7;
}

.shareLinks {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.shareBtn {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
}

.infoCard {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.infoCard img {
  max-width: 80%;
  height: auto;
}

.footerLinks {
  margin: 20px 0;
}

.footerLinks a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin: 0 10px;
  font-size: 12px;
}

.footerCopy {
  margin-top: 20px;
  font-size: 12px;
  opacity: 0.6;
}

.headerNav .mobileX {
  display: none !important;
}

@media (max-width: 950px) {

  :root {
    --header-height: 60px;
  }

  .headerInner {
    padding: 0 20px;
  }

  .headerNav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    flex-direction: column;
    background: #000;
    width: 220px;
    height: calc(100vh - var(--header-height));
    padding: 20px;
    transition: 0.3s;
  }

  .headerNav a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;

    color: #fff;
    text-decoration: none;

    font-weight: 1500;
    font-size: 18px;
    letter-spacing: 0.08em;

    padding: 6px 10px;
    transition: 0.2s;
  }

  .pcOnly {
    display: none;
  }

  .spOnly {
    display: block;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
  }

  .heroBlock {
    position: relative;
  }

  .heroSubText {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(80vw, 1400px);
    height: auto;
    display: block;
  }

  .heroTitle img {
    width: min(100vw, 1600px);
    height: auto;
  }

  .headerRight {
    display: flex;
  }

  .headerNav a::after {
    content: attr(data-en);

    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.15em;

    opacity: 0.6;
    margin-top: 2px;
  }

  .headerNav.open {
    right: 0;
  }

  .hamburger {
    display: block;
  }

  .headerNav .mobileX {
    display: flex !important;
    margin-top: 20px;
    padding-top: 15px;

    border-top: 1px solid rgba(255,255,255,0.2);

    font-weight: 800;
    letter-spacing: 0.08em;

    color: #fff;
  }

  .infoCard img {
    max-width: 125%;
    height: auto;
  }

  .infoCard {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 16px;
    padding: 30px 25px;

    width: min(100%, 1200px);
    margin: 0 auto;

    color: #fff;
  }
}