/* LINALA.com Replica - Design System */
:root {
  --primary: #1538c0;
  --primary-dark: #0f2a8f;
  --text-main: #191919;
  --text-muted: #515151;
  --white: #ffffff;
  --footer-bg: #f7f7f5;
  --dark: #191919;
  --top-header: #0f0f0f;
  --font: 'Nunito Sans', sans-serif;
  --font-inter: 'Inter', sans-serif;
  --transition: 0.5s all ease;
  --wrap-width: 1396px;
  --space-bg: #03030a;
  --space-surface: rgba(8, 8, 22, 0.55);
  --space-border: rgba(255, 255, 255, 0.08);
  --text-on-dark: #f0f0f5;
  --text-muted-dark: #9ca3b8;
}

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

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background: var(--space-bg);
}

body {
  font-family: var(--font);
  color: var(--text-main);
  background: transparent;
  line-height: 1.5;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}

input,
textarea {
  user-select: text;
  -webkit-user-select: text;
}

img,
a {
  -webkit-user-drag: none;
  user-drag: none;
}

/* ===== GALAXY BACKGROUND ===== */
.galaxy-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 100% at 50% 50%, #0a0a18 0%, #03030a 100%);
  overflow: hidden;
}

.galaxy-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 25% 65%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 40% 15%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 55% 80%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 70% 35%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 85% 70%, rgba(255, 255, 255, 0.38), transparent),
    radial-gradient(1px 1px at 95% 10%, rgba(255, 255, 255, 0.42), transparent),
    radial-gradient(1px 1px at 15% 90%, rgba(255, 255, 255, 0.33), transparent),
    radial-gradient(1px 1px at 60% 50%, rgba(255, 255, 255, 0.28), transparent),
    radial-gradient(1px 1px at 33% 42%, rgba(255, 255, 255, 0.36), transparent);
  background-size: 200px 200px;
  background-repeat: repeat;
  opacity: 1;
}

#stars-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.galaxy-nebula {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 0% 40%, rgba(150, 45, 100, 0.38) 0%, transparent 62%),
    radial-gradient(ellipse 70% 60% at 5% 80%, rgba(100, 25, 80, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 80% 70% at 100% 85%, rgba(30, 110, 190, 0.32) 0%, transparent 58%),
    radial-gradient(ellipse 60% 50% at 95% 20%, rgba(25, 80, 150, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(21, 56, 192, 0.12) 0%, transparent 45%);
  animation: nebulaDrift 28s ease-in-out infinite alternate;
}

@keyframes nebulaDrift {
  0% { opacity: 0.85; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.04); }
}

main {
  position: relative;
  z-index: 1;
  background: transparent;
}

.header,
footer,
.mobile-menu,
.scroll-top {
  position: relative;
  z-index: 1;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

.wrap {
  width: var(--wrap-width);
  margin: 0 auto;
  height: 100%;
  position: relative;
}

.desktop-only { display: block; }
.mobile-only { display: none; }

/* ===== HEADER ===== */
.header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition);
}

.header.fixed {
  position: fixed;
  top: 0;
  background: rgba(5, 5, 18, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid var(--space-border);
}

.top-header {
  background: var(--top-header);
  padding: 5px 0;
}

.container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1600px;
  max-width: 90%;
  margin: 0 auto;
}

.top-header .left {
  display: flex;
  gap: 32px;
}

