/* ===== style.css — SHARED VARIABLES, DARK/LIGHT MODE, ANIMATIONS ===== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --bg-primary: #f0f4ff;
    --bg-secondary: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.55);
    --bg-glass-hover: rgba(255, 255, 255, 0.75);
    --bg-card: rgba(255, 255, 255, 0.6);
    --text-primary: #0d0d2b;
    --text-secondary: #4a4a6a;
    --text-muted: #8888aa;
    --accent-1: #5b5ef4;
    --accent-2: #a259ff;
    --accent-3: #00c6ae;
    --accent-grad: linear-gradient(135deg, #5b5ef4, #a259ff);
    --accent-grad-2: linear-gradient(135deg, #00c6ae, #5b5ef4);
    --border-color: rgba(91, 94, 244, 0.18);
    --border-glass: rgba(255, 255, 255, 0.4);
    --shadow-card: 0 8px 40px rgba(91, 94, 244, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-btn: 0 4px 24px rgba(91, 94, 244, 0.35);
    --orb-1: rgba(91, 94, 244, 0.18);
    --orb-2: rgba(162, 89, 255, 0.14);
    --orb-3: rgba(0, 198, 174, 0.12);
    --bg-grid: rgba(91, 94, 244, 0.08);
    --input-bg: rgba(255, 255, 255, 0.8);
    --input-border: rgba(91, 94, 244, 0.25);
    --input-focus: rgba(91, 94, 244, 0.6);
    --nav-bg: rgba(255, 255, 255, 0.7);
    --toggle-bg: #e0e3ff;
    --toggle-circle: #5b5ef4;
}

[data-theme="dark"] {
    --bg-primary: #08081a;
    --bg-secondary: #10102a;
    --bg-glass: rgba(16, 16, 42, 0.65);
    --bg-glass-hover: rgba(20, 20, 55, 0.85);
    --bg-card: rgba(20, 20, 50, 0.7);
    --text-primary: #eeeeff;
    --text-secondary: #aaaacc;
    --text-muted: #5555aa;
    --accent-1: #7b7ef8;
    --accent-2: #c47bff;
    --accent-3: #00e5c8;
    --accent-grad: linear-gradient(135deg, #7b7ef8, #c47bff);
    --accent-grad-2: linear-gradient(135deg, #00e5c8, #7b7ef8);
    --border-color: rgba(123, 126, 248, 0.22);
    --border-glass: rgba(255, 255, 255, 0.08);
    --shadow-card: 0 8px 40px rgba(123, 126, 248, 0.18), 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-btn: 0 4px 24px rgba(123, 126, 248, 0.45);
    --orb-1: rgba(123, 126, 248, 0.22);
    --orb-2: rgba(196, 123, 255, 0.18);
    --orb-3: rgba(0, 229, 200, 0.14);
    --bg-grid: rgba(123, 126, 248, 0.08);
    --input-bg: rgba(20, 20, 50, 0.8);
    --input-border: rgba(123, 126, 248, 0.3);
    --input-focus: rgba(123, 126, 248, 0.7);
    --nav-bg: rgba(8, 8, 26, 0.8);
    --toggle-bg: #1a1a40;
    --toggle-circle: #c47bff;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    opacity: 0;
    animation: pageEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Background Grid Effect */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(to right, var(--bg-grid) 1px, transparent 1px),
        linear-gradient(to bottom, var(--bg-grid) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 65%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 65%);
    animation: gridMove 25s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.page-leave {
    animation: pageLeave 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageLeave {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(-15px) scale(0.98);
    }
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-1);
    border-radius: 99px;
}

/* ===== BACKGROUND ORBS ===== */
.orb-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.75;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--orb-1);
    top: -100px;
    left: -100px;
    animation: floatOrb1 18s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--orb-2);
    bottom: -80px;
    right: -80px;
    animation: floatOrb2 22s ease-in-out infinite;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--orb-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: floatOrb3 15s ease-in-out infinite;
}

