:root {
    /* CoRich Color Palette */
    --color-cream-bg: #F9F8F4;
    --color-cream-dark: #EFECE6;
    --color-green-morandi: #7E9B8D;
    /* Muted Morandi Green */
    --color-green-dark: #5A7065;
    --color-text-main: #4A4A4A;
    --color-text-light: #7E7E7E;
    --color-white: #FFFFFF;
    --shadow-soft: 0 10px 30px rgba(126, 155, 141, 0.1);

    /* Spacing */
    --container-padding: 2rem;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans TC', 'Outfit', sans-serif;
    background-color: var(--color-cream-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-green-morandi);
    color: var(--color-white);
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(126, 155, 141, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(126, 155, 141, 0.4);
}

.btn-secondary {
    display: inline-block;
    border: 2px solid var(--color-green-morandi);
    color: var(--color-green-morandi);
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--color-green-morandi);
    color: var(--color-white);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(249, 248, 244, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-green-dark);
    white-space: nowrap;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-green-dark);
    transition: all 0.3s ease-in-out;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-main);
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-green-morandi);
}

.nav-links .btn-primary {
    margin-left: 2rem;
    padding: 8px 24px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6.5rem 2rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    gap: 3rem;
    position: relative;
    overflow-x: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(126, 155, 141, 0.12) 0%, rgba(249, 248, 244, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 550px;
    z-index: 10;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: var(--color-green-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero .subtitle {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    align-items: center;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
}

.iphone-mockup {
    width: 250px;
    height: 510px;
    background-color: #1a1a1a;
    border-radius: 38px;
    border: 8px solid #2d2d2d;
    position: relative;
    box-shadow: 0 30px 60px rgba(90, 112, 101, 0.25);
    overflow: hidden;
    z-index: 2;
    transition: transform 0.5s ease;
}

.iphone-mockup:hover {
    transform: translateY(-8px) scale(1.02);
}

.screen-content {
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-image: url('images/screenshot.png');
    background-size: cover;
    background-position: center;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.06));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float-delay {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-item-1 {
    width: 90px;
    top: 8%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
}

.float-item-2 {
    width: 110px;
    bottom: 15%;
    right: 2%;
    animation: float-delay 7s ease-in-out infinite;
    animation-delay: 1s;
    opacity: 0.6;
}

.float-item-3 {
    width: 70px;
    top: 18%;
    right: 12%;
    animation: float 5s ease-in-out infinite;
    animation-delay: 2s;
    opacity: 0.8;
}

/* Sections General */
.section {
    padding: 6rem 0;
    text-align: center;
}

.section h2 {
    font-size: 2.5rem;
    color: var(--color-green-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Island Section */
.island-section {
    background: linear-gradient(to bottom, var(--color-white) 0%, var(--color-cream-bg) 100%);
    position: relative;
    overflow: hidden;
    padding: 1rem 0 2rem;
}

.island-display {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 3rem;
    padding: 0;
    min-height: 350px;
}

.island-base {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    position: relative;
}

.island-elements {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.island-item {
    position: absolute;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.12));
    pointer-events: auto;
}

.island-item:hover {
    transform: scale(1.12) translateY(-10px);
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.18));
}

/* Smaller Island Item Positioning */
.item-house {
    width: 20%;
    /* Increased from 14% to make it visibly larger */
    top: 16%;
    /* Adjusted top to compensate for larger size */
    left: 10%;
    /* Adjusted left */
    z-index: 3;
}

.item-car {
    width: 16%;
    top: 48%;
    /* Moved up slightly */
    left: 20%;
    z-index: 4;
}

.item-pet-1 {
    width: 9%;
    /* Increased from 8% */
    top: 38%;
    left: 42%;
    z-index: 5;
    animation: bounce 3s infinite ease-in-out;
}

.item-pet-2 {
    width: 10%;
    /* Increased from 9% */
    top: 25%;
    left: 58%;
    z-index: 5;
    animation: bounce 3s infinite ease-in-out;
    animation-delay: 1.5s;
}

.item-family {
    width: 9%;
    top: 52%;
    left: 38%;
    /* Moved left slightly to make room */
    z-index: 6;
}

.item-family-2 {
    width: 8%;
    /* Reduced slightly */
    top: 52%;
    left: 48%;
    z-index: 6;
}

.item-gold {
    width: 12%;
    max-width: 110px;
    height: auto;
    top: 20%;
    left: 44%;
    z-index: 5;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* Floating Clouds on Island */
.island-cloud {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
    z-index: 3;
    /* Increased z-index to be above island base */
}

.cloud-1 {
    width: 120px;
    top: 5%;
    left: -15%;
    animation: driftCloud 25s linear infinite;
    z-index: 0;
    /* Behind island */
}

.cloud-2 {
    width: 100px;
    top: 15%;
    right: -12%;
    animation: driftCloud 30s linear infinite;
    animation-delay: 5s;
    z-index: 0;
}



@keyframes driftCloud {
    from {
        transform: translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    to {
        transform: translateX(calc(100vw + 100px));
        opacity: 0;
    }
}

/* Floating Balloon on Island */
.island-balloon {
    position: absolute;
    width: 65px;
    top: 8%;
    right: 15%;
    z-index: 7;
    pointer-events: none;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
    animation: floatBalloon 6s ease-in-out infinite;
}

@keyframes floatBalloon {

    0%,
    100% {
        transform: translateY(0px) rotate(-2deg);
    }

    50% {
        transform: translateY(-25px) rotate(2deg);
    }
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(126, 155, 141, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(126, 155, 141, 0.1);
    text-align: center;
}

.card-icon {
    height: 140px;
    /* Increased container height */
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-icon img {
    max-height: 130px;
    /* Increased from 90px */
    max-width: 130px;
    /* Increased from 90px */
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
    /* stronger shadow for 3D effect */
}

.card h3 {
    color: var(--color-green-dark);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.card p {
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 1rem;
}

.hover-reveal:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(126, 155, 141, 0.15);
    border-color: rgba(126, 155, 141, 0.3);
}

/* Financial Management Section */
.manage-section {
    background-color: var(--color-white);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(126, 155, 141, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(126, 155, 141, 0.15);
}

.icon-circle {
    width: auto;
    /* Allow image size to dictate width, removed fixed 90px */
    height: 120px;
    /* Increased height for larger icon */
    background: none;
    /* Removed gray background */
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
}

.icon-circle img {
    width: auto;
    height: auto;
    max-width: 130px;
    /* Increased from 55px */
    max-height: 120px;
    /* Increased from 55px */
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.12));
    /* Added shadow for 3D effect */
}

.feature-item h3 {
    color: var(--color-green-dark);
    margin-bottom: 0.8rem;
    font-size: 1.35rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Specific enlargement for safe icon to match visual weight */
.icon-large-safe {
    max-height: 145px !important;
    /* Larger than standard 130px */
    max-width: 145px !important;
    transform: scale(1.15);
    /* Additional scaling */
}

/* Dream Section */
.dream-section {
    background: linear-gradient(to bottom, rgba(126, 155, 141, 0.15) 0%, var(--color-cream-bg) 100%);
    /* Green mist to cream */
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
    /* Reduced padding further */
}

.dream-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bg-cloud {
    position: absolute;
    opacity: 0.5;
}

.c1 {
    top: 8%;
    left: -8%;
    width: 180px;
    animation: floatCloud 30s linear infinite;
}

.c2 {
    top: 25%;
    right: -8%;
    width: 140px;
    animation: floatCloud 35s linear infinite reverse;
}

.c3 {
    top: 55%;
    left: 15%;
    width: 110px;
    animation: floatCloud 45s linear infinite;
    opacity: 0.35;
}

@keyframes floatCloud {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100vw);
    }
}

.relative-z {
    position: relative;
    z-index: 2;
}

.dream-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 450px;
    position: relative;
    margin-top: 2rem;
}

.balloons-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    min-height: 280px;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.balloon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.balloon-wrapper:hover {
    transform: translateY(-15px);
}

.balloon-img {
    width: 110px;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.12));
}

.balloon-label {
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 16px;
    border-radius: 16px;
    margin-top: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-main);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(126, 155, 141, 0.15);
}

