@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Outfit:wght@400;600;700&display=swap');

:root {
    /* Zen Palette */
    --bg-color: #FDFCF0;
    --text-primary: #000000;
    --text-secondary: #222222;
    --accent-gold: #D4AF37;
    --accent-gold-light: #FFD700;

    /* V2 Premium Additions */
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.2);
    --overlay-dark: rgba(26, 26, 26, 0.85);

    /* System Tokens */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.12);
    --transition-smooth: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-quick: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: linear-gradient(120deg, #FDFCF0, #FFF5D0, #EAE5D5, #FDFCF0);
    background-size: 400% 400%;
    animation: magicBg 15s ease infinite;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

@keyframes magicBg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

h1,
h2,
h3,
.serif {
    font-family: 'Playfair Display', serif;
    color: #000000;
}

/* Exceção: títulos dentro do Reader e overlays escuros não devem ser pretos */
.reader-v2-container h2 {
    color: inherit;
}

/* Header V2 */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    border-bottom: 2px solid var(--accent-gold-light);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    overflow: visible;
}

.header-logo-placeholder {
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
}

.header-title {
    font-family: 'Crimson Pro', serif;
    color: var(--accent-gold-light) !important;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.header-spacer {
    width: 75px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    overflow: visible;
}

#app-root {
    padding-top: 60px;
    min-height: 100vh;
}

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

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

@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

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

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.zoom-in {
    animation: zoomIn 0.6s ease-out forwards;
}

/* Shimmer Loading Animation */
.shimmer {
    background: linear-gradient(90deg, #ece7db 25%, #f5f0e6 50%, #ece7db 75%);
    background-size: 200% 100%;
    animation: shimmerAnim 1.5s infinite;
}

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

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

.card-img.shimmer {
    width: 100%;
    height: 100%;
}


/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #000;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Padrão inteligente: Prioriza o topo/centro para evitar cortes em rostos */
    object-position: center 20%;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

/* Ajuste para telas ultra-wide (aspect ratio > 21:9) para evitar zoom excessivo no rosto */
@media (min-aspect-ratio: 21/9) {
    .hero-bg {
        object-position: center 15%;
    }
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-color) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 5%;
    max-width: 800px;
}

.hero-tag {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    margin-bottom: 16px;
    font-weight: 700;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.2rem;
    color: #1a1a1a !important;
    margin-bottom: 32px;
    max-width: 600px;
}

.btn-premium {
    background: #000000 !important;
    color: #ffffff !important;
    padding: 16px 36px;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-quick);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-premium:hover {
    transform: scale(1.05);
    background: var(--text-secondary);
}

/* Categories & Carousels */
.category-section {
    position: relative;
    padding: 60px 0 20px 0;
    /* Fundo sutil radial para preencher o vazio nas proporções e dar ar premium */
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.category-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    margin-left: 5%;
    margin-bottom: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, #1a1a1a, #6e552a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.category-section:hover .category-title::after {
    width: 80%;
}

.carousel-container {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 2%;
    padding-right: 5%;
    scrollbar-width: none;
    /* 3D Properties */
    perspective: 1200px;
    transform-style: preserve-3d;
    scroll-behavior: smooth;
    align-items: center;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

/* Carousel Navigation Buttons */
.carousel-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-quick);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-nav-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.carousel-nav-btn.prev {
    left: -24px;
}

.carousel-nav-btn.next {
    right: 3%;
}

@media (max-width: 600px) {
    .carousel-container {
        perspective: none;
        padding-top: 20px;
        padding-bottom: 20px;
        gap: 16px;
    }

    .carousel-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .carousel-nav-btn.prev {
        left: -10px;
    }
    
    .carousel-nav-btn.next {
        right: 1%;
    }
}

/* Vertical Book Cards - 3D Concave Carousel (Coverflow Style) */
.book-card-v2 {
    flex: 0 0 260px;
    aspect-ratio: 2/3;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Repouso (quando o container não está sob hover) */
    transform-style: preserve-3d;
    transform: rotateY(0) scale(0.95);
    filter: brightness(0.9);
    margin: 0 8px;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease, margin 0.6s ease, box-shadow 0.6s ease;
    transform-origin: center;
}

/* Quando o CARROSSEL está sob hover, todos os filhos que não estão sendo tocados...
   se comportam como elementos a DIREITA do foco, e rodam para a esquerda */
