@import url('https://api.fontshare.com/v2/css?f[]=integral-cf@700,400,500&display=swap');

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

:root {
  --color-dark: #171717;
  --color-red: #d80000;
  --color-white: #ffffff;
  --color-dark-05: rgba(23,23,23,0.05);
  --color-dark-50: rgba(23,23,23,0.5);
  --font-regular: 'Integral CF', sans-serif;
  --font-medium: 'Integral CF', sans-serif;
  --font-extrabold: 'Integral CF', sans-serif;
}

html {
  font-size: 16px;
}

body {
  background: var(--color-white);
  color: var(--color-dark);
  font-family: var(--font-regular);
  font-weight: 400;
  overflow-x: hidden;
  max-width: 1368px;
  margin-left: auto;
  margin-right: auto;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}


.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--color-white);
  z-index: 100;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-inner {
  width: 100%;
  max-width: 1368px;
  padding: 0 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-medium);
  font-weight: 500;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--color-dark);
  white-space: nowrap;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  font-family: var(--font-regular);
  font-weight: 400;
  font-size: 14px;
  color: var(--color-dark);
  text-transform: uppercase;
  white-space: nowrap;
}


.hero {
  position: relative;
  padding-top: 70px;
  overflow: hidden;
}

.hero-content-area {
  position: relative;
  min-height: 638px;
}

.hero-bg-img {
  position: absolute;
  right: 0;
  top: 120px;
  width: 1284px;
  height: 498px;
  object-fit: cover;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 60px 84px;
  max-width: 1037px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-texts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero-title {
  font-family: var(--font-extrabold);
  font-weight: 700;
  font-size: 100px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-dark);
}

.hero-desc {
  font-family: var(--font-extrabold);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-dark);
  text-transform: uppercase;
  max-width: 423px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  background: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-regular);
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  padding: 24px 60px;
  border-radius: 60px;
  height: 65px;
  white-space: nowrap;
  cursor: pointer;
}


.ticker-bar {
  background: var(--color-red);
  height: 90px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
  padding-right: 40px;
  animation: ticker-scroll 20s linear infinite;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.ticker-text {
  font-family: var(--font-extrabold);
  font-weight: 700;
  font-size: 27px;
  text-transform: uppercase;
  color: var(--color-white);
  white-space: nowrap;
}

.ticker-barcode {
  width: 120px;
  height: 52px;
  flex-shrink: 0;
  -webkit-mask-image: url(/wp-content/themes/velthainegloom/assets/images/barcode.png);
  mask-image: url(/wp-content/themes/velthainegloom/assets/images/barcode.png);
  -webkit-mask-size: 120px 52px;
  mask-size: 120px 52px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  background: var(--color-white);
}


.story-section {
  padding: 60px 84px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  position: relative;
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 813px;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-extrabold);
  font-weight: 700;
  font-size: 80px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-dark);
}

.section-body {
  font-family: var(--font-extrabold);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-dark);
  text-transform: uppercase;
}

.story-img {
  position: absolute;
  left: calc(50% + 10px);
  top: 125px;
  width: 590px;
  height: 464px;
  object-fit: cover;
  border-radius: 16px;
  overflow: hidden;
}

