/* ═══════════════════════════════════════════════════
   ATG Announcement Bar — Premium CSS v3
   Floating Bar + Premium Background Animations
   ═══════════════════════════════════════════════════ */

/* ====================================
   PREMIUM SCROLLBAR (MODERN UI) Starts
   ==================================== */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

/* Thumb */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6366f1, #22c55e);
  border-radius: 12px;
  border: 2px solid rgba(15, 23, 42, 0.8);
  box-shadow:
    inset 0 0 6px rgba(255, 255, 255, 0.1),
    0 0 8px rgba(99, 102, 241, 0.4);
  transition: all 0.3s ease;
}

/* Hover Effect */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #4f46e5, #16a34a);
  box-shadow:
    inset 0 0 8px rgba(255, 255, 255, 0.15),
    0 0 12px rgba(99, 102, 241, 0.7);
}

/* Active (while dragging) */
::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #4338ca, #15803d);
  box-shadow:
    inset 0 0 10px rgba(255, 255, 255, 0.2),
    0 0 14px rgba(34, 197, 94, 0.8);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #6366f1 rgba(15, 23, 42, 0.6);
}

/* ====================================
   PREMIUM SCROLLBAR (MODERN UI) Ends
   ==================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ══════════════════════════════════════════════════════
   PREMIUM BACKGROUND ANIMATION KEYFRAMES
   ══════════════════════════════════════════════════════ */

/* Aurora shimmer — sweeps left to right across the bar */
@keyframes atgAurora {
  0%   { transform: translateX(-100%) skewX(-15deg); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateX(300%) skewX(-15deg); opacity: 0; }
}

/* Slow pulsing glow on the bar border */
@keyframes atgGlowPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(99,102,241,0), 0 4px 24px rgba(0,0,0,0.35); }
  50%      { box-shadow: 0 0 18px 4px rgba(99,102,241,0.35), 0 4px 24px rgba(0,0,0,0.35); }
}

/* Floating bob — gentle up/down float */
@keyframes atgFloat {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-3px); }
}

/* Gradient shift — slowly rotates the background gradient hue */
@keyframes atgGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Sparkle particles */
@keyframes atgSparkle {
  0%   { transform: scale(0) rotate(0deg);   opacity: 0; }
  50%  { transform: scale(1) rotate(180deg); opacity: 1; }
  100% { transform: scale(0) rotate(360deg); opacity: 0; }
}

/* Shimmer sweep (used on track wrap pseudo) */
@keyframes atgShimmer {
  0%   { left: -60%; }
  100% { left: 120%; }
}

/* Neon border pulse */
@keyframes atgNeonBorder {
  0%,100% { border-color: rgba(99,102,241,0.25); }
  33%      { border-color: rgba(139,92,246,0.5);  }
  66%      { border-color: rgba(34,197,94,0.35);  }
}

/* ── Bar Container ─────────────────────────────────── */
#atg-anno-bar {
  /* FLOATING: detach from page flow */
  position: relatie;
  top: 0;
  left: 0;
  transform: none; 5
  width: 100%;
  max-width: 100%;
  z-index: 99999;

  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  overflow: hidden;

  /* Floating glass card */
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px) saturate(1.8);
  -webkit-backdrop-filter: blur(10px) saturate(1.8);

  /* Premium animated shadow + glow */
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 -1px 0 rgba(0, 0, 0, 0.2) inset;

  /* Floating bob animation */
  animation:
    atgFloat      4s ease-in-out infinite,
    atgGlowPulse  3s ease-in-out infinite,
    atgNeonBorder 6s ease-in-out infinite;
}

/* Bottom placement override */
#atg-anno-bar.atg-anno-bar--bottom {
  top: auto;
  bottom: 12px;
}