.carousel-container:hover .book-card-v2 {
    transform: rotateY(25deg) scale(0.85);
    filter: brightness(0.6) saturate(0.8);
    margin: 0 -12px;
    box-shadow: -10px 15px 30px rgba(0, 0, 0, 0.2);
}

/* Os itens ANTES do focado (a ESQUERDA do hover) - Magia do seletor moderno :has e irmãos (~) */
.carousel-container:hover .book-card-v2:has(~ .book-card-v2:hover) {
    transform: rotateY(-25deg) scale(0.85);
    box-shadow: 10px 15px 30px rgba(0, 0, 0, 0.2);
}

/* O PRÓPRIO CARTÃO em HOVER: Planifica, aumenta e salta pra frente (translateZ) empurrando vizinhos com margem */
.carousel-container .book-card-v2:hover {
    transform: rotateY(0deg) scale(1.1) translateZ(60px);
    filter: brightness(1.1) saturate(1.1);
    z-index: 100;
    margin: 0 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Mobile Reset - Anula rotações cruzadas limitando a profundidade para manter a responsividade tátil */
@media (max-width: 600px) {
    .category-title {
        font-size: 2rem;
    }
    
    .book-card-v2 {
        flex: 0 0 180px !important;
    }

    .carousel-container:hover .book-card-v2,
    .carousel-container:hover .book-card-v2:has(~ .book-card-v2:hover),
    .carousel-container .book-card-v2:hover,
    .book-card-v2 {
        transform: none !important;
        filter: none !important;
        margin: 0 !important;
        z-index: 1 !important;
    }
    
    .carousel-container .book-card-v2:hover {
        transform: scale(1.05) translateY(-5px) !important;
    }
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(253, 252, 240, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--glass-border);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000 !important;
    margin-bottom: 4px;
}

.card-desc {
    font-size: 0.85rem;
    font-weight: 400;
    color: #333333;
    opacity: 0.8;
    line-height: 1.3;
}

@media (max-width: 600px) {
    .card-desc {
        display: none !important;
    }
    .card-overlay {
        padding: 12px 10px;
        /* Gradiente mais forte embaixo para garantir leitura do título, mas bem mais curto */
        background: linear-gradient(to top, rgba(253, 252, 240, 0.85) 0%, rgba(253, 252, 240, 0.2) 100%);
    }
    .card-title {
        font-size: 1rem;
        margin-bottom: 0;
        text-align: center;
    }
}

/* Reader Overlay V2 */
.reader-v2-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--overlay-dark);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    padding-top: 20px;
}

.reader-header-bar {
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
}

.reader-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.reader-v2-frame {
    width: 90%;
    height: 85%;
    border-radius: var(--radius-md);
    border: none;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    background: white;
}

.btn-back-v2-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-quick);
    color: white;
    font-size: 1.2rem;
}

.btn-back-v2-nav:hover {
    transform: scale(1.1);
    background: white;
    color: var(--text-primary);
}