.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.legends-section {
  padding: 60px 84px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.legends-barcode {
  width: 174px;
  height: 90px;
  flex-shrink: 0;
  -webkit-mask-image: url(/wp-content/themes/velthainegloom/assets/images/barcode.png);
  mask-image: url(/wp-content/themes/velthainegloom/assets/images/barcode.png);
  -webkit-mask-size: 174px 90px;
  mask-size: 174px 90px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.legends-barcode--dark {
  background: var(--color-dark);
}

.legends-barcode--red {
  background: var(--color-red);
}

.legends-center {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  flex: 1;
  max-width: 813px;
}

.legends-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
  color: var(--color-dark);
}

.legends-title {
  font-family: var(--font-extrabold);
  font-weight: 700;
  font-size: 80px;
  line-height: 1;
  text-transform: uppercase;
}

.legends-desc {
  font-family: var(--font-extrabold);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
  max-width: 555px;
  text-transform: uppercase;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.game-card {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  overflow: hidden;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}


.faq-section {
  padding: 60px 84px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faq-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1098px;
  color: var(--color-dark);
}

.faq-body {
  display: flex;
  gap: 20px;
  align-items: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 692px;
  flex-shrink: 0;
}

.faq-item {
  background: var(--color-dark-05);
  border-radius: 24px;
  padding: 20px;
  cursor: pointer;
  user-select: none;
}

.faq-item-inner {
  display: flex;
  gap: 20px;
  align-items: center;
}

.faq-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  color: var(--color-dark);
}

.faq-q {
  font-family: var(--font-extrabold);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  text-transform: uppercase;
}

.faq-a {
  font-family: var(--font-extrabold);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
  text-transform: uppercase;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
  margin-top: 0;
}

.faq-item.open .faq-a {
  max-height: 300px;
  margin-top: 20px;
}

.faq-icon {
  width: 24px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-img-wrap {
  width: 488px;
  height: 479px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 16px;
}

.faq-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.join-section {
  background: var(--color-dark);
  padding: 60px 0;
  overflow: hidden;
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}

.join-inner {
  max-width: 942px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  padding: 0 20px;
}

.join-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
  color: var(--color-white);
}

.join-title {
  font-family: var(--font-extrabold);
  font-weight: 700;
  font-size: 100px;
  line-height: 1;
  text-transform: uppercase;
}

.join-desc {
  font-family: var(--font-extrabold);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
  text-transform: uppercase;
  text-align: center;
}

.contact-boxes {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 475px;
}

.contact-box {
  background: var(--color-white);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-box-text {
  font-family: var(--font-extrabold);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--color-dark);
  text-align: center;
  white-space: nowrap;
}


.catalog-section {
  padding: 70px 84px 60px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.catalog-section .legends-center {
  max-width: 813px;
}

.catalog-desc {
  font-family: var(--font-extrabold);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-dark);
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

.game-card-link {
  display: block;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
}

.game-card-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-extrabold);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  text-align: center;
  padding: 10px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.25s ease, transform 0.25s ease;
  border-radius: 26px;
}

.game-card-link:hover .game-card-label {
  opacity: 1;
  transform: scale(1);
}

.game-card-link:hover img {
  opacity: 0.3;
}


.policy-section {
  padding: 70px 84px 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--color-dark);
}

.policy-title {
  font-family: var(--font-extrabold);
  font-weight: 700;
  font-size: 80px;
  line-height: 1;
  text-transform: uppercase;
}

.policy-body {
  font-family: var(--font-regular);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  max-width: 1098px;
}

.policy-body p {
  margin: 0;
}


.game-intro-section {
  padding: 90px 84px 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.game-intro-title {
  font-family: var(--font-extrabold);
  font-weight: 700;
  font-size: 100px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-dark);
  text-align: center;
}

.game-intro-desc {
  font-family: var(--font-extrabold);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--color-dark);
  max-width: 860px;
  text-align: center;
  align-self: center;
}

.game-intro-img-wrap {
  width: 360px;
  height: 280px;
  border-radius: 34px;
  overflow: hidden;
  align-self: center;
}

.game-intro-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-intro-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.game-intro-btn {
  flex-shrink: 0;
}

.game-detail-section {
  padding: 60px 84px;
  display: flex;
  gap: 30px;
  align-items: center;
}

.game-detail-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 737px;
  flex-shrink: 0;
}

.game-detail-img {
  width: 433px;
  height: 418px;
  border-radius: 34px;
  overflow: hidden;
  flex-shrink: 0;
}

.game-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.site-footer {
  padding: 30px 84px;
  border-top: 1px solid rgba(23,23,23,0.15);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: var(--font-extrabold);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-dark);
  white-space: nowrap;
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--color-red);
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-social img {
  width: 50px;
  height: 50px;

}

.footer-copy {
  font-family: var(--font-extrabold);
  font-weight: 700;
  font-size: 12px;
  color: var(--color-dark-50);
  white-space: nowrap;
  text-transform: uppercase;
}