.top-header .left a {
  font-family: var(--font-inter);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-header .right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-top {
  display: flex;
  gap: 12px;
}

.social-top a {
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
}

.social-fb { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M24 12.07C24 5.41 18.63 0 12 0S0 5.4 0 12.07c0 6.02 4.39 11.02 10.13 11.91v-8.41H7.08v-3.5h3.05V9.36c0-3.01 1.79-4.68 4.53-4.68 1.31 0 2.68.23 2.68.23v2.95h-1.51c-1.49 0-1.95.92-1.95 1.87v2.25h3.32l-.53 3.5h-2.79v8.41C19.61 23.09 24 18.09 24 12.07z'/%3E%3C/svg%3E"); }
.social-linkedin { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20.45 20.45h-3.56v-5.57c0-1.33-.03-3.04-1.85-3.04-1.85 0-2.13 1.45-2.13 2.94v5.67H9.35V9h3.41v1.56h.05c.47-.9 1.63-1.85 3.36-1.85 3.6 0 4.26 2.37 4.26 5.45v6.29zM5.34 7.43a2.06 2.06 0 110-4.12 2.06 2.06 0 010 4.12zM7.12 20.45H3.55V9h3.57v11.45zM22.22 0H1.77C.79 0 0 .77 0 1.72v20.56C0 23.23.79 24 1.77 24h20.45c.98 0 1.78-.77 1.78-1.72V1.72C24 .77 23.2 0 22.22 0z'/%3E%3C/svg%3E"); }
.social-yt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M23.5 6.19a3.02 3.02 0 00-2.12-2.14C19.54 3.5 12 3.5 12 3.5s-7.54 0-9.38.55A3.02 3.02 0 00.5 6.19 31.6 31.6 0 000 12a31.6 31.6 0 00.5 5.81 3.02 3.02 0 002.12 2.14c1.84.55 9.38.55 9.38.55s7.54 0 9.38-.55a3.02 3.02 0 002.12-2.14A31.6 31.6 0 0024 12a31.6 31.6 0 00-.5-5.81zM9.55 15.57V8.43L15.82 12l-6.27 3.57z'/%3E%3C/svg%3E"); }

.lang-switch {
  position: relative;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 8px;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 8px;
  min-width: 100px;
  z-index: 10;
}

.lang-switch:hover .lang-dropdown { display: block; }

.lang-dropdown button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-main);
  border-radius: 4px;
}

.lang-dropdown button:hover { background: #f0f0f0; }

.lang-dropdown button.hidden { display: none; }

.mobile-lang {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--space-border);
}

.mobile-lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--space-border);
  color: var(--text-on-dark);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.mobile-lang-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.container-nav {
  width: 1266px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 30px;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo { width: auto; flex-shrink: 0; }

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
  line-height: 1;
  text-decoration: none;
  transition: var(--transition);
}

.brand-mark__name {
  font-family: var(--font);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.1em;
  line-height: 1.1;
}

.brand-mark__tagline {
  margin-top: 5px;
  align-self: center;
  font-family: var(--font);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.22em;
  white-space: nowrap;
  line-height: 1;
}

.brand-mark--mobile .brand-mark__name { font-size: 22px; }
.brand-mark--mobile .brand-mark__tagline { font-size: 8px; letter-spacing: 0.28em; }

.main-menu .menu {
  display: flex;
  align-items: center;
  gap: 35px;
}

.main-menu .menu a {
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  color: #fff;
  position: relative;
}

.header.fixed .main-menu .menu a { color: #fff; }

.main-menu .menu a:hover::after,
.main-menu .menu .current a::after {
  content: '';
  background: #fff;
  border-radius: 3px;
  width: 22px;
  height: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -5px;
}

.header.fixed .main-menu .menu a:hover::after,
.header.fixed .main-menu .menu .current a::after {
  background: #fff;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}

.header.fixed .mobile-toggle span { background: var(--text-main); }

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: rgba(5, 5, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--space-border);
  z-index: 200;
  padding: 24px;
  transition: 0.4s ease;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.mobile-menu.active { right: 0; }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}


#mobile-close {
  font-size: 32px;
  color: var(--text-main);
  line-height: 1;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu nav a {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-on-dark);
}

#mobile-close { color: var(--text-on-dark); }

/* ===== HERO BANNER ===== */
.banner {
  height: 945px;
  position: relative;
  background: transparent;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(21, 56, 192, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(120, 40, 90, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 85% 75%, rgba(30, 100, 180, 0.1) 0%, transparent 60%);
}

.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(3,3,10,0.35) 0%, transparent 45%, rgba(3,3,10,0.5) 100%);
}

.banner .wave {
  background: url(/assets/images/wave.png) no-repeat bottom center / 100%;
  width: 100%;
  height: 430px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.15;
  mix-blend-mode: screen;
}

