@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;900&display=swap');

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

html { font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #232323;
  background: #ffffff;
  overflow-x: hidden;
}

img { display: block; }

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

.container {
  width: 100%;
  max-width: 1368px;
  margin: 0 auto;
  padding: 0 84px;
}

.logo-icon {
  position: relative;
  width: 30px;
  height: 30px;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-p {
  position: absolute;
}

.logo-p img {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

.logo-p01 { top: 2.96%;  right: 24.69%; bottom: 23.2%;  left: 24.69%; }
.logo-p02 { top: 73.58%; right: 24.69%; bottom: 12.24%; left: 24.69%; }
.logo-p03 { top: 2.96%;  right: 24.69%; bottom: 23.2%;  left: 68.72%; }
.logo-p04 { top: 73.58%; right: 24.69%; bottom: 12.24%; left: 24.69%; }
.logo-p05 { top: 23.92%; right: 1.49%;  bottom: 2.95%;  left: 55.78%; }
.logo-p06 { top: 14.35%; right: 60.65%; bottom: 77.83%; left: 31.54%; }
.logo-p07 { top: 14.35%; right: 31.69%; bottom: 77.83%; left: 60.49%; }
.logo-p08 { top: 27.63%; right: 60.65%; bottom: 64.55%; left: 31.54%; }
.logo-p09 { top: 40.72%; right: 46.29%; bottom: 51.47%; left: 45.89%; }
.logo-p10 { top: 14.49%; right: 46.11%; bottom: 78.01%; left: 45.72%; }
.logo-p11 { top: 27.77%; right: 31.52%; bottom: 64.73%; left: 60.32%; }
.logo-p12 { top: 41.05%; right: 60.47%; bottom: 51.45%; left: 31.37%; }
.logo-p13 { top: 42.1%;  right: 30.86%; bottom: 51.45%; left: 59.66%; }
.logo-p14 { top: 28.32%; right: 45.46%; bottom: 65.22%; left: 45.07%; }
.logo-p15 { top: 23.92%; right: 1.49%;  bottom: 2.95%;  left: 76.81%; }
.logo-p16 { top: 23.92%; right: 55.78%; bottom: 2.95%;  left: 1.49%;  }
.logo-p17 { top: 54.96%; right: 55.78%; bottom: 2.95%;  left: 18.46%; }
.logo-p18 { top: 1.46%;  right: 0%;     bottom: 1.45%;  left: 0%;     }

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

.logo-text {
  font-weight: 900;
  font-size: 24px;
  text-transform: uppercase;
  color: #232323;
  white-space: nowrap;
  line-height: normal;
}

.site-header {
  padding: 20px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav {
  display: flex;
  gap: 20px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 400;
  color: #232323;
  line-height: normal;
  white-space: nowrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px 50px;
  border-radius: 60px;
  background: #8f1fda;
  border: 1px solid rgba(35, 35, 35, 0.2);
  box-shadow: 0 4px 20px 0 #8f1fda;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  line-height: normal;
  flex-shrink: 0;
  max-width: 270px;
}

.section-title {
  font-size: 60px;
  font-weight: 900;
  text-transform: uppercase;
  color: #232323;
  line-height: normal;
}

.section-title-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-line {
  width: 300px;
  height: 16px;
  background: #8f1fda;
  flex-shrink: 0;
}

.dark-card {
  background: #232323;
  border-radius: 30px;
  padding: 20px;
  overflow: hidden;
  width: 100%;
}

.dark-card-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bullet {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
}

.bullet img {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
}

.hero {
  padding-bottom: 60px;
}

.hero .container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.hero-img {
  width: 528px;
  height: 553px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-img img {
  position: absolute;
  width: 100%;
  height: 121.55%;
  left: 0;
  top: -21.54%;
  max-width: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
}

.hero-description {
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  line-height: normal;
}

.story {
  padding: 60px 0;
}

.story .container {
  display: flex;
  gap: 30px;
  align-items: center;
}

.story-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 591px;
  flex-shrink: 0;
}

.story-text {
  font-size: 14px;
  font-weight: 400;
  color: #232323;
  line-height: normal;
}

.barcode-wrap {
  width: 273px;
  height: 126px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.barcode-wrap img {
  position: absolute;
  height: 271.01%;
  width: 124.28%;
  left: -10.6%;
  top: -82.35%;
  max-width: none;
}

.story-img {
  flex: 1;
  height: 621px;
  position: relative;
  overflow: hidden;
}

.story-img img {
  position: absolute;
  height: 100%;
  width: 107.43%;
  left: -2.64%;
  top: 0;
  max-width: none;
}

.why-lead {
  background: rgba(143, 31, 218, 0.12);
  padding: 60px 0;
}

.why-lead .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.why-lead-intro {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  width: 766px;
}

.why-lead-intro .section-title-group {
  align-items: center;
  width: 100%;
}

.why-lead-intro .section-title {
  text-align: center;
}

.why-lead-desc {
  font-size: 14px;
  font-weight: 400;
  color: #232323;
  line-height: normal;
  text-align: center;
  width: 100%;
}

.cards-grid {
  display: flex;
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

.feature-card {
  background: #232323;
  border-radius: 30px;
  padding: 20px;
  overflow: hidden;
  flex: 1;
}

.feature-card-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.feature-card-title {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  line-height: normal;
}

.feature-card-text {
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  line-height: normal;
}

.lightning-icon {
  width: 50px;
  height: 50px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 10px;
}

.lightning-icon img {
  position: absolute;
  height: 131.73%;
  width: 136.87%;
  left: -16.99%;
  top: -17.79%;
  max-width: none;
}

.popular-games {
  padding: 60px 0;
}

.popular-games .container {
  display: flex;
  gap: 30px;
  align-items: flex-end;
}

.games-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
}

.games-text-group {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 793px;
}

.games-desc {
  font-size: 14px;
  font-weight: 400;
  color: #232323;
  line-height: normal;
}

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

.game-img-large {
  width: 260px;
  height: 260px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.game-img-large img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.game-imgs-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}

.game-img-small {
  width: 120px;
  height: 120px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.game-img-small img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.cow-games-img {
  width: 350px;
  height: 371px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.cow-games-img img {
  position: absolute;
  height: 118.81%;
  width: 125.76%;
  left: -12.12%;
  top: -9.2%;
  max-width: none;
}

.join-fun {
  background: rgba(143, 31, 218, 0.12);
  padding: 60px 0;
  overflow: hidden;
  position: relative;
}

.join-fun-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1052px;
  height: 379px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.1;
}

.join-fun-bg img {
  position: absolute;
  height: 134.11%;
  width: 112.46%;
  left: -6.23%;
  top: -17.05%;
  max-width: none;
}

.join-fun .container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.join-fun-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  width: 766px;
}

.join-fun-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  width: 100%;
}

.join-fun-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.join-fun-heading .section-title {
  text-align: center;
}

.join-desc {
  font-size: 14px;
  font-weight: 400;
  color: #232323;
  line-height: normal;
  text-align: center;
}

.contact-card {
  background: #232323;
  border-radius: 24px;
  padding: 20px;
  width: 360px;
}

.contact-card-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.contact-info {
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  line-height: normal;
  text-align: center;
}

.contact-info p {
  line-height: normal;
}

.trophy-img {
  width: 328px;
  height: 328px;
  position: relative;
  flex-shrink: 0;
}

.trophy-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

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

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.footer-nav a {
  font-size: 14px;
  font-weight: 400;
  color: #232323;
  line-height: normal;
  white-space: nowrap;
}

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

.social-link {
  display: block;
  width: 40px;
  height: 40px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.social-link img {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  max-width: none;
}

.copyright {
  font-size: 14px;
  font-weight: 400;
  color: rgba(35, 35, 35, 0.6);
  line-height: normal;
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .section-title {
    font-size: 32px;
  }

  .hero {
    padding-bottom: 30px;
  }

  .hero .container {
    flex-direction: column;
    gap: 30px;
  }

  .hero-img {
    width: 100%;
    height: 345px;
    flex-shrink: 0;
  }

  .hero-content {
    width: 100%;
  }

  .hero-content .section-title {
    font-size: 36px;
  }

  .story {
    padding: 30px 0;
  }

  .story .container {
    flex-direction: column;
    gap: 30px;
  }

  .story-content {
    width: 100%;
  }

  .story-img {
    width: 100%;
    height: 353px;
    flex: none;
  }

  .why-lead-intro {
    width: 100%;
  }

  .cards-grid {
    flex-direction: column;
    width: 100%;
  }

  .feature-card {
    width: 100%;
    flex: none;
  }

  .popular-games {
    padding: 30px 0;
  }

  .popular-games .container {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }

  .games-content {
    width: 100%;
  }

  .games-text-group {
    max-width: 100%;
  }

  .games-grid {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .game-imgs-col {
    flex-direction: row;
  }

  .cow-games-img {
    width: 100%;
    height: 350px;
  }

  .join-fun-bg {
    width: 330px;
    height: 119px;
  }

  .join-fun-content {
    width: 100%;
  }

  .contact-card {
    width: 100%;
  }

  .trophy-img {
    width: 195px;
    height: 195px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 20px;
  }
}

a.game-img-large,
a.game-img-small {
  display: block;
}

a.game-img-large:hover img,
a.game-img-small:hover img {
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.game-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  background: #7B3FE4;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: inherit;
}

a.game-img-large:hover .game-title,
a.game-img-small:hover .game-title {
  opacity: 1;
}

.game-img-small .game-title {
  font-size: 12px;
  padding: 12px;
}

.policy-page {
  padding: 30px 0 80px;
}

.policy-wrap {
  max-width: 1098px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.policy-body {
  font-size: 14px;
  line-height: 1.6;
  color: #232323;
}

.policy-body p {
  margin: 0;
  line-height: 1.6;
}

.game-hero {
  padding: 30px 0 60px;
}

.game-hero .container {
  display: flex;
  gap: 30px;
  align-items: center;
}

.game-hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.game-hero-img {
  width: 350px;
  height: 350px;
  border-radius: 22px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.game-hero-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #232323;
}

.game-dark {
  background: #232323;
  padding: 60px 0;
}

.game-dark .container {
  display: flex;
  gap: 30px;
  align-items: center;
}

.game-dark-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.game-dark-content .section-title,
.game-dark-content .game-desc {
  color: #fff;
}

.game-dark-img {
  width: 260px;
  height: 440px;
  border-radius: 22px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.game-dark-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 22px;
}

.game-dark-img--crop {
  overflow: hidden;
}

.game-dark-img--crop img {
  position: absolute;
  width: 350.09%;
  height: 116.36%;
  left: -124.98%;
  top: -8.07%;
  object-fit: initial;
  inset: initial;
  border-radius: 0;
}

.join-fun-page {
  position: relative;
  background: rgba(143, 31, 218, 0.12);
  overflow: hidden;
  padding: 60px 0;
}

.join-fun-page-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1052px;
  opacity: 0.1;
  pointer-events: none;
}

.join-fun-page-bg img {
  width: 100%;
  height: auto;
  display: block;
}

.join-fun-page-content {
  position: relative;
  max-width: 766px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.join-fun-page-content .section-title-group {
  align-items: center;
  width: 100%;
}

.join-fun-page-content .section-title {
  text-align: center;
}

.join-fun-page-content .join-desc {
  text-align: center;
}

.contact-card-page {
  background: #232323;
  border-radius: 24px;
  padding: 20px;
  width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contact-card-page .bullet {
  width: 20px;
  height: 20px;
  position: relative;
}

.contact-card-page .bullet img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.contact-info-page {
  text-align: center;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  width: 100%;
}

.contact-info-page p {
  line-height: 1.4;
  margin: 0;
}

.game-trophy {
  width: 328px;
  height: 328px;
  position: relative;
}

.game-trophy img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .game-hero {
    padding: 20px 0 40px;
  }

  .game-hero .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .game-hero-img {
    width: 260px;
    height: 260px;
    align-self: center;
  }

  .game-dark {
    padding: 40px 0;
  }

  .game-dark .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .game-dark-img {
    width: 260px;
    align-self: center;
  }

  .contact-card-page {
    width: 100%;
    max-width: 360px;
  }

  .game-trophy {
    width: 260px;
    height: 260px;
  }
}

.btn-primary {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px 0 #8f1fda;
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 20px 0 #8f1fda;
}

.site-nav a,
.footer-nav a {
  transition: color 0.2s ease;
}
.site-nav a:hover,
.footer-nav a:hover {
  color: #8f1fda;
}

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

.feature-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(143, 31, 218, 0.28);
}

.social-link {
  transition: transform 0.2s ease;
}
.social-link:hover {
  transform: scale(1.2);
}

.contact-card,
.contact-card-page {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.contact-card:hover,
.contact-card-page:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(35, 35, 35, 0.25);
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-img {
  animation: fadeInLeft 0.7s ease both;
}

.hero-content {
  animation: fadeInUp 0.7s ease 0.18s both;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

@keyframes floatYSlow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.trophy-img {
  animation: floatY 5s ease-in-out infinite;
}

.game-trophy {
  animation: floatY 5s ease-in-out 0.5s infinite;
}

.cow-games-img {
  animation: floatYSlow 6.5s ease-in-out 1s infinite;
}

.anim-hidden {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 40px));
  z-index: 9999;
  width: 100%;
  max-width: 640px;
  padding: 0 16px;
  transition: transform 0.45s cubic-bezier(0.34, 1.26, 0.64, 1), opacity 0.35s ease;
  opacity: 0;
  pointer-events: none;
}

.cookie-banner--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner--hiding {
  transform: translateX(-50%) translateY(calc(100% + 40px));
  opacity: 0;
  pointer-events: none;
}

.cookie-banner-inner {
  background: #232323;
  border: 2px solid #8f1fda;
  border-radius: 24px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.cookie-banner-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.cookie-banner-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.cookie-banner-title {
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.15;
}

.cookie-banner-text {
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.6;
}

.cookie-banner-link {
  color: #b36ef5;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cookie-banner-link:hover {
  color: #ffffff;
}

.cookie-banner-accept,
.cookie-banner-manage {
  width: 100%;
  padding: 20px 24px;
  border-radius: 60px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  letter-spacing: 0.04em;
}

.cookie-banner-accept {
  background: #8f1fda;
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 20px 0 rgba(143, 31, 218, 0.5);
}

.cookie-banner-accept:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px 0 rgba(143, 31, 218, 0.7);
}

.cookie-banner-manage {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.cookie-banner-manage:hover {
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 12px;
  }

  .cookie-banner-inner {
    padding: 24px 20px 20px;
  }

  .cookie-banner-title {
    font-size: 22px;
  }
}