/* ── Premium animated background layer ───────────── */
#atg-anno-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;

  /* Animated gradient background */
  background: linear-gradient(
    135deg,
    rgba(99,102,241,0.18) 0%,
    rgba(139,92,246,0.14) 25%,
    rgba(6,182,212,0.10) 50%,
    rgba(34,197,94,0.10) 75%,
    rgba(99,102,241,0.18) 100%
  );
  background-size: 300% 300%;
  animation: atgGradientShift 8s ease infinite;

  border-radius: inherit;
  pointer-events: none;
}

/* ── Aurora shimmer sweep overlay ─────────────────── */
#atg-anno-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 40%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.06) 60%,
    transparent 100%
  );

  animation: atgShimmer 5s ease-in-out infinite;
  animation-delay: 1s;
}

/* ── Flex container: prev | slides | next | dismiss ─ */
.atg-anno-container {
  display: flex;
  align-items: stretch;
  width: 100%;
  position: relative;
  z-index: 2; /* above ::before and ::after pseudo layers */
}

/* ── Individual Slide ────────────────────────────── */
.atg-anno-slides {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
}

.atg-anno-slide {
  background: var(--atg-bg, #1a1a2e);
  color:       var(--atg-fg, #ffffff);
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0.2rem 1rem;
  position: relative;
  transition: opacity 0.4s ease;

  /* Subtle inner background shimmer */
  background-image: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.025) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
}

/* Slide background shimmer sweep */
@keyframes atgSlideShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.atg-anno-slide {
  animation: atgSlideShimmer 6s linear infinite;
}

/* Fade animation class */
.atg-anno-slide.atg-anim-fade {
  animation: atgFadeIn 0.5s ease, atgSlideShimmer 6s linear infinite;
}
@keyframes atgFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Slide animation class */
.atg-anno-slide.atg-anim-slide {
  animation: atgSlideIn 0.45s cubic-bezier(.25,.46,.45,.94), atgSlideShimmer 6s linear infinite;
}
@keyframes atgSlideIn {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Sparkle dots (decorative, CSS only) ────────────
   3 sparkle pseudo-elements on the slides wrapper     */
.atg-anno-slides::before,
.atg-anno-slides::after {
  content: '✦';
  position: absolute;
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  z-index: 3;
  animation: atgSparkle 3s ease-in-out infinite;
}
.atg-anno-slides::before {
  top: 6px;
  right: 20%;
  animation-delay: 0s;
}
.atg-anno-slides::after {
  bottom: 6px;
  right: 35%;
  animation-delay: 1.5s;
}

/* ── Inner Layout ───────────────────────────────── */
.atg-anno-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── Track Wrap ─────────────────────────────────── */
.atg-anno-track-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* Animated edge shimmer on track wrap */
.atg-anno-track-wrap::before,
.atg-anno-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}
.atg-anno-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--atg-bg, #1a1a2e), transparent);
}
.atg-anno-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--atg-bg, #1a1a2e), transparent);
}

/* ── Track ──────────────────────────────────────── */
.atg-anno-track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  white-space: nowrap;
  will-change: transform;
}

/* Center variant */
.atg-anno-track--center {
  justify-content: center;
  white-space: normal;
  flex-wrap: wrap;
  animation: none !important;
}

/* ── Icon ───────────────────────────────────────── */
.atg-anno-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.atg-anno-icon--emoji {
  font-size: 1.15em;
  line-height: 1;
  /* Subtle bounce */
  animation: atgIconBounce 2.5s ease-in-out infinite;
}
@keyframes atgIconBounce {
  0%,100% { transform: translateY(0) scale(1); }
  30%      { transform: translateY(-3px) scale(1.1); }
  60%      { transform: translateY(1px) scale(0.97); }
}

.atg-anno-icon--img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 4px;
}

/* ── Text ───────────────────────────────────────── */
.atg-anno-text {
  color: inherit;
}

/* Premium link style */
.atg-anno-text a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s cubic-bezier(.25,.46,.45,.94), opacity 0.2s ease;
  border-bottom: 1px dashed rgba(255,255,255,0.4);
}
.atg-anno-text a:hover {
  background-size: 100% 1.5px;
  border-bottom-color: transparent;
  opacity: 0.9;
}