.banner .slogan {
  position: absolute;
  text-align: center;
  color: #fff;
  z-index: 3;
  top: 450px;
  width: 900px;
  left: 50%;
  margin-left: -450px;
}

.banner .slogan .main-text {
  font-weight: 900;
  font-size: 60px;
  line-height: 72px;
  margin-bottom: 13px;
}

.banner .slogan .small-text {
  font-weight: 600;
  font-size: 20px;
  line-height: 27px;
  margin-bottom: 0;
}

.banner .mouse {
  position: absolute;
  bottom: 100px;
  left: 50%;
  width: 24px;
  margin-left: -12px;
  z-index: 3;
}

.scroll-line {
  animation: mouseScroll 1s infinite;
}

@keyframes mouseScroll {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.3; }
}

/* ===== ABOUT ===== */
.about {
  padding: 50px 0 0;
  position: relative;
  min-height: 1257px;
}

.about::before,
.about::after {
  display: none;
}

.about > .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-col { width: 50%; }

.linala { width: 80%; }

.about .title {
  font-weight: 800;
  font-size: 50px;
  line-height: 72px;
  color: var(--text-on-dark);
  margin-bottom: 15px;
}

.about .description {
  font-style: italic;
  font-weight: 300;
  font-size: 24px;
  line-height: 150%;
  color: var(--text-muted-dark);
  margin-bottom: 16px;
}

.about .text {
  font-size: 16px;
  line-height: 150%;
  color: var(--text-muted-dark);
  margin-bottom: 30px;
}

.list-feature { margin-bottom: 40px; }

.list-feature li {
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 150%;
  margin-bottom: 14px;
  color: var(--text-on-dark);
  background: url(/assets/images/ic-tick.png) no-repeat 0 50% / 21px;
  padding-left: 35px;
}

.btn-action {
  display: inline-block;
  border: 1px solid var(--primary);
  border-radius: 40px;
  padding: 13px 20px;
  font-weight: 600;
  font-size: 16px;
  color: var(--primary);
  transition: var(--transition);
}

.btn-action:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(21,56,192,0.3);
}

/* Game Cards */
.game-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
  position: relative;
  z-index: 9;
}

.game-top__item {
  display: block;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 410px;
  width: calc(50% - 15px);
  text-decoration: none;
}

.game-top__item:first-child { margin-top: 60px; }
.game-top__item:nth-child(4) { margin-top: -60px; }

.game-top__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: var(--transition);
  z-index: 2;
}

.game-top__item:hover::before { background: rgba(0,0,0,0.4); }

.game-top__thumbnail {
  position: relative;
  height: 100%;
}

.game-top__thumbnail::after {
  content: '';
  background: linear-gradient(90deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 50.19%);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.game-top__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-top__item:hover .game-top__thumbnail img { transform: scale(1.1); }

.game-top__info {
  position: absolute;
  width: 100%;
  bottom: -100%;
  left: 0;
  opacity: 0;
  transition: var(--transition);
  padding: 0 20px 20px;
  color: #fff;
  z-index: 3;
}

.game-top__item:hover .game-top__info {
  opacity: 1;
  bottom: 0;
}

.game-top__info .game-name {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 4px;
}

.game-top__info .game-category {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 12px;
}

.view-more {
  display: inline-block;
  border: 1px solid #fff;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
}

/* ===== SERVICES ===== */
.service-home {
  position: relative;
  z-index: 1;
  margin-top: -200px;
  margin-bottom: 90px;
  padding: 0 0 40px;
  background: transparent;
}

.service-home__title {
  text-align: center;
  margin-bottom: 75px;
}

.service-home__title .sub-title {
  font-size: 18px;
  line-height: 150%;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 8px;
}

.service-home__title .main-title {
  font-weight: 800;
  font-size: 50px;
  line-height: 72px;
  color: var(--text-on-dark);
}

.service-home__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 60px;
}

