/* ========================================
   أثر — Digital Experience
   CSS Architecture
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-base: #070b1a;
    --bg-light: #0f1628;
    --gold: #d4a853;
    --gold-light: #f0d78c;
    --gold-dim: #8b6914;
    --text-primary: #e8e0d0;
    --text-secondary: #a09880;
    --text-verse: #f5ecd7;
    --card-bg: rgba(15, 18, 35, 0.85);
    --card-border: rgba(212, 168, 83, 0.15);
    --font-display: 'Amiri', serif;
    --font-body: 'Tajawal', sans-serif;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text-primary);
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    cursor: default;
    user-select: none;
    transition: background-color 2s ease;
}

/* --- Canvas --- */
#cosmos {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#trails {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* --- Scenes --- */
.scene {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.2s var(--transition-smooth);
}

.scene.active {
    opacity: 1;
    pointer-events: all;
}

/* ========================================
   Scene 1: Landing
   ======================================== */
.landing-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.bismillah {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    color: var(--text-secondary);
    opacity: 0;
    animation: fadeSlideUp 1.5s var(--transition-smooth) 0.3s forwards;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.logo {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 700;
    color: var(--gold);
    text-shadow: 
        0 0 40px rgba(212, 168, 83, 0.3),
        0 0 80px rgba(212, 168, 83, 0.15),
        0 0 120px rgba(212, 168, 83, 0.05);
    opacity: 0;
    animation: logoReveal 2s var(--transition-smooth) 0.8s forwards;
    line-height: 1.2;
}

.tagline {
    font-family: var(--font-body);
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    color: var(--text-secondary);
    opacity: 0;
    animation: fadeSlideUp 1.5s var(--transition-smooth) 1.6s forwards;
    max-width: 500px;
    line-height: 1.8;
}

.invite-touch {
    position: relative;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1.5s var(--transition-smooth) 2.5s forwards;
    cursor: pointer;
}

.touch-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--gold-dim);
    letter-spacing: 0.02em;
    z-index: 1;
    animation: textPulse 3s ease-in-out infinite;
}

.pulse-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: 50%;
    animation: pulseExpand 3s ease-out infinite;
}

.pulse-ring.delay {
    animation-delay: 1.5s;
}

/* ========================================
   Scene 2: Experience
   ======================================== */
#experience {
    cursor: default;
}

.athar-counter {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    z-index: 10;
    opacity: 0;
    animation: fadeSlideDown 1s var(--transition-smooth) 0.5s forwards;
}

.counter-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-secondary);
}

.counter-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(212, 168, 83, 0.3);
    transition: transform 0.4s var(--transition-bounce);
    display: inline-block;
}

.counter-value.bump {
    transform: scale(1.4);
}

.counter-unit {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-secondary);
}

.touch-hint {
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--gold-dim);
    opacity: 0;
    animation: fadeIn 1s var(--transition-smooth) 1s forwards, textPulse 4s ease-in-out 2s infinite;
    white-space: nowrap;
}

/* ========================================
   Floating Deed Orbs
   ======================================== */
.deed-orb {
    position: absolute;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 15px;  /* invisible hitbox around tiny star */
    margin: -15px;
    will-change: left, top;
}

.deed-orb:hover {
    z-index: 6;
}

.deed-orb:hover .orb-glow {
    opacity: 1;
    transform: scale(2);
}

.deed-orb:hover .orb-label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.orb-core {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, #fff, var(--gold-light) 40%, var(--gold) 100%);
    box-shadow:
        0 0 3px #fff,
        0 0 8px rgba(212, 168, 83, 0.8),
        0 0 18px rgba(212, 168, 83, 0.4),
        0 0 35px rgba(212, 168, 83, 0.15);
    transition: box-shadow 0.4s ease, transform 0.3s ease;
    position: relative;
    z-index: 2;
    animation: orbTwinkle 3s ease-in-out infinite;
    animation-delay: calc(var(--twinkle-delay, 0) * 1s);
}

.deed-orb:hover .orb-core {
    background: radial-gradient(circle at 40% 40%, #fff, var(--gold-light) 30%, var(--gold) 100%);
    box-shadow:
        0 0 6px #fff,
        0 0 15px rgba(212, 168, 83, 1),
        0 0 30px rgba(212, 168, 83, 0.6),
        0 0 50px rgba(212, 168, 83, 0.25);
    transform: scale(1.5);
}

@keyframes orbTwinkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    30% { opacity: 1; transform: scale(1.3); }
    60% { opacity: 0.7; transform: scale(0.9); }
    80% { opacity: 1; transform: scale(1.1); }
}

