/* Animated Download Button Styles */
.adb-container {
    width: 100%;
    max-width: 600px;
    margin: 15px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.adb-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #eee;
    overflow: hidden;
}

.adb-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.adb-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.adb-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e53935 0%, #d32f2f 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.adb-icon-stripes {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        transparent 75%,
        transparent
    );
    background-size: 10px 10px;
    animation: stripe-move 2s linear infinite;
}

@keyframes stripe-move {
    0% { background-position: 0 0; }
    100% { background-position: 20px 0; }
}

.adb-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.adb-filename {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.adb-size {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.adb-right {
    margin-left: 12px;
}

.adb-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: linear-gradient(135deg, #6b1b6b 0%, #4a0e4a 100%);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 10px rgba(107, 27, 107, 0.2);
    border: none;
    cursor: pointer;
}

.adb-btn-content {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    transition: transform 0.3s ease;
}

.adb-download-icon {
    width: 16px;
    height: 16px;
}

.adb-btn-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.adb-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(107, 27, 107, 0.3);
}

.adb-button:hover .adb-btn-bg {
    left: 100%;
}

.adb-button:hover .adb-download-icon {
    animation: bounce 0.5s infinite alternate;
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(3px); }
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .adb-box {
        padding: 8px 12px;
    }
    .adb-icon {
        width: 40px;
        height: 40px;
    }
    .adb-filename {
        font-size: 13px;
    }
    .adb-size {
        font-size: 11px;
    }
    .adb-button {
        padding: 8px 16px;
        font-size: 12px;
    }
}