.atg-anno-text strong,
.atg-anno-text b {
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 0 20px rgba(255,255,255,0.25);
}
.atg-anno-text em,
.atg-anno-text i {
  font-style: italic;
  opacity: 0.92;
}
.atg-anno-text u {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.atg-anno-text span {
  color: inherit;
}

/* ── Premium inline button inside content ───────── */
.atg-anno-text button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  color: inherit;
  font-size: 0.82em;
  font-weight: 700;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  vertical-align: middle;
  line-height: 1.5;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
  position: relative;
  overflow: hidden;
}
.atg-anno-text button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.atg-anno-text button:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.atg-anno-text button:hover::after { left: 130%; }
.atg-anno-text button:active { transform: translateY(0) scale(0.97); }

/* ── Action Button ──────────────────────────────── */
.atg-anno-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  border-radius: 22px;
  background: var(--atg-btn, #e94560);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  white-space: nowrap;
  flex-shrink: 0;

  /* Subtle button pulse */
  animation: atgBtnPulse 3s ease-in-out infinite;
}
@keyframes atgBtnPulse {
  0%,100% { box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
  50%      { box-shadow: 0 2px 18px rgba(233,69,96,0.55); }
}

.atg-anno-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.atg-anno-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  animation: none; /* stop pulse on hover */
}
.atg-anno-btn:hover::after { left: 125%; }
.atg-anno-btn:active { transform: translateY(0) scale(0.98); }
.atg-anno-btn--static {
  opacity: 0.85;
  cursor: default;
  animation: none;
}
.atg-anno-btn--static:hover {
  transform: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.atg-anno-btn--static::after { display: none; }

/* ── Navigation Controls ────────────────────────── */
.atg-anno-nav {
  flex: 0 0 auto;
  width: 38px;
  background: rgba(0,0,0,0.12);
  border: none;
  border-left: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
  color: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.15s ease;
  position: relative;
  overflow: hidden;
}
.atg-anno-prev { border-left: none; }
.atg-anno-nav:hover {
  opacity: 1;
  background: rgba(255,255,255,0.12);
}
.atg-anno-nav:active { transform: scale(0.92); }

/* Nav button shimmer on hover */
.atg-anno-nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.atg-anno-nav:hover::after { opacity: 1; }

/* ── Dismiss Button ─────────────────────────────── */
.atg-anno-dismiss {
  flex: 0 0 auto;
  width: 38px;
  background: rgba(0,0,0,0.12);
  border: none;
  border-left: 1px solid rgba(255,255,255,0.08);
  color: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.15s ease;
  border-radius: 0 16px 16px 0;
}
.atg-anno-dismiss:hover {
  opacity: 1;
  background: rgba(255,80,80,0.25);
}
.atg-anno-dismiss:active { transform: scale(0.92); }

/* ── Marquee keyframe (kept for compatibility) ──── */
@keyframes atgMarquee {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
.atg-anno-track--scrolling {
  animation: atgMarquee linear infinite;
}
.atg-anno-track--paused {
  animation-play-state: paused !important;
}

/* ── Modal Popup ────────────────────────────────── */
.atg-anno-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
}
.atg-anno-modal.atg-anno-modal--open { display: flex; }

.atg-anno-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 15, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: atgModalFade 0.28s ease;
}
@keyframes atgModalFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.atg-anno-modal__content {
  position: relative;
  z-index: 1;
  background: #13131f;
  color: #e2e8f0;
  border-radius: 16px;
  border: 1px solid rgba(99,102,241,0.2);
  max-width: 500px;
  width: calc(100% - 2.5rem);
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  padding: 2rem 1.85rem 1.85rem;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 25px 80px rgba(0,0,0,0.7),
    0 0 60px rgba(99,102,241,0.08);
  animation: atgModalPop 0.32s cubic-bezier(.25,.46,.45,.94);
}
@keyframes atgModalPop {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.atg-anno-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: #9ca3af;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.atg-anno-modal__close:hover {
  background: rgba(239,68,68,0.18);
  border-color: rgba(239,68,68,0.35);
  color: #f87171;
  transform: rotate(90deg);
}