.service-home__item {
  width: calc(33.333% - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-home__image {
  margin-bottom: 24px;
  height: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-home__image img { max-height: 99px; width: auto; }

.service-home__name {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--text-on-dark);
}

.service-home__description {
  font-size: 16px;
  line-height: 150%;
  color: var(--text-muted-dark);
}

.service-home__action { text-align: center; }

.view-all-btn {
  display: inline-block;
  border-radius: 40px;
  padding: 14px 39px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
}

.view-all-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21,56,192,0.35);
}

/* ===== CTA BANNER ===== */
/* ===== LINALA LABS ===== */
.linala-labs {
  margin-top: 0;
  margin-bottom: 150px;
  position: relative;
  z-index: 2;
  background: transparent;
}

.linala-labs .title {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 68px;
}

.linala-labs .title .main-title {
  font-weight: 900;
  font-size: 38px;
  line-height: 150%;
  margin-bottom: 12px;
  color: var(--text-on-dark);
}

.linala-labs .title .small-title {
  font-size: 18px;
  line-height: 150%;
  color: var(--text-muted-dark);
}

.blog { text-align: center; }

.blog__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 80px;
}

.blog__item {
  background: var(--space-surface);
  border: 1px solid var(--space-border);
  border-radius: 20px;
  overflow: hidden;
  text-align: left;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.blog__item:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(21, 56, 192, 0.12);
  transform: translateY(-4px);
  border-color: rgba(21, 56, 192, 0.35);
}

.blog__images a {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog__images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog__item:hover .blog__images img { transform: scale(1.1); }

.blog__content { padding: 20px 25px; }

.blog__time {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted-dark);
  margin-bottom: 7px;
}

.blog__name {
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  color: var(--text-on-dark);
  margin-bottom: 14px;
  transition: color 0.3s;
}

.blog__item:hover .blog__name { color: var(--primary); }

.blog__description {
  font-size: 16px;
  line-height: 150%;
  color: var(--text-muted-dark);
  margin-bottom: 19px;
}

.blog__readmore {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog__readmore svg path { stroke: var(--text-on-dark); }
.blog__item:hover .blog__readmore svg path { stroke: var(--primary); }

.blog__readmore:hover { color: var(--primary); }

.view-all {
  display: inline-block;
  border: 1px solid var(--primary);
  border-radius: 40px;
  color: var(--primary);
  padding: 14px 40px;
  font-weight: 600;
  transition: var(--transition);
}

.view-all:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== PARTNERS ===== */
.partner {
  position: relative;
  padding-bottom: 100px;
  background: transparent;
}

.linala-partner-wrap {
  width: 1522px;
  max-width: 90%;
  margin: 0 auto;
}

.partner__title {
  width: 950px;
  max-width: 100%;
  text-align: center;
  margin: 0 auto 50px;
}

.partner__title .main-title {
  font-weight: 900;
  font-size: 38px;
  line-height: 150%;
  margin-bottom: 12px;
  color: var(--text-on-dark);
}

.partner__title .small-title {
  font-size: 18px;
  line-height: 150%;
  color: var(--text-muted-dark);
  font-style: italic;
}

.partner__carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.partner__track-wrap {
  overflow: hidden;
  flex: 1;
}

.partner__track {
  display: flex;
  transition: transform 0.5s ease;
}

.partner__slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.partner__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: var(--transition);
  background: var(--space-surface);
  border: 1px solid var(--space-border);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.partner__item img {
  max-height: 80px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.7;
  transition: var(--transition);
}

.partner__item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.partner__nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--space-surface);
  border: 1px solid var(--space-border);
  color: var(--text-muted-dark);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.partner__nav:hover {
  background: var(--primary);
  color: #fff;
}

/* ===== FOOTER ===== */
footer {
  background: transparent;
  padding: 70px 0 0;
  position: relative;
  border-top: 1px solid var(--space-border);
}

footer::before {
  display: none;
}

footer .wrap { position: relative; z-index: 1; }

.newsletter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
  gap: 40px;
}

.newsletter__title .main-title {
  font-weight: 800;
  font-size: 32px;
  line-height: 150%;
  color: var(--text-on-dark);
}

.newsletter__title .small-title {
  font-size: 16px;
  line-height: 150%;
  color: var(--text-muted-dark);
}

.newsletter__form {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  flex: 1;
  justify-content: flex-end;
}