.b1 {
    animation: float 4.5s ease-in-out infinite;
}

.b2 {
    animation: float 5.5s ease-in-out infinite;
    animation-delay: 1s;
}

.b3 {
    animation: float 5s ease-in-out infinite;
    animation-delay: 0.5s;
}



/* Pricing Section */
.pricing-section {
    background-color: var(--color-white);
    border-radius: 40px 40px 0 0;
}

.pricing-table {
    overflow-x: auto;
    margin-top: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    max-width: 900px;
    margin: 0 auto;
}

th,
td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-cream-dark);
    font-size: 1.1rem;
}

th.highlight {
    color: var(--color-green-dark);
    background-color: rgba(126, 155, 141, 0.1);
    border-radius: 12px 12px 0 0;
}

tr:last-child td {
    border-bottom: none;
}

.price-highlight {
    color: var(--color-green-dark);
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 5px;
}

.green-check {
    color: #4CAF50;
    font-size: 1.4rem;
    font-weight: 700;
}

/* Footer */
footer {
    background-color: var(--color-green-dark);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-links {
    margin-top: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 1rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 1rem;
}

.footer-email {
    font-size: 0.85em;
    opacity: 0.75;
}

/* Scroll Animations */
.animate-fade-down {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.animate-fade-down.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay classes for list items or grids if needed */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;
        right: 2rem;
        top: 80px;
        flex-direction: column;
        background-color: var(--color-white);
        width: 180px;
        text-align: center;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        box-shadow: 0 8px 30px rgba(126, 155, 141, 0.15);
        padding: 1.5rem 0;
        border-radius: 16px;
        z-index: 1000;

        /* Hidden state */
        opacity: 0;
        transform: translateY(-10px);
        visibility: hidden;
    }

    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    .nav-links a {
        margin: 1rem 0;
    }

    .nav-links .btn-primary {
        margin: 1rem 0;
        display: inline-block;
    }

    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        flex-direction: column;
        padding-top: 9rem;
        text-align: center;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .cta-group {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .iphone-mockup {
        width: 240px;
        height: 490px;
    }

    .float-item-1,
    .float-item-2,
    .float-item-3 {
        display: none;
    }

    .island-display {
        padding: 1rem 0;
    }

    .island-base {
        max-width: 100%;
    }

    .item-house {
        width: 20%;
    }

    .item-car {
        width: 18%;
    }

    .item-pet-1 {
        width: 9%;
    }

    .item-pet-2 {
        width: 11%;
    }

    .item-family {
        width: 16%;
        top: 54%;
        left: 36%;
        z-index: 6;
    }

    .item-family-2 {
        width: 15%;
        top: 51%;
        left: 51%;
        z-index: 5;
    }

    .feature-grid,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .balloons-container {
        gap: 2rem;
    }

    .balloon-img {
        width: 85px;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .iphone-mockup {
        width: 200px;
        height: 410px;
    }

    .balloons-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
}

/* Asset Detail Floating Panel (Base) */
.asset-detail-panel {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    max-width: 90vw;
    z-index: 1500;
    display: none;
}

/* Panel Right (Gold) */
.asset-detail-panel.panel-right {
    right: -450px;
    left: auto;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.asset-detail-panel.panel-right.active {
    display: block;
    right: 20px;
    animation: slideInRight 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.asset-detail-panel.panel-right.closing {
    animation: slideOutRight 0.3s ease-in forwards;
}

/* Panel Left (House, Car) */
.asset-detail-panel.panel-left {
    left: -450px;
    right: auto;
    transition: left 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.asset-detail-panel.panel-left.active {
    display: block;
    left: 20px;
    animation: slideInLeft 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.asset-detail-panel.panel-left.closing {
    animation: slideOutLeft 0.3s ease-in forwards;
}

/* Close Button */
.asset-detail-panel .close-panel-btn {
    position: absolute;
    top: -40px;
    right: 0px;
    font-size: 24px;
    color: var(--color-text-main);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.8);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    padding: 0;
    line-height: 1;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.asset-detail-panel .close-panel-btn:hover {
    color: var(--color-green-dark);
    background: rgba(255, 255, 255, 1);
}

.panel-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.panel-content img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 70vh;
}

/* Animations */
@keyframes slideInRight {
    from {
        right: -450px;
    }

    to {
        right: 20px;
    }
}

@keyframes slideOutRight {
    from {
        right: 20px;
    }

    to {
        display: none;
        right: -450px;
    }
}

@keyframes slideInLeft {
    from {
        left: -450px;
    }

    to {
        left: 20px;
    }
}

@keyframes slideOutLeft {
    from {
        left: 20px;
    }

    to {
        display: none;
        left: -450px;
    }
}

@media (max-width: 768px) {

    .asset-detail-panel,
    .asset-detail-panel.panel-left,
    .asset-detail-panel.panel-right {
        top: auto;
        bottom: -100%;
        left: auto;
        right: 50%;
        transform: translateX(50%);
        width: auto;
        max-width: 90vw;
        transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .asset-detail-panel.active,
    .asset-detail-panel.panel-left.active,
    .asset-detail-panel.panel-right.active {
        bottom: 20px;
        right: 50%;
        animation: slideInBottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }

    .asset-detail-panel.closing,
    .asset-detail-panel.panel-left.closing,
    .asset-detail-panel.panel-right.closing {
        animation: slideOutBottom 0.3s ease-in forwards;
    }

    @keyframes slideInBottom {
        from {
            bottom: -100%;
        }

        to {
            bottom: 20px;
        }
    }

    @keyframes slideOutBottom {
        from {
            bottom: 20px;
        }

        to {
            display: none;
            bottom: -100%;
        }
    }
}