@keyframes floatOrb1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(60px, 80px) scale(1.08);
    }

    66% {
        transform: translate(-40px, 120px) scale(0.95);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes floatOrb2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-80px, -60px) scale(1.1);
    }

    66% {
        transform: translate(40px, -100px) scale(0.92);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes floatOrb3 {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-40%, -60%) scale(1.15);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ===== GLASSMORPHISM CARD ===== */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    transition: background 0.4s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.glass-card:hover {
    background: var(--bg-glass-hover);
    box-shadow: var(--shadow-card), 0 0 0 1px var(--border-color);
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent-grad);
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    text-decoration: none;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-btn), 0 12px 40px rgba(91, 94, 244, 0.25);
    filter: brightness(1.08);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    background: transparent;
    color: var(--accent-1);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid var(--accent-1);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.btn-secondary:hover {
    background: var(--accent-1);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn);
}

/* ===== INPUTS ===== */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}

input,
select,
textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--input-bg);
    border: 1.5px solid var(--input-border);
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px rgba(91, 94, 244, 0.12);
    background: var(--bg-glass-hover);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.nav-logo em {
    font-style: normal;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-grad);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: rgba(91, 94, 244, 0.08);
    color: var(--accent-1);
}

.nav-link.active {
    color: var(--accent-1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 38px;
    height: 38px;
    background: var(--accent-grad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    position: relative;
    width: 52px;
    height: 28px;
    background: var(--toggle-bg);
    border: none;
    border-radius: 99px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.theme-toggle::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    background: var(--toggle-circle);
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(.4, 0, .2, 1), background 0.3s ease;
}

[data-theme="dark"] .theme-toggle::after {
    transform: translateX(24px);
}

.theme-toggle-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    pointer-events: none;
}

.theme-toggle-icon.sun {
    left: 6px;
}

.theme-toggle-icon.moon {
    right: 5px;
}

/* ===== DIVIDER ===== */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* ===== BADGE ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 99px;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.badge-accent {
    background: rgba(91, 94, 244, 0.12);
    color: var(--accent-1);
    border: 1px solid rgba(91, 94, 244, 0.2);
}

.badge-green {
    background: rgba(0, 198, 174, 0.12);
    color: var(--accent-3);
    border: 1px solid rgba(0, 198, 174, 0.2);
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-2 {
    background: var(--accent-grad-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-12px) rotate(0.5deg);
    }

    66% {
        transform: translateY(-6px) rotate(-0.3deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    70% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== ANIMATE CLASSES ===== */
.anim-fadeInUp {
    animation: fadeInUp 0.7s cubic-bezier(.4, 0, .2, 1) both;
}

.anim-fadeInDown {
    animation: fadeInDown 0.6s cubic-bezier(.4, 0, .2, 1) both;
}

.anim-scaleIn {
    animation: scaleIn 0.6s cubic-bezier(.4, 0, .2, 1) both;
}

.anim-slideLeft {
    animation: slideInLeft 0.7s cubic-bezier(.4, 0, .2, 1) both;
}

.anim-slideRight {
    animation: slideInRight 0.7s cubic-bezier(.4, 0, .2, 1) both;
}

.anim-float {
    animation: floatCard 6s ease-in-out infinite;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

.delay-6 {
    animation-delay: 0.6s;
}

.delay-7 {
    animation-delay: 0.7s;
}

.delay-8 {
    animation-delay: 0.8s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-center {
        display: none;
    }

    .orb-1 {
        width: 300px;
        height: 300px;
    }

    .orb-2 {
        width: 250px;
        height: 250px;
    }

    .login-layout,
    .signup-layout {
        grid-template-columns: 1fr;
    }

    .login-left,
    .signup-left {
        display: none;
    }

    .login-right,
    .signup-right {
        padding: 20px;
    }

    .type-cards {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        flex-direction: column;
        gap: 16px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-section {
        padding: 40px 20px;
    }

    .input-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .social-btns {
        grid-template-columns: 1fr;
    }

    .btn-row {
        grid-template-columns: 1fr;
    }
}
/* ===== EXTRA BACKGROUND ANIMATIONS ===== */

/* ── 2 NEW ORBS ── */
.orb-4 {
  width: 350px;
  height: 350px;
  background: rgba(0, 198, 174, 0.13);
  top: 30%;
  right: -80px;
  animation: floatOrb4 20s ease-in-out infinite;
}

.orb-5 {
  width: 250px;
  height: 250px;
  background: rgba(162, 89, 255, 0.12);
  bottom: 20%;
  left: 5%;
  animation: floatOrb5 17s ease-in-out infinite;
}

@keyframes floatOrb4 {
  0%   { transform: translate(0, 0) scale(1); }
  40%  { transform: translate(-60px, 80px) scale(1.12); }
  80%  { transform: translate(30px, -50px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes floatOrb5 {
  0%   { transform: translate(0, 0) scale(1); }
  35%  { transform: translate(70px, -90px) scale(1.08); }
  70%  { transform: translate(-30px, 60px) scale(0.94); }
  100% { transform: translate(0, 0) scale(1); }
}

[data-theme="dark"] .orb-4 {
  background: rgba(0, 229, 200, 0.16);
}
[data-theme="dark"] .orb-5 {
  background: rgba(196, 123, 255, 0.15);
}

/* ── SHOOTING STARS / METEORS ── */
.stars-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.meteor {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0;
}

.meteor::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 120px;
  height: 1.5px;
  background: linear-gradient(to left, rgba(255,255,255,0.8), transparent);
  border-radius: 99px;
}

.meteor-1 {
  top: 8%;
  left: 20%;
  animation: meteor 6s linear 1s infinite;
}
.meteor-2 {
  top: 18%;
  left: 55%;
  animation: meteor 8s linear 3.5s infinite;
}
.meteor-3 {
  top: 5%;
  left: 75%;
  animation: meteor 7s linear 2s infinite;
}
.meteor-4 {
  top: 35%;
  left: 10%;
  animation: meteor 9s linear 5s infinite;
}
.meteor-5 {
  top: 12%;
  left: 40%;
  animation: meteor 6.5s linear 7s infinite;
}

@keyframes meteor {
  0% {
    transform: translate(0, 0) rotate(-45deg);
    opacity: 0;
  }
  3% {
    opacity: 1;
  }
  20% {
    transform: translate(300px, 300px) rotate(-45deg);
    opacity: 0;
  }
  100% {
    transform: translate(300px, 300px) rotate(-45deg);
    opacity: 0;
  }
}

/* Meteors are subtle in light mode, vivid in dark mode */
[data-theme="light"] .meteor {
  background: rgba(91, 94, 244, 0.5);
}
[data-theme="light"] .meteor::after {
  background: linear-gradient(to left, rgba(91,94,244,0.4), transparent);
}

/* ── AURORA WAVE AT BOTTOM ── */
.aurora-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 340px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora {
  position: absolute;
  bottom: -80px;
  width: 140%;
  left: -20%;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  animation: auroraRise 12s ease-in-out infinite;
}

.aurora-1 {
  height: 220px;
  background: radial-gradient(ellipse at center, rgba(91,94,244,0.18) 0%, transparent 70%);
  animation-delay: 0s;
}

.aurora-2 {
  height: 180px;
  background: radial-gradient(ellipse at center, rgba(0,198,174,0.15) 0%, transparent 70%);
  animation-delay: 6s;
}

@keyframes auroraRise {
  0%   { opacity: 0; transform: translateY(40px) scaleX(1); }
  25%  { opacity: 1; transform: translateY(0px) scaleX(1.05); }
  50%  { opacity: 0.7; transform: translateY(-20px) scaleX(0.97); }
  75%  { opacity: 1; transform: translateY(0px) scaleX(1.03); }
  100% { opacity: 0; transform: translateY(40px) scaleX(1); }
}

[data-theme="dark"] .aurora-1 {
  background: radial-gradient(ellipse at center, rgba(123,126,248,0.22) 0%, transparent 70%);
}
[data-theme="dark"] .aurora-2 {
  background: radial-gradient(ellipse at center, rgba(0,229,200,0.18) 0%, transparent 70%);
}

/* ── PARTICLE CANVAS ── */
#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ── RADIAL BACKGROUND PULSE ── */
body::after {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(91, 94, 244, 0.1);
  pointer-events: none;
  z-index: 0;
  animation: radialPulse 8s ease-in-out infinite;
}

@keyframes radialPulse {
  0%   { transform: translate(-50%, -50%) scale(0.8); opacity: 0.4; }
  50%  { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.4; }
}