.orb-glow {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.15) 0%, transparent 70%);
    opacity: 0.4;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.orb-label {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold-light);
    white-space: nowrap;
    padding: 0.35rem 0.9rem;
    background: rgba(15, 18, 35, 0.9);
    border: 1px solid rgba(212, 168, 83, 0.25);
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s var(--transition-bounce);
    margin-bottom: 10px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10;
}

.orb-label::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(212, 168, 83, 0.25);
}

/* Orb entrance */
.deed-orb.entering {
    animation: orbEnter 0.8s var(--transition-bounce) forwards;
}

/* Orb ascend (after click — star rises gracefully) */
.deed-orb.ascending {
    pointer-events: none;
    animation: starAscend 1.2s ease-in forwards;
}

.deed-orb.ascending .orb-core {
    animation: starBrighten 1.2s ease-in forwards;
}

@keyframes orbEnter {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes starAscend {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    30% {
        opacity: 1;
        transform: translateY(-10px) scale(1.8);
    }
    100% {
        opacity: 0;
        transform: translateY(-120px) scale(0.3);
    }
}

@keyframes starBrighten {
    0% {
        box-shadow:
            0 0 3px #fff,
            0 0 8px rgba(212, 168, 83, 0.8),
            0 0 18px rgba(212, 168, 83, 0.4);
    }
    30% {
        box-shadow:
            0 0 10px #fff,
            0 0 25px rgba(212, 168, 83, 1),
            0 0 50px rgba(212, 168, 83, 0.6),
            0 0 80px rgba(212, 168, 83, 0.3);
    }
    100% {
        box-shadow:
            0 0 2px rgba(255,255,255,0.3),
            0 0 5px rgba(212, 168, 83, 0.2);
    }
}

/* Glow effect when star is selected */
.star-select-glow {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 8;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(212, 168, 83, 0.5) 40%, transparent 70%);
    animation: selectGlow 1.2s ease-out forwards;
}

@keyframes selectGlow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    40% {
        transform: translate(-50%, -50%) scale(12);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(20);
        opacity: 0;
    }
}

/* Sparkles that float upward */
.star-sparkle {
    position: fixed;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gold-light);
    pointer-events: none;
    z-index: 8;
    transform: translate(-50%, -50%);
    animation: sparkleRise 1s ease-out forwards;
}

@keyframes sparkleRise {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, calc(-50% - 60px)) scale(0.3);
    }
}

/* ========================================
   Deed Card
   ======================================== */
.deed-card {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 1;
    transition: opacity 0.6s var(--transition-smooth);
}

.deed-card.hidden {
    opacity: 0;
    pointer-events: none;
}

.deed-card.hidden .card-inner {
    transform: scale(0.85) translateY(30px);
    opacity: 0;
}

.card-inner {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    max-width: 480px;
    width: 90%;
    text-align: center;
    overflow: hidden;
    transform: scale(1) translateY(0);
    opacity: 1;
    transition: 
        transform 0.7s var(--transition-bounce),
        opacity 0.5s var(--transition-smooth);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(212, 168, 83, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at center,
        rgba(212, 168, 83, 0.06) 0%,
        transparent 60%
    );
    pointer-events: none;
    animation: glowRotate 8s linear infinite;
}

.deed-category {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gold);
    background: rgba(212, 168, 83, 0.1);
    border: 1px solid rgba(212, 168, 83, 0.15);
    border-radius: 100px;
    padding: 0.3rem 1rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: cardElementReveal 0.6s var(--transition-smooth) 0.2s forwards;
}

.deed-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 1rem;
    line-height: 1.4;
    opacity: 0;
    animation: cardElementReveal 0.6s var(--transition-smooth) 0.35s forwards;
}

.deed-description {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: cardElementReveal 0.6s var(--transition-smooth) 0.5s forwards;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    opacity: 0;
    animation: cardElementReveal 0.6s var(--transition-smooth) 0.65s forwards;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(
        to left,
        transparent,
        rgba(212, 168, 83, 0.3),
        transparent
    );
}

.divider-ornament {
    color: var(--gold);
    font-size: 0.8rem;
    opacity: 0.6;
}

.verse {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-verse);
    line-height: 2;
    margin: 0 0 0.5rem 0;
    padding: 0;
    border: none;
    position: relative;
    opacity: 0;
    animation: verseReveal 1s var(--transition-smooth) 0.8s forwards;
}

.verse::before {
    content: '﴿';
    color: var(--gold);
    font-size: 1.4rem;
    margin-left: 0.3rem;
    opacity: 0.6;
}

.verse::after {
    content: '﴾';
    color: var(--gold);
    font-size: 1.4rem;
    margin-right: 0.3rem;
    opacity: 0.6;
}

.source {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--gold-dim);
    font-style: normal;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: cardElementReveal 0.6s var(--transition-smooth) 1.1s forwards;
}

