@keyframes vg-gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes vg-hero-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

@keyframes vg-btn-shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes vg-card-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(21,101,192,0); }
  50% { box-shadow: 0 0 20px 4px rgba(21,101,192,0.08); }
}

.vg-page-hero--support,
.vg-page-hero--faq,
.vg-page-hero--contact,
.vg-page-hero--ranking,
.vg-page-hero--guide {
  background-size: 200% 200% !important;
  animation: vg-gradient-shift 8s ease infinite !important;
  position: relative;
  overflow: hidden;
}

.vg-page-hero--support::before,
.vg-page-hero--faq::before,
.vg-page-hero--contact::before,
.vg-page-hero--ranking::before,
.vg-page-hero--guide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.vg-page-hero--support::after,
.vg-page-hero--faq::after,
.vg-page-hero--contact::after,
.vg-page-hero--ranking::after,
.vg-page-hero--guide::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1565c0, #0d47a1, #1565c0);
  background-size: 200% 100%;
  animation: vg-gradient-shift 4s linear infinite;
}

.vg-section-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #bbdefb, transparent);
  margin: 40px 0;
  position: relative;
}

.vg-section-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -3px;
  transform: translateX(-50%);
  width: 50px;
  height: 6px;
  background: linear-gradient(90deg, #1565c0, #0d47a1);
  border-radius: 3px;
}

.vg-animate-in {
  animation: vg-fade-in-up 0.6s ease forwards;
  opacity: 0;
}

.vg-animate-in--1 { animation-delay: 0.05s; }
.vg-animate-in--2 { animation-delay: 0.1s; }
.vg-animate-in--3 { animation-delay: 0.15s; }
.vg-animate-in--4 { animation-delay: 0.2s; }
.vg-animate-in--5 { animation-delay: 0.25s; }
.vg-animate-in--6 { animation-delay: 0.3s; }

.vg-btn-primary,
.vg-btn--primary,
.vg-fp-hero__btn,
.vg-detail__play-btn,
.vg-dl-page__btn--primary {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.vg-btn-primary::before,
.vg-btn--primary::before,
.vg-fp-hero__btn::before,
.vg-detail__play-btn::before,
.vg-dl-page__btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.vg-btn-primary:hover::before,
.vg-btn--primary:hover::before,
.vg-fp-hero__btn:hover::before,
.vg-detail__play-btn:hover::before,
.vg-dl-page__btn--primary:hover::before {
  left: 100%;
}

.vg-faq-card,
.vg-contact-card,
.vg-guide-card,
.vg-platform-card,
.vg-fp-cat-card {
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}

.vg-faq-card::before,
.vg-contact-card::before,
.vg-guide-card::before,
.vg-platform-card::before,
.vg-fp-cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #1565c0, #0d47a1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.vg-faq-card:hover::before,
.vg-contact-card:hover::before,
.vg-guide-card:hover::before,
.vg-platform-card:hover::before,
.vg-fp-cat-card:hover::before {
  transform: scaleX(1);
}

.vg-faq-card:hover,
.vg-contact-card:hover,
.vg-guide-card:hover,
.vg-platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(21,101,192,0.12);
}

.vg-fp-hero__main::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(21,101,192,0.15) 0%, transparent 70%);
  animation: vg-hero-glow 4s ease-in-out infinite;
  pointer-events: none;
}

.vg-game-card:hover {
  animation: vg-card-glow 2s ease-in-out;
}

.vg-footer__social-link:hover {
  animation: vg-pulse-glow 1.5s ease-in-out;
}

.vg-back-to-top.visible {
  animation: vg-fade-in-up 0.3s ease forwards;
}

.vg-back-to-top:hover {
  animation: vg-float 1s ease-in-out infinite;
}

@keyframes vg-blue-glow-pulse {
  0%,100%{box-shadow:0 0 0 0 rgba(59,130,246,0)}
  50%{box-shadow:0 0 20px rgba(59,130,246,0.3)}
}

@keyframes vg-blue-border-glow {
  0%,100%{border-color:rgba(59,130,246,0.4);box-shadow:0 0 6px rgba(59,130,246,0.15)}
  50%{border-color:rgba(59,130,246,0.8);box-shadow:0 0 16px rgba(59,130,246,0.35)}
}

@keyframes vg-search-focus-ring {
  0%,100%{box-shadow:0 0 0 3px rgba(59,130,246,0.25)}
  50%{box-shadow:0 0 0 6px rgba(59,130,246,0.15)}
}

.vg-card--portal {
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  background:rgba(255,255,255,0.65);
  border:1px solid rgba(59,130,246,0.12);
  transition:all 0.35s cubic-bezier(0.4,0,0.2,1);
}

.vg-card--portal:hover {
  background:rgba(255,255,255,0.8);
  box-shadow:0 0 20px rgba(59,130,246,0.3),0 8px 32px rgba(59,130,246,0.1);
  transform:translateY(-2px);
}

.vg-game-card:hover,
.vg-fp-cat-card:hover,
.vg-faq-card:hover,
.vg-contact-card:hover,
.vg-guide-card:hover,
.vg-platform-card:hover {
  box-shadow:0 0 20px rgba(59,130,246,0.3);
}

.vg-fp-channels__item {
  transition:all 0.3s cubic-bezier(0.4,0,0.2,1);
  border:2px solid transparent;
}

.vg-fp-channels__item:hover {
  border-color:rgba(59,130,246,0.6);
  box-shadow:0 0 12px rgba(59,130,246,0.25);
  transform:scale(1.02);
  animation:vg-blue-border-glow 1.5s ease infinite;
}

.vg-rank-list__row {
  position:relative;
  transition:all 0.3s ease;
}

.vg-rank-list__row::before {
  content:'';
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  background:linear-gradient(180deg,#3b82f6,#1565c0);
  border-radius:0 2px 2px 0;
  transform:scaleY(0);
  transition:transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.vg-rank-list__row:hover::before {
  transform:scaleY(1);
}

.vg-rank-list__row:hover {
  background:rgba(59,130,246,0.06);
  padding-left:8px;
}

.vg-search-page__input {
  transition:all 0.3s ease;
  border:2px solid transparent;
}

.vg-search-page__input:focus {
  border-color:rgba(59,130,246,0.5);
  animation:vg-search-focus-ring 2s ease infinite;
  outline:none;
}
