@font-face {
  font-family: PvZ2Regular;
  src: url(../assets/PvZ2Regular.woff2) format("woff2");
  font-display: swap;
}
:root {
  --color-primary: #307af7;
  --color-primary-light: #7dc8ff;
  --color-primary-lighter: #b3d9ff;
  --color-accent: #00ff88;
  --color-accent-light: #33ff99;
  --color-text: #e6e6e6;
  --color-text-muted: #b0b0b0;
  --color-text-light: rgba(255, 255, 255, 0.7);
  --color-bg-dark: rgba(15, 25, 40, 0.95);
  --color-bg-darker: rgba(10, 15, 30, 0.98);
  --color-border: rgba(255, 255, 255, 0.15);
  --color-border-light: rgba(255, 255, 255, 0.1);
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 40px;
  --spacing-3xl: 56px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50%;
  --shadow-sm: 0 4px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow-primary: 0 8px 24px rgba(48, 122, 247, 0.25);
  --shadow-glow-accent: 0 8px 24px rgba(0, 255, 136, 0.2);
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --backdrop-blur: blur(16px);
}
html {
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 64px 0 0;
  font-family: PvZ2Regular;
  font-size: 15px;
  line-height: 1.6;
  color: #e6e6e6;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  touch-action: manipulation;
  width: 100%;
}
body.has-bg {
  background:
    linear-gradient(#00000059, #00000059),
    var(--bg-image, linear-gradient(135deg, #0a1020, #162040)) no-repeat
      center/cover fixed;
}
body.has-bg:before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  filter: blur(10px) brightness(0.45);
  z-index: -1;
}
.bg-particle {
  position: fixed;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}
.bg-particle-1 {
  top: 15%;
  left: 8%;
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
  animation: particleDrift3 25s ease-in-out infinite;
}
.bg-particle-2 {
  top: 45%;
  right: 5%;
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
  animation: particleDrift4 30s ease-in-out infinite;
}
.bg-particle-3 {
  top: 75%;
  left: 12%;
  background: #ff6b6b;
  box-shadow: 0 0 8px #ff6b6b;
  animation: particleDrift1 35s ease-in-out infinite;
}
.bg-particle-4 {
  top: 30%;
  right: 20%;
  background: #ffd93d;
  box-shadow: 0 0 8px #ffd93d;
  animation: particleDrift2 28s ease-in-out infinite;
}
.bg-particle-5 {
  top: 60%;
  left: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
  animation: particleDrift4 22s ease-in-out infinite;
}
.bg-particle-6 {
  top: 85%;
  right: 30%;
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
  animation: particleDrift3 32s ease-in-out infinite;
}
.view {
  display: none;
}
.view.active {
  display: block;
}
main {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr min(1280px, 92%) 1fr;
  overflow: hidden;
}
main > section,
main > div {
  grid-column: 2;
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  background: rgba(10, 18, 30, 0.75);
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
  z-index: 1000;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.4);
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
}
.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}
.nav-logo::after {
  content: "HEXIUS";
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.12em;
}
.navbar-left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  margin-left: 0;
}
.navbar-right {
  display: flex;
  align-items: center;
  position: absolute;
  right: 28px;
}
.navbar-btn {
  padding: 6px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  position: relative;
  outline: none;
  cursor: pointer;
  font-family: PvZ2Regular;
}
.navbar-btn:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.navbar-btn:not(.active):hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.04);
}
.navbar-btn.active {
  color: #fff;
  background: rgba(48, 122, 247, 0.15);
  box-shadow: inset 0 0 0 1px rgba(48, 122, 247, 0.2);
}
.navbar-btn:active {
  transform: scale(0.96);
}
.language-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-family: PvZ2Regular;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 7px;
}
.language-btn:hover {
  background: rgba(48, 122, 247, 0.12);
  border-color: rgba(48, 122, 247, 0.4);
  color: var(--color-primary-light);
}
.language-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  opacity: 0.7;
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #0f1928f5;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 6px;
  min-width: 140px;
  z-index: 1001;
  display: none;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px #00000060;
}
.lang-dropdown.open {
  display: block;
}
.lang-dropdown a {
  display: block;
  padding: 9px 14px;
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
}
.lang-dropdown a:hover {
  background: rgba(48, 122, 247, 0.15);
  color: var(--color-primary-light);
}
.lang-dropdown a.selected {
  background: rgba(48, 122, 247, 0.25);
  color: var(--color-primary-light);
}
@keyframes glowPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 15px rgba(48, 122, 247, 0.4))
      drop-shadow(0 0 5px rgba(0, 255, 136, 0.15));
  }
  50% {
    filter: drop-shadow(0 0 25px rgba(48, 122, 247, 0.6))
      drop-shadow(0 0 10px rgba(0, 255, 136, 0.3));
  }
}
@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes floatOrb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(40px, -40px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}
@keyframes particleDrift1 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(80px, -60px) rotate(90deg);
  }
  50% {
    transform: translate(160px, 0) rotate(180deg);
  }
  75% {
    transform: translate(80px, 60px) rotate(270deg);
  }
}
@keyframes particleDrift2 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-70px, 50px) rotate(-90deg);
  }
  50% {
    transform: translate(-140px, 0) rotate(-180deg);
  }
  75% {
    transform: translate(-70px, -50px) rotate(-270deg);
  }
}
@keyframes particleDrift3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(60px, -80px) scale(1.3);
    opacity: 0.6;
  }
}
@keyframes particleDrift4 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.2;
  }
  50% {
    transform: translate(-50px, 70px) scale(1.4);
    opacity: 0.5;
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  to {
    background-position: 200% center;
  }
}
.hero-section {
  position: relative;
  min-height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 40px 56px;
}
.hero-section:before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 26, 59, 0.1), transparent 70%);
  top: -15%;
  left: -10%;
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 14s ease-in-out infinite;
}
.hero-section:after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(5, 34, 20, 0.06), transparent 70%);
  bottom: -10%;
  right: -10%;
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 12s ease-in-out infinite reverse;
}
@keyframes heroGlow {
  0%, 100% { opacity: .5; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.05); }
}
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(48,122,247,0.06), transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: heroGlow 4s ease-in-out infinite;
}
.hero-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}
.hero-particle-1 {
  top: 20%;
  left: 15%;
  background: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent);
  animation: particleDrift1 20s ease-in-out infinite;
}
.hero-particle-2 {
  top: 60%;
  right: 12%;
  background: var(--color-primary);
  box-shadow: 0 0 12px var(--color-primary);
  animation: particleDrift2 18s ease-in-out infinite;
}
.hero-particle-3 {
  top: 30%;
  right: 25%;
  background: #ff6b6b;
  box-shadow: 0 0 12px #ff6b6b;
  animation: particleDrift3 15s ease-in-out infinite;
}
.hero-particle-4 {
  bottom: 15%;
  left: 20%;
  background: #ffd93d;
  box-shadow: 0 0 12px #ffd93d;
  animation: particleDrift4 22s ease-in-out infinite;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-image, linear-gradient(135deg, #0a1020, #162040))
    center/cover no-repeat;
  background-attachment: fixed;
  z-index: -2;
}
.hero-background:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0f1928b3, #0f1928d9, #0f1928e6);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  z-index: -1;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 36px;
  width: 100%;
  max-width: 800px;
}
.hero-brand {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: softFloat 4s ease-in-out infinite;
}
.hero-icon-wrap {
  position: relative;
  flex-shrink: 0;
}
.hero-icon-wrap .logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 30px #1e90ff40, inset 0 0 20px #307af740;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  object-fit: cover;
  display: block;
}
.hero-icon-wrap:hover .logo {
  transform: rotate(8deg) scale(1.1);
  box-shadow: 0 0 40px #1e90ff70, inset 0 0 20px #307af760;
}
.hero-titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
#game-title-logo {
  height: 150px;
  object-fit: contain;
  animation: glowPulse 3s ease-in-out infinite;
  display: block;
}
.subtitle {
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-top: -4px;
}
.hero-cta {
  width: 100%;
  max-width: 600px;
  background: linear-gradient(160deg, rgba(12,22,42,0.85), rgba(8,16,32,0.92));
  border: 1px solid rgba(48, 122, 247, 0.25);
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 8px 40px #00000050, inset 0 1px 0 rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: slideUpFade 0.8s cubic-bezier(.22,1,.36,1) forwards;
  opacity: 0;
  animation-delay: .15s;
}
@keyframes slideUpFade {
  0% { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.hero-cta:before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-accent), transparent);
  opacity: .8;
}
.hero-cta .cta-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.hero-cta .cta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.hero-cta .cta-label {
  font-size: 1.3rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: -.01em;
}
.hero-cta .version-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: linear-gradient(135deg, rgba(0,255,136,0.08), rgba(48,122,247,0.08));
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: .02em;
}
.hero-cta .version-badge:before {
  content: "\2713";
  font-size: .75rem;
  color: var(--color-accent);
}
.hero-cta .cta-buttons {
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}
.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), #1a5fc7);
  border: none;
  box-shadow: 0 4px 16px rgba(48, 122, 247, 0.25);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: PvZ2Regular;
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
  min-width: 110px;
  cursor: pointer;
  outline: none;
  box-sizing: border-box;
}
.download-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(48, 122, 247, 0.4);
}
.download-link:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(48, 122, 247, 0.2);
}
.download-link .dl-icon {
  font-size: 0.8rem;
  opacity: 0.7;
}
.download-link:nth-child(2) {
  background: linear-gradient(135deg, #1a5fc7, var(--color-primary));
}
.download-link:nth-child(3) {
  background: linear-gradient(135deg, var(--color-primary), #0d47a1);
}
.content-section {
  width: 100%;
  margin: 0 auto;
  padding: 20px 0 56px;
  background: transparent;
  box-sizing: border-box;
}
.content-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  column-gap: 28px;
  row-gap: 12px;
  width: 100%;
  margin: 0 auto;
  align-items: start;
}
.content-wrapper .card:nth-child(1) {
  grid-column: 1;
}
.content-wrapper .card:nth-child(2) {
  grid-column: 2;
  align-self: stretch;
  overflow: hidden;
  min-height: 0;
}
.content-wrapper .card:nth-child(2):before {
  display: none;
}
.content-wrapper .card:nth-child(2) img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 12px;
  min-height: 0;
}
.content-wrapper .card:nth-child(3) {
  grid-column: 1;
}
.content-wrapper .card:nth-child(4) {
  grid-column: 2;
  align-self: stretch;
}
.content-wrapper .card:nth-child(4) .follow-us-container {
  flex: 1;
  justify-content: space-between;
}
.content-wrapper .card:nth-child(4) .fankit-items-list {
  flex: 1;
  justify-content: center;
}
#features-section {
  max-width: 100%;
  width: 100%;
  margin: 0 auto 24px;
  padding: 0;
}
#features-section .section-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
#features-section .section-title:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  animation: shimmer 3s ease-in-out infinite;
  background-size: 200% 100%;
}
#features-list {
  display: flex;
  flex-direction: row;
  gap: 8px;
  width: 100%;
}
#features-list .feature-item {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUpFeature 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
#features-list .feature-item:nth-child(1) {
  animation-delay: 0.1s;
}
#features-list .feature-item:nth-child(2) {
  animation-delay: 0.18s;
}
#features-list .feature-item:nth-child(3) {
  animation-delay: 0.26s;
}
#features-list .feature-item:nth-child(4) {
  animation-delay: 0.34s;
}
#features-list .feature-item:nth-child(5) {
  animation-delay: 0.42s;
}
@keyframes slideUpFeature {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.feature-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  background: rgba(48, 122, 247, 0.06);
  border: 1px solid rgba(48, 122, 247, 0.12);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--color-text);
  line-height: 1.3;
  transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .35s cubic-bezier(.22,1,.36,1), background .35s cubic-bezier(.22,1,.36,1);
  position: relative;
  overflow: hidden;
}
.feature-item:hover {
  transform: translateY(-3px);
  background: rgba(48, 122, 247, 0.1);
  border-color: rgba(48, 122, 247, 0.3);
  box-shadow: 0 6px 20px rgba(48, 122, 247, 0.15);
}
.feature-item:hover:after {
  opacity: 1;
}
.feature-item svg {
  width: 18px;
  height: 18px;
  fill: var(--color-primary);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}
