/* Pattern sao hình học Geometric Star (như ảnh chụp mẫu) */
.pattern-geometric-star {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23e2b170' stroke-width='1.2' stroke-opacity='0.65'%3E%3Cpath d='M40 0 L50 20 L70 20 L55 35 L60 55 L40 45 L20 55 L25 35 L10 20 L30 20 Z'/%3E%3Cpath d='M0 40 L20 50 L20 70 L35 55 L55 60 L45 40 L55 20 L35 25 L20 10 L20 30 Z'/%3E%3Cpath d='M80 40 L60 50 L60 70 L45 55 L25 60 L35 40 L25 20 L45 25 L60 10 L60 30 Z'/%3E%3Cpath d='M40 80 L50 60 L70 60 L55 45 L60 25 L40 35 L20 25 L25 45 L10 60 L30 60 Z'/%3E%3Crect x='0' y='0' width='80' height='80' stroke='%23e2b170' stroke-width='0.8' stroke-opacity='0.4'/%3E%3Cpolygon points='40,10 70,40 40,70 10,40' stroke='%23e2b170' stroke-width='0.9' stroke-opacity='0.5'/%3E%3Cpolygon points='10,10 70,10 70,70 10,70' stroke='%23e2b170' stroke-width='0.5' stroke-opacity='0.3'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
}
.pattern-dots {
  background-image: radial-gradient(
    rgba(226, 177, 112, 0.45) 1.5px,
    transparent 1.5px
  );
  background-size: 24px 24px;
}
.pattern-grid {
  background-image:
    linear-gradient(to right, rgba(226, 177, 112, 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 177, 112, 0.25) 1px, transparent 1px);
  background-size: 32px 32px;
} /* Không gian sao băng vũ trụ Space background */
.space-bg {
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
  overflow: hidden;
}
.stars-layer {
  position: absolute;
  inset: 0;
  background: transparent
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"><circle cx="20" cy="50" r="1.2" fill="%23fff" opacity="0.8"/><circle cx="120" cy="80" r="1.5" fill="%2393c5fd" opacity="0.9"/><circle cx="200" cy="30" r="1.8" fill="%23fef08a" opacity="0.85"/><circle cx="310" cy="110" r="1.2" fill="%23fff" opacity="0.7"/><circle cx="80" cy="220" r="2" fill="%23fff" opacity="0.95"/><circle cx="250" cy="280" r="1.5" fill="%2393c5fd" opacity="0.8"/><circle cx="340" cy="310" r="1" fill="%23fff" opacity="0.75"/><circle cx="150" cy="370" r="1.7" fill="%23fef08a" opacity="0.9"/><circle cx="50" cy="320" r="1.3" fill="%23fff" opacity="0.6"/><circle cx="380" cy="190" r="2" fill="%23fff" opacity="0.85"/></svg>')
    repeat;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle {
  0% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
} /* Sao băng bay */
.shooting-star {
  position: absolute;
  top: 15%;
  right: 25%;
  width: 120px;
  height: 2px;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.9), transparent);
  transform: rotate(-35deg);
  opacity: 0;
  animation: shoot 5s linear infinite;
}
.shooting-star-2 {
  position: absolute;
  top: 35%;
  right: 10%;
  width: 90px;
  height: 2px;
  background: linear-gradient(to left, rgba(147, 197, 253, 0.9), transparent);
  transform: rotate(-35deg);
  opacity: 0;
  animation: shoot 7s 2.5s linear infinite;
}
@keyframes shoot {
  0% {
    transform: rotate(-35deg) translateX(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  30% {
    transform: rotate(-35deg) translateX(-350px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
} /* HIỆU ỨNG KÍNH MỜ GLASSMORPHISM CHO CARD VÀ POPUP */
.glass-card-effect {
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 30px 60px -12px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.35);
}
.glass-inner-box {
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.85);
}
.glass-input-field {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(203, 213, 225, 0.85);
}
.glass-input-field:focus {
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3.5px rgba(59, 130, 246, 0.2);
} /* HỌA TIẾT LƯỢN SÓNG BẢO MẬT DÀNH CHO PHIẾU CHUYỂN TIỀN MẪU 2 (TICKET WAVE PATTERN) */
.ticket-wavy-pattern {
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='24' viewBox='0 0 60 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 12 Q15 0 30 12 T60 12' fill='none' stroke='%2338bdf8' stroke-width='0.75' stroke-opacity='0.22'/%3E%3Cpath d='M0 18 Q15 6 30 18 T60 18' fill='none' stroke='%2338bdf8' stroke-width='0.5' stroke-opacity='0.15'/%3E%3C/svg%3E");
  background-repeat: repeat;
}
.ticket-card-effect {
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.2);
} /* 3D COVERFLOW & CYBER GATEWAY STYLES - CRISP RENDERING */
.coverflow-container {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}
@media (min-width: 640px) {
  .coverflow-container {
    height: 520px;
    overflow: visible;
  }
}
.coverflow-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 280px;
  max-width: 82vw;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1),
    opacity 0.5s ease;
  user-select: none;
  cursor: pointer;
  will-change: transform, opacity;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
}
@media (min-width: 640px) {
  .coverflow-card {
    width: 345px;
  }
}
.cyber-card-body {
  background: #061124;
  border: 1px solid rgba(6, 182, 212, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
}
.coverflow-card.active-node {
  cursor: default;
}
.coverflow-card.active-node .cyber-card-body {
  border: 2px solid #22d3ee;
  box-shadow:
    0 0 25px rgba(6, 182, 212, 0.5),
    inset 0 0 15px rgba(6, 182, 212, 0.15);
  background: #081a36;
}
.coverflow-card:not(.active-node):hover .cyber-card-body {
  border-color: rgba(34, 211, 238, 0.8);
  background: #0a1f40;
}
.neon-title-glow,
.title-style-default {
  color: #22d3ee;
  text-shadow:
    0 0 8px rgba(34, 211, 238, 0.8),
    0 0 20px rgba(6, 182, 212, 0.4);
  line-height: 1.35;
}
.title-style-solid {
  color: var(--t3-title-c1, #22d3ee);
  text-shadow:
    0 0 10px var(--t3-title-c1, #22d3ee),
    0 0 25px var(--t3-title-c1, #22d3ee);
  line-height: 1.35;
}
.title-style-gradient {
  background: linear-gradient(
    var(--t3-title-dir, to right),
    var(--t3-title-c1, #22d3ee),
    var(--t3-title-c2, #3b82f6),
    var(--t3-title-c3, #a855f7)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.45));
  line-height: 1.35;
  padding-bottom: 0.1em;
}
header h1.title-style-gradient_anim {
  background: linear-gradient(
    var(--t3-title-dir, to right),
    var(--t3-title-c1, #22d3ee),
    var(--t3-title-c2, #3b82f6),
    var(--t3-title-c3, #a855f7),
    var(--t3-title-c1, #22d3ee)
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: titleGradientAnim 4s ease infinite;
  filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.5));
  line-height: 1.5;
  padding-block: 0.15em;
}
@keyframes titleGradientAnim {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.title-style-slice_flash {
  position: relative;
  display: inline-block;
  line-height: 1.35;
  background: linear-gradient(
    110deg,
    var(--t3-title-c1, #22d3ee) 0%,
    var(--t3-title-c2, #3b82f6) 35%,
    #ffffff 50%,
    var(--t3-title-c2, #3b82f6) 65%,
    var(--t3-title-c3, #a855f7) 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: titleSliceFlash 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.45))
    drop-shadow(0 0 20px var(--t3-title-c1, rgba(34, 211, 238, 0.4)));
}
@keyframes titleSliceFlash {
  0% {
    background-position: 150% 0;
  }
  100% {
    background-position: -50% 0;
  }
}
.title-style-neon_pulse {
  color: var(--t3-title-c1, #22d3ee);
  line-height: 1.35;
  animation: titleNeonPulse 2s ease-in-out infinite alternate;
}
@keyframes titleNeonPulse {
  0% {
    color: var(--t3-title-c1, #22d3ee);
    text-shadow:
      0 0 6px var(--t3-title-c1, #22d3ee),
      0 0 14px var(--t3-title-c2, #3b82f6);
    filter: brightness(0.95);
  }
  100% {
    color: #ffffff;
    text-shadow:
      0 0 12px #ffffff,
      0 0 24px var(--t3-title-c1, #22d3ee),
      0 0 45px var(--t3-title-c2, #3b82f6),
      0 0 70px var(--t3-title-c3, #a855f7);
    filter: brightness(1.25);
  }
}
.title-style-glitch {
  color: var(--t3-title-c1, #22d3ee);
  line-height: 1.35;
  position: relative;
  display: inline-block;
  animation: titleGlitch 3s infinite;
  text-shadow: 0 0 10px var(--t3-title-c1, #22d3ee);
}
@keyframes titleGlitch {
  0%,
  90%,
  100% {
    transform: translate(0);
    text-shadow: 0 0 10px var(--t3-title-c1, #22d3ee);
  }
  92% {
    transform: translate(-2px, 1px);
    text-shadow:
      2px -1px #ff0055,
      -2px 1px #00ffff,
      0 0 10px var(--t3-title-c1, #22d3ee);
  }
  94% {
    transform: translate(2px, -1px);
    text-shadow:
      -2px 2px #ff0055,
      2px -2px #00ffff,
      0 0 10px var(--t3-title-c1, #22d3ee);
  }
  96% {
    transform: translate(-1px, 2px);
    text-shadow:
      3px 0 #00ffff,
      -3px 0 #ff0055,
      0 0 10px var(--t3-title-c1, #22d3ee);
  }
  98% {
    transform: translate(1px, -1px);
    text-shadow:
      -1px -1px #ff0055,
      1px 1px #00ffff,
      0 0 10px var(--t3-title-c1, #22d3ee);
  }
}
