.add-to-home {
    position: fixed;
    bottom: 20px;
    left: 50%;
    right: auto;
    background: rgba(30, 28, 30, 0.7);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 9999;
    width: 90%;
    max-width: 420px;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto;
    cursor: pointer;
    border-radius: 20px;
    transform: translateX(-50%) translateY(0);
    transition: transform 0.3s ease-out;
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
}

.add-to-home.sliding-up {
    animation: slideUp 0.3s ease-out;
}

.add-to-home.sliding-down {
    transform: translateX(-50%) translateY(200%);
}

.add-to-home-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.add-to-home-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.add-to-home-content {
    flex: 1;
    text-align: left;
    padding-right: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.add-to-home-title {
    font-weight: 600;
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto;
}

.add-to-home-subtitle {
    margin: 2px 0 0;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.3;
    font-weight: 400;
}

.add-to-home-close {
    position: absolute;
    top: 12px;
    right: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    z-index: 1;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(200%);
    }
    to {
        transform: translateX(-50%) translateY(0);
    }
}

.browser-support {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    padding: 20px;
    z-index: 10000;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto;
    transform: translateY(0);
    transition: transform 0.3s ease-out;
}

.browser-support.sliding-up {
    animation: slideUp 0.3s ease-out;
}

.browser-support.sliding-down {
    transform: translateY(100%);
}

.browser-support-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.browser-support-close {
    position: absolute;
    top: 0;
    right: 0;
    color: #8e8e8e;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.browser-support h3 {
    color: #ffffff;
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 600;
}

.platform-section {
    margin-bottom: 15px;
}

.platform-section h4 {
    color: #ffffff;
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 500;
}

.platform-section p {
    color: #8e8e8e;
    margin: 4px 0;
    font-size: 14px;
    line-height: 1.4;
}