:root {
  --dxal-primary: #2b63ff;
  --dxal-text: #1f2a37;
  --dxal-subtext: #5b6577;
  --dxal-border: #e7ebf3;
  --dxal-shadow: 0 14px 28px rgba(22, 35, 66, 0.08);
}

.dxal-page {
  padding: 90px 0 64px;
  background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 38%);
}

.dxal-page .container {
  width: 100%;
  max-width: none;
  padding-left: clamp(16px, 4vw, 56px);
  padding-right: clamp(16px, 4vw, 56px);
}

.dxal-hero {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 34px;
}

.dxal-hero-content {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #1f56cc;
  background-image:
    linear-gradient(120deg, #0e2e78 0%, #1f56cc 52%, #38a2ff 100%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 18px
    ),
    radial-gradient(
      circle at 18% 24%,
      rgba(255, 255, 255, 0.2) 0,
      rgba(255, 255, 255, 0) 34%
    ),
    radial-gradient(
      circle at 78% 68%,
      rgba(106, 226, 255, 0.28) 0,
      rgba(106, 226, 255, 0) 40%
    );
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  padding: 120px 100px 140px;
  box-shadow: 0 16px 36px rgba(25, 56, 133, 0.24);
  clip-path: polygon(
    0 0,
    100% 0,
    100% 88%,
    92% 94%,
    78% 90%,
    62% 96%,
    45% 91%,
    28% 97%,
    14% 92%,
    0 96%
  );
  animation: dxal-fade-up 0.7s ease both;
}

.dxal-hero-content::before,
.dxal-hero-content::after {
  content: "";
  position: absolute;
  inset: -20% -8%;
  pointer-events: none;
  z-index: 1;
  filter: saturate(118%);
}

.dxal-hero-content::before {
  background-image:
    radial-gradient(
      circle at 12% 24%,
      rgba(255, 255, 255, 0.42) 0,
      rgba(255, 255, 255, 0.14) 9%,
      rgba(255, 255, 255, 0) 22%
    ),
    radial-gradient(
      circle at 74% 18%,
      rgba(120, 230, 255, 0.4) 0,
      rgba(120, 230, 255, 0.14) 8%,
      rgba(120, 230, 255, 0) 21%
    ),
    radial-gradient(
      circle at 88% 74%,
      rgba(255, 255, 255, 0.34) 0,
      rgba(255, 255, 255, 0.12) 7%,
      rgba(255, 255, 255, 0) 20%
    ),
    radial-gradient(
      circle at 28% 84%,
      rgba(145, 210, 255, 0.38) 0,
      rgba(145, 210, 255, 0.12) 9%,
      rgba(145, 210, 255, 0) 22%
    );
  animation: dxal-ripple-drift 11s linear infinite;
  opacity: 1;
}

.dxal-hero-content::after {
  background-image:
    radial-gradient(
      circle at 8% 66%,
      rgba(255, 255, 255, 0.3) 0,
      rgba(255, 255, 255, 0.12) 8%,
      rgba(255, 255, 255, 0) 18%
    ),
    radial-gradient(
      circle at 42% 16%,
      rgba(143, 224, 255, 0.32) 0,
      rgba(143, 224, 255, 0.11) 8%,
      rgba(143, 224, 255, 0) 18%
    ),
    radial-gradient(
      circle at 64% 86%,
      rgba(255, 255, 255, 0.32) 0,
      rgba(255, 255, 255, 0.11) 9%,
      rgba(255, 255, 255, 0) 19%
    ),
    radial-gradient(
      circle at 94% 40%,
      rgba(135, 229, 255, 0.32) 0,
      rgba(135, 229, 255, 0.11) 7%,
      rgba(135, 229, 255, 0) 17%
    );
  animation: dxal-ripple-drift-reverse 15s linear infinite;
  mix-blend-mode: screen;
  opacity: 0.95;
}

.dxal-title {
  margin: 0;
  font-size: 60px;
  line-height: 1.25;
  font-weight: 700;
  color: #f4fbff;
  position: relative;
  padding-left: 18px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(8, 25, 70, 0.25);
  animation: dxal-slide-in 0.75s ease both;
}

.dxal-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 60px;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffffff, #bfe8ff);
}

.dxal-intro {
  margin-top: 20px;
  color: #f0f9ff;
  line-height: 1.9;
  font-size: 24px;
  word-break: break-word;
  text-shadow: 0 1px 4px rgba(7, 27, 74, 0.22);
  animation: dxal-fade-up 0.9s ease both;
}

.dxal-intro p:last-child {
  margin-bottom: 0;
}

.dxal-hero-content > * {
  position: relative;
  z-index: 2;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .dxal-title {
    background-image: linear-gradient(
      100deg,
      #ffffff 0%,
      #b6e8ff 35%,
      #ffffff 52%,
      #d7f0ff 76%,
      #ffffff 100%
    );
    background-size: 220% 100%;
    animation:
      dxal-slide-in 0.75s ease both,
      dxal-text-shine 6.5s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .dxal-intro {
    background-image: linear-gradient(
      100deg,
      #d7f3ff 0%,
      #ffffff 45%,
      #cdeeff 75%,
      #f3fbff 100%
    );
    background-size: 240% 100%;
    animation:
      dxal-fade-up 0.9s ease both,
      dxal-text-shine 8s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.dxal-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dxal-card {
  background: #fff;
  border: 1px solid var(--dxal-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(18, 34, 69, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.dxal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(18, 34, 69, 0.12);
}

.dxal-card img {
  width: 100%;
  display: block;
  background: #eef3fb;
}

.dxal-card-html {
  padding: 20px;
}

.dxal-card__html {
  color: var(--dxal-subtext);
  font-size: 15px;
  line-height: 1.85;
  word-break: break-word;
}

.dxal-card__html img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

@keyframes dxal-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dxal-slide-in {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes dxal-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.04);
  }
}

@keyframes dxal-ripple-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(2.4%, -2.2%, 0) scale(1.04);
  }
  100% {
    transform: translate3d(-1.6%, 1.8%, 0) scale(1);
  }
}

@keyframes dxal-ripple-drift-reverse {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-2.6%, 2.2%, 0) scale(1.05);
  }
  100% {
    transform: translate3d(1.8%, -1.4%, 0) scale(1);
  }
}

@keyframes dxal-text-shine {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: 220% 0;
  }
}

@media (max-width: 1199px) {
  .dxal-title {
    font-size: 30px;
  }

  .dxal-gallery {
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .dxal-page {
    padding: 60px 0 38px;
  }

  .dxal-hero-content {
    border-radius: 0;
    padding: 22px 16px 38px;
    clip-path: polygon(
      0 0,
      100% 0,
      100% 90%,
      84% 95%,
      68% 91%,
      48% 96%,
      26% 92%,
      0 97%
    );
  }

  .dxal-hero-content::before,
  .dxal-hero-content::after {
    inset: -26% -22%;
  }

  .dxal-title {
    font-size: 24px;
    padding-left: 13px;
  }

  .dxal-title::before {
    top: 6px;
    width: 5px;
    height: 26px;
  }

  .dxal-intro {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.8;
  }

  .dxal-gallery {
    gap: 14px;
  }

  .dxal-card {
    border-radius: 12px;
  }

  .dxal-card img {
    max-height: none;
  }
}