.feature-item:hover svg {
  transform: scale(1.15) rotate(-5deg);
  fill: var(--color-primary-light);
}
.screenshots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  width: 100%;
}
.screenshots-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  animation: slideUpScreenshot 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.screenshots-grid img:nth-child(1) {
  animation-delay: 0.1s;
}
.screenshots-grid img:nth-child(2) {
  animation-delay: 0.15s;
}
.screenshots-grid img:nth-child(3) {
  animation-delay: 0.2s;
}
.screenshots-grid img:nth-child(4) {
  animation-delay: 0.25s;
}
.screenshots-grid img:nth-child(5) {
  animation-delay: 0.3s;
}
.screenshots-grid img:nth-child(6) {
  animation-delay: 0.35s;
}
.screenshots-grid img:nth-child(7) {
  animation-delay: 0.4s;
}
.screenshots-grid img:nth-child(8) {
  animation-delay: 0.45s;
}
.screenshots-grid img:nth-child(9) {
  animation-delay: 0.5s;
}
@keyframes slideUpScreenshot {
  0% {
    transform: translateY(20px) scale(0.97);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.screenshots-grid img:hover {
  transform: scale(1.06);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(48, 122, 247, 0.25);
  border-color: var(--color-primary);
}
.card {
  background: linear-gradient(
    160deg,
    rgba(15, 25, 40, 0.88),
    rgba(18, 30, 48, 0.92)
  );
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 32px #00000030;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s cubic-bezier(.22,1,.36,1);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(48, 122, 247, 0.05);
}
.card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0.5;
}
.card h2 {
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.card h2:after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(48, 122, 247, 0.12));
  display: none;
}
.card h3 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.card-transition {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-transition-active {
  opacity: 1;
  transform: translateY(0);
}
.card-transition-1 {
  transition-delay: 0.05s;
}
.card-transition-2 {
  transition-delay: 0.15s;
}
.card-transition-3 {
  transition-delay: 0.25s;
}
.card-transition-4 {
  transition-delay: 0.35s;
}
.card-transition-5 {
  transition-delay: 0.42s;
}
.video-container {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .4s cubic-bezier(.22,1,.36,1), box-shadow .4s cubic-bezier(.22,1,.36,1);
}
.video-container:hover {
  transform: translateY(-3px);
  border-color: rgba(48, 122, 247, 0.4);
  box-shadow: 0 0 30px rgba(48, 122, 247, 0.2), 0 10px 30px rgba(48, 122, 247, 0.15);
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: contain;
}

#trailer-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}
@media (min-width: 1024px) {
  #trailer-container {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.follow-us-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}
.follow-us-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  align-items: flex-start;
}
.follow-us-section h3 {
  margin: 0 0 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary-light);
  text-align: left;
  width: 100%;
  letter-spacing: -0.01em;
}
.follow-us-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-border),
    transparent
  );
  margin: 4px auto;
  width: 70%;
}
.follow-us-section .social-trigger-btn {
  animation: slideUpFade 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  animation-delay: 0.3s;
}
.developers-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}
.developer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--color-text-light);
  text-decoration: none;
  cursor: pointer;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(12px);
  animation: slideUpDev 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.developer-item:nth-child(1) {
  animation-delay: 0.1s;
}
.developer-item:nth-child(2) {
  animation-delay: 0.2s;
}
@keyframes slideUpDev {
  0% {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.developer-item {
  transition: transform .35s cubic-bezier(.22,1,.36,1), background .35s cubic-bezier(.22,1,.36,1), border-color .35s cubic-bezier(.22,1,.36,1);
}
.developer-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(48, 122, 247, 0.2);
}
.developer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}
.developer-icon svg {
  width: 18px;
  height: 18px;
  fill: #5865f2;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.developer-item:hover .developer-icon svg {
  opacity: 1;
}
.developer-yt .developer-icon svg {
  fill: #ff0000;
}
.developer-info {
  display: flex;
  align-items: center;
  gap: 6px;
}
.developer-name {
  font-size: 0.88rem;
  font-weight: 450;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  letter-spacing: 0;
}
.developer-tag {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
}
.developer-tag {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
}
.fankit-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}
.fankit-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: rgba(48, 122, 247, 0.06);
  border: 1px solid rgba(48, 122, 247, 0.15);
  border-radius: 12px;
  color: var(--color-text-light);
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
  opacity: 0;
  transform: translateX(-15px);
  animation: slideInFankit 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  position: relative;
  overflow: hidden;
}
.fankit-item:nth-child(2) {
  border-color: rgba(0, 255, 136, 0.15);
  background: rgba(0, 255, 136, 0.04);
  animation-delay: 0.15s;
}
@keyframes slideInFankit {
  0% {
    transform: translateX(-15px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.fankit-item:hover {
  transform: translateY(-3px);
  background: rgba(48, 122, 247, 0.12);
  border-color: rgba(48, 122, 247, 0.4);
  box-shadow: 0 8px 24px rgba(48, 122, 247, 0.2);
}
.fankit-item:nth-child(2):hover {
  transform: translateY(-3px);
  border-color: rgba(0, 255, 136, 0.35);
  box-shadow: 0 8px 24px rgba(0, 255, 136, 0.15);
}

.fankit-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  letter-spacing: -0.005em;
}
.fankit-item-desc {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--color-text-muted);
  margin: 0;
}
#follow-us-card {
  margin-top: 12px;
}
.level-editor-card {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  padding: 0;
  border-color: rgba(48, 122, 247, 0.15);
  min-height: 140px;
  transition: border-color .4s cubic-bezier(.22,1,.36,1);
}
.level-editor-card:hover {
  border-color: rgba(48, 122, 247, 0.4);
}
.level-editor-card:before {
  display: none;
}
.editor-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 25, 40, 0.7),
    rgba(15, 25, 40, 0.4)
  );
}
.editor-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  width: 100%;
  box-sizing: border-box;
  min-height: 140px;
}
.editor-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 25, 40, 0.8);
  border-radius: 14px;
  border: 1px solid rgba(48, 122, 247, 0.2);
  backdrop-filter: blur(6px);
}
.editor-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.editor-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.editor-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}
.editor-cta {
  flex-shrink: 0;
  padding: 10px 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), #1a5fc7);
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
  font-family: PvZ2Regular;
  animation: pulseCta 2.5s ease-in-out infinite;
}
@keyframes pulseCta {
  0%,
  100% {
    box-shadow: 0 4px 16px rgba(48, 122, 247, 0.25);
  }
  50% {
    box-shadow: 0 6px 24px rgba(48, 122, 247, 0.5);
  }
}
.editor-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(48, 122, 247, 0.45);
  animation: none;
}
.social-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000000b3;
  backdrop-filter: blur(6px);
}
.social-modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.social-modal-content {
  background: linear-gradient(
    160deg,
    rgba(15, 25, 40, 0.97),
    rgba(18, 30, 48, 0.98)
  );
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 60px #00000080;
  border: 1px solid var(--color-border);
  max-width: 480px;
  width: 90%;
  position: relative;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.social-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}