.thawab {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--gold-light);
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.12), rgba(212, 168, 83, 0.05));
    border-radius: 12px;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(212, 168, 83, 0.1);
    opacity: 0;
    animation: cardElementReveal 0.6s var(--transition-smooth) 1.3s forwards;
}

.thawab::before {
    content: '🌟 ';
    font-size: 0.9rem;
}

.card-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.card-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
    transform: rotate(90deg);
}

/* ========================================
   Completion Overlay
   ======================================== */
.completion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(
        ellipse at center,
        rgba(20, 16, 8, 0.95) 0%,
        rgba(7, 11, 26, 0.98) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 1;
    transition: opacity 1s var(--transition-smooth);
}

.completion.hidden {
    opacity: 0;
    pointer-events: none;
}

.completion-content {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
}

.completion-light {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(212, 168, 83, 0.4) 0%,
        rgba(212, 168, 83, 0.1) 40%,
        transparent 70%
    );
    margin: 0 auto 2rem;
    animation: completionGlow 3s ease-in-out infinite alternate;
}

.completion-content h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(212, 168, 83, 0.3);
}

.completion-message {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 2rem;
}

.completion-verse {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-verse);
    line-height: 2;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(212, 168, 83, 0.15);
    border-bottom: 1px solid rgba(212, 168, 83, 0.15);
}

.completion-source {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--gold-dim);
    margin-top: 0.5rem;
}

.reset-btn {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--bg-base);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: none;
    border-radius: 100px;
    padding: 1rem 2.5rem;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(212, 168, 83, 0.3);
}

.reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 83, 0.4);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.8);
        filter: blur(10px);
    }
    60% {
        opacity: 1;
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes pulseExpand {
    0% {
        transform: scale(0.5);
        opacity: 0.6;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes textPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes cardElementReveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes verseReveal {
    0% {
        opacity: 0;
        transform: translateY(10px);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes glowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes completionGlow {
    from {
        transform: scale(1);
        opacity: 0.6;
    }
    to {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 600px) {
    .card-inner {
        padding: 2rem 1.5rem;
        border-radius: 20px;
        width: 95%;
    }

    .deed-title {
        font-size: 1.6rem;
    }

    .verse {
        font-size: 1.1rem;
    }

    .logo {
        font-size: clamp(3.5rem, 15vw, 6rem);
    }

    .athar-counter {
        top: 1rem;
    }

    .touch-hint {
        bottom: 2rem;
        font-size: 0.8rem;
    }

    .completion-content h2 {
        font-size: 2.2rem;
    }

    .completion-verse {
        font-size: 1.1rem;
    }
}

@media (max-width: 360px) {
    .card-inner {
        padding: 1.5rem 1.2rem;
    }
}

/* ========================================
   Utilities
   ======================================== */
.no-scroll {
    overflow: hidden;
}

/* Footer Credit */
.credit {
    position: fixed;
    bottom: 0.8rem;
    right: 1rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gold-dim);
    z-index: 3;
    pointer-events: none;
    letter-spacing: 0.03em;
    background: linear-gradient(
        90deg,
        var(--gold-dim) 0%,
        var(--gold-dim) 46%,
        var(--gold-light) 50%,
        var(--gold-dim) 54%,
        var(--gold-dim) 100%
    );
    background-size: 500% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 10s linear infinite;
}

@keyframes goldShimmer {
    0%, 75% {
        background-position: -30% center;
    }
    95%, 100% {
        background-position: 130% center;
    }
}

/* Ripple click effect (added dynamically) */
.click-ripple {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    background: radial-gradient(
        circle,
        transparent 30%,
        rgba(212, 168, 83, 0.25) 50%,
        rgba(212, 168, 83, 0.08) 65%,
        transparent 75%
    );
    animation: rippleExpand 1s ease-out forwards;
}

@keyframes rippleExpand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 280px;
        height: 280px;
        opacity: 0;
        margin-top: -140px;
        margin-left: -140px;
    }
}

/* Second ripple wave */
.click-ripple-outer {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    background: radial-gradient(
        circle,
        transparent 40%,
        rgba(212, 168, 83, 0.12) 55%,
        rgba(212, 168, 83, 0.03) 70%,
        transparent 80%
    );
    animation: rippleExpandOuter 1.4s ease-out 0.1s forwards;
}

@keyframes rippleExpandOuter {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
        margin-top: -200px;
        margin-left: -200px;
    }
}

/* Flash effect at click point */
.click-flash {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff, var(--gold-light) 40%, transparent 70%);
    pointer-events: none;
    z-index: 5;
    animation: flashExpand 0.5s ease-out forwards;
    transform: translate(-50%, -50%);
}

@keyframes flashExpand {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(10);
        opacity: 0;
    }
}