.atg-anno-modal__body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #cbd5e1;
}

/* ── Modal Body Styling ─────────────────────────── */
.atg-anno-modal__body h1,
.atg-anno-modal__body h2,
.atg-anno-modal__body h3,
.atg-anno-modal__body h4 {
  margin-bottom: 0.65rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.atg-anno-modal__body p { margin-bottom: 0.85rem; color: #94a3b8; }
.atg-anno-modal__body label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 5px;
  margin-top: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.atg-anno-modal__body input[type="text"],
.atg-anno-modal__body input[type="email"],
.atg-anno-modal__body input[type="tel"],
.atg-anno-modal__body input[type="number"],
.atg-anno-modal__body input[type="password"],
.atg-anno-modal__body textarea,
.atg-anno-modal__body select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #e2e8f0;
  background: rgba(255,255,255,0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
}
.atg-anno-modal__body input::placeholder,
.atg-anno-modal__body textarea::placeholder { color: #4b5563; }
.atg-anno-modal__body input:focus,
.atg-anno-modal__body textarea:focus,
.atg-anno-modal__body select:focus {
  border-color: rgba(99,102,241,0.6);
  background: rgba(99,102,241,0.06);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.atg-anno-modal__body textarea { min-height: 90px; resize: vertical; }
.atg-anno-modal__body select { color: #e2e8f0; cursor: pointer; }
.atg-anno-modal__body select option { background: #1e1e2e; color: #e2e8f0; }
.atg-anno-modal__body button,
.atg-anno-modal__body input[type="submit"],
.atg-anno-modal__body input[type="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 1.1rem;
  padding: 11px 24px;
  border: none;
  border-radius: 24px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.atg-anno-modal__body button:hover,
.atg-anno-modal__body input[type="submit"]:hover,
.atg-anno-modal__body input[type="button"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99,102,241,0.55);
}
.atg-anno-modal__body button:active,
.atg-anno-modal__body input[type="submit"]:active,
.atg-anno-modal__body input[type="button"]:active { transform: translateY(0); }
.atg-anno-modal__body a {
  color: #818cf8;
  font-weight: 600;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s ease, color 0.2s ease;
}
.atg-anno-modal__body a:hover { background-size: 100% 1.5px; color: #a5b4fc; }
.atg-anno-modal__body ul,
.atg-anno-modal__body ol { margin: 0.5rem 0 0.85rem 1.25rem; color: #94a3b8; }
.atg-anno-modal__body li { margin-bottom: 0.3rem; }
.atg-anno-modal__body img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.atg-anno-modal__body hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 1.2rem 0;
}

/* ═══════════════════════════════════════════════════
   Countdown Timer
   ═══════════════════════════════════════════════════ */

.atg-anno-countdown {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0 0.5rem;
}

.atg-anno-countdown__inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  /*background: rgba(0, 0, 0, 0.70);*/
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 30px;
  padding: 3px 12px 3px 10px;
  backdrop-filter: blur(6px);
  animation: atgNeonBorder 4s ease-in-out infinite;
}

.atg-anno-countdown__label {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.90;
  white-space: nowrap;
}

.atg-anno-countdown__expired {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f87171;
  padding: 2px 4px;
}

.atg-anno-countdown__units {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.atg-anno-countdown__unit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.atg-anno-countdown__num {
  font-size: 0.88rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  min-width: 20px;
  text-align: center;
  display: inline-block;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.atg-anno-countdown__lbl {
  font-size: 0.52rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1px;
}

.atg-anno-countdown__sep {
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.6;
  margin: 0 1px;
  padding-bottom: 4px;
  /* Blink separator */
  animation: atgSepBlink 1s step-end infinite;
}
@keyframes atgSepBlink {
  0%,100% { opacity: 0.5; }
  50%      { opacity: 0.15; }
}

/* ═══════════════════════════════════════════════════
   Terms & Conditions Link
   ═══════════════════════════════════════════════════ */

.atg-anno-tnc {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  color: inherit !important;
  text-decoration: none !important;
  opacity: 0.7;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.45);
  padding-bottom: 1px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s ease, border-bottom-color 0.2s ease;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.atg-anno-tnc::before {
  content: '📋';
  font-size: 0.78em;
}
.atg-anno-tnc:hover {
  opacity: 1;
  border-bottom-color: rgba(255, 255, 255, 0.8);
}

/* ═══════════════════════════════════════════════════
   Event Info
   ═══════════════════════════════════════════════════ */

.atg-anno-event-wrap {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.atg-anno-event {
  display: inline;
  font-size: 0.85rem;
  color: inherit;
}

.atg-anno-event__title {
  font-weight:600;
  letter-spacing: 0.01em;
}

.atg-anno-event__meta {
  font-weight: 400;
  opacity: 0.8;
  font-style: italic;
}

.atg-anno-event__organizer {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-style: dotted;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.atg-anno-event__date {
  font-weight: 700;
}

.atg-anno-event__time {
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.82em;
  letter-spacing: 0.02em;
}

.atg-anno-event__venue {
  font-weight: 600;
  font-style: italic;
}

/* ═══════════════════════════════════════════════════
   PAUSE INDICATOR (click-to-pause)
   ═══════════════════════════════════════════════════ */

.atg-anno-slide[data-click-paused="1"]::after {
  content: '⏸';
  position: absolute;
  right: 44px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  opacity: 0.45;
  pointer-events: none;
  animation: none;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — shrink on small screens
   ═══════════════════════════════════════════════════ */

@media (max-width: 640px) {
  #atg-anno-bar {
    width: 100%;
    top: 0;
    border-radius: 16px;
    font-size: 0.8rem;
  }
  #atg-anno-bar.atg-anno-bar--bottom {
    bottom: 8px;
    top: auto;
  }
  .atg-anno-nav  { width: 30px; font-size: 1.1rem; }
  .atg-anno-dismiss { width: 30px; }
}


/* ═══════════════════════════════════════════════════
   PREMIUM SYSTEM MODAL FORM STYLES
   ═══════════════════════════════════════════════════ */

/* ── Premium modal content override ────────────────── */
.atg-anno-modal__content--premium {
    background: linear-gradient(160deg, #0f0f1e 0%, #13131f 60%, #0d1117 100%);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 20px;
    padding: 2rem 2rem 1.5rem;
    max-width: 520px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04),
        0 30px 90px rgba(0,0,0,0.75),
        0 0 80px rgba(99,102,241,0.1);
    position: relative;
    overflow: auto;
}

/* Shimmer top border */
.atg-anno-modal__content--premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #06b6d4, #22c55e, #6366f1);
    background-size: 300% 100%;
    animation: atgGradientShift 4s ease infinite;
}

/* ── Logo ────────────────────────────────────────── */
.atg-modal-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.atg-modal-logo {
    max-height: 52px;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(99,102,241,0.3));
}

/* ── Title ───────────────────────────────────────── */
.atg-modal-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #f1f5f9;
    text-align: center;
    margin: 0 0 0.35rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Slogan ──────────────────────────────────────── */
.atg-modal-slogan {
    font-size: 0.88rem;
    font-weight: 600;
    color: #818cf8;
    text-align: center;
    margin: 0 0 0.35rem;
    letter-spacing: 0.01em;
}

/* ── Description ─────────────────────────────────── */
.atg-modal-description {
    font-size: 0.84rem;
    color: #6e7681;
    text-align: center;
    margin: 0 0 0.5rem;
    line-height: 1.6;
}

/* ── Divider ─────────────────────────────────────── */
.atg-modal-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.3), transparent);
    margin: 1rem 0 1.25rem;
}

/* ── Form Row ────────────────────────────────────── */
.atg-form-row {
    margin-bottom: 0.9rem;
}
.atg-form-row--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* ── Form Group ──────────────────────────────────── */
.atg-form-group {
    display: flex;
    flex-direction: column;
}

/* ── Form Label ──────────────────────────────────── */
.atg-form-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #6e7681;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.atg-required {
    color: #f87171;
    margin-left: 2px;
}

/* ── Form Input ──────────────────────────────────── */
.atg-form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    font-size: 0.875rem;
    font-family: inherit;
    color: #e2e8f0;
    background: rgba(255,255,255,0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    outline: none;
    -webkit-appearance: none;
}
.atg-form-input::placeholder {
    color: #374151;
}
.atg-form-input:focus {
    border-color: rgba(99,102,241,0.6);
    background: rgba(99,102,241,0.05);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}
.atg-form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* ── Premium Checkbox ────────────────────────────── */
.atg-form-group--checkbox {
    flex-direction: row;
    align-items: flex-start;
}
.atg-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}
.atg-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.atg-checkbox-custom {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(99,102,241,0.4);
    border-radius: 5px;
    background: rgba(99,102,241,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 2px;
}
.atg-checkbox-custom::after {
    content: '✓';
    font-size: 0.7rem;
    color: #6366f1;
    font-weight: 700;
    opacity: 0;
    transform: scale(0);
    transition: all 0.15s ease;
}
.atg-checkbox:checked + .atg-checkbox-custom {
    background: rgba(99,102,241,0.2);
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99,102,241,0.15);
}
.atg-checkbox:checked + .atg-checkbox-custom::after {
    opacity: 1;
    transform: scale(1);
}
.atg-checkbox-text {
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.5;
}
.atg-inline-link {
    color: #818cf8;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed rgba(129,140,248,0.4);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.atg-inline-link:hover {
    color: #a5b4fc;
    border-bottom-color: rgba(165,180,252,0.6);
}

/* ── Submit Button ───────────────────────────────── */
.atg-form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 1.1rem;
    padding: 13px 24px;
    border: none;
    border-radius: 28px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #6366f1 100%);
    background-size: 200% 100%;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(99,102,241,0.4),
        0 1px 0 rgba(255,255,255,0.1) inset;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-position 0.4s ease;
    animation: atgBtnPulse 3s ease-in-out infinite;
}
.atg-form-submit:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 28px rgba(99,102,241,0.55),
        0 1px 0 rgba(255,255,255,0.12) inset;
    background-position: 100% 0;
    animation: none;
}
.atg-form-submit:active {
    transform: translateY(0) scale(0.98);
}
.atg-form-submit__text {
    position: relative;
    z-index: 1;
}
.atg-form-submit__shine {
    position: absolute;
    top: 0; left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}
.atg-form-submit:hover .atg-form-submit__shine {
    left: 130%;
}

/* ── Modal Footer ────────────────────────────────── */
.atg-modal-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
.atg-modal-footer__links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
    margin-bottom: 0.6rem;
}
.atg-modal-footer__link {
    font-size: 0.72rem;
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    letter-spacing: 0.02em;
}
.atg-modal-footer__link:hover {
    color: #818cf8;
}
.atg-modal-footer__copy {
    font-size: 0.68rem;
    color: #374151;
    margin: 0;
    letter-spacing: 0.02em;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 540px) {
    .atg-form-row--2col {
        grid-template-columns: 1fr;
    }
    .atg-anno-modal__content--premium {
        padding: 1.5rem 1.25rem 1.25rem;
    }
    .atg-modal-title {
        font-size: 1.2rem;
    }
}

/* ── Field error states ──────────────────────────── */
.atg-form-input.atg-field-error {
    border-color: rgba(248,113,113,0.6) !important;
    box-shadow: 0 0 0 3px rgba(248,113,113,0.1) !important;
}