@media (max-width: 768px) {

  
  .site-header {
    height: auto;
    padding: 20px 15px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .nav {
    gap: 20px;
  }

  
  .catalog-section {
    padding: 102px 15px 40px;
    flex-direction: column;
    align-items: center;
  }

  
  .hero {
    padding-top: 102px;
  }

  .hero-content-area {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero-bg-img {
    position: static;
    order: 2;
    width: 100%;
    height: 306px;
    object-fit: cover;
    object-position: center;
  }

  .hero-content {
    order: 1;
    padding: 20px 15px 30px;
    max-width: 100%;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.1;
  }

  .hero-desc {
    max-width: 100%;
  }

  .btn-primary {
    width: 100%;
    max-width: 330px;
  }

  
  .ticker-bar {
    height: 60px;
  }

  .ticker-text {
    font-size: 16px;
  }

  .ticker-track {
    gap: 25px;
    padding-right: 25px;
    animation-duration: 12s;
  }

  .ticker-barcode {
    width: 80px;
    height: 34px;
    -webkit-mask-size: 80px 34px;
    mask-size: 80px 34px;
  }

  
  .story-section {
    flex-direction: column;
    padding: 40px 15px;
    gap: 30px;
  }

  .story-text {
    max-width: 100%;
  }

  .section-title {
    font-size: 30px;
    line-height: 1.1;
  }

  .story-img {
    position: static;
    width: 100%;
    height: 270px;
    border-radius: 16px;
  }

  .story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  
  .legends-section {
    flex-direction: column;
    align-items: center;
    padding: 40px 15px;
    gap: 20px;
  }

  .legends-barcode {
    width: 174px;
    height: 90px;
  }

  .legends-center {
    width: 100%;
    max-width: 330px;
  }

  .legends-title {
    font-size: 30px;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .game-card {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  
  .faq-section {
    padding: 40px 15px;
  }

  .faq-header {
    max-width: 100%;
  }

  .faq-body {
    flex-direction: column;
    align-items: stretch;
  }

  .faq-list {
    width: 100%;
  }

  .faq-q {
    font-size: 22px;
  }

  .faq-img-wrap {
    width: 100%;
    height: 323px;
  }

  
  .join-section {
    padding: 60px 0;
  }

  .join-inner {
    max-width: 330px;
    padding: 0;
  }

  .join-title {
    font-size: 30px;
  }

  .contact-boxes {
    width: 100%;
    max-width: 330px;
  }

  .contact-box-text {
    font-size: 14px;
    white-space: normal;
    text-align: center;
  }

  
  .policy-section {
    padding: 102px 15px 40px;
  }

  .policy-title {
    font-size: 30px;
  }

  
  .game-intro-section {
    padding: 102px 15px 40px;
  }

  .game-intro-title {
    font-size: 36px;
  }

  .game-intro-img-wrap {
    width: 100%;
    max-width: 280px;
    height: 220px;
  }

  .game-intro-bottom {
    gap: 10px;
  }

  .game-detail-section {
    padding: 40px 15px;
    flex-direction: column;
  }

  .game-detail-text {
    width: 100%;
  }

  .game-detail-img {
    width: 100%;
    height: 318px;
    border-radius: 34px;
  }

  
  .site-footer {
    padding: 20px 15px;
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .footer-copy {
    white-space: normal;
  }
}

/* ─── HOVER EFFECTS ──────────────────────────────────────── */

.nav a {
  transition: color 0.2s ease;
}
.nav a:hover {
  color: var(--color-red);
}

.logo {
  transition: opacity 0.2s ease;
}
.logo:hover {
  opacity: 0.75;
}

.btn-primary {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(216, 0, 0, 0.35);
}

.game-card-link:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.game-card {
  transition: transform 0.3s ease;
}

.faq-item {
  transition: background 0.2s ease, transform 0.2s ease;
}
.faq-item:hover {
  background: rgba(23, 23, 23, 0.09);
}

.footer-nav a {
  transition: color 0.2s ease;
}
.footer-nav a:hover {
  color: var(--color-red);
}

.footer-social a {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.footer-social a:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 18px rgba(216, 0, 0, 0.4);
}

.contact-box {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-box:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

.cookie-banner__accept {
  transition: background 0.2s ease, transform 0.2s ease;
}
.cookie-banner__accept:hover {
  transform: scale(1.02);
}

.cookie-banner__settings {
  transition: background 0.2s ease, transform 0.2s ease;
}
.cookie-banner__settings:hover {
  transform: scale(1.02);
}

/* ─── SCROLL ANIMATIONS ──────────────────────────────────── */

.anim-fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.anim-fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.anim-slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-slide-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .anim-fade-up,
  .anim-slide-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 730px;
  background: #171717;
  border: 2px solid #D80000;
  border-radius: 20px;
  padding: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner__icon {
  width: 60px;
  height: 60px;
}

.cookie-banner__title {
  font-family: 'Integral CF', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0;
}

.cookie-banner__text {
  font-family: 'Integral CF', sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.6;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0;
}

.cookie-banner__accept {
  display: block;
  width: 100%;
  padding: 18px;
  background: #D80000;
  border: none;
  border-radius: 50px;
  font-family: 'Integral CF', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
}

.cookie-banner__accept:hover {
  background: #b50000;
}

.cookie-banner__settings {
  display: block;
  width: 100%;
  padding: 18px;
  background: transparent;
  border: 2px solid #FFFFFF;
  border-radius: 50px;
  font-family: 'Integral CF', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.cookie-banner__settings:hover {
  background: rgba(255,255,255,0.05);
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    padding: 20px 15px;
  }

  .cookie-banner__title {
    font-size: 22px;
  }
}

.section-body.anim-fade-up.in-view{
  max-width: 518px;
}