.social-modal-header h2 {
  margin: 0;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.social-modal-close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  border-radius: 8px;
  font-family: PvZ2Regular;
}
.social-modal-close:hover {
  color: var(--color-primary);
  background: rgba(48, 122, 247, 0.1);
  transform: rotate(90deg);
}
.social-modal-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  width: 100%;
}
.social-modal-buttons .adaptive-btn {
  width: 100%;
  min-width: auto;
  padding: 12px 16px;
  font-size: 0.88rem;
  white-space: normal;
  word-break: break-word;
  line-height: 1.3;
  min-height: 48px;
}
.social-trigger-btn {
  padding: 11px 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), #1a5fc7);
  border: none;
  box-shadow: 0 4px 16px rgba(48, 122, 247, 0.25);
  color: #fff;
  text-decoration: none;
  text-align: center;
  transition: all var(--transition-fast);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.88rem;
  font-family: PvZ2Regular;
  letter-spacing: 0.02em;
  min-width: 100px;
  width: min(100%, 260px);
  box-sizing: border-box;
  outline: none;
  position: relative;
  overflow: hidden;
}
.social-trigger-btn:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.social-trigger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(48, 122, 247, 0.35);
}
.social-trigger-btn:hover:after {
  transform: translateX(100%);
}
.social-trigger-btn:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}
.social-trigger-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(48, 122, 247, 0.2);
}
.btn-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
  gap: 8px;
  width: 100%;
  justify-items: center;
  margin: 4px auto 0;
  box-sizing: border-box;
}
.cta-buttons .btn-container {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #307af766, #00ff884d);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #307af7b3, #0f89);
}
.news-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr min(1280px, 92%) 1fr;
  overflow: hidden;
}
.news-grid > section {
  grid-column: 2;
}
.news-section {
  width: 100%;
  margin: 0 auto;
  padding: 20px 0 56px;
  background: transparent;
  box-sizing: border-box;
}
.news-list-container {
  max-width: 800px;
  margin: 0 auto;
}
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: linear-gradient(
    160deg,
    rgba(15, 25, 40, 0.88),
    rgba(18, 30, 48, 0.92)
  );
  border: 1px solid var(--color-border);
  border-radius: 16px;
  margin-bottom: 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInNews 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .4s cubic-bezier(.22,1,.36,1), box-shadow .4s cubic-bezier(.22,1,.36,1);
}
.news-item:nth-child(1) {
  animation-delay: 0.05s;
}
.news-item:nth-child(2) {
  animation-delay: 0.1s;
}
.news-item:nth-child(3) {
  animation-delay: 0.15s;
}
.news-item:nth-child(4) {
  animation-delay: 0.2s;
}
.news-item:nth-child(5) {
  animation-delay: 0.25s;
}
.news-item:nth-child(6) {
  animation-delay: 0.3s;
}
.news-item:nth-child(7) {
  animation-delay: 0.35s;
}
.news-item:nth-child(8) {
  animation-delay: 0.4s;
}
.news-item:nth-child(9) {
  animation-delay: 0.45s;
}
.news-item:nth-child(10) {
  animation-delay: 0.5s;
}
.news-item:nth-child(11) {
  animation-delay: 0.55s;
}
.news-item:nth-child(12) {
  animation-delay: 0.6s;
}
.news-item:nth-child(13) {
  animation-delay: 0.65s;
}
.news-item:nth-child(14) {
  animation-delay: 0.7s;
}
@keyframes slideInNews {
  0% {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.news-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0.4;
}
.news-item:hover {
  transform: translateY(-3px);
  border-color: rgba(48, 122, 247, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.news-cover {
  width: 160px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}
.news-item:hover .news-cover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.news-content {
  flex: 1;
  min-width: 0;
}
.news-content h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.news-summary {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-date {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
}
.news-detail-view {
  max-width: 800px;
  margin: 0 auto;
}
.news-detail-card {
  padding: 32px;
  background: linear-gradient(
    160deg,
    rgba(15, 25, 40, 0.88),
    rgba(18, 30, 48, 0.92)
  );
  border: 1px solid var(--color-border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.news-detail-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0.5;
}
.news-detail-card h2 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.news-detail-date {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.news-detail-body {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text);
}
.news-detail-body p {
  margin: 0 0 16px;
}
.news-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  margin-bottom: 20px;
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-family: PvZ2Regular;
  font-size: 0.88rem;
  cursor: pointer;
  transition: color var(--transition-fast);
  letter-spacing: 0.02em;
}
.news-back-btn:hover {
  color: var(--color-primary-light);
}
.news-back-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.news-list-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  padding: 0;
}
.news-list-subtitle {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0 0 24px;
}
.site-footer {
  width: 100%;
  max-width: 1280px;
  padding: 40px 24px 24px;
  margin: 20px auto 0;
  text-align: center;
  position: relative;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.5s;
}
.footer-divider {
  width: 80px;
  height: 2px;
  margin: 0 auto 20px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
  animation: shimmer 3s ease-in-out infinite;
  background-size: 200% 100%;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.footer-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
}
.footer-year {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.03em;
}
.section-divider {
  width: 100%;
  height: 1px;
  margin: 8px 0 24px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(48, 122, 247, 0.12),
    rgba(0, 255, 136, 0.08),
    transparent
  );
}
@media (max-width: 1023px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }
  .content-wrapper .card {
    grid-column: auto !important;
  }
  #features-section {
    padding: 0 16px;
  }
}
@media (max-width: 768px) {
  body {
    padding: 60px 0 0;
  }
  .navbar {
    padding: 0 12px;
    height: 62px;
  }
  .navbar-right {
    right: 12px;
  }
  .navbar-left {
    gap: 2px;
  }
  .navbar-btn {
    font-size: 0.82rem;
    padding: 5px 10px;
  }
  .nav-logo::after {
    font-size: 0.72rem;
  }
  .hero-section {
    padding: 36px 16px 32px;
  }
  .hero-content {
    gap: 28px;
  }
  .hero-brand {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-icon-wrap .logo {
    width: 72px;
    height: 72px;
  }
  .hero-titles {
    align-items: center;
    text-align: center;
  }
  #game-title-logo {
    height: 100px;
  }
  .subtitle {
    font-size: .75rem;
  }
  .hero-cta {
    padding: 20px 18px;
    max-width: 100%;
    border-radius: 16px;
  }
  .hero-cta .cta-top {
    flex-direction: column;
    gap: 8px;
  }
  .hero-cta .cta-label {
    font-size: 1.15rem;
  }
  .hero-cta .version-badge {
    font-size: 0.72rem;
    padding: 3px 10px;
  }
  .download-link {
    padding: 10px 16px;
    min-width: 80px;
    font-size: 0.82rem;
  }
  .adaptive-btn {
    padding: 10px 18px;
    font-size: 0.84rem;
  }
  .content-section {
    padding: 16px 16px 40px;
  }
  .card {
    padding: 20px;
  }
  .card h2 {
    font-size: 1.2rem;
  }
  .follow-us-section h3 {
    font-size: 1.05rem;
  }
  .developers-list {
    grid-template-columns: 1fr;
  }
  .editor-content {
    padding: 18px 18px;
    gap: 10px;
    min-height: auto;
    flex-wrap: wrap;
  }
  .editor-icon {
    width: 40px;
    height: 40px;
  }
  .editor-icon svg {
    width: 22px;
    height: 22px;
  }
  .editor-cta {
    padding: 9px 18px;
    font-size: 0.8rem;
  }
  #trailer-container {
    grid-template-columns: 1fr;
  }
  .screenshots-grid {
    grid-template-columns: 1fr 1fr;
  }
  .social-modal-content {
    padding: 24px;
  }
  .news-section {
    padding: 16px 16px 40px;
  }
  .news-item {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
  .news-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
  }
  .news-content h3 {
    font-size: 0.95rem;
  }
  .news-detail-card {
    padding: 24px;
  }
  .news-detail-card h2 {
    font-size: 1.2rem;
  }
  .news-list-title {
    font-size: 1.3rem;
  }
  #features-section {
    margin: 16px auto 0;
    padding: 0 16px;
  }
}