.newsletter__form input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--space-border);
  border-radius: 40px;
  padding: 16px 26px;
  width: 500px;
  max-width: 100%;
  font-size: 16px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.3s;
  color: var(--text-on-dark);
}

.newsletter__form input::placeholder {
  color: var(--text-muted-dark);
}

.newsletter__form input:focus { border-color: var(--primary); }

.btn-main {
  background: var(--primary);
  color: #fff;
  border-radius: 40px;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-main:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.form-msg {
  position: absolute;
  bottom: -28px;
  right: 0;
  font-size: 14px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 75px;
  gap: 40px;
}

.footer-info { width: 30%; padding-right: 40px; }

.footer-logo { margin-bottom: 30px; }

.title-info {
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 20px;
  color: var(--text-on-dark);
}

.title-info:first-of-type { margin-top: 0; }

.contact-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.contact-row span {
  font-size: 14px;
  line-height: 150%;
  color: var(--text-muted-dark);
  flex: 1;
}

.footer-link { width: 20%; }

.footer-social { width: 30%; flex: 1; }

.footer-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text-on-dark);
}

.footer-link ul li { margin-bottom: 12px; }

.footer-link ul a {
  font-size: 14px;
  color: var(--text-muted-dark);
}

.footer-link ul a:hover { color: var(--primary); }

.footer-social .social {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-social .social a {
  transition: transform 0.3s;
}

.footer-social .social a:hover { transform: scale(1.1); }

.footer-desc {
  font-size: 14px;
  line-height: 183%;
  color: var(--text-muted-dark);
}

.copyright {
  background: rgba(3, 3, 10, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 17px 0;
  color: #fff;
  font-size: 14px;
}

.copyright-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.copyright a { color: #fff; }
.copyright a:hover { text-decoration: underline; }

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1396px) {
  .wrap { width: 100%; padding: 0 30px; }
}

@media (max-width: 991px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; }

  .top-header { display: none; }

  .header { background: rgba(0, 0, 0, 0.6); padding: 10px; }
  .header.fixed { background: rgba(5, 5, 18, 0.92); }

  .banner { height: 750px; }
  .banner .wave {
    background: url(/assets/images/wave-mob.png) no-repeat bottom center / 100%;
    height: 212px;
    opacity: 0.12;
  }
  .banner .slogan {
    width: 90%;
    margin-left: -45%;
    text-align: left;
    top: 380px;
  }
  .banner .slogan .main-text { font-size: 32px; line-height: 40px; }
  .banner .slogan .small-text { font-size: 16px; }

  .about { min-height: auto; padding-bottom: 60px; }
  .about::before, .about::after { display: none; }
  .about-col { width: 100%; }
  .linala { width: 100%; margin-bottom: 30px; }
  .about .title { font-size: 36px; line-height: 49px; }

  .game-top__item { height: 275px; width: calc(50% - 9px); }
  .game-top__item:first-child { margin-top: 0; }
  .game-top__item:nth-child(4) { margin-top: 0; }

  .service-home { margin-top: 50px; }
  .service-home__title .main-title { font-size: 36px; line-height: 49px; }
  .service-home__item { width: 100%; margin-bottom: 30px; }

  .linala-labs { margin-top: 0; margin-bottom: 80px; }
  .blog__list { grid-template-columns: 1fr; }

  .newsletter { flex-direction: column; align-items: flex-start; }
  .newsletter__form { width: 100%; flex-direction: column; }
  .newsletter__form input { width: 100%; }

  .footer-info, .footer-link, .footer-social { width: 100%; padding-right: 0; }

  .partner__slide { grid-template-columns: repeat(2, 1fr); }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 200;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(21, 56, 192, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s, background 0.3s, box-shadow 0.3s;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 28px rgba(21, 56, 192, 0.55);
  transform: translateY(-3px);
}

.scroll-top.visible:hover {
  transform: translateY(-3px);
}

@media (max-width: 576px) {
  .wrap { padding: 0 16px; }
  .partner__slide { grid-template-columns: 1fr; }
  .copyright { font-size: 13px; }
  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}