.reader-title-display {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #FFD700 0%, #FFF5CC 40%, #D4AF37 70%, #FFD700 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 6px rgba(255, 215, 0, 0.35));
    animation: titleShimmer 4s ease-in-out infinite;
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes titleShimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

.btn-voice-ai {
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    transition: var(--transition-quick);
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-voice-ai:hover {
    transform: scale(1.15) rotate(5deg);
    background: var(--accent-gold-light);
}

.btn-voice-ai.pulse {
    animation: voicePulse 1.5s infinite;
}

@keyframes voicePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

@media (max-width: 600px) {
    .book-card-v2 {
        flex: 0 0 180px;
    }

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

    .reader-title-display {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 50vw;
    }

    .reader-v2-frame {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

/* --- Phase 6: Dual Interface (Narration Only) --- */

.btn-narrate-v2 {
    background: #000000;
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    margin-left: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-narrate-v2:hover {
    background: #222222;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.hidden {
    display: none !important;
}

/* --- RPG & Branching Narratives --- */
.fz-choice-overlay {
    position: absolute;
    inset: 0;
    z-index: 50;
    background: #FDFCF0; /* Cor Zen original */
    background-image: 
        radial-gradient(at 0% 0%, rgba(212, 175, 55, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(74, 53, 32, 0.05) 0px, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 40px;
    animation: zenFadeIn 0.8s ease;
}

@keyframes zenFadeIn {
    from { opacity: 0; transform: scale(1.02); filter: blur(10px); }
    to { opacity: 1; transform: scale(1); filter: blur(0); }
}

.choice-prompt {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #4a3520 !important; /* Sepia */
    text-align: center;
    max-width: 85%;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    position: relative;
    padding-bottom: 20px;
}

.choice-prompt::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.choice-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.btn-choice-zen {
    background: white;
    border: 2px solid #e8dcc8;
    padding: 22px 44px;
    border-radius: 16px;
    color: #4a3520;
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(74, 53, 32, 0.08);
    min-width: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-choice-zen:hover {
    background: #fdf8f0;
    border-color: var(--accent-gold);
    color: #000;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.btn-choice-zen:active {
    transform: scale(0.95);
}

/* --- Review Mode & Staging --- */
.book-card-v2.review-mode {
    border: 2px dashed #ff9800;
    filter: brightness(0.9) grayscale(0.2);
}

.book-card-v2.review-mode:hover {
    border-color: #ff5722;
    box-shadow: 0 0 20px rgba(255, 87, 34, 0.4);
}

.review-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 152, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
    z-index: 10;
    animation: reviewPulse 2s infinite;
}

@keyframes reviewPulse {
    0% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.8; transform: scale(1); }
}

/* --- Edição de Perfil (Premium) --- */
.fz-perfil-nome-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fz-btn-edit-nome {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #D4AF37;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fz-btn-edit-nome:hover {
    background: #D4AF37;
    color: #1a1a2e;
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.fz-btn-edit-nome svg {
    width: 16px;
    height: 16px;
}

/* --- Edição de nome inline (Pergaminho) --- */
.fz-edit-nome-pergaminho {
    display: flex;
    align-items: center;
    gap: 8px;
    background:
        linear-gradient(135deg, #f5e6c8 0%, #e8d5a3 30%, #f2e4c4 60%, #dcc48e 100%);
    border: 2px solid #b8972f;
    border-radius: 12px;
    padding: 8px 14px;
    box-shadow:
        0 4px 16px rgba(184, 151, 47, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    animation: fzPergaminhoAbrir 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform-origin: left center;
    position: relative;
}

.fz-edit-nome-pergaminho::before {
    content: '✦';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    color: #D4AF37;
    font-size: 12px;
    text-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
}

.fz-input-nome-pergaminho {
    background: transparent;
    border: none;
    border-bottom: 2px dashed rgba(139, 109, 42, 0.4);
    color: #4a3520;
    font-family: 'Nunito', 'Georgia', serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 6px;
    width: 150px;
    max-width: 180px;
    outline: none;
    transition: border-color 0.3s ease;
}

.fz-input-nome-pergaminho:focus {
    border-bottom-color: #D4AF37;
    border-bottom-style: solid;
}

.fz-input-nome-pergaminho::placeholder {
    color: rgba(74, 53, 32, 0.4);
    font-style: italic;
}

.fz-edit-nome-acoes {
    display: flex;
    gap: 4px;
}

.fz-edit-nome-confirmar,
.fz-edit-nome-cancelar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.25s ease;
}

.fz-edit-nome-confirmar {
    background: linear-gradient(135deg, #5a8f3c, #4a7c2e);
    color: #fff;
    border-color: rgba(90, 143, 60, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.fz-edit-nome-confirmar:hover {
    transform: scale(1.15);
    box-shadow: 0 0 12px rgba(90, 143, 60, 0.5);
}

.fz-edit-nome-cancelar {
    background: linear-gradient(135deg, #c44e3d, #a83e30);
    color: #fff;
    border-color: rgba(196, 78, 61, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.fz-edit-nome-cancelar:hover {
    transform: scale(1.15);
    box-shadow: 0 0 12px rgba(196, 78, 61, 0.5);
}

/* Animações */
@keyframes fzPergaminhoAbrir {
    0% {
        opacity: 0;
        transform: scaleX(0) translateY(-4px);
    }
    100% {
        opacity: 1;
        transform: scaleX(1) translateY(0);
    }
}

.fz-edit-nome-saindo {
    animation: fzPergaminhoFechar 0.25s ease-in forwards;
}

@keyframes fzPergaminhoFechar {
    0% {
        opacity: 1;
        transform: scaleX(1);
    }
    100% {
        opacity: 0;
        transform: scaleX(0);
    }
}