.events-page-container {
  margin: 0 auto;
}
.events-page-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -.01em;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.events-page-title:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  animation: shimmer 3s ease-in-out infinite;
  background-size: 200% 100%;
}
.events-page-subtitle {
  font-size: .85rem;
  color: var(--color-text-muted);
  margin: 0 0 20px;
}
#events-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.event-card {
  background: rgba(15, 25, 40, 0.88);
  border: 1px solid var(--color-border, rgba(255,255,255,0.08));
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s cubic-bezier(.22,1,.36,1);
}
.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.event-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary, #307af7), var(--color-accent, #7c3aed));
  opacity: 0.5;
  z-index: 1;
}
.event-img-wrap {
  overflow: hidden;
  height: 110px;
  display: flex;
}
.event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.event-card:hover .event-img {
  transform: scale(1.05);
}
.event-card h2 {
  margin: 8px 10px 3px;
  padding: 0;
  border: none;
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-card h2:after {
  display: none;
}
.event-date {
  font-size: .65rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: .02em;
  font-weight: 400;
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
}
.event-desc {
  font-size: .75rem;
  color: var(--color-text-muted, rgba(255,255,255,0.5));
  margin: 0 10px 8px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0;
}


@media (max-width: 768px) {
  .site-footer {
    padding: 32px 16px 20px;
  }
  #features-list {
    flex-direction: column;
    gap: 6px;
  }
  .events-page-title {
    font-size: 1.2rem;
  }
  #events-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .event-img-wrap {
    height: 75px;
  }
  .event-card h2 {
    font-size: .72rem;
  }
  .event-desc {
    font-size: .65rem;
  }
  .event-date {
    font-size: .55rem;
  }
}
