.brand-logo,
.brand-glow,
.brand-shine {
  display: none !important;
}

.brand-block {
  display: block !important;
  width: min(300px, 92vw);
  max-width: 300px;
  height: auto;
  margin: 2px auto 10px !important;
  padding: 0 !important;
  text-decoration: none !important;
  pointer-events: auto;
  isolation: isolate;
  background: transparent !important;
}

.brand-block::before,
.brand-block::after {
  content: none !important;
  display: none !important;
}

.maruaylek-logo {
  position: relative;
  display: block;
  width: 100%;
  background: transparent;
}

.maruaylek-logo__fx {
  position: absolute;
  inset: -6% -4%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.maruaylek-logo__glow {
  position: absolute;
  inset: 18% 12% 10%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(253, 202, 34, 0.22), transparent 68%);
  filter: blur(10px);
  animation: maruaylekLogoGlow 3.2s ease-in-out infinite;
}

.maruaylek-logo__bolt {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 248, 220, 0.2) 12%,
    rgba(255, 255, 255, 0.95) 28%,
    #fdca22 48%,
    rgba(255, 255, 255, 0.9) 52%,
    #e8a90a 72%,
    transparent 100%
  );
  filter: drop-shadow(0 0 6px rgba(253, 202, 34, 0.9))
    drop-shadow(0 0 14px rgba(255, 255, 255, 0.45));
  opacity: 0;
  transform-origin: center top;
}

.maruaylek-logo__bolt--l1 {
  left: 10%;
  top: 8%;
  height: 58%;
  transform: rotate(-14deg);
  animation: maruaylekBoltLeft 2.6s ease-in-out infinite;
}

.maruaylek-logo__bolt--l2 {
  left: 18%;
  top: 22%;
  height: 42%;
  width: 2px;
  transform: rotate(-28deg);
  animation: maruaylekBoltLeft 2.6s ease-in-out infinite 0.35s;
}

.maruaylek-logo__bolt--r1 {
  right: 10%;
  top: 10%;
  height: 55%;
  transform: rotate(14deg);
  animation: maruaylekBoltRight 2.8s ease-in-out infinite 0.15s;
}

.maruaylek-logo__bolt--r2 {
  right: 18%;
  top: 24%;
  height: 40%;
  width: 2px;
  transform: rotate(26deg);
  animation: maruaylekBoltRight 2.8s ease-in-out infinite 0.5s;
}

.maruaylek-logo__spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff8dc;
  box-shadow: 0 0 8px #fdca22, 0 0 16px rgba(255, 255, 255, 0.55);
  opacity: 0;
}

.maruaylek-logo__spark--1 {
  left: 22%;
  top: 28%;
  animation: maruaylekSpark 2.2s ease-in-out infinite;
}

.maruaylek-logo__spark--2 {
  right: 24%;
  top: 34%;
  animation: maruaylekSpark 2.2s ease-in-out infinite 0.7s;
}

.maruaylek-logo__spark--3 {
  left: 48%;
  top: 12%;
  animation: maruaylekSpark 2.2s ease-in-out infinite 1.1s;
}

.maruaylek-logo__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 300px;
  max-width: 100%;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 12px rgba(253, 202, 34, 0.2));
}

.brand-block:hover .maruaylek-logo__img {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.48))
    drop-shadow(0 0 18px rgba(253, 202, 34, 0.32));
  transform: scale(1.015);
  transition: filter 0.25s ease, transform 0.25s ease;
}

@keyframes maruaylekBoltLeft {
  0%,
  100% {
    opacity: 0;
    transform: rotate(-14deg) scaleY(0.82);
  }
  6% {
    opacity: 1;
    transform: rotate(-14deg) scaleY(1);
  }
  10% {
    opacity: 0.25;
  }
  14% {
    opacity: 0.95;
  }
  20%,
  55% {
    opacity: 0;
  }
  62% {
    opacity: 0.85;
    transform: rotate(-16deg) scaleY(0.95);
  }
  68% {
    opacity: 0;
  }
}

@keyframes maruaylekBoltRight {
  0%,
  100% {
    opacity: 0;
    transform: rotate(14deg) scaleY(0.82);
  }
  8% {
    opacity: 0.9;
    transform: rotate(14deg) scaleY(1);
  }
  12% {
    opacity: 0.2;
  }
  16% {
    opacity: 1;
  }
  22%,
  58% {
    opacity: 0;
  }
  66% {
    opacity: 0.8;
    transform: rotate(16deg) scaleY(0.92);
  }
  72% {
    opacity: 0;
  }
}

@keyframes maruaylekSpark {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.4);
  }
  12% {
    opacity: 1;
    transform: scale(1.2);
  }
  24% {
    opacity: 0;
    transform: scale(0.6);
  }
}

@keyframes maruaylekLogoGlow {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@media only screen and (min-width: 768px) {
  .brand-block {
    margin: 8px auto 12px !important;
  }
}

@media only screen and (min-width: 1024px) {
  .brand-block {
    margin: 10px auto 14px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maruaylek-logo__bolt,
  .maruaylek-logo__spark,
  .maruaylek-logo__glow {
    animation: none !important;
    opacity: 0.35;
  }
}

.login-title-crest__row,
.login-title-crest__glow,
.login-agent {
  display: none !important;
}

.login-title-crest::before {
  content: "จ่ายจริง เงินชัวร์ ที่สุดในไทย";
  display: block;
  margin: 0 0 10px;
  padding: 0 12px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: #fff8e8;
  text-shadow: 0 0 14px rgba(253, 202, 34, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);
}

.login-title-crest__jewel {
  margin-top: 0 !important;
}

.v-overlay-container .v-overlay:has(.v-card),
.v-dialog,
.app-alert-modal {
  display: none !important;
}

.login-seo__box[open] .login-seo__body {
  max-height: none !important;
  overflow: visible !important;
}
